diff options
author | Syed Rafiuddin <rafiuddin.syed@ti.com> | 2009-07-28 13:27:22 (GMT) |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-07-28 13:27:22 (GMT) |
commit | 085b54d99b8ee999e7905b8f16e201e0da8ba369 (patch) | |
tree | bbdadefe2025c21dbd7db72e2a8884b1c2ab6751 /arch/arm/mach-omap2/serial.c | |
parent | a5b92cc348299c20be215b9f4b50853ecfbf3864 (diff) | |
download | linux-085b54d99b8ee999e7905b8f16e201e0da8ba369.tar.xz |
ARM: OMAP4: Add UART4 support
This patch adds UART4 support on OMAP4430 development platform.
Signed-off-by: Syed Rafiuddin <rafiuddin.syed@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index b094c15..c0bea75 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[] = { .regshift = 2, .uartclk = OMAP24XX_BASE_BAUD * 16, }, { +#ifdef CONFIG_ARCH_OMAP4 + .membase = IO_ADDRESS(OMAP_UART4_BASE), + .mapbase = OMAP_UART4_BASE, + .irq = 70, + .flags = UPF_BOOT_AUTOCONF, + .iotype = UPIO_MEM, + .regshift = 2, + .uartclk = OMAP24XX_BASE_BAUD * 16, + }, { +#endif .flags = 0 } }; |