ARM: sunxi: dt: declare the r_pio pin controller for A31 SoC
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Tue, 13 May 2014 14:03:03 +0000 (16:03 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 15 May 2014 08:38:00 +0000 (10:38 +0200)
The A31 SoC has a different pin controller for PL and PM banks.
Define this new controller in the device tree.

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

index 90398fa1d0e5886af5868b4383213f5680c2b274..2ad880c0821d6edf83f93d5ce580f68332022e63 100644 (file)
                        compatible = "allwinner,sun6i-a31-cpuconfig";
                        reg = <0x01f01c00 0x300>;
                };
+
+               r_pio: pinctrl@01f02c00 {
+                       compatible = "allwinner,sun6i-a31-r-pinctrl";
+                       reg = <0x01f02c00 0x400>;
+                       interrupts = <0 45 4>,
+                                    <0 46 4>;
+                       clocks = <&apb0_gates 0>;
+                       resets = <&apb0_rst 0>;
+                       gpio-controller;
+                       interrupt-controller;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       #gpio-cells = <3>;
+               };
        };
 };
This page took 0.025287 seconds and 5 git commands to generate.