summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2017-10-19 14:01:41 +0200
committerKevin Hilman <khilman@baylibre.com>2017-10-29 08:44:45 -0700
commit7d32bc03bcfbe4a9ca22b5c84a42f4f8cc4ba003 (patch)
tree76beaa85e76528c58ee9cfc917a62a050226a88c /arch/arm/boot
parent4692142a3dc82d60f9f290f98a6e1f8f627ba90a (diff)
downloadlwn-7d32bc03bcfbe4a9ca22b5c84a42f4f8cc4ba003.tar.gz
lwn-7d32bc03bcfbe4a9ca22b5c84a42f4f8cc4ba003.zip
ARM: dts: meson8b: enable gpio interrupt controller
Add gpio interrupt controller node to the meson8b boards Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/meson.dtsi9
-rw-r--r--arch/arm/boot/dts/meson8b.dtsi6
2 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi
index 290a183e87c5..3d18ecc2bef1 100644
--- a/arch/arm/boot/dts/meson.dtsi
+++ b/arch/arm/boot/dts/meson.dtsi
@@ -85,6 +85,15 @@
reg = <0x7c00 0x200>;
};
+ gpio_intc: interrupt-controller@9880 {
+ compatible = "amlogic,meson-gpio-intc";
+ reg = <0xc1109880 0x10>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
+ status = "disabled";
+ };
+
hwrng: rng@8100 {
compatible = "amlogic,meson-rng";
reg = <0x8100 0x8>;
diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi
index 1e06e2cf4b05..c12646ecef2b 100644
--- a/arch/arm/boot/dts/meson8b.dtsi
+++ b/arch/arm/boot/dts/meson8b.dtsi
@@ -200,6 +200,12 @@
clock-names = "stmmaceth";
};
+&gpio_intc {
+ compatible = "amlogic,meson-gpio-intc",
+ "amlogic,meson8b-gpio-intc";
+ status = "okay";
+};
+
&hwrng {
compatible = "amlogic,meson8b-rng", "amlogic,meson-rng";
clocks = <&clkc CLKID_RNG0>;