ramips: introduce serial0 aliases
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an.dtsi
index e120e56cf4edf4317f874284fe564f3e00d073a4..c1f03fc76c229054415681f8aad619e36f9dc211 100644 (file)
                bootargs = "console=ttyS0,57600";
        };
 
+       aliases {
+               serial0 = &uartlite;
+       };
+
        cpuintc: cpuintc@0 {
                #address-cells = <0>;
                #interrupt-cells = <1>;
                        status = "disabled";
                };
 
-               uartlite@c00 {
+               uartlite: uartlite@c00 {
                        compatible = "ns16550a";
                        reg = <0xc00 0x100>;
 
                        status = "disabled";
                };
 
-               uart2@e00 {
+               uart2: uart2@e00 {
                        compatible = "ns16550a";
                        reg = <0xe00 0x100>;