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 ab9f999106c7..0156f535dae7 100644 --- a/arch/arm/mach-mmp/pxa168.c +++ b/arch/arm/mach-mmp/pxa168.c | |||
@@ -66,6 +66,7 @@ void __init pxa168_init_irq(void) | |||
66 | /* APB peripheral clocks */ | 66 | /* APB peripheral clocks */ |
67 | static APBC_CLK(uart1, PXA168_UART1, 1, 14745600); | 67 | static APBC_CLK(uart1, PXA168_UART1, 1, 14745600); |
68 | static APBC_CLK(uart2, PXA168_UART2, 1, 14745600); | 68 | static APBC_CLK(uart2, PXA168_UART2, 1, 14745600); |
69 | static APBC_CLK(uart3, PXA168_UART3, 1, 14745600); | ||
69 | static APBC_CLK(twsi0, PXA168_TWSI0, 1, 33000000); | 70 | static APBC_CLK(twsi0, PXA168_TWSI0, 1, 33000000); |
70 | static APBC_CLK(twsi1, PXA168_TWSI1, 1, 33000000); | 71 | static APBC_CLK(twsi1, PXA168_TWSI1, 1, 33000000); |
71 | static APBC_CLK(pwm1, PXA168_PWM1, 1, 13000000); | 72 | static APBC_CLK(pwm1, PXA168_PWM1, 1, 13000000); |
@@ -81,11 +82,13 @@ static APBC_CLK(keypad, PXA168_KPC, 0, 32000); | |||
81 | 82 | ||
82 | static APMU_CLK(nand, NAND, 0x19b, 156000000); | 83 | static APMU_CLK(nand, NAND, 0x19b, 156000000); |
83 | static APMU_CLK(lcd, LCD, 0x7f, 312000000); | 84 | static APMU_CLK(lcd, LCD, 0x7f, 312000000); |
85 | static APMU_CLK(eth, ETH, 0x09, 0); | ||
84 | 86 | ||
85 | /* device and clock bindings */ | 87 | /* device and clock bindings */ |
86 | static struct clk_lookup pxa168_clkregs[] = { | 88 | static struct clk_lookup pxa168_clkregs[] = { |
87 | INIT_CLKREG(&clk_uart1, "pxa2xx-uart.0", NULL), | 89 | INIT_CLKREG(&clk_uart1, "pxa2xx-uart.0", NULL), |
88 | INIT_CLKREG(&clk_uart2, "pxa2xx-uart.1", NULL), | 90 | INIT_CLKREG(&clk_uart2, "pxa2xx-uart.1", NULL), |
91 | INIT_CLKREG(&clk_uart3, "pxa2xx-uart.2", NULL), | ||
89 | INIT_CLKREG(&clk_twsi0, "pxa2xx-i2c.0", NULL), | 92 | INIT_CLKREG(&clk_twsi0, "pxa2xx-i2c.0", NULL), |
90 | INIT_CLKREG(&clk_twsi1, "pxa2xx-i2c.1", NULL), | 93 | INIT_CLKREG(&clk_twsi1, "pxa2xx-i2c.1", NULL), |
91 | INIT_CLKREG(&clk_pwm1, "pxa168-pwm.0", NULL), | 94 | INIT_CLKREG(&clk_pwm1, "pxa168-pwm.0", NULL), |
@@ -100,6 +103,7 @@ static struct clk_lookup pxa168_clkregs[] = { | |||
100 | INIT_CLKREG(&clk_nand, "pxa3xx-nand", NULL), | 103 | INIT_CLKREG(&clk_nand, "pxa3xx-nand", NULL), |
101 | INIT_CLKREG(&clk_lcd, "pxa168-fb", NULL), | 104 | INIT_CLKREG(&clk_lcd, "pxa168-fb", NULL), |
102 | INIT_CLKREG(&clk_keypad, "pxa27x-keypad", NULL), | 105 | INIT_CLKREG(&clk_keypad, "pxa27x-keypad", NULL), |
106 | INIT_CLKREG(&clk_eth, "pxa168-eth", "MFUCLK"), | ||
103 | }; | 107 | }; |
104 | 108 | ||
105 | static int __init pxa168_init(void) | 109 | static int __init pxa168_init(void) |
@@ -149,6 +153,7 @@ void pxa168_clear_keypad_wakeup(void) | |||
149 | /* on-chip devices */ | 153 | /* on-chip devices */ |
150 | PXA168_DEVICE(uart1, "pxa2xx-uart", 0, UART1, 0xd4017000, 0x30, 21, 22); | 154 | PXA168_DEVICE(uart1, "pxa2xx-uart", 0, UART1, 0xd4017000, 0x30, 21, 22); |
151 | PXA168_DEVICE(uart2, "pxa2xx-uart", 1, UART2, 0xd4018000, 0x30, 23, 24); | 155 | PXA168_DEVICE(uart2, "pxa2xx-uart", 1, UART2, 0xd4018000, 0x30, 23, 24); |
156 | PXA168_DEVICE(uart3, "pxa2xx-uart", 2, UART3, 0xd4026000, 0x30, 23, 24); | ||
152 | PXA168_DEVICE(twsi0, "pxa2xx-i2c", 0, TWSI0, 0xd4011000, 0x28); | 157 | PXA168_DEVICE(twsi0, "pxa2xx-i2c", 0, TWSI0, 0xd4011000, 0x28); |
153 | PXA168_DEVICE(twsi1, "pxa2xx-i2c", 1, TWSI1, 0xd4025000, 0x28); | 158 | PXA168_DEVICE(twsi1, "pxa2xx-i2c", 1, TWSI1, 0xd4025000, 0x28); |
154 | PXA168_DEVICE(pwm1, "pxa168-pwm", 0, NONE, 0xd401a000, 0x10); | 159 | PXA168_DEVICE(pwm1, "pxa168-pwm", 0, NONE, 0xd401a000, 0x10); |
@@ -163,3 +168,4 @@ PXA168_DEVICE(ssp4, "pxa168-ssp", 3, SSP4, 0xd4020000, 0x40, 58, 59); | |||
163 | PXA168_DEVICE(ssp5, "pxa168-ssp", 4, SSP5, 0xd4021000, 0x40, 60, 61); | 168 | PXA168_DEVICE(ssp5, "pxa168-ssp", 4, SSP5, 0xd4021000, 0x40, 60, 61); |
164 | PXA168_DEVICE(fb, "pxa168-fb", -1, LCD, 0xd420b000, 0x1c8); | 169 | PXA168_DEVICE(fb, "pxa168-fb", -1, LCD, 0xd420b000, 0x1c8); |
165 | PXA168_DEVICE(keypad, "pxa27x-keypad", -1, KEYPAD, 0xd4012000, 0x4c); | 170 | PXA168_DEVICE(keypad, "pxa27x-keypad", -1, KEYPAD, 0xd4012000, 0x4c); |
171 | PXA168_DEVICE(eth, "pxa168-eth", -1, MFU, 0xc0800000, 0x0fff); | ||