diff options
| author | Syed Rafiuddin <rafiuddin.syed@ti.com> | 2009-07-28 09:27:22 -0400 |
|---|---|---|
| committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-07-28 09:27:22 -0400 |
| commit | 085b54d99b8ee999e7905b8f16e201e0da8ba369 (patch) | |
| tree | bbdadefe2025c21dbd7db72e2a8884b1c2ab6751 | |
| parent | a5b92cc348299c20be215b9f4b50853ecfbf3864 (diff) | |
ARM: OMAP4: Add UART4 support
This patch adds UART4 support on OMAP4430 development platform.
Signed-off-by: Syed Rafiuddin <rafiuddin.syed@ti.com>
| -rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/serial.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 57e477bd89c..7e1e721f032 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
| @@ -39,7 +39,7 @@ static struct platform_device *sdp4430_devices[] __initdata = { | |||
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | static struct omap_uart_config sdp4430_uart_config __initdata = { | 41 | static struct omap_uart_config sdp4430_uart_config __initdata = { |
| 42 | .enabled_uarts = (1 << 0) | (1 << 1) | (1 << 2), | 42 | .enabled_uarts = (1 << 0) | (1 << 1) | (1 << 2) | (1 << 3), |
| 43 | }; | 43 | }; |
| 44 | 44 | ||
| 45 | static struct omap_lcd_config sdp4430_lcd_config __initdata = { | 45 | static struct omap_lcd_config sdp4430_lcd_config __initdata = { |
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index b094c15bfe4..c0bea75f13f 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
| @@ -97,6 +97,16 @@ static struct plat_serial8250_port serial_platform_data[] = { | |||
| 97 | .regshift = 2, | 97 | .regshift = 2, |
| 98 | .uartclk = OMAP24XX_BASE_BAUD * 16, | 98 | .uartclk = OMAP24XX_BASE_BAUD * 16, |
| 99 | }, { | 99 | }, { |
| 100 | #ifdef CONFIG_ARCH_OMAP4 | ||
| 101 | .membase = IO_ADDRESS(OMAP_UART4_BASE), | ||
| 102 | .mapbase = OMAP_UART4_BASE, | ||
| 103 | .irq = 70, | ||
| 104 | .flags = UPF_BOOT_AUTOCONF, | ||
| 105 | .iotype = UPIO_MEM, | ||
| 106 | .regshift = 2, | ||
| 107 | .uartclk = OMAP24XX_BASE_BAUD * 16, | ||
| 108 | }, { | ||
| 109 | #endif | ||
| 100 | .flags = 0 | 110 | .flags = 0 |
| 101 | } | 111 | } |
| 102 | }; | 112 | }; |
