Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 1 | /* |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 2 | * linux/arch/arm/mach-pxa/colibri-pxa270.c |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 3 | * |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 4 | * Support for Toradex PXA270 based Colibri module |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 5 | * Daniel Mack <daniel@caiaq.de> |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 6 | * Marek Vasut <marek.vasut@gmail.com> |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 as |
| 10 | * published by the Free Software Foundation. |
| 11 | */ |
| 12 | |
| 13 | #include <linux/init.h> |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 14 | #include <linux/interrupt.h> |
Paul Gortmaker | 6a7a5dc | 2011-09-18 14:50:33 -0400 | [diff] [blame] | 15 | #include <linux/moduleparam.h> |
Daniel Mack | 4c243c8 | 2010-05-22 00:29:38 +0200 | [diff] [blame] | 16 | #include <linux/kernel.h> |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 17 | #include <linux/mtd/mtd.h> |
| 18 | #include <linux/mtd/partitions.h> |
| 19 | #include <linux/mtd/physmap.h> |
Daniel Mack | 4c243c8 | 2010-05-22 00:29:38 +0200 | [diff] [blame] | 20 | #include <linux/platform_device.h> |
Marek Vasut | 7cca84a | 2010-05-22 00:29:37 +0200 | [diff] [blame] | 21 | #include <linux/ucb1400.h> |
Daniel Mack | 4c243c8 | 2010-05-22 00:29:38 +0200 | [diff] [blame] | 22 | |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 23 | #include <asm/mach/arch.h> |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 24 | #include <asm/mach/flash.h> |
Daniel Mack | 4c243c8 | 2010-05-22 00:29:38 +0200 | [diff] [blame] | 25 | #include <asm/mach-types.h> |
| 26 | #include <asm/sizes.h> |
Eric Miao | 51c6298 | 2009-01-02 23:17:22 +0800 | [diff] [blame] | 27 | |
Marek Vasut | 7cca84a | 2010-05-22 00:29:37 +0200 | [diff] [blame] | 28 | #include <mach/audio.h> |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 29 | #include <mach/colibri.h> |
Daniel Mack | 4c243c8 | 2010-05-22 00:29:38 +0200 | [diff] [blame] | 30 | #include <mach/pxa27x.h> |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 31 | |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 32 | #include "devices.h" |
Daniel Mack | 4c243c8 | 2010-05-22 00:29:38 +0200 | [diff] [blame] | 33 | #include "generic.h" |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 34 | |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 35 | /****************************************************************************** |
Marek Vasut | 9b6956f | 2010-08-12 01:18:38 +0200 | [diff] [blame] | 36 | * Evaluation board MFP |
| 37 | ******************************************************************************/ |
Marek Vasut | a3172e5 | 2010-08-12 01:45:05 +0200 | [diff] [blame] | 38 | #ifdef CONFIG_MACH_COLIBRI_EVALBOARD |
Marek Vasut | 9b6956f | 2010-08-12 01:18:38 +0200 | [diff] [blame] | 39 | static mfp_cfg_t colibri_pxa270_evalboard_pin_config[] __initdata = { |
| 40 | /* MMC */ |
| 41 | GPIO32_MMC_CLK, |
| 42 | GPIO92_MMC_DAT_0, |
| 43 | GPIO109_MMC_DAT_1, |
| 44 | GPIO110_MMC_DAT_2, |
| 45 | GPIO111_MMC_DAT_3, |
| 46 | GPIO112_MMC_CMD, |
| 47 | GPIO0_GPIO, /* SD detect */ |
| 48 | |
| 49 | /* FFUART */ |
| 50 | GPIO39_FFUART_TXD, |
| 51 | GPIO34_FFUART_RXD, |
| 52 | |
| 53 | /* UHC */ |
| 54 | GPIO88_USBH1_PWR, |
| 55 | GPIO89_USBH1_PEN, |
| 56 | GPIO119_USBH2_PWR, |
| 57 | GPIO120_USBH2_PEN, |
| 58 | |
| 59 | /* PCMCIA */ |
| 60 | GPIO85_nPCE_1, |
| 61 | GPIO54_nPCE_2, |
| 62 | GPIO55_nPREG, |
| 63 | GPIO50_nPIOR, |
| 64 | GPIO51_nPIOW, |
| 65 | GPIO49_nPWE, |
| 66 | GPIO48_nPOE, |
| 67 | GPIO57_nIOIS16, |
| 68 | GPIO56_nPWAIT, |
| 69 | GPIO104_PSKTSEL, |
| 70 | GPIO53_GPIO, /* RESET */ |
| 71 | GPIO83_GPIO, /* BVD1 */ |
| 72 | GPIO82_GPIO, /* BVD2 */ |
| 73 | GPIO1_GPIO, /* READY */ |
| 74 | GPIO84_GPIO, /* DETECT */ |
| 75 | GPIO107_GPIO, /* PPEN */ |
Marek Vasut | 072e1ae | 2010-08-12 01:30:39 +0200 | [diff] [blame] | 76 | |
| 77 | /* I2C */ |
| 78 | GPIO117_I2C_SCL, |
| 79 | GPIO118_I2C_SDA, |
Marek Vasut | 9b6956f | 2010-08-12 01:18:38 +0200 | [diff] [blame] | 80 | }; |
| 81 | #else |
| 82 | static mfp_cfg_t colibri_pxa270_evalboard_pin_config[] __initdata = {}; |
| 83 | #endif |
| 84 | |
| 85 | #ifdef CONFIG_MACH_COLIBRI_PXA270_INCOME |
| 86 | static mfp_cfg_t income_pin_config[] __initdata = { |
| 87 | /* MMC */ |
| 88 | GPIO32_MMC_CLK, |
| 89 | GPIO92_MMC_DAT_0, |
| 90 | GPIO109_MMC_DAT_1, |
| 91 | GPIO110_MMC_DAT_2, |
| 92 | GPIO111_MMC_DAT_3, |
| 93 | GPIO112_MMC_CMD, |
| 94 | GPIO0_GPIO, /* SD detect */ |
| 95 | GPIO1_GPIO, /* SD read-only */ |
| 96 | |
| 97 | /* FFUART */ |
| 98 | GPIO39_FFUART_TXD, |
| 99 | GPIO34_FFUART_RXD, |
| 100 | |
| 101 | /* BFUART */ |
| 102 | GPIO42_BTUART_RXD, |
| 103 | GPIO43_BTUART_TXD, |
| 104 | GPIO45_BTUART_RTS, |
| 105 | |
| 106 | /* STUART */ |
| 107 | GPIO46_STUART_RXD, |
| 108 | GPIO47_STUART_TXD, |
| 109 | |
| 110 | /* UHC */ |
| 111 | GPIO88_USBH1_PWR, |
| 112 | GPIO89_USBH1_PEN, |
| 113 | |
| 114 | /* LCD */ |
| 115 | GPIOxx_LCD_TFT_16BPP, |
| 116 | |
| 117 | /* PWM */ |
| 118 | GPIO16_PWM0_OUT, |
| 119 | |
| 120 | /* I2C */ |
| 121 | GPIO117_I2C_SCL, |
| 122 | GPIO118_I2C_SDA, |
| 123 | |
| 124 | /* LED */ |
| 125 | GPIO54_GPIO, /* LED A */ |
| 126 | GPIO55_GPIO, /* LED B */ |
| 127 | }; |
| 128 | #else |
| 129 | static mfp_cfg_t income_pin_config[] __initdata = {}; |
| 130 | #endif |
| 131 | |
| 132 | /****************************************************************************** |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 133 | * Pin configuration |
| 134 | ******************************************************************************/ |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 135 | static mfp_cfg_t colibri_pxa270_pin_config[] __initdata = { |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 136 | /* Ethernet */ |
Eric Miao | c0b1541 | 2008-08-08 14:59:03 +0800 | [diff] [blame] | 137 | GPIO78_nCS_2, /* Ethernet CS */ |
| 138 | GPIO114_GPIO, /* Ethernet IRQ */ |
Marek Vasut | d01b8d6 | 2010-05-22 00:29:34 +0200 | [diff] [blame] | 139 | |
Marek Vasut | 7cca84a | 2010-05-22 00:29:37 +0200 | [diff] [blame] | 140 | /* AC97 */ |
| 141 | GPIO28_AC97_BITCLK, |
| 142 | GPIO29_AC97_SDATA_IN_0, |
| 143 | GPIO30_AC97_SDATA_OUT, |
| 144 | GPIO31_AC97_SYNC, |
| 145 | GPIO95_AC97_nRESET, |
| 146 | GPIO98_AC97_SYSCLK, |
| 147 | GPIO113_GPIO, /* Touchscreen IRQ */ |
Eric Miao | c0b1541 | 2008-08-08 14:59:03 +0800 | [diff] [blame] | 148 | }; |
| 149 | |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 150 | /****************************************************************************** |
| 151 | * NOR Flash |
| 152 | ******************************************************************************/ |
| 153 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 154 | static struct mtd_partition colibri_partitions[] = { |
| 155 | { |
| 156 | .name = "Bootloader", |
| 157 | .offset = 0x00000000, |
| 158 | .size = 0x00040000, |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 159 | .mask_flags = MTD_WRITEABLE /* force read-only */ |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 160 | }, { |
| 161 | .name = "Kernel", |
| 162 | .offset = 0x00040000, |
| 163 | .size = 0x00400000, |
| 164 | .mask_flags = 0 |
| 165 | }, { |
| 166 | .name = "Rootfs", |
| 167 | .offset = 0x00440000, |
| 168 | .size = MTDPART_SIZ_FULL, |
| 169 | .mask_flags = 0 |
| 170 | } |
| 171 | }; |
| 172 | |
| 173 | static struct physmap_flash_data colibri_flash_data[] = { |
| 174 | { |
| 175 | .width = 4, /* bankwidth in bytes */ |
| 176 | .parts = colibri_partitions, |
| 177 | .nr_parts = ARRAY_SIZE(colibri_partitions) |
| 178 | } |
| 179 | }; |
| 180 | |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 181 | static struct resource colibri_pxa270_flash_resource = { |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 182 | .start = PXA_CS0_PHYS, |
| 183 | .end = PXA_CS0_PHYS + SZ_32M - 1, |
| 184 | .flags = IORESOURCE_MEM, |
| 185 | }; |
| 186 | |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 187 | static struct platform_device colibri_pxa270_flash_device = { |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 188 | .name = "physmap-flash", |
| 189 | .id = 0, |
| 190 | .dev = { |
| 191 | .platform_data = colibri_flash_data, |
| 192 | }, |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 193 | .resource = &colibri_pxa270_flash_resource, |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 194 | .num_resources = 1, |
| 195 | }; |
| 196 | |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 197 | static void __init colibri_pxa270_nor_init(void) |
| 198 | { |
| 199 | platform_device_register(&colibri_pxa270_flash_device); |
| 200 | } |
| 201 | #else |
| 202 | static inline void colibri_pxa270_nor_init(void) {} |
| 203 | #endif |
| 204 | |
| 205 | /****************************************************************************** |
| 206 | * Ethernet |
| 207 | ******************************************************************************/ |
| 208 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) |
| 209 | static struct resource colibri_pxa270_dm9000_resources[] = { |
Marek Vasut | 403d297 | 2010-05-22 00:29:39 +0200 | [diff] [blame] | 210 | { |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 211 | .start = PXA_CS2_PHYS, |
| 212 | .end = PXA_CS2_PHYS + 3, |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 213 | .flags = IORESOURCE_MEM, |
| 214 | }, |
Marek Vasut | 403d297 | 2010-05-22 00:29:39 +0200 | [diff] [blame] | 215 | { |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 216 | .start = PXA_CS2_PHYS + 4, |
| 217 | .end = PXA_CS2_PHYS + 4 + 500, |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 218 | .flags = IORESOURCE_MEM, |
| 219 | }, |
Marek Vasut | 403d297 | 2010-05-22 00:29:39 +0200 | [diff] [blame] | 220 | { |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 221 | .start = gpio_to_irq(GPIO114_COLIBRI_PXA270_ETH_IRQ), |
| 222 | .end = gpio_to_irq(GPIO114_COLIBRI_PXA270_ETH_IRQ), |
Michael Abbott | d0afc85 | 2008-05-14 16:29:24 -0700 | [diff] [blame] | 223 | .flags = IORESOURCE_IRQ | IRQF_TRIGGER_RISING, |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 224 | }, |
| 225 | }; |
| 226 | |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 227 | static struct platform_device colibri_pxa270_dm9000_device = { |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 228 | .name = "dm9000", |
| 229 | .id = -1, |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 230 | .num_resources = ARRAY_SIZE(colibri_pxa270_dm9000_resources), |
| 231 | .resource = colibri_pxa270_dm9000_resources, |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 232 | }; |
| 233 | |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 234 | static void __init colibri_pxa270_eth_init(void) |
| 235 | { |
| 236 | platform_device_register(&colibri_pxa270_dm9000_device); |
| 237 | } |
| 238 | #else |
| 239 | static inline void colibri_pxa270_eth_init(void) {} |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 240 | #endif |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 241 | |
Marek Vasut | d01b8d6 | 2010-05-22 00:29:34 +0200 | [diff] [blame] | 242 | /****************************************************************************** |
Marek Vasut | 7cca84a | 2010-05-22 00:29:37 +0200 | [diff] [blame] | 243 | * Audio and Touchscreen |
| 244 | ******************************************************************************/ |
| 245 | #if defined(CONFIG_TOUCHSCREEN_UCB1400) || \ |
| 246 | defined(CONFIG_TOUCHSCREEN_UCB1400_MODULE) |
| 247 | static pxa2xx_audio_ops_t colibri_pxa270_ac97_pdata = { |
| 248 | .reset_gpio = 95, |
| 249 | }; |
| 250 | |
| 251 | static struct ucb1400_pdata colibri_pxa270_ucb1400_pdata = { |
| 252 | .irq = gpio_to_irq(GPIO113_COLIBRI_PXA270_TS_IRQ), |
| 253 | }; |
| 254 | |
| 255 | static struct platform_device colibri_pxa270_ucb1400_device = { |
| 256 | .name = "ucb1400_core", |
| 257 | .id = -1, |
| 258 | .dev = { |
| 259 | .platform_data = &colibri_pxa270_ucb1400_pdata, |
| 260 | }, |
| 261 | }; |
| 262 | |
| 263 | static void __init colibri_pxa270_tsc_init(void) |
| 264 | { |
| 265 | pxa_set_ac97_info(&colibri_pxa270_ac97_pdata); |
| 266 | platform_device_register(&colibri_pxa270_ucb1400_device); |
| 267 | } |
| 268 | #else |
| 269 | static inline void colibri_pxa270_tsc_init(void) {} |
| 270 | #endif |
| 271 | |
Daniel Mack | 4c243c8 | 2010-05-22 00:29:38 +0200 | [diff] [blame] | 272 | static int colibri_pxa270_baseboard; |
| 273 | core_param(colibri_pxa270_baseboard, colibri_pxa270_baseboard, int, 0444); |
| 274 | |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 275 | static void __init colibri_pxa270_init(void) |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 276 | { |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 277 | pxa2xx_mfp_config(ARRAY_AND_SIZE(colibri_pxa270_pin_config)); |
Marek Vasut | f95bb54 | 2010-05-22 00:29:33 +0200 | [diff] [blame] | 278 | |
| 279 | colibri_pxa270_nor_init(); |
| 280 | colibri_pxa270_eth_init(); |
Marek Vasut | 7cca84a | 2010-05-22 00:29:37 +0200 | [diff] [blame] | 281 | colibri_pxa270_tsc_init(); |
Daniel Mack | 4c243c8 | 2010-05-22 00:29:38 +0200 | [diff] [blame] | 282 | |
| 283 | switch (colibri_pxa270_baseboard) { |
Marek Vasut | a3172e5 | 2010-08-12 01:45:05 +0200 | [diff] [blame] | 284 | case COLIBRI_EVALBOARD: |
Marek Vasut | 9b6956f | 2010-08-12 01:18:38 +0200 | [diff] [blame] | 285 | pxa2xx_mfp_config(ARRAY_AND_SIZE( |
| 286 | colibri_pxa270_evalboard_pin_config)); |
Marek Vasut | a3172e5 | 2010-08-12 01:45:05 +0200 | [diff] [blame] | 287 | colibri_evalboard_init(); |
Daniel Mack | 4c243c8 | 2010-05-22 00:29:38 +0200 | [diff] [blame] | 288 | break; |
Marek Vasut | 403d297 | 2010-05-22 00:29:39 +0200 | [diff] [blame] | 289 | case COLIBRI_PXA270_INCOME: |
Marek Vasut | 9b6956f | 2010-08-12 01:18:38 +0200 | [diff] [blame] | 290 | pxa2xx_mfp_config(ARRAY_AND_SIZE(income_pin_config)); |
Marek Vasut | 403d297 | 2010-05-22 00:29:39 +0200 | [diff] [blame] | 291 | colibri_pxa270_income_boardinit(); |
| 292 | break; |
Daniel Mack | 4c243c8 | 2010-05-22 00:29:38 +0200 | [diff] [blame] | 293 | default: |
| 294 | printk(KERN_ERR "Illegal colibri_pxa270_baseboard type %d\n", |
| 295 | colibri_pxa270_baseboard); |
| 296 | } |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 297 | } |
| 298 | |
Marek Vasut | 403d297 | 2010-05-22 00:29:39 +0200 | [diff] [blame] | 299 | /* The "Income s.r.o. SH-Dmaster PXA270 SBC" board can be booted either |
| 300 | * with the INCOME mach type or with COLIBRI and the kernel parameter |
| 301 | * "colibri_pxa270_baseboard=1" |
| 302 | */ |
| 303 | static void __init colibri_pxa270_income_init(void) |
| 304 | { |
| 305 | colibri_pxa270_baseboard = COLIBRI_PXA270_INCOME; |
| 306 | colibri_pxa270_init(); |
| 307 | } |
| 308 | |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 309 | MACHINE_START(COLIBRI, "Toradex Colibri PXA270") |
Nicolas Pitre | 7375aba | 2011-07-05 22:38:15 -0400 | [diff] [blame] | 310 | .atag_offset = 0x100, |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 311 | .init_machine = colibri_pxa270_init, |
Marek Vasut | 851982c | 2010-10-11 02:20:19 +0200 | [diff] [blame] | 312 | .map_io = pxa27x_map_io, |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 313 | .init_irq = pxa27x_init_irq, |
Eric Miao | 8a97ae2 | 2011-05-18 21:30:04 +0800 | [diff] [blame] | 314 | .handle_irq = pxa27x_handle_irq, |
Daniel Mack | 4e4fc05 | 2008-01-23 14:54:50 +0100 | [diff] [blame] | 315 | .timer = &pxa_timer, |
| 316 | MACHINE_END |
Daniel Mack | 5c0dbb8 | 2009-03-13 16:37:08 +0100 | [diff] [blame] | 317 | |
Marek Vasut | 403d297 | 2010-05-22 00:29:39 +0200 | [diff] [blame] | 318 | MACHINE_START(INCOME, "Income s.r.o. SH-Dmaster PXA270 SBC") |
Nicolas Pitre | 7375aba | 2011-07-05 22:38:15 -0400 | [diff] [blame] | 319 | .atag_offset = 0x100, |
Marek Vasut | 403d297 | 2010-05-22 00:29:39 +0200 | [diff] [blame] | 320 | .init_machine = colibri_pxa270_income_init, |
Marek Vasut | 851982c | 2010-10-11 02:20:19 +0200 | [diff] [blame] | 321 | .map_io = pxa27x_map_io, |
Marek Vasut | 403d297 | 2010-05-22 00:29:39 +0200 | [diff] [blame] | 322 | .init_irq = pxa27x_init_irq, |
Eric Miao | 8a97ae2 | 2011-05-18 21:30:04 +0800 | [diff] [blame] | 323 | .handle_irq = pxa27x_handle_irq, |
Marek Vasut | 403d297 | 2010-05-22 00:29:39 +0200 | [diff] [blame] | 324 | .timer = &pxa_timer, |
| 325 | MACHINE_END |
| 326 | |