Received: by 10.223.185.116 with SMTP id b49csp514086wrg; Fri, 23 Feb 2018 02:23:02 -0800 (PST) X-Google-Smtp-Source: AH8x224utzdG4BFmUDq4MsR5eyw5Jg/gmPT6nYr6uEaOFnNO4f7BE2nCMDm86oYsWg8J+cAO6Gm5 X-Received: by 2002:a17:902:bb96:: with SMTP id m22-v6mr1255078pls.17.1519381381951; Fri, 23 Feb 2018 02:23:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519381381; cv=none; d=google.com; s=arc-20160816; b=wlFpcuteHYVOOWtSGVFWfrgcfid/adrHLW2Ws0c+Co3jnYKq2ZK4KNQx2Lt1lmpXQt 6SlkWEzhHY+kF2OE7+5W1uI6u5HRhv+/PEagtvYIddkgDjUaqYDhuej8CC0yukUSbfCS hEHaZbbuoxQ4NBJ6uRWZ0BVYir7P6oqH4YWJMHHeLHe8FkVRddpuxcz9mgcT9csSuPii FN434J9IqoLdDuVGJaucjDwRXLwuNm4VOVqCs6QN7dcIy1P488NgDm/AGoyYKWO9dSr4 K+IM3kTp1aor+pPctiKVc6e+/UWTJ/L4TX5lfQD4adN+EGPqVznF7jXh2NgSfMkmspxg 2n+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=8NiCtQZ8T9VPMzvTu/gEuOhY19UeicGu99MJDLQomrg=; b=C3MnIRp62/LVsOkP5eEPGabeJMBvxJf4U/caC+Krwz3Z/wAL17AlmuLcLEMO8n2/FA mpFHl3Lja6y3g9L/D5sFAOJr9Z67GH2AWzzlGaaY7XnmmLdC2qfaq1YDuhIvch8qGcRU 4G7dhNRUQdY30hV4DatpmkowimAEJkM+sF1o0pBaKCy2bJQi6toDmhUvjRPgziaEcrGM aQJbv1JZ8L3t/UCWgSUbbbTKF2YPTgxkHinj4K9RbQjcm6YIo6svPNLMe9knjfuNmNNx NY8dxHJea7PzIbkmouM24zFRChLNNl9zNyTPorAAMZdsfFwb22yLOdBO1kuRGb6x2ecE 4ExQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si1329035pgd.787.2018.02.23.02.22.47; Fri, 23 Feb 2018 02:23:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751357AbeBWKV2 (ORCPT + 99 others); Fri, 23 Feb 2018 05:21:28 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:59743 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751563AbeBWKQw (ORCPT ); Fri, 23 Feb 2018 05:16:52 -0500 X-UUID: 259807fe38824b27af7399718b13b8bf-20180223 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1172739233; Fri, 23 Feb 2018 18:16:50 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 23 Feb 2018 18:16:49 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Fri, 23 Feb 2018 18:16:49 +0800 From: To: , , , , CC: , , Sean Wang Subject: [PATCH v1 08/19] arm: dts: mt7623: enable three available UARTs on bananapi-r2 Date: Fri, 23 Feb 2018 18:16:28 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang On bpi-r2 board, totally there're four UARTs which we usually called uart[0-3] helpful to extend slow-I/O devices. Among those ones, uart2 has dedicated pin slot which is used to console log. uart[0-1] appear at the 40-pins connector and uart3 has no pinout, but just has test points (TP47 for TX and TP48 for RX, respectively) nearby uart2, but we don't enable uart3 in the patch. The missing pinctrl is also being supplemented for those newly added devices. Signed-off-by: Sean Wang --- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts index 8ef91d6..6b760be 100644 --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts @@ -470,6 +470,13 @@ ; }; }; + + uart2_pins_a: uart@2 { + pins_dat { + pinmux = , + ; + }; + }; }; &pwm { @@ -515,16 +522,18 @@ &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>; - status = "disabled"; + status = "okay"; }; &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart1_pins_a>; - status = "disabled"; + status = "okay"; }; &uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins_a>; status = "okay"; }; -- 2.7.4