diff options
Diffstat (limited to 'arch/arm/mach-mmp/pxa168.c')
| -rw-r--r-- | arch/arm/mach-mmp/pxa168.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/pxa168.c b/arch/arm/mach-mmp/pxa168.c index 71b1ae338753..37dbdde17fac 100644 --- a/arch/arm/mach-mmp/pxa168.c +++ b/arch/arm/mach-mmp/pxa168.c | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | #include <mach/addr-map.h> | 19 | #include <mach/addr-map.h> |
| 20 | #include <mach/cputype.h> | 20 | #include <mach/cputype.h> |
| 21 | #include <mach/regs-apbc.h> | 21 | #include <mach/regs-apbc.h> |
| 22 | #include <mach/regs-apmu.h> | ||
| 22 | #include <mach/irqs.h> | 23 | #include <mach/irqs.h> |
| 23 | #include <mach/gpio.h> | 24 | #include <mach/gpio.h> |
| 24 | #include <mach/dma.h> | 25 | #include <mach/dma.h> |
| @@ -72,6 +73,8 @@ static APBC_CLK(pwm2, PXA168_PWM2, 1, 13000000); | |||
| 72 | static APBC_CLK(pwm3, PXA168_PWM3, 1, 13000000); | 73 | static APBC_CLK(pwm3, PXA168_PWM3, 1, 13000000); |
| 73 | static APBC_CLK(pwm4, PXA168_PWM4, 1, 13000000); | 74 | static APBC_CLK(pwm4, PXA168_PWM4, 1, 13000000); |
| 74 | 75 | ||
| 76 | static APMU_CLK(nand, NAND, 0x01db, 208000000); | ||
| 77 | |||
| 75 | /* device and clock bindings */ | 78 | /* device and clock bindings */ |
| 76 | static struct clk_lookup pxa168_clkregs[] = { | 79 | static struct clk_lookup pxa168_clkregs[] = { |
| 77 | INIT_CLKREG(&clk_uart1, "pxa2xx-uart.0", NULL), | 80 | INIT_CLKREG(&clk_uart1, "pxa2xx-uart.0", NULL), |
| @@ -82,6 +85,7 @@ static struct clk_lookup pxa168_clkregs[] = { | |||
| 82 | INIT_CLKREG(&clk_pwm2, "pxa168-pwm.1", NULL), | 85 | INIT_CLKREG(&clk_pwm2, "pxa168-pwm.1", NULL), |
| 83 | INIT_CLKREG(&clk_pwm3, "pxa168-pwm.2", NULL), | 86 | INIT_CLKREG(&clk_pwm3, "pxa168-pwm.2", NULL), |
| 84 | INIT_CLKREG(&clk_pwm4, "pxa168-pwm.3", NULL), | 87 | INIT_CLKREG(&clk_pwm4, "pxa168-pwm.3", NULL), |
| 88 | INIT_CLKREG(&clk_nand, "pxa3xx-nand", NULL), | ||
| 85 | }; | 89 | }; |
| 86 | 90 | ||
| 87 | static int __init pxa168_init(void) | 91 | static int __init pxa168_init(void) |
| @@ -127,3 +131,4 @@ PXA168_DEVICE(pwm1, "pxa168-pwm", 0, NONE, 0xd401a000, 0x10); | |||
| 127 | PXA168_DEVICE(pwm2, "pxa168-pwm", 1, NONE, 0xd401a400, 0x10); | 131 | PXA168_DEVICE(pwm2, "pxa168-pwm", 1, NONE, 0xd401a400, 0x10); |
| 128 | PXA168_DEVICE(pwm3, "pxa168-pwm", 2, NONE, 0xd401a800, 0x10); | 132 | PXA168_DEVICE(pwm3, "pxa168-pwm", 2, NONE, 0xd401a800, 0x10); |
| 129 | PXA168_DEVICE(pwm4, "pxa168-pwm", 3, NONE, 0xd401ac00, 0x10); | 133 | PXA168_DEVICE(pwm4, "pxa168-pwm", 3, NONE, 0xd401ac00, 0x10); |
| 134 | PXA168_DEVICE(nand, "pxa3xx-nand", -1, NAND, 0xd4283000, 0x80, 97, 99); | ||
