10 #include <linux/types.h>
11 #include <linux/kernel.h>
13 #include <linux/device.h>
14 #include <linux/export.h>
19 #include <linux/sched.h>
26 #include <mach/hardware.h>
27 #include <mach/platform.h>
29 #include <mach/irqs.h>
33 #include <asm/pgtable.h>
39 #define INTEGRATOR_RTC_IRQ { IRQ_RTCINT }
40 #define INTEGRATOR_UART0_IRQ { IRQ_UARTINT0 }
41 #define INTEGRATOR_UART1_IRQ { IRQ_UARTINT1 }
42 #define KMI0_IRQ { IRQ_KMIINT0 }
43 #define KMI1_IRQ { IRQ_KMIINT1 }
76 uart0_device.periphid = 0x00041010;
77 uart1_device.periphid = 0x00041010;
78 kmi0_device.periphid = 0x00041050;
79 kmi1_device.periphid = 0x00041050;
99 #define SC_CTRLC __io_address(INTEGRATOR_SC_CTRLC)
100 #define SC_CTRLS __io_address(INTEGRATOR_SC_CTRLS)
102 static void integrator_uart_set_mctrl(
struct amba_device *
dev,
void __iomem *base,
unsigned int mctrl)
104 unsigned int ctrls = 0, ctrlc = 0, rts_mask, dtr_mask;
105 u32 phybase = dev->
res.start;
132 .set_mctrl = integrator_uart_set_mctrl,