From: jbrunet@baylibre.com (Jerome Brunet)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 3/5] ARM: dts: meson8b: enable gpio interrupt controller
Date: Thu, 19 Oct 2017 14:01:41 +0200 [thread overview]
Message-ID: <20171019120143.20581-4-jbrunet@baylibre.com> (raw)
In-Reply-To: <20171019120143.20581-1-jbrunet@baylibre.com>
Add gpio interrupt controller node to the meson8b boards
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm/boot/dts/meson.dtsi | 9 +++++++++
arch/arm/boot/dts/meson8b.dtsi | 6 ++++++
2 files changed, 15 insertions(+)
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 at 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 at 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 40cfe5c8df6a..574aafa3db83 100644
--- a/arch/arm/boot/dts/meson8b.dtsi
+++ b/arch/arm/boot/dts/meson8b.dtsi
@@ -179,6 +179,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>;
--
2.13.6
next prev parent reply other threads:[~2017-10-19 12:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-19 12:01 [PATCH 0/5] ARM: meson: " Jerome Brunet
2017-10-19 12:01 ` [PATCH 1/5] ARM: meson: enable MESON_IRQ_GPIO in Kconfig for meson8b Jerome Brunet
2017-10-19 12:01 ` [PATCH 2/5] ARM64: meson: enable MESON_IRQ_GPIO in Kconfig Jerome Brunet
2017-10-19 12:01 ` Jerome Brunet [this message]
2017-10-19 12:01 ` [PATCH 4/5] ARM64: dts: meson-gx: add gpio interrupt controller Jerome Brunet
2017-10-19 12:01 ` [PATCH 5/5] ARM64: dts: meson-gx: add external PHY interrupt on some platforms Jerome Brunet
2017-10-20 8:12 ` [PATCH 0/5] ARM: meson: enable gpio interrupt controller Neil Armstrong
2017-10-30 8:28 ` Kevin Hilman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171019120143.20581-4-jbrunet@baylibre.com \
--to=jbrunet@baylibre.com \
--cc=linus-amlogic@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®