public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@csie.org>
To: Maxime Ripard <maxime.ripard@free-electrons.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>
Cc: Chen-Yu Tsai <wens@csie.org>,
	linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-sunxi@googlegroups.com
Subject: [PATCH 2/7] ARM: dts: sun9i: Add A80 R_PIO pin controller device node
Date: Tue,  1 Dec 2015 13:47:20 +0800	[thread overview]
Message-ID: <1448948845-28347-3-git-send-email-wens@csie.org> (raw)
In-Reply-To: <1448948845-28347-1-git-send-email-wens@csie.org>

The A80 has a secondary pin controller. Add a device node for it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun9i-a80.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi
index eb69a62f6bc4..d02ee5d520e2 100644
--- a/arch/arm/boot/dts/sun9i-a80.dtsi
+++ b/arch/arm/boot/dts/sun9i-a80.dtsi
@@ -868,5 +868,19 @@
 			resets = <&apbs_rst 4>;
 			status = "disabled";
 		};
+
+		r_pio: pinctrl@08002c00 {
+			compatible = "allwinner,sun9i-a80-r-pinctrl";
+			reg = <0x08002c00 0x400>;
+			interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&apbs_gates 0>;
+			resets = <&apbs_rst 0>;
+			gpio-controller;
+			interrupt-controller;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			#gpio-cells = <3>;
+		};
 	};
 };
-- 
2.6.2


  parent reply	other threads:[~2015-12-01  5:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01  5:47 [PATCH 0/7] ARM: sun9i: R_PIO, IR receiver and RSB support Chen-Yu Tsai
2015-12-01  5:47 ` [PATCH 1/7] pinctrl: sunxi: Add A80 special pin controller Chen-Yu Tsai
2015-12-04 14:39   ` Rob Herring
2015-12-01  5:47 ` Chen-Yu Tsai [this message]
2015-12-01 13:08   ` [PATCH 2/7] ARM: dts: sun9i: Add A80 R_PIO pin controller device node Maxime Ripard
2015-12-01  5:47 ` [PATCH 3/7] ARM: dts: sun9i: optimus: Enable LED3 Chen-Yu Tsai
2015-12-01 13:09   ` Maxime Ripard
2015-12-01  5:47 ` [PATCH 4/7] ARM: dts: sun9i: Add consumer IR receiver device node and pinmux settings Chen-Yu Tsai
2015-12-01 13:09   ` Maxime Ripard
2015-12-01  5:47 ` [PATCH 5/7] ARM: dts: sun9i: optimus: Enable consumer IR receiver Chen-Yu Tsai
2015-12-01 13:09   ` Maxime Ripard
2015-12-01  5:47 ` [PATCH 6/7] ARM: dts: sun9i: Add Reduced Serial Bus controller device node to A80 dtsi Chen-Yu Tsai
2015-12-01 13:10   ` Maxime Ripard
2015-12-01  5:47 ` [PATCH 7/7] ARM: dts: sun9i: optimus: Enable Reduced Serial Bus controller Chen-Yu Tsai
2015-12-01 13:10   ` Maxime Ripard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448948845-28347-3-git-send-email-wens@csie.org \
    --to=wens@csie.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox