diff options
Diffstat (limited to 'arch/arm/mach-mmp/pxa168.c')
-rw-r--r-- | arch/arm/mach-mmp/pxa168.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/pxa168.c b/arch/arm/mach-mmp/pxa168.c index ae924468658c..e0729e34f7ad 100644 --- a/arch/arm/mach-mmp/pxa168.c +++ b/arch/arm/mach-mmp/pxa168.c | |||
@@ -65,11 +65,15 @@ void __init pxa168_init_irq(void) | |||
65 | /* APB peripheral clocks */ | 65 | /* APB peripheral clocks */ |
66 | static APBC_CLK(uart1, PXA168_UART1, 1, 14745600); | 66 | static APBC_CLK(uart1, PXA168_UART1, 1, 14745600); |
67 | static APBC_CLK(uart2, PXA168_UART2, 1, 14745600); | 67 | static APBC_CLK(uart2, PXA168_UART2, 1, 14745600); |
68 | static APBC_CLK(twsi0, PXA168_TWSI0, 1, 33000000); | ||
69 | static APBC_CLK(twsi1, PXA168_TWSI1, 1, 33000000); | ||
68 | 70 | ||
69 | /* device and clock bindings */ | 71 | /* device and clock bindings */ |
70 | static struct clk_lookup pxa168_clkregs[] = { | 72 | static struct clk_lookup pxa168_clkregs[] = { |
71 | INIT_CLKREG(&clk_uart1, "pxa2xx-uart.0", NULL), | 73 | INIT_CLKREG(&clk_uart1, "pxa2xx-uart.0", NULL), |
72 | INIT_CLKREG(&clk_uart2, "pxa2xx-uart.1", NULL), | 74 | INIT_CLKREG(&clk_uart2, "pxa2xx-uart.1", NULL), |
75 | INIT_CLKREG(&clk_twsi0, "pxa2xx-i2c.0", NULL), | ||
76 | INIT_CLKREG(&clk_twsi1, "pxa2xx-i2c.1", NULL), | ||
73 | }; | 77 | }; |
74 | 78 | ||
75 | static int __init pxa168_init(void) | 79 | static int __init pxa168_init(void) |
@@ -109,3 +113,5 @@ struct sys_timer pxa168_timer = { | |||
109 | /* on-chip devices */ | 113 | /* on-chip devices */ |
110 | PXA168_DEVICE(uart1, "pxa2xx-uart", 0, UART1, 0xd4017000, 0x30, 21, 22); | 114 | PXA168_DEVICE(uart1, "pxa2xx-uart", 0, UART1, 0xd4017000, 0x30, 21, 22); |
111 | PXA168_DEVICE(uart2, "pxa2xx-uart", 1, UART2, 0xd4018000, 0x30, 23, 24); | 115 | PXA168_DEVICE(uart2, "pxa2xx-uart", 1, UART2, 0xd4018000, 0x30, 23, 24); |
116 | PXA168_DEVICE(twsi0, "pxa2xx-i2c", 0, TWSI0, 0xd4011000, 0x28); | ||
117 | PXA168_DEVICE(twsi1, "pxa2xx-i2c", 1, TWSI1, 0xd4025000, 0x28); | ||