pxa27x.c (1ff8392c32a2645d2665ca779ecb91bb29361c13) | pxa27x.c (e09d02e123fb6944af23a0697369ebcfc15acf73) |
---|---|
1/* 2 * linux/arch/arm/mach-pxa/pxa27x.c 3 * 4 * Author: Nicolas Pitre 5 * Created: Nov 05, 2002 6 * Copyright: MontaVista Software Inc. 7 * 8 * Code specific to PXA27x aka Bulverde. --- 171 unchanged lines hidden (view full) --- 180 }, 181 [1] = { 182 .start = IRQ_USBH1, 183 .end = IRQ_USBH1, 184 .flags = IORESOURCE_IRQ, 185 }, 186}; 187 | 1/* 2 * linux/arch/arm/mach-pxa/pxa27x.c 3 * 4 * Author: Nicolas Pitre 5 * Created: Nov 05, 2002 6 * Copyright: MontaVista Software Inc. 7 * 8 * Code specific to PXA27x aka Bulverde. --- 171 unchanged lines hidden (view full) --- 180 }, 181 [1] = { 182 .start = IRQ_USBH1, 183 .end = IRQ_USBH1, 184 .flags = IORESOURCE_IRQ, 185 }, 186}; 187 |
188static struct platform_device pxaohci_device = { | 188static struct platform_device pxa27x_device_ohci = { |
189 .name = "pxa27x-ohci", 190 .id = -1, 191 .dev = { 192 .dma_mask = &pxa27x_dmamask, 193 .coherent_dma_mask = 0xffffffff, 194 }, 195 .num_resources = ARRAY_SIZE(pxa27x_ohci_resources), 196 .resource = pxa27x_ohci_resources, 197}; 198 199void __init pxa_set_ohci_info(struct pxaohci_platform_data *info) 200{ | 189 .name = "pxa27x-ohci", 190 .id = -1, 191 .dev = { 192 .dma_mask = &pxa27x_dmamask, 193 .coherent_dma_mask = 0xffffffff, 194 }, 195 .num_resources = ARRAY_SIZE(pxa27x_ohci_resources), 196 .resource = pxa27x_ohci_resources, 197}; 198 199void __init pxa_set_ohci_info(struct pxaohci_platform_data *info) 200{ |
201 pxaohci_device.dev.platform_data = info; | 201 pxa27x_device_ohci.dev.platform_data = info; |
202} 203 204static struct resource i2c_power_resources[] = { 205 { 206 .start = 0x40f00180, 207 .end = 0x40f001a3, 208 .flags = IORESOURCE_MEM, 209 }, { 210 .start = IRQ_PWRI2C, 211 .end = IRQ_PWRI2C, 212 .flags = IORESOURCE_IRQ, 213 }, 214}; 215 | 202} 203 204static struct resource i2c_power_resources[] = { 205 { 206 .start = 0x40f00180, 207 .end = 0x40f001a3, 208 .flags = IORESOURCE_MEM, 209 }, { 210 .start = IRQ_PWRI2C, 211 .end = IRQ_PWRI2C, 212 .flags = IORESOURCE_IRQ, 213 }, 214}; 215 |
216static struct platform_device pxai2c_power_device = { | 216static struct platform_device pxa27x_device_i2c_power = { |
217 .name = "pxa2xx-i2c", 218 .id = 1, 219 .resource = i2c_power_resources, 220 .num_resources = ARRAY_SIZE(i2c_power_resources), 221}; 222 223static struct platform_device *devices[] __initdata = { | 217 .name = "pxa2xx-i2c", 218 .id = 1, 219 .resource = i2c_power_resources, 220 .num_resources = ARRAY_SIZE(i2c_power_resources), 221}; 222 223static struct platform_device *devices[] __initdata = { |
224 &pxamci_device, 225 &pxaudc_device, 226 &pxafb_device, 227 &ffuart_device, 228 &btuart_device, 229 &stuart_device, 230 &pxai2c_device, 231 &pxai2c_power_device, 232 &pxai2s_device, 233 &pxaficp_device, 234 &pxartc_device, 235 &pxaohci_device, | 224 &pxa_device_mci, 225 &pxa_device_udc, 226 &pxa_device_fb, 227 &pxa_device_ffuart, 228 &pxa_device_btuart, 229 &pxa_device_stuart, 230 &pxa_device_i2c, 231 &pxa_device_i2s, 232 &pxa_device_ficp, 233 &pxa_device_rtc, 234 &pxa27x_device_i2c_power, 235 &pxa27x_device_ohci, |
236}; 237 238void __init pxa27x_init_irq(void) 239{ 240 pxa_init_irq_low(); 241 pxa_init_irq_high(); 242 pxa_init_irq_gpio(128); 243} --- 16 unchanged lines hidden --- | 236}; 237 238void __init pxa27x_init_irq(void) 239{ 240 pxa_init_irq_low(); 241 pxa_init_irq_high(); 242 pxa_init_irq_gpio(128); 243} --- 16 unchanged lines hidden --- |