[PATCH v7 3/9] ARM: dts: meson: add GPIO interrupt-controller support
Heiner Kallweit
hkallweit1 at gmail.com
Sat Jun 10 14:57:23 PDT 2017
Add support for the GPIO interupt controller of certain Amlogic Meson
Soc's.
Signed-off-by: Heiner Kallweit <hkallweit1 at gmail.com>
Reviewed-by: Neil Armstrong <narmstrong at baylibre.com>
---
v5:
- split ARM and ARM64 into separate patches
- added Reviewed-by
v6:
- change parent-interrupts to interrupts
v7:
- no changes
---
arch/arm/boot/dts/meson8.dtsi | 8 ++++++++
arch/arm/boot/dts/meson8b.dtsi | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi
index 69930773..6c3a68af 100644
--- a/arch/arm/boot/dts/meson8.dtsi
+++ b/arch/arm/boot/dts/meson8.dtsi
@@ -126,6 +126,14 @@
};
&cbus {
+ gpio_intc: interrupt-controller at 9880 {
+ compatible = "amlogic,meson-gpio-intc";
+ reg = <0x9880 0x10>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ interrupts = <64 65 66 67 68 79 70 71>;
+ };
+
pinctrl_cbus: pinctrl at 9880 {
compatible = "amlogic,meson8-cbus-pinctrl";
reg = <0x9880 0x10>;
diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi
index d9f116a4..64d02932 100644
--- a/arch/arm/boot/dts/meson8b.dtsi
+++ b/arch/arm/boot/dts/meson8b.dtsi
@@ -112,6 +112,14 @@
};
&cbus {
+ gpio_intc: interrupt-controller at 9880 {
+ compatible = "amlogic,meson-gpio-intc";
+ reg = <0x9880 0x10>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ interrupts = <64 65 66 67 68 79 70 71>;
+ };
+
clkc: clock-controller at 4000 {
#clock-cells = <1>;
compatible = "amlogic,meson8b-clkc";
--
2.13.1
More information about the linux-amlogic
mailing list