Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/mtd/physmap.h>
#include <linux/mv643xx_eth.h>
#include <linux/leds.h>
#include <linux/gpio_keys.h>
#include <linux/gpio-fan.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 <mach/orion5x.h>
#include "common.h"
#include "mpp.h"
Go to the source code of this file.
Macros | |
#define | LSCHL_NOR_BOOT_BASE 0xf4000000 |
#define | LSCHL_NOR_BOOT_SIZE SZ_256K |
#define | LSCHL_GPIO_LED_ALARM 2 |
#define | LSCHL_GPIO_LED_INFO 3 |
#define | LSCHL_GPIO_LED_FUNC 17 |
#define | LSCHL_GPIO_LED_PWR 0 |
#define | LSCHL_GPIO_USB_POWER 9 |
#define | LSCHL_GPIO_AUTO_POWER 17 |
#define | LSCHL_GPIO_POWER 18 |
#define | LSCHL_GPIO_KEY_FUNC 15 |
#define | LSCHL_GPIO_KEY_POWER 8 |
#define | LSCHL_GPIO_KEY_AUTOPOWER 10 |
#define | LSCHL_SW_POWER 0x00 |
#define | LSCHL_SW_AUTOPOWER 0x01 |
#define | LSCHL_SW_FUNC 0x02 |
#define | LSCHL_GPIO_HDD_POWER 1 |
#define | LSCHL_GPIO_FAN_LOW 16 |
#define | LSCHL_GPIO_FAN_HIGH 14 |
#define | LSCHL_GPIO_FAN_LOCK 6 |
Variables | |
atag_offset = 0x100 | |
init_machine = lschl_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 LSCHL_GPIO_AUTO_POWER 17 |
Definition at line 149 of file ls-chl-setup.c.
#define LSCHL_GPIO_FAN_HIGH 14 |
Definition at line 205 of file ls-chl-setup.c.
#define LSCHL_GPIO_FAN_LOCK 6 |
Definition at line 206 of file ls-chl-setup.c.
#define LSCHL_GPIO_FAN_LOW 16 |
Definition at line 204 of file ls-chl-setup.c.
#define LSCHL_GPIO_HDD_POWER 1 |
Definition at line 198 of file ls-chl-setup.c.
#define LSCHL_GPIO_KEY_AUTOPOWER 10 |
Definition at line 157 of file ls-chl-setup.c.
#define LSCHL_GPIO_KEY_FUNC 15 |
Definition at line 155 of file ls-chl-setup.c.
#define LSCHL_GPIO_KEY_POWER 8 |
Definition at line 156 of file ls-chl-setup.c.
#define LSCHL_GPIO_LED_ALARM 2 |
Definition at line 84 of file ls-chl-setup.c.
#define LSCHL_GPIO_LED_FUNC 17 |
Definition at line 86 of file ls-chl-setup.c.
#define LSCHL_GPIO_LED_INFO 3 |
Definition at line 85 of file ls-chl-setup.c.
#define LSCHL_GPIO_LED_PWR 0 |
Definition at line 87 of file ls-chl-setup.c.
#define LSCHL_GPIO_POWER 18 |
Definition at line 150 of file ls-chl-setup.c.
#define LSCHL_GPIO_USB_POWER 9 |
Definition at line 148 of file ls-chl-setup.c.
#define LSCHL_NOR_BOOT_BASE 0xf4000000 |
Definition at line 37 of file ls-chl-setup.c.
#define LSCHL_NOR_BOOT_SIZE SZ_256K |
Definition at line 38 of file ls-chl-setup.c.
#define LSCHL_SW_AUTOPOWER 0x01 |
Definition at line 159 of file ls-chl-setup.c.
#define LSCHL_SW_FUNC 0x02 |
Definition at line 160 of file ls-chl-setup.c.
#define LSCHL_SW_POWER 0x00 |
Definition at line 158 of file ls-chl-setup.c.
atag_offset = 0x100 |
Definition at line 320 of file ls-chl-setup.c.
fixup = tag_fixup_mem32 |
Definition at line 326 of file ls-chl-setup.c.
init_early = orion5x_init_early |
Definition at line 323 of file ls-chl-setup.c.
init_irq = orion5x_init_irq |
Definition at line 324 of file ls-chl-setup.c.
init_machine = lschl_init |
Definition at line 321 of file ls-chl-setup.c.
map_io = orion5x_map_io |
Definition at line 322 of file ls-chl-setup.c.
restart = orion5x_restart |
Definition at line 327 of file ls-chl-setup.c.
Definition at line 325 of file ls-chl-setup.c.