Tool/software: Linux
Hello,
I have built ti wilink mesh drivers for beaglebone green wireless (BBGW) board using ti-processor-sdk-linux-am335x-evm-03.01.00.06. Now I want to enable the UART4 available at cape expansion header P9.11 and P9.13. As per the answers at https://e2e.ti.com/support/embedded/linux/f/354/t/424616 link, I need to add the pinmux definitions in the am335x-bone-common.dtsi file for each uart that I want to enable. The problem is that I do not know the pin address and other mux mode, etc. values that need to be set for BeagleBone green wireless board. I could not find anything related to BBGW on internet. I believe that the value are different for BeagleBone Black and BB Green wireless. The pin mux tool avvailable on TI website, i believe, gives the pin outs for AM335X and not the cape expansion pin address (Not sure about this). Can you please provide some information on how to proceed with enabling the UART4 device?
When building the linux kernel with mesh driver, the build script adds a am335x-bonegreen-wl1835.dtsi and am335x-bonegreen-wireless.dtb files for BBGW in which the UART3 is enabled. After booting the BBGW with the built image, I can see the UART3 enable at ttyS3 port in the dmesg output :
[ 0.371684] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[ 0.984412] console [ttyS0] enabled
[ 0.989014] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 159, base_baud = 3000000) is a 8250
But there is no ttyS3 enabled message. So, I am not sure that I can use the UART3 port. Is the UART3 enabled here or do I have to do something else, to use UART3 port?
There were many sites on the internet referring to bone_capemgr and dtso files for enabling UART, but the bone_capemgr is not available in the linux kernel built from TI Wilink sources. Does it need some configuration to be set in the config file?
Thanks in advance.
Regards,
Aditya Kamat.