arm64: allwinner: a64: add R_PIO pinctrl node
authorIcenowy Zheng <icenowy@aosc.xyz>
Tue, 4 Apr 2017 09:51:00 +0000 (17:51 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 4 Apr 2017 15:45:09 +0000 (17:45 +0200)
Allwinner A64 have a dedicated pin controller to manage the PL pin bank.
As the driver and the required clock support are added, add the device
node for it.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 1d4e5bcced0ccbc8a77bb00cb02f5c90b0d03cb2..6bc606b4d74d6b975bc0bf4eace89e43afe663df 100644 (file)
                        #clock-cells = <1>;
                        #reset-cells = <1>;
                };
+
+               r_pio: pinctrl@01f02c00 {
+                       compatible = "allwinner,sun50i-a64-r-pinctrl";
+                       reg = <0x01f02c00 0x400>;
+                       interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&r_ccu 3>, <&osc24M>, <&osc32k>;
+                       clock-names = "apb", "hosc", "losc";
+                       gpio-controller;
+                       #gpio-cells = <3>;
+                       interrupt-controller;
+                       #interrupt-cells = <3>;
+               };
        };
 };