Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580238

[PATCH v3 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701

From Youlin Pei <youlin.pei@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v3 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701
Date 2017-02-14 04:00 +0100
Message-ID <taBvs-43Z-5@gated-at.bofh.it> (permalink)
References <taBvs-43Z-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@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@10209000 {
 		compatible = "mediatek,mt2701-apmixedsys", "syscon";
 		reg = <0 0x10209000 0 0x1000>;
-- 
1.7.9.5

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v3 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701 Youlin Pei <youlin.pei@mediatek.com> - 2017-02-14 04:00 +0100

csiph-web