I have just installed an Armbian Jammy CLI on my BPI-CM4. I need to use the UART that is routed to pins 8 and 10 on the 40-pin connector (UART_EE_B in the BPI-CM4 schematics).
I have enabled it in the device tree by changing this from disabled to okay:
serial@23000 {
compatible = "amlogic,meson-g12a-uart\0amlogic,meson-gx-uart";
reg = <0x00 0x23000 0x00 0x18>;
interrupts = <0x00 0x4b 0x01>;
clocks = <0x12 0x02 0x2a 0x12>;
clock-names = "xtal\0pclk\0baud";
status = "okay";
phandle = <0x12b>;
};
Once rebooted, and new UART appears (ttyAML6). However, it does not work. What am I missing?
Thanks in advance