Skip to content

Commit 66eae21

Browse files
Xianwei Zhaosuperna9999
authored andcommitted
arm64: dts: Add gpio_intc node for Amlogic A4 SoCs
Add GPIO interrupt controller device. Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com> Link: https://lore.kernel.org/r/20250311-irqchip-gpio-a4-a5-v5-3-ca4cc276c18c@amlogic.com [narmstrong: fix commit to apply without pinctrl node] Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
1 parent e6884f2 commit 66eae21

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,24 @@
4848
};
4949
};
5050
};
51+
52+
&apb {
53+
gpio_intc: interrupt-controller@4080 {
54+
compatible = "amlogic,a4-gpio-intc",
55+
"amlogic,meson-gpio-intc";
56+
reg = <0x0 0x4080 0x0 0x20>;
57+
interrupt-controller;
58+
#interrupt-cells = <2>;
59+
amlogic,channel-interrupts =
60+
<10 11 12 13 14 15 16 17 18 19 20 21>;
61+
};
62+
63+
gpio_ao_intc: interrupt-controller@8e72c {
64+
compatible = "amlogic,a4-gpio-ao-intc",
65+
"amlogic,meson-gpio-intc";
66+
reg = <0x0 0x8e72c 0x0 0x0c>;
67+
interrupt-controller;
68+
#interrupt-cells = <2>;
69+
amlogic,channel-interrupts = <140 141>;
70+
};
71+
};

0 commit comments

Comments
 (0)