ARM: sun9i: Enable the A80 pinctrl driver
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 28 Oct 2014 21:41:28 +0000 (22:41 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 30 Oct 2014 15:36:45 +0000 (16:36 +0100)
The A80 pinctrl driver is just as usual our pinctrl/gpio/external interrupt
controller.

Nothing really out of the extraordinary here...

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/sun9i-a80.dtsi

index af508e5..fe9832a 100644 (file)
                        clocks = <&osc24M>;
                };
 
+               pio: pinctrl@06000800 {
+                       compatible = "allwinner,sun9i-a80-pinctrl";
+                       reg = <0x06000800 0x400>;
+                       interrupts = <0 11 4>,
+                                    <0 15 4>,
+                                    <0 16 4>,
+                                    <0 17 4>,
+                                    <0 120 4>;
+                       clocks = <&apb0_gates 5>;
+                       gpio-controller;
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+                       #size-cells = <0>;
+                       #gpio-cells = <3>;
+               };
+
                uart0: serial@07000000 {
                        compatible = "snps,dw-apb-uart";
                        reg = <0x07000000 0x400>;