Add aliases with "serialN = &uartN;" of uart0/1 on QCA955x SoCs to
qca955x.dtsi, to enable uart1 on Linux Kernel.
without this:
[ 0.342915] ar933x-uart
18500000.uart: unable to get alias id, err=-19
Additionally, remove "serial0 = &uart;" alias from QCA955x device
dts/dtsi files.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
aliases {
mdio-gpio1 = &mdio2;
- serial0 = &uart;
};
keys {
model = "COMFAST CF-E380AC";
aliases {
- serial0 = &uart;
label-mac-device = ð1;
led-boot = &led_lan;
led-failsafe = &led_lan;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
- serial0 = &uart;
};
keys {
led-boot = &led_user;
led-failsafe = &led_user;
led-upgrade = &led_user;
- serial0 = &uart;
};
leds {
led-boot = &led_user;
led-failsafe = &led_user;
led-upgrade = &led_user;
- serial0 = &uart;
};
leds {
};
aliases {
- serial0 = &uart;
led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
};
aliases {
- serial0 = &uart;
led-boot = &led_power_blue;
led-failsafe = &led_power_blue;
led-running = &led_power_blue;
};
aliases {
- serial0 = &uart;
led-boot = &led_power_blue;
led-failsafe = &led_power_blue;
led-running = &led_power_blue;
};
aliases {
- serial0 = &uart;
led-boot = &led_power_blue;
led-failsafe = &led_power_blue;
led-running = &led_power_blue;
#address-cells = <1>;
#size-cells = <1>;
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
+ };
+
chosen {
bootargs = "console=ttyS0,115200n8";
};