33 #include <mach/common.h>
43 #define NEUROS_OSD2_PHY_ID "davinci_mdio-0:01"
44 #define LXT971_PHY_ID 0x001378e2
45 #define LXT971_PHY_MASK 0xfffffff0
47 #define NTOSD2_AUDIOSOC_I2C_ADDR 0x18
48 #define NTOSD2_MSP430_I2C_ADDR 0x59
49 #define NTOSD2_MSP430_IRQ 2
56 #define NAND_BLOCK_SIZE SZ_128K
58 static struct mtd_partition davinci_ntosd2_nandflash_partition[] = {
88 .parts = davinci_ntosd2_nandflash_partition,
89 .nr_parts =
ARRAY_SIZE(davinci_ntosd2_nandflash_partition),
94 static struct resource davinci_ntosd2_nandflash_resource[] = {
107 .name =
"davinci_nand",
110 .platform_data = &davinci_ntosd2_nandflash_data,
112 .num_resources =
ARRAY_SIZE(davinci_ntosd2_nandflash_resource),
113 .resource = davinci_ntosd2_nandflash_resource,
122 .dma_mask = &davinci_fb_dma_mask,
130 static struct gpio_led ntosd2_leds[] = {
131 { .name =
"led1_green", .gpio =
GPIO(10), },
132 { .name =
"led1_red", .gpio =
GPIO(11), },
133 { .name =
"led2_green", .gpio =
GPIO(12), },
134 { .name =
"led2_red", .gpio =
GPIO(13), },
146 .platform_data = &ntosd2_leds_data,
157 .enabled_uarts = (1 << 0),
160 static void __init davinci_ntosd2_map_io(
void)
171 #if defined(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \
172 defined(CONFIG_BLK_DEV_PALMCHIP_BK3710_MODULE)
178 #if defined(CONFIG_MTD_NAND_DAVINCI) || \
179 defined(CONFIG_MTD_NAND_DAVINCI_MODULE)
185 static __init void davinci_ntosd2_init(
void)
187 struct clk *aemif_clk;
196 "enabled, but they share AEMIF pins.\n"
197 "\tDisable IDE for NAND/NOR support.\n");
206 &davinci_ntosd2_nandflash_device);
237 .atag_offset = 0x100,
238 .map_io = davinci_ntosd2_map_io,
241 .init_machine = davinci_ntosd2_init,