29 #define GPIO_NAND_CS (5)
30 #define GPIO_NAND_ALE (4)
31 #define GPIO_NAND_CLE (3)
32 #define GPIO_NAND_RB (10)
34 static unsigned long cmx255_pin_config[] = {
100 #if defined(CONFIG_SPI_PXA2XX)
107 .modalias =
"rtc-max6902",
108 .max_speed_hz = 1000000,
114 static void __init cmx255_init_rtc(
void)
120 static inline void cmx255_init_rtc(
void) {}
123 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
131 .name =
"ARMmon setup block",
149 .parts = cmx255_nor_partitions,
154 static struct resource cmx255_nor_resource = {
161 .
name =
"physmap-flash",
164 .platform_data = cmx255_nor_flash_data,
166 .resource = &cmx255_nor_resource,
170 static void __init cmx255_init_nor(
void)
175 static inline void cmx255_init_nor(
void) {}
178 #if defined(CONFIG_MTD_NAND_GPIO) || defined(CONFIG_MTD_NAND_GPIO_MODULE)
179 static struct resource cmx255_nand_resource[] = {
194 .
name =
"cmx255-nand",
206 .parts = cmx255_nand_parts,
213 .num_resources =
ARRAY_SIZE(cmx255_nand_resource),
214 .resource = cmx255_nand_resource,
217 .platform_data = &cmx255_nand_platdata,
221 static void __init cmx255_init_nand(
void)
226 static inline void cmx255_init_nand(
void) {}