Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
d2net-setup.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/pci.h>
#include <linux/irq.h>
#include <linux/mtd/physmap.h>
#include <linux/mv643xx_eth.h>
#include <linux/leds.h>
#include <linux/gpio_keys.h>
#include <linux/input.h>
#include <linux/i2c.h>
#include <linux/ata_platform.h>
#include <linux/gpio.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
#include <mach/orion5x.h>
#include <plat/orion-gpio.h>
#include "common.h"
#include "mpp.h"

Go to the source code of this file.

Macros

#define D2NET_NOR_BOOT_BASE   0xfff80000
 
#define D2NET_NOR_BOOT_SIZE   SZ_512K
 
#define D2NET_GPIO_SATA0_POWER   3
 
#define D2NET_GPIO_SATA1_POWER   12
 
#define D2NET_GPIO_RED_LED   6
 
#define D2NET_GPIO_BLUE_LED_BLINK_CTRL   16
 
#define D2NET_GPIO_BLUE_LED_OFF   23
 
#define D2NET_GPIO_PUSH_BUTTON   18
 
#define D2NET_GPIO_POWER_SWITCH_ON   8
 
#define D2NET_GPIO_POWER_SWITCH_OFF   9
 
#define D2NET_SWITCH_POWER_ON   0x1
 
#define D2NET_SWITCH_POWER_OFF   0x2
 
#define D2NET_GPIO_INHIBIT_POWER_OFF   24
 

Macro Definition Documentation

#define D2NET_GPIO_BLUE_LED_BLINK_CTRL   16

Definition at line 170 of file d2net-setup.c.

#define D2NET_GPIO_BLUE_LED_OFF   23

Definition at line 171 of file d2net-setup.c.

#define D2NET_GPIO_INHIBIT_POWER_OFF   24

Definition at line 298 of file d2net-setup.c.

#define D2NET_GPIO_POWER_SWITCH_OFF   9

Definition at line 225 of file d2net-setup.c.

#define D2NET_GPIO_POWER_SWITCH_ON   8

Definition at line 224 of file d2net-setup.c.

#define D2NET_GPIO_PUSH_BUTTON   18

Definition at line 223 of file d2net-setup.c.

#define D2NET_GPIO_RED_LED   6

Definition at line 169 of file d2net-setup.c.

#define D2NET_GPIO_SATA0_POWER   3

Definition at line 121 of file d2net-setup.c.

#define D2NET_GPIO_SATA1_POWER   12

Definition at line 122 of file d2net-setup.c.

#define D2NET_NOR_BOOT_BASE   0xfff80000

Definition at line 42 of file d2net-setup.c.

#define D2NET_NOR_BOOT_SIZE   SZ_512K

Definition at line 43 of file d2net-setup.c.

#define D2NET_SWITCH_POWER_OFF   0x2

Definition at line 228 of file d2net-setup.c.

#define D2NET_SWITCH_POWER_ON   0x1

Definition at line 227 of file d2net-setup.c.