mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-20 03:24:03 +08:00
ARM: OMAP4: Add UART4 support
This patch adds UART4 support on OMAP4430 development platform. Signed-off-by: Syed Rafiuddin <rafiuddin.syed@ti.com>
This commit is contained in:
parent
a5b92cc348
commit
085b54d99b
@ -39,7 +39,7 @@ static struct platform_device *sdp4430_devices[] __initdata = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static struct omap_uart_config sdp4430_uart_config __initdata = {
|
static struct omap_uart_config sdp4430_uart_config __initdata = {
|
||||||
.enabled_uarts = (1 << 0) | (1 << 1) | (1 << 2),
|
.enabled_uarts = (1 << 0) | (1 << 1) | (1 << 2) | (1 << 3),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct omap_lcd_config sdp4430_lcd_config __initdata = {
|
static struct omap_lcd_config sdp4430_lcd_config __initdata = {
|
||||||
|
@ -97,6 +97,16 @@ static struct plat_serial8250_port serial_platform_data[] = {
|
|||||||
.regshift = 2,
|
.regshift = 2,
|
||||||
.uartclk = OMAP24XX_BASE_BAUD * 16,
|
.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
|
.flags = 0
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user