Tool/software: Linux
On our custom board, we want to use uart6. the insmod modules is failed when we configure the UART 0x48068000 register in modules.
We read the CM_IPU1_CLKSTCTRL \CM_IPU_CLKSTCTRL and CM_IPU_UART6_CLKCTRL, then write 2 to CM_IPU_UART6_CLKCTRL register to enable UART6 module, but the UART6_CLKCTRL-IDLEST is always 3.
It seems the UART6 is not working. Does any else register need to set before configure the CM_IPU_UART6_CLKCTRL? Thank you!
root@am57xx-evm:~# devmem2 0x4a005500
/dev/mem opened.
Memory mapped at address 0xb6f06000.
Read at address 0x4A005500 (0xb6f06500): 0x00000003
root@am57xx-evm:~# devmem2 0x4a005520
/dev/mem opened.
Memory mapped at address 0xb6fce000.
Read at address 0x4A005520 (0xb6fce520): 0x01070000
root@am57xx-evm:~# devmem2 0x4a005540
/dev/mem opened.
Memory mapped at address 0xb6f59000.
Read at address 0x4A005540 (0xb6f59540): 0x00000003
root@am57xx-evm:~# devmem2 0x4a005580
/dev/mem opened.
Memory mapped at address 0xb6fcb000.
Read at address 0x4A005580 (0xb6fcb580): 0x00030000
root@am57xx-evm:~# devmem2 0x4a005580 w 2
/dev/mem opened.
Memory mapped at address 0xb6f97000.
Read at address 0x4A005580 (0xb6f97580): 0x00030000
Write at address 0x4A005580 (0xb6f97580): 0x00000002, readback 0x00000002
root@am57xx-evm:~# devmem2 0x4a005580
/dev/mem opened.
Memory mapped at address 0xb6fa3000.
Read at address 0x4A005580 (0xb6fa3580): 0x00030002