]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: mt2701: Add mtk-cirq node for mt2701
authorYoulin Pei <youlin.pei@mediatek.com>
Fri, 7 Apr 2017 08:06:37 +0000 (16:06 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 15 May 2017 08:47:09 +0000 (10:47 +0200)
This commit add mtk-cirq node to mt2701 dtsi.

Signed-off-by: Youlin Pei <youlin.pei@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/boot/dts/mt2701.dtsi

index 803721050116a6d4829b7939fea61aac4111fbd5..5daacfe05ea6cec1a88aa810426a0619cf0332ff 100644 (file)
@@ -22,7 +22,7 @@
 
 / {
        compatible = "mediatek,mt2701";
-       interrupt-parent = <&sysirq>;
+       interrupt-parent = <&cirq>;
 
        cpus {
                #address-cells = <1>;
                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>;
+       };
+
        iommu: mmsys_iommu@10205000 {
                compatible = "mediatek,mt2701-m4u";
                reg = <0 0x10205000 0 0x1000>;