ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos4210
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 23 Sep 2019 16:15:12 +0000 (18:15 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 2 Oct 2019 15:39:57 +0000 (17:39 +0200)
Multi Core Timer node has interrupts routed to two different parents -
GIC and combiner.  This was modeled with a interrupt-map within a
subnode but can be expressed in an easier and more common way, directly
in the node itself.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/boot/dts/exynos4210.dtsi

index 6d3f195..5fa33d4 100644 (file)
                mct: timer@10050000 {
                        compatible = "samsung,exynos4210-mct";
                        reg = <0x10050000 0x800>;
-                       interrupt-parent = <&mct_map>;
-                       interrupts = <0>, <1>, <2>, <3>, <4>, <5>;
                        clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MCT>;
                        clock-names = "fin_pll", "mct";
-
-                       mct_map: mct-map {
-                               #interrupt-cells = <1>;
-                               #address-cells = <0>;
-                               #size-cells = <0>;
-                               interrupt-map =
-                                       <0 &gic 0 57 IRQ_TYPE_LEVEL_HIGH>,
-                                       <1 &gic 0 69 IRQ_TYPE_LEVEL_HIGH>,
-                                       <2 &combiner 12 6>,
-                                       <3 &combiner 12 7>,
-                                       <4 &gic 0 42 IRQ_TYPE_LEVEL_HIGH>,
-                                       <5 &gic 0 48 IRQ_TYPE_LEVEL_HIGH>;
-                       };
+                       interrupts-extended = <&gic 0 57 IRQ_TYPE_LEVEL_HIGH>,
+                                             <&gic 0 69 IRQ_TYPE_LEVEL_HIGH>,
+                                             <&combiner 12 6>,
+                                             <&combiner 12 7>,
+                                             <&gic 0 42 IRQ_TYPE_LEVEL_HIGH>,
+                                             <&gic 0 48 IRQ_TYPE_LEVEL_HIGH>;
                };
 
                watchdog: watchdog@10060000 {