linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: youlin.pei@mediatek.com (Youlin Pei)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701
Date: Tue, 14 Feb 2017 10:56:01 +0800	[thread overview]
Message-ID: <1487040961-18319-4-git-send-email-youlin.pei@mediatek.com> (raw)
In-Reply-To: <1487040961-18319-1-git-send-email-youlin.pei@mediatek.com>

This commit add mtk-cirq node to mt2701 dtsi.

Signed-off-by: Youlin Pei <youlin.pei@mediatek.com>
---
 arch/arm/boot/dts/mt2701.dtsi |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 7eab6f4..6ac9108 100644
--- a/arch/arm/boot/dts/mt2701.dtsi
+++ b/arch/arm/boot/dts/mt2701.dtsi
@@ -21,7 +21,7 @@
 
 / {
 	compatible = "mediatek,mt2701";
-	interrupt-parent = <&sysirq>;
+	interrupt-parent = <&cirq>;
 
 	cpus {
 		#address-cells = <1>;
@@ -158,6 +158,16 @@
 		reg = <0 0x10200100 0 0x1c>;
 	};
 
+	cirq: interrupt-controller at 10204000 {
+		compatible = "mediatek,mt2701-cirq",
+			     "mediatek,mtk-cirq";
+		interrupt-controller;
+		#interrupt-cells = <3>;
+		interrupt-parent = <&sysirq>;
+		reg = <0 0x10204000 0 0x400>;
+		mediatek,ext-irq-range = <32 200>;
+	};
+
 	apmixedsys: syscon at 10209000 {
 		compatible = "mediatek,mt2701-apmixedsys", "syscon";
 		reg = <0 0x10209000 0 0x1000>;
-- 
1.7.9.5

      parent reply	other threads:[~2017-02-14  2:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-14  2:55 [PATCH v3 0/3] Add Mediatek CIRQ interrupt controller Youlin Pei
2017-02-14  2:55 ` [PATCH v3 1/3] binding: irqchip: mtk-cirq: Add binding document Youlin Pei
2017-02-22 16:53   ` Rob Herring
2017-02-14  2:56 ` [PATCH v3 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement Youlin Pei
2017-03-24 16:22   ` Marc Zyngier
2017-03-29  5:30     ` Youlin Pei
2017-03-29  7:53     ` Mars Cheng
2017-02-14  2:56 ` Youlin Pei [this message]

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=1487040961-18319-4-git-send-email-youlin.pei@mediatek.com \
    --to=youlin.pei@mediatek.com \
    --cc=linux-arm-kernel@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;
as well as URLs for NNTP newsgroup(s).