arm64: dts: meson: g12a: add the GPIO interrupt controller
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 8 Jun 2019 19:04:11 +0000 (21:04 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 11 Jun 2019 23:18:06 +0000 (16:18 -0700)
GPIO interrupts are used for the external Ethernet RGMII PHY interrupt
line.
Add the GPIO interrupt controller so we can describe that connection in
the dts files.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi

index 6aec4cf87350e298d4488a21e955a3dbf4d0d2ec..50fcdb3e55bb07bf3267a491fa6b2c2150088dc7 100644 (file)
                                #reset-cells = <1>;
                        };
 
+                       gpio_intc: interrupt-controller@f080 {
+                               compatible = "amlogic,meson-g12a-gpio-intc",
+                                            "amlogic,meson-gpio-intc";
+                               reg = <0x0 0xf080 0x0 0x10>;
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+                               amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
+                       };
+
                        pwm_ef: pwm@19000 {
                                compatible = "amlogic,meson-g12a-ee-pwm";
                                reg = <0x0 0x19000 0x0 0x20>;