Linux Kernel
3.7.1
|
#include <linux/gpio.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.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/phy.h>
#include <linux/marvell_phy.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
#include <asm/system_info.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 | DNS323_GPIO_LED_RIGHT_AMBER 1 |
#define | DNS323_GPIO_LED_LEFT_AMBER 2 |
#define | DNS323_GPIO_SYSTEM_UP 3 |
#define | DNS323_GPIO_LED_POWER1 4 |
#define | DNS323_GPIO_LED_POWER2 5 |
#define | DNS323_GPIO_OVERTEMP 6 |
#define | DNS323_GPIO_RTC 7 |
#define | DNS323_GPIO_POWER_OFF 8 |
#define | DNS323_GPIO_KEY_POWER 9 |
#define | DNS323_GPIO_KEY_RESET 10 |
#define | DNS323C_GPIO_KEY_POWER 1 |
#define | DNS323C_GPIO_POWER_OFF 2 |
#define | DNS323C_GPIO_LED_RIGHT_AMBER 8 |
#define | DNS323C_GPIO_LED_LEFT_AMBER 9 |
#define | DNS323C_GPIO_LED_POWER 17 |
#define | DNS323C_GPIO_FAN_BIT1 18 |
#define | DNS323C_GPIO_FAN_BIT0 19 |
#define | DNS323_NOR_BOOT_BASE 0xf4000000 |
#define | DNS323_NOR_BOOT_SIZE SZ_8M |
#define | ETH_SMI_REG (ORION5X_ETH_VIRT_BASE + 0x2000 + 0x004) |
#define | SMI_BUSY 0x10000000 |
#define | SMI_READ_VALID 0x08000000 |
#define | SMI_OPCODE_READ 0x04000000 |
#define | SMI_OPCODE_WRITE 0x00000000 |
Enumerations | |
enum | { DNS323_REV_A1, DNS323_REV_B1, DNS323_REV_C1 } |
Functions | |
subsys_initcall (dns323_pci_init) | |
Variables | |
atag_offset = 0x100 | |
init_machine = dns323_init | |
map_io = orion5x_map_io | |
init_early = orion5x_init_early | |
init_irq = orion5x_init_irq | |
timer = &orion5x_timer | |
fixup = tag_fixup_mem32 | |
restart = orion5x_restart | |
#define DNS323_GPIO_KEY_POWER 9 |
Definition at line 50 of file dns323-setup.c.
#define DNS323_GPIO_KEY_RESET 10 |
Definition at line 51 of file dns323-setup.c.
#define DNS323_GPIO_LED_LEFT_AMBER 2 |
Definition at line 43 of file dns323-setup.c.
#define DNS323_GPIO_LED_POWER1 4 |
Definition at line 45 of file dns323-setup.c.
#define DNS323_GPIO_LED_POWER2 5 |
Definition at line 46 of file dns323-setup.c.
#define DNS323_GPIO_LED_RIGHT_AMBER 1 |
Definition at line 42 of file dns323-setup.c.
#define DNS323_GPIO_OVERTEMP 6 |
Definition at line 47 of file dns323-setup.c.
#define DNS323_GPIO_POWER_OFF 8 |
Definition at line 49 of file dns323-setup.c.
#define DNS323_GPIO_RTC 7 |
Definition at line 48 of file dns323-setup.c.
#define DNS323_GPIO_SYSTEM_UP 3 |
Definition at line 44 of file dns323-setup.c.
#define DNS323_NOR_BOOT_BASE 0xf4000000 |
Definition at line 119 of file dns323-setup.c.
#define DNS323_NOR_BOOT_SIZE SZ_8M |
Definition at line 120 of file dns323-setup.c.
#define DNS323C_GPIO_FAN_BIT0 19 |
Definition at line 60 of file dns323-setup.c.
#define DNS323C_GPIO_FAN_BIT1 18 |
Definition at line 59 of file dns323-setup.c.
#define DNS323C_GPIO_KEY_POWER 1 |
Definition at line 54 of file dns323-setup.c.
#define DNS323C_GPIO_LED_LEFT_AMBER 9 |
Definition at line 57 of file dns323-setup.c.
#define DNS323C_GPIO_LED_POWER 17 |
Definition at line 58 of file dns323-setup.c.
#define DNS323C_GPIO_LED_RIGHT_AMBER 8 |
Definition at line 56 of file dns323-setup.c.
#define DNS323C_GPIO_POWER_OFF 2 |
Definition at line 55 of file dns323-setup.c.
#define ETH_SMI_REG (ORION5X_ETH_VIRT_BASE + 0x2000 + 0x004) |
#define SMI_BUSY 0x10000000 |
#define SMI_OPCODE_READ 0x04000000 |
#define SMI_OPCODE_WRITE 0x00000000 |
#define SMI_READ_VALID 0x08000000 |
anonymous enum |
Definition at line 63 of file dns323-setup.c.
subsys_initcall | ( | dns323_pci_init | ) |
atag_offset = 0x100 |
Definition at line 712 of file dns323-setup.c.
fixup = tag_fixup_mem32 |
Definition at line 718 of file dns323-setup.c.
init_early = orion5x_init_early |
Definition at line 715 of file dns323-setup.c.
init_irq = orion5x_init_irq |
Definition at line 716 of file dns323-setup.c.
init_machine = dns323_init |
Definition at line 713 of file dns323-setup.c.
map_io = orion5x_map_io |
Definition at line 714 of file dns323-setup.c.
restart = orion5x_restart |
Definition at line 719 of file dns323-setup.c.
Definition at line 717 of file dns323-setup.c.