ARM: dts: exynos: Remove duplicate definitions of SSS nodes for Exynos5
authorŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 27 Nov 2017 12:37:11 +0000 (13:37 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 27 Nov 2017 18:30:30 +0000 (19:30 +0100)
Move Security Subsystem nodes common for Exynos5250 and Exynos54xx
to exynos5.dtsi to avoid duplication.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5.dtsi
arch/arm/boot/dts/exynos5250.dtsi
arch/arm/boot/dts/exynos54xx.dtsi

index 66d2252..7da4a42 100644 (file)
                        #size-cells = <0>;
                        status = "disabled";
                };
+
+               sss: sss@10830000 {
+                       compatible = "samsung,exynos4210-secss";
+                       reg = <0x10830000 0x300>;
+                       interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+               };
        };
 };
index 5286084..dbe81a1 100644 (file)
                        status = "disabled";
                };
 
-               sss@10830000 {
-                       compatible = "samsung,exynos4210-secss";
-                       reg = <0x10830000 0x300>;
-                       interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&clock CLK_SSS>;
-                       clock-names = "secss";
-               };
-
                sysmmu_g2d: sysmmu@10A60000 {
                        compatible = "samsung,exynos-sysmmu";
                        reg = <0x10A60000 0x1000>;
        dma-names = "rx", "tx";
 };
 
+&sss {
+       clocks = <&clock CLK_SSS>;
+       clock-names = "secss";
+};
+
 #include "exynos5250-pinctrl.dtsi"
index a5007f1..b456782 100644 (file)
                        interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
                };
 
-               sss: sss@10830000 {
-                       compatible = "samsung,exynos4210-secss";
-                       reg = <0x10830000 0x300>;
-                       interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
-               };
-
                /* i2c_0-3 are defined in exynos5.dtsi */
                hsi2c_4: i2c@12ca0000 {
                        compatible = "samsung,exynos5250-hsi2c";