gumstix.c (854feaede51c155897335f1f0ca7acda96b04a64) gumstix.c (3332b0c17969d91d8868d2d003e685c420d84262)
1/*
2 * linux/arch/arm/mach-pxa/gumstix.c
3 *
4 * Support for the Gumstix motherboards.
5 *
6 * Original Author: Craig Hughes
7 * Created: Feb 14, 2008
8 * Copyright: Craig Hughes

--- 170 unchanged lines hidden (view full) ---

179 GPIO42_HWUART_RXD,
180 GPIO43_HWUART_TXD,
181 GPIO44_HWUART_CTS,
182 GPIO45_HWUART_RTS,
183 /* MMC */
184 GPIO6_MMC_CLK,
185 GPIO53_MMC_CLK,
186 GPIO8_MMC_CS0,
1/*
2 * linux/arch/arm/mach-pxa/gumstix.c
3 *
4 * Support for the Gumstix motherboards.
5 *
6 * Original Author: Craig Hughes
7 * Created: Feb 14, 2008
8 * Copyright: Craig Hughes

--- 170 unchanged lines hidden (view full) ---

179 GPIO42_HWUART_RXD,
180 GPIO43_HWUART_TXD,
181 GPIO44_HWUART_CTS,
182 GPIO45_HWUART_RTS,
183 /* MMC */
184 GPIO6_MMC_CLK,
185 GPIO53_MMC_CLK,
186 GPIO8_MMC_CS0,
187 /* these are used by AM200EPD */
188 GPIO51_GPIO,
189 GPIO49_GPIO,
190 GPIO48_GPIO,
191 GPIO32_GPIO,
192 GPIO17_GPIO,
193 GPIO16_GPIO,
187};
188
194};
195
196int __attribute__((weak)) am200_init(void)
197{
198 return 0;
199}
200
201static void __init carrier_board_init(void)
202{
203 /*
204 * put carrier/expansion board init here if
205 * they cannot be detected programatically
206 */
207 am200_init();
208}
209
189static void __init gumstix_init(void)
190{
191 pxa2xx_mfp_config(ARRAY_AND_SIZE(gumstix_pin_config));
192
193 gumstix_bluetooth_init();
194 gumstix_udc_init();
195 gumstix_mmc_init();
196 (void) platform_add_devices(devices, ARRAY_SIZE(devices));
210static void __init gumstix_init(void)
211{
212 pxa2xx_mfp_config(ARRAY_AND_SIZE(gumstix_pin_config));
213
214 gumstix_bluetooth_init();
215 gumstix_udc_init();
216 gumstix_mmc_init();
217 (void) platform_add_devices(devices, ARRAY_SIZE(devices));
218 carrier_board_init();
197}
198
199MACHINE_START(GUMSTIX, "Gumstix")
200 .phys_io = 0x40000000,
201 .boot_params = 0xa0000100, /* match u-boot bi_boot_params */
202 .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc,
203 .map_io = pxa_map_io,
204 .init_irq = pxa25x_init_irq,
205 .timer = &pxa_timer,
206 .init_machine = gumstix_init,
207MACHINE_END
219}
220
221MACHINE_START(GUMSTIX, "Gumstix")
222 .phys_io = 0x40000000,
223 .boot_params = 0xa0000100, /* match u-boot bi_boot_params */
224 .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc,
225 .map_io = pxa_map_io,
226 .init_irq = pxa25x_init_irq,
227 .timer = &pxa_timer,
228 .init_machine = gumstix_init,
229MACHINE_END