martint Posted March 24, 2020 Posted March 24, 2020 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
rob Posted July 24, 2020 Posted July 24, 2020 Bump. Did you find an overlay for ttyAML1 for your Odroid C2? I need to write one for the N2.
Recommended Posts