12 #include <linux/kernel.h>
26 #include <mach/addr-map.h>
29 #include <mach/irqs.h>
30 #include <mach/regs-usb.h>
34 #define TTCDKB_GPIO_EXT0(x) (MMP_NR_BUILTIN_GPIO + ((x < 0) ? 0 : \
36 #define TTCDKB_GPIO_EXT1(x) (MMP_NR_BUILTIN_GPIO + 16 + ((x < 0) ? 0 : \
44 #define TTCDKB_NR_IRQS (MMP_NR_IRQS + 16 + 16 + 24)
46 static unsigned long ttc_dkb_pin_config[]
__initdata = {
106 .parts = ttc_dkb_onenand_partitions,
107 .nr_parts =
ARRAY_SIZE(ttc_dkb_onenand_partitions),
110 static struct resource ttc_dkb_resource_onenand[] = {
119 .name =
"onenand-flash",
121 .resource = ttc_dkb_resource_onenand,
122 .num_resources =
ARRAY_SIZE(ttc_dkb_resource_onenand),
124 .platform_data = &ttc_dkb_onenand_info,
131 &ttc_dkb_device_onenand,
149 .platform_data = &ttc_dkb_pm8607_info,
156 .platform_data = &max7312_data,
160 #ifdef CONFIG_USB_SUPPORT
161 #if defined(CONFIG_USB_MV_UDC) || defined(CONFIG_USB_EHCI_MV_U2O)
163 static char *pxa910_usb_clock_name[] = {
169 .clkname = pxa910_usb_clock_name,
172 .otg_force_a_bus_req = 1,
180 #ifdef CONFIG_MTD_NAND_PXA3xx
187 static void __init ttc_dkb_init(
void)
193 #ifdef CONFIG_MTD_NAND_PXA3xx
194 pxa910_add_nand(&dkb_nand_info);
201 #ifdef CONFIG_USB_MV_UDC
206 #ifdef CONFIG_USB_EHCI_MV_U2O
211 #ifdef CONFIG_USB_MV_OTG
217 MACHINE_START(TTC_DKB,
"PXA910-based TTC_DKB Development Platform")
222 .init_machine = ttc_dkb_init,