24 #include <linux/device.h>
32 #include <mach/hardware.h>
35 #include <asm/pgtable.h>
46 #include <mach/irqs.h>
92 #ifdef CONFIG_DEBUG_LL
102 static void __init realview_pb11mp_map_io(
void)
129 #define GPIO2_IRQ { IRQ_PB11MP_GPIO2 }
130 #define GPIO3_IRQ { IRQ_PB11MP_GPIO3 }
131 #define AACI_IRQ { IRQ_TC11MP_AACI }
132 #define MMCI0_IRQ { IRQ_TC11MP_MMCI0A, IRQ_TC11MP_MMCI0B }
133 #define KMI0_IRQ { IRQ_TC11MP_KMI0 }
134 #define KMI1_IRQ { IRQ_TC11MP_KMI1 }
135 #define PB11MP_SMC_IRQ { }
137 #define PB11MP_CLCD_IRQ { IRQ_PB11MP_CLCD }
138 #define DMAC_IRQ { IRQ_PB11MP_DMAC }
140 #define PB11MP_WATCHDOG_IRQ { IRQ_PB11MP_WATCHDOG }
141 #define PB11MP_GPIO0_IRQ { IRQ_PB11MP_GPIO0 }
142 #define GPIO1_IRQ { IRQ_PB11MP_GPIO1 }
143 #define PB11MP_RTC_IRQ { IRQ_TC11MP_RTC }
144 #define SCI_IRQ { IRQ_PB11MP_SCI }
145 #define PB11MP_UART0_IRQ { IRQ_TC11MP_UART0 }
146 #define PB11MP_UART1_IRQ { IRQ_TC11MP_UART1 }
147 #define PB11MP_UART2_IRQ { IRQ_PB11MP_UART2 }
148 #define PB11MP_UART3_IRQ { IRQ_PB11MP_UART3 }
149 #define PB11MP_SSP_IRQ { IRQ_PB11MP_SSP }
162 APB_DEVICE(gpio0,
"dev:gpio0", PB11MP_GPIO0, &gpio0_plat_data);
176 static struct amba_device *amba_devs[] __initdata = {
201 static struct resource realview_pb11mp_flash_resource[] = {
214 static struct resource realview_pb11mp_smsc911x_resources[] = {
227 static struct resource realview_pb11mp_isp1761_resources[] = {
240 static struct resource pmu_resources[] = {
267 .resource = pmu_resources,
272 unsigned int pldctrl;
292 #ifdef CONFIG_HAVE_ARM_TWD
301 pr_err(
"twd_local_timer_register failed %d\n", err);
304 #define realview_pb11mp_twd_init() do {} while(0)
307 static void __init realview_pb11mp_timer_init(
void)
319 static struct sys_timer realview_pb11mp_timer = {
320 .init = realview_pb11mp_timer_init,
323 static void realview_pb11mp_restart(
char mode,
const char *
cmd)
338 static void __init realview_pb11mp_init(
void)
342 #ifdef CONFIG_CACHE_L2X0
364 .atag_offset = 0x100,
367 .map_io = realview_pb11mp_map_io,
370 .timer = &realview_pb11mp_timer,
372 .init_machine = realview_pb11mp_init,
373 #ifdef CONFIG_ZONE_DMA
376 .restart = realview_pb11mp_restart,