ARM: sunxi: dt: Add PIO controller to A31 DTSI
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 12 Mar 2013 21:16:05 +0000 (22:16 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 21 Aug 2013 22:19:16 +0000 (00:19 +0200)
The A31 has a different set of pins than the one found on the A10 and
A13. Now that we have support for the A31 pin set in the pinctrl driver,
we can enable it in the DTSI with its own compatible.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun6i-a31.dtsi

index 4d076ec248858c64406d4e3cfde50f63e05e9c96..902b1e6724555ca6b5544b781925973aec783365 100644 (file)
                #size-cells = <1>;
                ranges;
 
+               pio: pinctrl@01c20800 {
+                       compatible = "allwinner,sun6i-a31-pinctrl";
+                       reg = <0x01c20800 0x400>;
+                       interrupts = <0 11 1>, <0 15 1>, <0 16 1>, <0 17 1>;
+                       clocks = <&osc>;
+                       gpio-controller;
+                       interrupt-controller;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       #gpio-cells = <3>;
+               };
+
                timer@01c20c00 {
                        compatible = "allwinner,sun4i-timer";
                        reg = <0x01c20c00 0xa0>;