ARM: dts: sun9i: Add A80 R_PIO pin controller device node
authorChen-Yu Tsai <wens@csie.org>
Tue, 1 Dec 2015 05:47:20 +0000 (13:47 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 1 Dec 2015 13:08:23 +0000 (14:08 +0100)
The A80 has a secondary pin controller. Add a device node for it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun9i-a80.dtsi

index eb69a62f6bc47474396ef6066d1b291ecd7bf270..d02ee5d520e2f2b3eaa4d5a3dbc413de724bd322 100644 (file)
                        resets = <&apbs_rst 4>;
                        status = "disabled";
                };
+
+               r_pio: pinctrl@08002c00 {
+                       compatible = "allwinner,sun9i-a80-r-pinctrl";
+                       reg = <0x08002c00 0x400>;
+                       interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&apbs_gates 0>;
+                       resets = <&apbs_rst 0>;
+                       gpio-controller;
+                       interrupt-controller;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       #gpio-cells = <3>;
+               };
        };
 };