Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1640281

[PATCH v3 6/9] arm: dts: mt7623: cleanup the mt7623n rfb uart nodes

From <sean.wang@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v3 6/9] arm: dts: mt7623: cleanup the mt7623n rfb uart nodes
Date 2017-05-12 10:00 +0200
Message-ID <tGdEv-1eG-27@gated-at.bofh.it> (permalink)
References <tGdEu-1eG-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: John Crispin <john@phrozen.org>

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>
---
 arch/arm/boot/dts/mt7623n-rfb.dtsi | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi
index c526116..4963e6a 100644
--- a/arch/arm/boot/dts/mt7623n-rfb.dtsi
+++ b/arch/arm/boot/dts/mt7623n-rfb.dtsi
@@ -16,12 +16,26 @@
 
 / {
 	chosen {
-		stdout-path = &uart2;
+		stdout-path = "serial2:115200n8";
 	};
 
 	memory@80000000 {
 		reg = <0 0x80000000 0 0x40000000>;
 	};
+
+	aliases {
+		serial0 = &uart0;
+		serial1 = &uart1;
+		serial2 = &uart2;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
+
+&uart1 {
+	status = "okay";
 };
 
 &uart2 {
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/9] arm: dts: extend mt7623 support <sean.wang@mediatek.com> - 2017-05-12 10:00 +0200
  [PATCH v3 9/9] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board <sean.wang@mediatek.com> - 2017-05-12 10:00 +0200
    Re: [PATCH v3 9/9] arm: dts: mt7623: add dts file for Bananapi R2  (BPI-R2) board kbuild test robot <lkp@intel.com> - 2017-05-12 13:50 +0200
    Re: [PATCH v3 9/9] arm: dts: mt7623: add dts file for Bananapi R2  (BPI-R2) board Rob Herring <robh@kernel.org> - 2017-05-15 23:00 +0200
  [PATCH v3 3/9] dt-bindings: arm: mediatek: update for MT7623n SoC and relevant boards <sean.wang@mediatek.com> - 2017-05-12 10:00 +0200
    Re: [PATCH v3 3/9] dt-bindings: arm: mediatek: update for MT7623n SoC  and relevant boards Matthias Brugger <matthias.bgg@gmail.com> - 2017-05-15 10:00 +0200
      Re: [PATCH v3 3/9] dt-bindings: arm: mediatek: update for MT7623n  SoC and relevant boards Sean Wang <sean.wang@mediatek.com> - 2017-05-15 11:20 +0200
  [PATCH v3 2/9] arm: dts: mt7623: rename mt7623-evb.dts to arch/arm/boot/dts/mt7623n-rfb.dtsi <sean.wang@mediatek.com> - 2017-05-12 10:00 +0200
  [PATCH v3 5/9] ARM: mediatek: add MT7623a smp bringup code <sean.wang@mediatek.com> - 2017-05-12 10:00 +0200
  [PATCH v3 4/9] dt-bindings: arm: mediatek: add bindings for mediatek MT7623a SoC Platform <sean.wang@mediatek.com> - 2017-05-12 10:00 +0200
    Re: [PATCH v3 4/9] dt-bindings: arm: mediatek: add bindings for  mediatek MT7623a SoC Platform Rob Herring <robh@kernel.org> - 2017-05-15 23:00 +0200
  [PATCH v3 6/9] arm: dts: mt7623: cleanup the mt7623n rfb uart nodes <sean.wang@mediatek.com> - 2017-05-12 10:00 +0200
  [PATCH v3 7/9] arm: dts: mt7623: enable the usb device on the mt7623n rfb <sean.wang@mediatek.com> - 2017-05-12 10:00 +0200
    Re: [PATCH v3 7/9] arm: dts: mt7623: enable the usb device on the  mt7623n rfb kbuild test robot <lkp@intel.com> - 2017-05-12 13:20 +0200
  [PATCH v3 1/9] arm: dts: mt7623: add mt7623-mt6323.dtsi file <sean.wang@mediatek.com> - 2017-05-12 10:00 +0200
    Re: [PATCH v3 1/9] arm: dts: mt7623: add mt7623-mt6323.dtsi file kbuild test robot <lkp@intel.com> - 2017-05-12 12:50 +0200
      Re: [PATCH v3 1/9] arm: dts: mt7623: add mt7623-mt6323.dtsi file Matthias Brugger <matthias.bgg@gmail.com> - 2017-05-12 17:50 +0200
        Re: [PATCH v3 1/9] arm: dts: mt7623: add mt7623-mt6323.dtsi file Fengguang Wu <lkp@intel.com> - 2017-05-13 02:50 +0200

csiph-web