public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv3 6/9] ARM: sun7i: Add the PIO controller node to the DTSI
Date: Sun,  4 Aug 2013 11:58:47 +0200	[thread overview]
Message-ID: <1375610330-18185-7-git-send-email-maxime.ripard@free-electrons.com> (raw)
In-Reply-To: <1375610330-18185-1-git-send-email-maxime.ripard@free-electrons.com>

The PIO controller is responsible for the GPIO/muxing/external
interrupts handling. Now that we have support for the A20 pin set in the
pinctrl driver, we can start using it in the DTSI.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 0a2fd74..c5d3432 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -61,6 +61,18 @@
 		#size-cells = <1>;
 		ranges;
 
+		pio: pinctrl at 01c20800 {
+			compatible = "allwinner,sun7i-a20-pinctrl";
+			reg = <0x01c20800 0x400>;
+			interrupts = <0 28 1>;
+			clocks = <&osc24M>;
+			gpio-controller;
+			interrupt-controller;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			#gpio-cells = <3>;
+		};
+
 		timer at 01c20c00 {
 			compatible = "allwinner,sun4i-timer";
 			reg = <0x01c20c00 0x90>;
-- 
1.8.3.4

  parent reply	other threads:[~2013-08-04  9:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-04  9:58 [PATCHv3 0/9] ARM: sunxi: Introduce Allwinner A20 support Maxime Ripard
2013-08-04  9:58 ` [PATCHv3 1/9] " Maxime Ripard
2013-08-04  9:58 ` [PATCHv3 2/9] ARM: sun7i: Add Allwinner A20 DTSI Maxime Ripard
2013-08-04  9:58 ` [PATCHv3 3/9] ARM: sun7i: Add Olimex A20-Olinuxino-Micro support Maxime Ripard
2013-08-04  9:58 ` [PATCHv3 4/9] pinctrl: sunxi: Add Allwinner A20 pins set Maxime Ripard
2013-08-12  8:33   ` Maxime Ripard
2013-08-19 11:23     ` Maxime Ripard
2013-08-21 21:46   ` Linus Walleij
2013-08-04  9:58 ` [PATCHv3 5/9] pinctrl: sunxi: Fix inconsistent indentation Maxime Ripard
2013-08-12  8:27   ` Maxime Ripard
2013-08-19 11:23     ` Maxime Ripard
2013-08-21 21:49   ` Linus Walleij
2013-08-21 21:54     ` Maxime Ripard
2013-08-04  9:58 ` Maxime Ripard [this message]
2013-08-04  9:58 ` [PATCHv3 7/9] ARM: sun7i: DT: Add UART muxing options to the DTSI Maxime Ripard
2013-08-04  9:58 ` [PATCHv3 8/9] ARM: sun7i: a20-olinuxino: Enable UARTs muxing Maxime Ripard
2013-08-04  9:58 ` [PATCHv3 9/9] ARM: sun7i: a20-olinuxino: Enable the user LED 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=1375610330-18185-7-git-send-email-maxime.ripard@free-electrons.com \
    --to=maxime.ripard@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.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