Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <linux/mv643xx_eth.h>
#include <linux/input.h>
#include <linux/gpio.h>
#include <linux/gpio_keys.h>
#include <linux/leds.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/kirkwood.h>
#include <linux/platform_data/leds-kirkwood-ns2.h>
#include "common.h"
#include "mpp.h"
#include "lacie_v2-common.h"
Go to the source code of this file.
Macros | |
#define | D2NET_V2_GPIO_PUSH_BUTTON 34 |
#define | D2NET_V2_GPIO_POWER_SWITCH_ON 13 |
#define | D2NET_V2_GPIO_POWER_SWITCH_OFF 15 |
#define | D2NET_V2_SWITCH_POWER_ON 0x1 |
#define | D2NET_V2_SWITCH_POWER_OFF 0x2 |
#define | D2NET_V2_GPIO_RED_LED 12 |
#define | D2NET_V2_GPIO_BLUE_LED_SLOW 29 |
#define | D2NET_V2_GPIO_BLUE_LED_CMD 30 |
#define | D2NET_V2_GPIO_POWER_OFF 7 |
Variables | |
atag_offset = 0x100 | |
init_machine = d2net_v2_init | |
map_io = kirkwood_map_io | |
init_early = kirkwood_init_early | |
init_irq = kirkwood_init_irq | |
timer = &kirkwood_timer | |
restart = kirkwood_restart | |
#define D2NET_V2_GPIO_BLUE_LED_CMD 30 |
Definition at line 134 of file d2net_v2-setup.c.
#define D2NET_V2_GPIO_BLUE_LED_SLOW 29 |
Definition at line 133 of file d2net_v2-setup.c.
#define D2NET_V2_GPIO_POWER_OFF 7 |
Definition at line 188 of file d2net_v2-setup.c.
#define D2NET_V2_GPIO_POWER_SWITCH_OFF 15 |
Definition at line 62 of file d2net_v2-setup.c.
#define D2NET_V2_GPIO_POWER_SWITCH_ON 13 |
Definition at line 61 of file d2net_v2-setup.c.
#define D2NET_V2_GPIO_PUSH_BUTTON 34 |
Definition at line 60 of file d2net_v2-setup.c.
#define D2NET_V2_GPIO_RED_LED 12 |
Definition at line 107 of file d2net_v2-setup.c.
#define D2NET_V2_SWITCH_POWER_OFF 0x2 |
Definition at line 65 of file d2net_v2-setup.c.
#define D2NET_V2_SWITCH_POWER_ON 0x1 |
Definition at line 64 of file d2net_v2-setup.c.
atag_offset = 0x100 |
Definition at line 224 of file d2net_v2-setup.c.
init_early = kirkwood_init_early |
Definition at line 227 of file d2net_v2-setup.c.
init_irq = kirkwood_init_irq |
Definition at line 228 of file d2net_v2-setup.c.
init_machine = d2net_v2_init |
Definition at line 225 of file d2net_v2-setup.c.
map_io = kirkwood_map_io |
Definition at line 226 of file d2net_v2-setup.c.
restart = kirkwood_restart |
Definition at line 230 of file d2net_v2-setup.c.
Definition at line 229 of file d2net_v2-setup.c.