Jump to content

Enable UART on BPI-CM4

Recommended Posts

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


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines