Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/irqdomain.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <linux/amba/bus.h>
#include <linux/amba/clcd.h>
#include <linux/amba/pl061.h>
#include <linux/amba/mmci.h>
#include <linux/amba/pl022.h>
#include <linux/io.h>
#include <linux/gfp.h>
#include <linux/clkdev.h>
#include <linux/mtd/physmap.h>
#include <asm/irq.h>
#include <asm/hardware/arm_timer.h>
#include <asm/hardware/icst.h>
#include <asm/hardware/vic.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
#include <asm/mach/map.h>
#include <mach/hardware.h>
#include <mach/platform.h>
#include <asm/hardware/timer-sp.h>
#include <plat/clcd.h>
#include <plat/fpga-irq.h>
#include <plat/sched_clock.h>
#include "core.h"
Go to the source code of this file.
Functions | |
void __init | versatile_init_irq (void) |
void __init | versatile_map_io (void) |
arch_initcall (versatile_i2c_init) | |
unsigned int | mmc_status (struct device *dev) |
APB_DEVICE (aaci,"fpga:04", AACI, NULL) | |
APB_DEVICE (mmc0,"fpga:05", MMCI0,&mmc0_plat_data) | |
APB_DEVICE (kmi0,"fpga:06", KMI0, NULL) | |
APB_DEVICE (kmi1,"fpga:07", KMI1, NULL) | |
AHB_DEVICE (smc,"dev:00", SMC, NULL) | |
AHB_DEVICE (mpmc,"dev:10", MPMC, NULL) | |
AHB_DEVICE (clcd,"dev:20", CLCD,&clcd_plat_data) | |
AHB_DEVICE (dmac,"dev:30", DMAC, NULL) | |
APB_DEVICE (sctl,"dev:e0", SCTL, NULL) | |
APB_DEVICE (wdog,"dev:e1", WATCHDOG, NULL) | |
APB_DEVICE (gpio0,"dev:e4", GPIO0,&gpio0_plat_data) | |
APB_DEVICE (gpio1,"dev:e5", GPIO1,&gpio1_plat_data) | |
APB_DEVICE (rtc,"dev:e8", RTC, NULL) | |
APB_DEVICE (sci0,"dev:f0", SCI, NULL) | |
APB_DEVICE (uart0,"dev:f1", UART0, NULL) | |
APB_DEVICE (uart1,"dev:f2", UART1, NULL) | |
APB_DEVICE (uart2,"dev:f3", UART2, NULL) | |
APB_DEVICE (ssp0,"dev:f4", SSP,&ssp0_plat_data) | |
void | versatile_restart (char mode, const char *cmd) |
void __init | versatile_init_early (void) |
void __init | versatile_init (void) |
Variables | |
struct sys_timer | versatile_timer |
#define CLCD_IRQ { IRQ_CLCDINT } |
#define DMAC_IRQ { IRQ_DMAINT } |
#define GPIO0_IRQ { IRQ_GPIOINT0 } |
#define GPIO1_IRQ { IRQ_GPIOINT1 } |
#define IRQ_AACI IRQ_VICSOURCE24 |
#define IRQ_ETH IRQ_VICSOURCE25 |
#define IRQ_MMCI0A IRQ_VICSOURCE22 |
#define KMI0_IRQ { IRQ_SIC_KMI0 } |
#define KMI1_IRQ { IRQ_SIC_KMI1 } |
#define MMCI0_IRQ { IRQ_MMCI0A,IRQ_SIC_MMCI0B } |
#define RTC_IRQ { IRQ_RTCINT } |
#define SCI_IRQ { IRQ_SCIINT } |
#define SSP_IRQ { IRQ_SSPINT } |
#define TIMER0_VA_BASE __io_address(VERSATILE_TIMER0_1_BASE) |
#define TIMER1_VA_BASE (__io_address(VERSATILE_TIMER0_1_BASE) + 0x20) |
#define TIMER2_VA_BASE __io_address(VERSATILE_TIMER2_3_BASE) |
#define TIMER3_VA_BASE (__io_address(VERSATILE_TIMER2_3_BASE) + 0x20) |
#define UART0_IRQ { IRQ_UARTINT0 } |
#define UART1_IRQ { IRQ_UARTINT1 } |
#define UART2_IRQ { IRQ_UARTINT2 } |
#define VA_SIC_BASE __io_address(VERSATILE_SIC_BASE) |
#define VA_VIC_BASE __io_address(VERSATILE_VIC_BASE) |
#define VERSATILE_FLASHCTRL (__io_address(VERSATILE_SYS_BASE) + VERSATILE_SYS_FLASH_OFFSET) |
#define VERSATILE_SYSMCI (__io_address(VERSATILE_SYS_BASE) + VERSATILE_SYS_MCI_OFFSET) |
#define WATCHDOG_IRQ { IRQ_WDOGINT } |
AHB_DEVICE | ( | mpmc | , |
"dev:10" | , | ||
MPMC | , | ||
NULL | |||
) |
AHB_DEVICE | ( | clcd | , |
"dev:20" | , | ||
CLCD | , | ||
& | clcd_plat_data | ||
) |
APB_DEVICE | ( | mmc0 | , |
"fpga:05" | , | ||
MMCI0 | , | ||
& | mmc0_plat_data | ||
) |
APB_DEVICE | ( | kmi0 | , |
"fpga:06" | , | ||
KMI0 | , | ||
NULL | |||
) |
APB_DEVICE | ( | kmi1 | , |
"fpga:07" | , | ||
KMI1 | , | ||
NULL | |||
) |
APB_DEVICE | ( | gpio0 | , |
"dev:e4" | , | ||
GPIO0 | , | ||
& | gpio0_plat_data | ||
) |
APB_DEVICE | ( | gpio1 | , |
"dev:e5" | , | ||
GPIO1 | , | ||
& | gpio1_plat_data | ||
) |
APB_DEVICE | ( | uart0 | , |
"dev:f1" | , | ||
UART0 | , | ||
NULL | |||
) |
APB_DEVICE | ( | uart1 | , |
"dev:f2" | , | ||
UART1 | , | ||
NULL | |||
) |
APB_DEVICE | ( | uart2 | , |
"dev:f3" | , | ||
UART2 | , | ||
NULL | |||
) |
arch_initcall | ( | versatile_i2c_init | ) |