diff options
-rw-r--r-- | arch/arm/mach-pxa/eseries.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/eseries.c b/arch/arm/mach-pxa/eseries.c index d27009992510..001a252bd514 100644 --- a/arch/arm/mach-pxa/eseries.c +++ b/arch/arm/mach-pxa/eseries.c | |||
@@ -61,6 +61,24 @@ static unsigned long e740_pin_config[] __initdata = { | |||
61 | GPIO0_GPIO | WAKEUP_ON_EDGE_RISE, | 61 | GPIO0_GPIO | WAKEUP_ON_EDGE_RISE, |
62 | }; | 62 | }; |
63 | 63 | ||
64 | static unsigned long e400_pin_config[] __initdata = { | ||
65 | /* Chip selects */ | ||
66 | GPIO15_nCS_1, /* CS1 - Flash */ | ||
67 | GPIO80_nCS_4, /* CS4 - TMIO */ | ||
68 | |||
69 | /* Clocks */ | ||
70 | GPIO12_32KHz, | ||
71 | |||
72 | /* BTUART */ | ||
73 | GPIO42_BTUART_RXD, | ||
74 | GPIO43_BTUART_TXD, | ||
75 | GPIO44_BTUART_CTS, | ||
76 | GPIO45_GPIO, /* Used by TMIO for #SUSPEND */ | ||
77 | |||
78 | /* wakeup */ | ||
79 | GPIO0_GPIO | WAKEUP_ON_EDGE_RISE, | ||
80 | }; | ||
81 | |||
64 | /* Only e800 has 128MB RAM */ | 82 | /* Only e800 has 128MB RAM */ |
65 | static void __init eseries_fixup(struct machine_desc *desc, | 83 | static void __init eseries_fixup(struct machine_desc *desc, |
66 | struct tag *tags, char **cmdline, struct meminfo *mi) | 84 | struct tag *tags, char **cmdline, struct meminfo *mi) |
@@ -79,6 +97,11 @@ static void __init e740_init(void) | |||
79 | pxa2xx_mfp_config(ARRAY_AND_SIZE(e740_pin_config)); | 97 | pxa2xx_mfp_config(ARRAY_AND_SIZE(e740_pin_config)); |
80 | } | 98 | } |
81 | 99 | ||
100 | static void __init e400_init(void) | ||
101 | { | ||
102 | pxa2xx_mfp_config(ARRAY_AND_SIZE(e400_pin_config)); | ||
103 | } | ||
104 | |||
82 | /* e-series machine definitions */ | 105 | /* e-series machine definitions */ |
83 | 106 | ||
84 | #ifdef CONFIG_MACH_E330 | 107 | #ifdef CONFIG_MACH_E330 |
@@ -143,6 +166,7 @@ MACHINE_START(E400, "Toshiba e400") | |||
143 | .map_io = pxa_map_io, | 166 | .map_io = pxa_map_io, |
144 | .init_irq = pxa25x_init_irq, | 167 | .init_irq = pxa25x_init_irq, |
145 | .fixup = eseries_fixup, | 168 | .fixup = eseries_fixup, |
169 | .init_machine = e400_init, | ||
146 | .timer = &pxa_timer, | 170 | .timer = &pxa_timer, |
147 | MACHINE_END | 171 | MACHINE_END |
148 | #endif | 172 | #endif |