From: John Crispin Date: Mon, 31 Jul 2017 07:36:39 +0000 (+0800) Subject: arm: dts: mt7623: cleanup the mt7623n rfb uart nodes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3d0b996a72fbfdfeb4bfc2247af0270925b8edd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm: dts: mt7623: cleanup the mt7623n rfb uart nodes 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 Signed-off-by: Sean Wang Signed-off-by: Matthias Brugger --- diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi index 805ba696eb74..5e0dd794f206 100644 --- a/arch/arm/boot/dts/mt7623n-rfb.dtsi +++ b/arch/arm/boot/dts/mt7623n-rfb.dtsi @@ -19,7 +19,7 @@ / { chosen { - stdout-path = &uart2; + stdout-path = "serial2:115200n8"; }; cpus { @@ -43,6 +43,20 @@ memory@80000000 { reg = <0 0x80000000 0 0x40000000>; }; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; }; &uart2 {