arm64: allwinner: h6: add R_INTC interrupt controller
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 3 May 2018 18:38:45 +0000 (02:38 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 4 May 2018 15:09:41 +0000 (17:09 +0200)
Allwinner H6 SoC has also a R_INTC interrupt controller like Allwinner
A64 SoC, but has its base address changed due to the memory map change
in H6.

Add it into the device tree.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

index a1d19f9..2334ba0 100644 (file)
                        #reset-cells = <1>;
                };
 
+               r_intc: interrupt-controller@7021000 {
+                       compatible = "allwinner,sun50i-h6-r-intc",
+                                    "allwinner,sun6i-a31-r-intc";
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+                       reg = <0x07021000 0x400>;
+                       interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
+               };
+
                r_pio: pinctrl@7022000 {
                        compatible = "allwinner,sun50i-h6-r-pinctrl";
                        reg = <0x07022000 0x400>;