24 #include <linux/device.h>
34 #include <asm/pgtable.h>
41 #include <mach/hardware.h>
43 #include <mach/irqs.h>
81 .virtual = PCIX_UNIT_BASE,
87 #ifdef CONFIG_DEBUG_LL
97 static void __init realview_pba8_map_io(
void)
124 #define GPIO2_IRQ { IRQ_PBA8_GPIO2 }
125 #define GPIO3_IRQ { IRQ_PBA8_GPIO3 }
126 #define AACI_IRQ { IRQ_PBA8_AACI }
127 #define MMCI0_IRQ { IRQ_PBA8_MMCI0A, IRQ_PBA8_MMCI0B }
128 #define KMI0_IRQ { IRQ_PBA8_KMI0 }
129 #define KMI1_IRQ { IRQ_PBA8_KMI1 }
130 #define PBA8_SMC_IRQ { }
132 #define PBA8_CLCD_IRQ { IRQ_PBA8_CLCD }
133 #define DMAC_IRQ { IRQ_PBA8_DMAC }
135 #define PBA8_WATCHDOG_IRQ { IRQ_PBA8_WATCHDOG }
136 #define PBA8_GPIO0_IRQ { IRQ_PBA8_GPIO0 }
137 #define GPIO1_IRQ { IRQ_PBA8_GPIO1 }
138 #define PBA8_RTC_IRQ { IRQ_PBA8_RTC }
139 #define SCI_IRQ { IRQ_PBA8_SCI }
140 #define PBA8_UART0_IRQ { IRQ_PBA8_UART0 }
141 #define PBA8_UART1_IRQ { IRQ_PBA8_UART1 }
142 #define PBA8_UART2_IRQ { IRQ_PBA8_UART2 }
143 #define PBA8_UART3_IRQ { IRQ_PBA8_UART3 }
144 #define PBA8_SSP_IRQ { IRQ_PBA8_SSP }
157 APB_DEVICE(gpio0,
"dev:gpio0", PBA8_GPIO0, &gpio0_plat_data);
171 static struct amba_device *amba_devs[] __initdata = {
196 static struct resource realview_pba8_flash_resource[] = {
209 static struct resource realview_pba8_smsc911x_resources[] = {
222 static struct resource realview_pba8_isp1761_resources[] = {
235 static struct resource pmu_resource = {
245 .resource = &pmu_resource,
256 static void __init realview_pba8_timer_init(
void)
267 static struct sys_timer realview_pba8_timer = {
268 .init = realview_pba8_timer_init,
271 static void realview_pba8_restart(
char mode,
const char *
cmd)
286 static void __init realview_pba8_init(
void)
306 .atag_offset = 0x100,
308 .map_io = realview_pba8_map_io,
311 .timer = &realview_pba8_timer,
313 .init_machine = realview_pba8_init,
314 #ifdef CONFIG_ZONE_DMA
317 .restart = realview_pba8_restart,