18 #include <linux/module.h>
19 #include <linux/kernel.h>
31 #include <asm/setup.h>
32 #include <asm/memory.h>
34 #include <mach/hardware.h>
36 #include <asm/sizes.h>
50 static struct resource flash_resource = {
70 .map_name =
"cfi_probe",
71 .parts = gumstix_partitions,
77 .name =
"pxa2xx-flash",
80 .platform_data = &gumstix_flash_data,
82 .resource = &flash_resource,
87 &gumstix_flash_device,
93 .gpio_card_detect = -1,
98 static void __init gumstix_mmc_init(
void)
103 static void __init gumstix_mmc_init(
void)
109 #ifdef CONFIG_USB_PXA25X
119 .platform_data = &gumstix_udc_info,
123 static void __init gumstix_udc_init(
void)
128 static void gumstix_udc_init(
void)
130 pr_debug(
"Gumstix udc is disabled\n");
138 static void gumstix_setup_bt_clock(
void)
143 pr_warning(
"32kHz clock was not on. Bootloader may need to "
155 pr_err(
"Failed to start 32kHz clock\n");
158 static void __init gumstix_bluetooth_init(
void)
162 gumstix_setup_bt_clock();
166 pr_err(
"gumstix: failed request gpio for bluetooth reset\n");
172 pr_err(
"gumstix: can't reset bluetooth\n");
180 static void gumstix_bluetooth_init(
void)
182 pr_debug(
"Gumstix Bluetooth is disabled\n");
186 static unsigned long gumstix_pin_config[]
__initdata = {
209 static void __init carrier_board_init(
void)
219 static void __init gumstix_init(
void)
228 gumstix_bluetooth_init();
232 carrier_board_init();
236 .atag_offset = 0x100,
242 .init_machine = gumstix_init,