ARM: sun7i: Add the PIO controller node to the DTSI
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 24 Jul 2013 21:46:11 +0000 (23:46 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 21 Aug 2013 22:19:17 +0000 (00:19 +0200)
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

index 3339151..980ec75 100644 (file)
                #size-cells = <1>;
                ranges;
 
+               pio: pinctrl@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@01c20c00 {
                        compatible = "allwinner,sun4i-timer";
                        reg = <0x01c20c00 0x90>;