From patchwork Sun Feb 28 15:18:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vishnupatekar X-Patchwork-Id: 8447141 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 33082C0553 for ; Sun, 28 Feb 2016 15:24:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 55DFD202FE for ; Sun, 28 Feb 2016 15:24:45 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 88B8B202F2 for ; Sun, 28 Feb 2016 15:24:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aa3BW-0001n9-3K; Sun, 28 Feb 2016 15:23:02 +0000 Received: from mail-pa0-x244.google.com ([2607:f8b0:400e:c03::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aa38v-0006x7-4S for linux-arm-kernel@lists.infradead.org; Sun, 28 Feb 2016 15:20:23 +0000 Received: by mail-pa0-x244.google.com with SMTP id a7so5889721pax.3 for ; Sun, 28 Feb 2016 07:20:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QCk6hmJTBovPWBoqnTQI+JXSMC1Td8rcqtHcJI3uSII=; b=EbnO62VAkYSo7Q/knYmDzV/ltcGwe8WN0h9/V8tb4Gz/e6t7mX8yGx/oUMOeXYqJz+ fPuOEV+v82GgYDiT1ybW9DyeKWcsieBzpnHCH1mXzmIP+joRe9rPXt/ez4TjvdZNgqcC 3/MjzsNSripp/IO5vpMG8vIlQz7az2QoypMJl0ItS7ehoDzBbE7P0DWsQ+15vC/HpFl3 qSm5OVbCz1chbr7IkPiLuK1/5pYboBHFZAfiQzC2AHIaRTyGZHtPH28T1O7wDCFu1B6d yWVFBvj9kqcGSF2DDXMB9jufxUXB7Br4vNMbMM+780A8Kt4sa1vUCiBzg3kTHdXjWSdL F8dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QCk6hmJTBovPWBoqnTQI+JXSMC1Td8rcqtHcJI3uSII=; b=Tvmt78tQ3S2X3tKXCocu9FECRWHZgFOXTYBx3x+9iPGUdYE9Fygih+QzZMhAKzV+B2 jIKlWwvFhHIrl7TgzEIlBej9eYzCvyPSMn0nLUNYfGIcx4E+XgNCbB6nLcMKsjVgNoOJ jgwDgfYalisZARaQF+2ayA/iHCWu6PYS8V7ikhYYbFSA8PcXyjLIO0+TtA8ZDEJbmj0j gnPoKfOEEhVqA3YTx1weUO4h3sMS1aAPDZrIOFwnQWPRDASd0xSLQAufoiwg11tALnIP aq83wp7fHhwJQtwsugqBG6zy6CfAehqNKNTSPFZbpjYYKd6F655WL5u9k9i1T+wrNNbN 2YTw== X-Gm-Message-State: AD7BkJKLBFVhtrfJr9CUrmn58J/TvQvFagjYsQdrbGDEbyLe0Owg+216WmO1f930kBH/7A== X-Received: by 10.66.187.36 with SMTP id fp4mr16086512pac.47.1456672800574; Sun, 28 Feb 2016 07:20:00 -0800 (PST) Received: from localhost.localdomain ([101.127.161.160]) by smtp.gmail.com with ESMTPSA id 70sm31902824pfs.78.2016.02.28.07.19.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Feb 2016 07:19:59 -0800 (PST) From: Vishnu Patekar To: robh+dt@kernel.org, corbet@lwn.net, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, maxime.ripard@free-electrons.com, linux@arm.linux.org.uk, emilio@elopez.com.ar Subject: [PATCH v2 09/13] ARM: dts: sun8i-a83t: Add RSB controller device node to dtsi Date: Sun, 28 Feb 2016 23:18:54 +0800 Message-Id: <1456672738-4993-10-git-send-email-vishnupatekar0510@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456672738-4993-1-git-send-email-vishnupatekar0510@gmail.com> References: <1456672738-4993-1-git-send-email-vishnupatekar0510@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160228_072021_446332_D4AB0A64 X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) 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-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, patchesrdh@mveas.com, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, hdegoede@redhat.com, wens@csie.org, mturquette@baylibre.com, jenskuske@gmail.com, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds a device node for the Reduced Serial Bus (RSB) controller and the defacto pinmux setting to the A83T dtsi. Since there is only one possible pinmux setting for RSB, just set it in the dtsi. Signed-off-by: Vishnu Patekar --- arch/arm/boot/dts/sun8i-a83t.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index af961a8..675fc01 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -476,6 +476,27 @@ interrupt-controller; #interrupt-cells = <3>; #gpio-cells = <3>; + + r_rsb_pins: r_rsb { + allwinner,pins = "PL0", "PL1"; + allwinner,function = "s_rsb"; + allwinner,drive = ; + allwinner,pull = ; + }; + }; + + r_rsb: i2c@01f03400 { + compatible = "allwinner,sun8i-a23-rsb"; + reg = <0x01f03400 0x400>; + interrupts = ; + clocks = <&apb0_gates 3>; + clock-frequency = <3000000>; + resets = <&apb0_reset 3>; + pinctrl-names = "default"; + pinctrl-0 = <&r_rsb_pins>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; }; }; };