Jump to content

/dev/ttyAML1 and Kernel 5.4.27-meson64


martint

Recommended Posts

Hi,

 

I have question about ports /dev/ttyAML1 and /dev/ttyAML2 (device Odroid C2, Image Buster)

I dont see in dmesg the ports /dev/ttyAML1 and /dev/ttyAML2

[    0.000256] printk: console [tty1] enabled
[    1.877506] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 13, base_baud = 1500000) is a meson_uart
[    1.877549] printk: console [ttyAML0] enabled
[    3.452296] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    3.455230] systemd[1]: Created slice system-getty.slice.
[    4.257715] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
 

overlays=i2cA i2cB uartA uartB uartC w1-gpio

 

How should i chnage the meson-gxbb-odroidc2.dtb to working configuration with kernel 5.4.27-meson64 

This is actual configuration:

            serial@84c0 {
                compatible = "amlogic,meson-gx-uart";
                reg = < 0x00 0x84c0 0x00 0x18 >;
                interrupts = < 0x00 0x1a 0x01 >;
                status = "disabled";
                clocks = < 0x0e 0x03 0x1a 0x0e >;
                clock-names = "xtal\0pclk\0baud";
                pinctrl-0 = < 0x0f >;
                pinctrl-names = "default";
                phandle = < 0x47 >;
            };

 

With kernel 4.19.69 was working with following change in meson-gxbb-odroidc2.dtb

            serial@84c0 {
                compatible = "amlogic,meson-gx-uart";
                reg = < 0x00 0x84c0 0x00 0x18 >;
                interrupts = < 0x00 0x1a 0x01 >;
                status = "disabled";
                clocks = < 0x0d 0x0b 0x1a 0x0d >;
                clock-names = "xtal\0pclk\0baud";
                pinctrl-names = "default";
                pinctrl-0 = < 0x72 >;
                phandle = < 0x43 >;
            };

 

Thanks for help

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.

Guest
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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines