|
Linux Kernel
3.7.1
|
#include <linux/gpio.h>#include <linux/if_ether.h>#include <linux/irq.h>#include <linux/serial.h>#include <linux/serial_8250.h>#include <linux/leds.h>#include <linux/reboot.h>#include <linux/i2c.h>#include <linux/i2c-gpio.h>#include <linux/io.h>#include <asm/mach-types.h>#include <asm/mach/arch.h>#include <asm/mach/flash.h>#include <asm/mach/time.h>Go to the source code of this file.
Macros | |
| #define | NSLU2_SDA_PIN 7 |
| #define | NSLU2_SCL_PIN 6 |
| #define | NSLU2_FREQ 66000000 |
| #define | NSLU2_PB_GPIO 5 /* power button */ |
| #define | NSLU2_PO_GPIO 8 /* power off */ |
| #define | NSLU2_RB_GPIO 12 /* reset button */ |
| #define | NSLU2_GPIO_BUZZ 4 |
| #define | NSLU2_LED_RED_GPIO 0 |
| #define | NSLU2_LED_GRN_GPIO 1 |
| #define | NSLU2_LED_DISK1_GPIO 3 |
| #define | NSLU2_LED_DISK2_GPIO 2 |
Variables | |
| atag_offset = 0x100 | |
| map_io = ixp4xx_map_io | |
| init_early = ixp4xx_init_early | |
| init_irq = ixp4xx_init_irq | |
| timer = &nslu2_timer | |
| init_machine = nslu2_init | |
| restart = ixp4xx_restart | |
| #define NSLU2_FREQ 66000000 |
Definition at line 38 of file nslu2-setup.c.
| #define NSLU2_GPIO_BUZZ 4 |
Definition at line 46 of file nslu2-setup.c.
| #define NSLU2_LED_DISK1_GPIO 3 |
Definition at line 51 of file nslu2-setup.c.
| #define NSLU2_LED_DISK2_GPIO 2 |
Definition at line 52 of file nslu2-setup.c.
| #define NSLU2_LED_GRN_GPIO 1 |
Definition at line 50 of file nslu2-setup.c.
| #define NSLU2_LED_RED_GPIO 0 |
Definition at line 49 of file nslu2-setup.c.
| #define NSLU2_PB_GPIO 5 /* power button */ |
Definition at line 41 of file nslu2-setup.c.
| #define NSLU2_PO_GPIO 8 /* power off */ |
Definition at line 42 of file nslu2-setup.c.
Definition at line 43 of file nslu2-setup.c.
| #define NSLU2_SCL_PIN 6 |
Definition at line 35 of file nslu2-setup.c.
| #define NSLU2_SDA_PIN 7 |
Definition at line 34 of file nslu2-setup.c.
| atag_offset = 0x100 |
Definition at line 302 of file nslu2-setup.c.
| init_early = ixp4xx_init_early |
Definition at line 304 of file nslu2-setup.c.
| init_irq = ixp4xx_init_irq |
Definition at line 305 of file nslu2-setup.c.
| init_machine = nslu2_init |
Definition at line 307 of file nslu2-setup.c.
| map_io = ixp4xx_map_io |
Definition at line 303 of file nslu2-setup.c.
| restart = ixp4xx_restart |
Definition at line 311 of file nslu2-setup.c.
| timer = &nslu2_timer |
Definition at line 306 of file nslu2-setup.c.
1.8.2