diff options
Diffstat (limited to 'arch/arm/mach-imx/mach-cpuimx27.c')
-rw-r--r-- | arch/arm/mach-imx/mach-cpuimx27.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/mach-cpuimx27.c b/arch/arm/mach-imx/mach-cpuimx27.c index d085aea08709..fe74c84a1f4e 100644 --- a/arch/arm/mach-imx/mach-cpuimx27.c +++ b/arch/arm/mach-imx/mach-cpuimx27.c | |||
@@ -169,28 +169,28 @@ static struct i2c_board_info eukrea_cpuimx27_i2c_devices[] = { | |||
169 | static struct plat_serial8250_port serial_platform_data[] = { | 169 | static struct plat_serial8250_port serial_platform_data[] = { |
170 | { | 170 | { |
171 | .mapbase = (unsigned long)(MX27_CS3_BASE_ADDR + 0x200000), | 171 | .mapbase = (unsigned long)(MX27_CS3_BASE_ADDR + 0x200000), |
172 | .irq = IRQ_GPIOB(23), | 172 | /* irq number is run-time assigned */ |
173 | .uartclk = 14745600, | 173 | .uartclk = 14745600, |
174 | .regshift = 1, | 174 | .regshift = 1, |
175 | .iotype = UPIO_MEM, | 175 | .iotype = UPIO_MEM, |
176 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP, | 176 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP, |
177 | }, { | 177 | }, { |
178 | .mapbase = (unsigned long)(MX27_CS3_BASE_ADDR + 0x400000), | 178 | .mapbase = (unsigned long)(MX27_CS3_BASE_ADDR + 0x400000), |
179 | .irq = IRQ_GPIOB(22), | 179 | /* irq number is run-time assigned */ |
180 | .uartclk = 14745600, | 180 | .uartclk = 14745600, |
181 | .regshift = 1, | 181 | .regshift = 1, |
182 | .iotype = UPIO_MEM, | 182 | .iotype = UPIO_MEM, |
183 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP, | 183 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP, |
184 | }, { | 184 | }, { |
185 | .mapbase = (unsigned long)(MX27_CS3_BASE_ADDR + 0x800000), | 185 | .mapbase = (unsigned long)(MX27_CS3_BASE_ADDR + 0x800000), |
186 | .irq = IRQ_GPIOB(27), | 186 | /* irq number is run-time assigned */ |
187 | .uartclk = 14745600, | 187 | .uartclk = 14745600, |
188 | .regshift = 1, | 188 | .regshift = 1, |
189 | .iotype = UPIO_MEM, | 189 | .iotype = UPIO_MEM, |
190 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP, | 190 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP, |
191 | }, { | 191 | }, { |
192 | .mapbase = (unsigned long)(MX27_CS3_BASE_ADDR + 0x1000000), | 192 | .mapbase = (unsigned long)(MX27_CS3_BASE_ADDR + 0x1000000), |
193 | .irq = IRQ_GPIOB(30), | 193 | /* irq number is run-time assigned */ |
194 | .uartclk = 14745600, | 194 | .uartclk = 14745600, |
195 | .regshift = 1, | 195 | .regshift = 1, |
196 | .iotype = UPIO_MEM, | 196 | .iotype = UPIO_MEM, |
@@ -279,6 +279,10 @@ static void __init eukrea_cpuimx27_init(void) | |||
279 | #endif | 279 | #endif |
280 | 280 | ||
281 | #if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE) | 281 | #if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE) |
282 | serial_platform_data[0].irq = IMX_GPIO_NR(2, 23); | ||
283 | serial_platform_data[1].irq = IMX_GPIO_NR(2, 22); | ||
284 | serial_platform_data[2].irq = IMX_GPIO_NR(2, 27); | ||
285 | serial_platform_data[3].irq = IMX_GPIO_NR(2, 30); | ||
282 | platform_device_register(&serial_device); | 286 | platform_device_register(&serial_device); |
283 | #endif | 287 | #endif |
284 | 288 | ||