Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2997672AbdDZJhO (ORCPT ); Wed, 26 Apr 2017 05:37:14 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:54671 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2997132AbdDZJ1i (ORCPT ); Wed, 26 Apr 2017 05:27:38 -0400 From: To: , , , , , , , CC: , , , Sean Wang Subject: [PATCH v2 26/30] arm: dts: mt7623: cleanup the mt7623n rfb uart nodes Date: Wed, 26 Apr 2017 17:26:10 +0800 Message-ID: <1493198774-4478-27-git-send-email-sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1493198774-4478-1-git-send-email-sean.wang@mediatek.com> References: <1493198774-4478-1-git-send-email-sean.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 46 From: John Crispin 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 --- 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 { -- 1.9.1