diff options
author | John Crispin <john@phrozen.org> | 2017-07-31 15:36:39 +0800 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2017-07-31 13:31:29 +0200 |
commit | d3d0b996a72fbfdfeb4bfc2247af0270925b8edd (patch) | |
tree | 1a907194a3a4df05bee0294cbca9bb11473ab2fd /arch/arm/boot | |
parent | 5fd1f96c8c5c48fc8348e9535d393b6791371af4 (diff) | |
download | op-kernel-dev-d3d0b996a72fbfdfeb4bfc2247af0270925b8edd.zip op-kernel-dev-d3d0b996a72fbfdfeb4bfc2247af0270925b8edd.tar.gz |
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 <john@phrozen.org>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/mt7623n-rfb.dtsi | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi index 805ba69..5e0dd79 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 { |