Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
ts209-setup.c File Reference
#include <linux/gpio.h>
#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/mtd/nand.h>
#include <linux/mv643xx_eth.h>
#include <linux/gpio_keys.h>
#include <linux/input.h>
#include <linux/i2c.h>
#include <linux/serial_reg.h>
#include <linux/ata_platform.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/pci.h>
#include <mach/orion5x.h>
#include "common.h"
#include "mpp.h"
#include "tsx09-common.h"

Go to the source code of this file.

Macros

#define QNAP_TS209_NOR_BOOT_BASE   0xf4000000
 
#define QNAP_TS209_NOR_BOOT_SIZE   SZ_8M
 
#define QNAP_TS209_PCI_SLOT0_OFFS   7
 
#define QNAP_TS209_PCI_SLOT0_IRQ_PIN   6
 
#define QNAP_TS209_PCI_SLOT1_IRQ_PIN   7
 
#define TS209_RTC_GPIO   3
 
#define QNAP_TS209_GPIO_KEY_MEDIA   1
 
#define QNAP_TS209_GPIO_KEY_RESET   2
 

Functions

void __init qnap_ts209_pci_preinit (void)
 
 subsys_initcall (qnap_ts209_pci_init)
 

Variables

 atag_offset = 0x100
 
 init_machine = qnap_ts209_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
 

Macro Definition Documentation

#define QNAP_TS209_GPIO_KEY_MEDIA   1

Definition at line 204 of file ts209-setup.c.

#define QNAP_TS209_GPIO_KEY_RESET   2

Definition at line 205 of file ts209-setup.c.

#define QNAP_TS209_NOR_BOOT_BASE   0xf4000000

Definition at line 33 of file ts209-setup.c.

#define QNAP_TS209_NOR_BOOT_SIZE   SZ_8M

Definition at line 34 of file ts209-setup.c.

#define QNAP_TS209_PCI_SLOT0_IRQ_PIN   6

Definition at line 106 of file ts209-setup.c.

#define QNAP_TS209_PCI_SLOT0_OFFS   7

Definition at line 105 of file ts209-setup.c.

#define QNAP_TS209_PCI_SLOT1_IRQ_PIN   7

Definition at line 107 of file ts209-setup.c.

#define TS209_RTC_GPIO   3

Definition at line 192 of file ts209-setup.c.

Function Documentation

void __init qnap_ts209_pci_preinit ( void  )

Definition at line 109 of file ts209-setup.c.

subsys_initcall ( qnap_ts209_pci_init  )

Variable Documentation

atag_offset = 0x100

Definition at line 324 of file ts209-setup.c.

fixup = tag_fixup_mem32

Definition at line 330 of file ts209-setup.c.

init_early = orion5x_init_early

Definition at line 327 of file ts209-setup.c.

init_irq = orion5x_init_irq

Definition at line 328 of file ts209-setup.c.

init_machine = qnap_ts209_init

Definition at line 325 of file ts209-setup.c.

map_io = orion5x_map_io

Definition at line 326 of file ts209-setup.c.

restart = orion5x_restart

Definition at line 331 of file ts209-setup.c.

Definition at line 329 of file ts209-setup.c.