Other Parts Discussed in Thread: DM3730
Hi All
We are working on DM3730EVM on which we want to use UART4 for connecting some peripheral . But we are not able to enable it.
We have enabled mux mode 2 of GPMC_WAIT2 and GPMC_WAIT3 pins for UART4_tx and UART4_rx respectively in u-boot.
Following is the response of stty application after u-boot change
root@dm3730-am3715-evm:/# stty -F /dev/ttyS3 -a
--> stty: /dev/ttyS3: Input/output error
Muxmode is changing correctly for GPMC_WAIT pins.
Following are some modifications we tried in Kernel code to enable UART4 :
###############################
in arch/arm/mach-omap2/serial.c
###############################
- #ifdef CONFIG_ARCH_OMAP4
static struct plat_serial8250_port serial_platform_data3[] = {
{
.mapbase = OMAP_UART4_BASE,
.irq = 70,
.flags = UPF_BOOT_AUTOCONF,
.iotype = UPIO_MEM,
.regshift = 2,
.uartclk = OMAP24XX_BASE_BAUD * 16,
}, {
.flags = 0
}
};
- #endif
- #ifdef CONFIG_ARCH_OMAP4
{
.pdev = {
.name = "serial8250",
.id = 3,
.dev = {
.platform_data = serial_platform_data3,
},
},
},
- #endif
};
###############################
in arch/arm/plat-omap/include/plat/serial.h
###############################
#elif defined(CONFIG_ARCH_OMAP3)
/* OMAP3 serial ports */
#define OMAP_UART1_BASE 0x4806a000
#define OMAP_UART2_BASE 0x4806c000
#define OMAP_UART3_BASE 0x49020000
+#define OMAP_UART4_BASE 0x4806e000
But after these changes Kernel is stopping at "Uncompressing Linux......................"
Are we following the correct procedure?
Please let us know how to enable UART4 for DM3730EVM (OMAP3 arch) ?
Thanks and Regards
Vidyasagar