arm: dts: mt7623: cleanup the mt7623n rfb uart nodes
authorJohn Crispin <john@phrozen.org>
Mon, 31 Jul 2017 07:36:39 +0000 (15:36 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 31 Jul 2017 11:31:29 +0000 (13:31 +0200)
This patch does a cleanup of the uart nodes in the dts file of the RFB. It
adds aliases, enables 2 more uarts and explicitly sets the uart mode of the
console.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/boot/dts/mt7623n-rfb.dtsi

index 805ba696eb74601cbd125b0bf36834840ecf1d57..5e0dd794f2061418dc6142b35e0c308b8ad0cd5c 100644 (file)
@@ -19,7 +19,7 @@
 
 / {
        chosen {
-               stdout-path = &uart2;
+               stdout-path = "serial2:115200n8";
        };
 
        cpus {
        memory@80000000 {
                reg = <0 0x80000000 0 0x40000000>;
        };
+
+       aliases {
+               serial0 = &uart0;
+               serial1 = &uart1;
+               serial2 = &uart2;
+       };
+};
+
+&uart0 {
+       status = "okay";
+};
+
+&uart1 {
+       status = "okay";
 };
 
 &uart2 {