ARM: dts: exynos: add a specific compatible to MCT
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 4 Apr 2022 16:51:20 +0000 (18:51 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 4 Apr 2022 16:51:36 +0000 (18:51 +0200)
One compatible is used for the Multi-Core Timer on most of the Samsung
Exynos SoCs, which is correct but not specific enough.  These MCT blocks
have different number of interrupts, so add a second specific
compatible to Exynos3250 and all Exynos5 SoCs.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Link: https://lore.kernel.org/r/20220304122424.307885-3-krzysztof.kozlowski@canonical.com
arch/arm/boot/dts/exynos3250.dtsi
arch/arm/boot/dts/exynos5250.dtsi
arch/arm/boot/dts/exynos5260.dtsi
arch/arm/boot/dts/exynos54xx.dtsi

index ae644315855d4a1ca4b5d90a1002d6860e44ddc1..41bb421e67c268e0ef4db6475f934bb153f59521 100644 (file)
                };
 
                timer@10050000 {
-                       compatible = "samsung,exynos4210-mct";
+                       compatible = "samsung,exynos3250-mct",
+                                    "samsung,exynos4210-mct";
                        reg = <0x10050000 0x800>;
                        interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
index 5baaa7eb71a49fe8905ec93a7a527a0fb77be567..63d1dcf2c55c5a90da3d2ca8a80990d0369d9556 100644 (file)
                };
 
                timer@101c0000 {
-                       compatible = "samsung,exynos4210-mct";
+                       compatible = "samsung,exynos5250-mct",
+                                    "samsung,exynos4210-mct";
                        reg = <0x101C0000 0x800>;
                        clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MCT>;
                        clock-names = "fin_pll", "mct";
index 56271e7c458727cbebceec6ff0092b75af4be93a..ff1ee409eff31626940e2af6705eb4376e55e489 100644 (file)
                };
 
                mct: timer@100b0000 {
-                       compatible = "samsung,exynos4210-mct";
+                       compatible = "samsung,exynos5260-mct",
+                                    "samsung,exynos4210-mct";
                        reg = <0x100B0000 0x1000>;
                        clocks = <&fin_pll>, <&clock_peri PERI_CLK_MCT>;
                        clock-names = "fin_pll", "mct";
index 2ddb7a5f12b3a6ac6018abf618e77eac262669b6..3ec43761d8b9393f48a13254fc9fb77ae877fad4 100644 (file)
@@ -74,7 +74,8 @@
                };
 
                mct: timer@101c0000 {
-                       compatible = "samsung,exynos4210-mct";
+                       compatible = "samsung,exynos5420-mct",
+                                    "samsung,exynos4210-mct";
                        reg = <0x101c0000 0xb00>;
                        interrupts-extended = <&combiner 23 3>,
                                              <&combiner 23 4>,