]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
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>
Sun, 23 Nov 2014 15:53:01 +0000 (16:53 +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 af508e5af0f5874b766aff173ed4fd6fd6a6688f..fe9832a2d8b8fa942ea42be886484d42b5094e64 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>;