From patchwork Fri Dec 2 15:19:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9458795 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 159D060585 for ; Fri, 2 Dec 2016 15:26:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D112528156 for ; Fri, 2 Dec 2016 15:26:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C25C02823D; Fri, 2 Dec 2016 15:26:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 102B428542 for ; Fri, 2 Dec 2016 15:26:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCphs-0006xt-9B; Fri, 02 Dec 2016 15:25:00 +0000 Received: from forward15o.cmail.yandex.net ([37.9.109.212]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCpd7-00018z-Ay for linux-arm-kernel@lists.infradead.org; Fri, 02 Dec 2016 15:20:09 +0000 Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b6:7]) by forward15o.cmail.yandex.net (Yandex) with ESMTP id 8BBE221DD1; Fri, 2 Dec 2016 18:19:40 +0300 (MSK) Received: from smtp2p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2p.mail.yandex.net (Yandex) with ESMTP id 0C2C21A80065; Fri, 2 Dec 2016 18:19:34 +0300 (MSK) Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id GRoN34j6re-JRPCkGHo; Fri, 02 Dec 2016 18:19:33 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1480691974; bh=YIofz80lpH2LZ0v4pbe5NAVjneaZhggWjJBA5ukMnEQ=; h=From:To:Cc:Subject:Date:Message-Id; b=PKFNxkoHjRebzFAKm4V8VhM528aMLgpxZ0A5Rx8RMMckwNFfXAouKApqxfGaOCxjg NKWKfNKERyw5O3J7bQZ5qMxtWCcZsz7Ly3bA9QMyITVL474pbR3OrFWW/Qs45sgabv +RH7XjM9Q1BArEunhr7MJ34mqFeAO7YWiVx+3kRo= Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: FR X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 1130000036118848 From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Hans de Goede Subject: [PATCH 1/2] arm: dts: sun8i: add uart1 node to reference design tablet Date: Fri, 2 Dec 2016 23:19:12 +0800 Message-Id: <20161202151913.38892-1-icenowy@aosc.xyz> X-Mailer: git-send-email 2.10.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161202_072005_943649_EA619491 X-CRM114-Status: UNSURE ( 8.10 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP In the A23/A33 tablet reference design, the UART1 at PG is used to connect to the UART-connected bluetooth. Add a disabled uart1 node for it in the reference design tablet dtsi, contains the pinctrl info. If a tablet uses the UART bluetooth, simply set the status of this node to "okay". Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi b/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi index 08cd001..2d9cf0d 100644 --- a/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi +++ b/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi @@ -46,6 +46,7 @@ / { aliases { serial0 = &r_uart; + serial1 = &uart1; }; backlight: backlight { @@ -223,6 +224,13 @@ vcc-lcd-supply = <®_dc1sw>; }; +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins_a>, + <&uart1_pins_cts_rts_a>; + status = "disabled"; +}; + &usb_otg { dr_mode = "otg"; status = "okay";