]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM64: dts: meson-axg: add GPIO interrupt controller support
authorYixun Lan <yixun.lan@amlogic.com>
Sun, 8 Apr 2018 15:10:45 +0000 (15:10 +0000)
committerKevin Hilman <khilman@baylibre.com>
Wed, 9 May 2018 22:14:48 +0000 (15:14 -0700)
Add the GPIO interrupt controller driver which found in the Amlogic's
Meson-AXG SoC, the controller share the similar ASIC IP as other meson SoCs.

Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-axg.dtsi

index a433f0a6ffc0e26b511b67d24be8d0ef4bbe8c93..7ac8b23e1616754698004852f70b6fd869fbf05b 100644 (file)
                        #size-cells = <2>;
                        ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
 
+                       gpio_intc: interrupt-controller@f080 {
+                               compatible = "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>;
+                               status = "disabled";
+                       };
+
                        pwm_ab: pwm@1b000 {
                                compatible = "amlogic,meson-axg-ee-pwm";
                                reg = <0x0 0x1b000 0x0 0x20>;