ARM: dts: exynos: Add watchdog and Security SubSystem to Exynos5410
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 1 Jun 2016 09:45:51 +0000 (11:45 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 6 Jun 2016 11:20:57 +0000 (13:20 +0200)
Move watchdog and Security SubSystem nodes from exynos5420.dtsi to file
shared with Exynos5410 and configure the clocks on the latter.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
arch/arm/boot/dts/exynos5410.dtsi
arch/arm/boot/dts/exynos5420.dtsi
arch/arm/boot/dts/exynos54xx.dtsi

index edd9544710dcc78493866347722c4dc44e97bc11..137f48464f8b4ff4def1696252a814a65b2a5f20 100644 (file)
        clock-names = "uart", "clk_uart_baud0";
 };
 
+&sss {
+       clocks = <&clock CLK_SSS>;
+       clock-names = "secss";
+};
+
 &sromc {
        #address-cells = <2>;
        #size-cells = <1>;
        samsung,pmureg-phandle = <&pmu_system_controller>;
 };
 
+&watchdog {
+       clocks = <&clock CLK_WDT>;
+       clock-names = "watchdog";
+       samsung,syscon-phandle = <&pmu_system_controller>;
+};
+
 #include "exynos5410-pinctrl.dtsi"
index b036b46a6281ece8d630f63a5948e0ec9e67dbcb..fa306a1820831039af1ff30c55ac5c088d46f880 100644 (file)
                        #include "exynos4412-tmu-sensor-conf.dtsi"
                };
 
-               watchdog: watchdog@101D0000 {
-                       compatible = "samsung,exynos5420-wdt";
-                       reg = <0x101D0000 0x100>;
-                       interrupts = <0 42 0>;
-                       clocks = <&clock CLK_WDT>;
-                       clock-names = "watchdog";
-                       samsung,syscon-phandle = <&pmu_system_controller>;
-               };
-
-               sss: sss@10830000 {
-                       compatible = "samsung,exynos4210-secss";
-                       reg = <0x10830000 0x300>;
-                       interrupts = <0 112 0>;
-                       clocks = <&clock CLK_SSS>;
-                       clock-names = "secss";
-               };
-
                sysmmu_g2dr: sysmmu@0x10A60000 {
                        compatible = "samsung,exynos-sysmmu";
                        reg = <0x10A60000 0x1000>;
        clock-names = "uart", "clk_uart_baud0";
 };
 
+&sss {
+       clocks = <&clock CLK_SSS>;
+       clock-names = "secss";
+};
+
 &usbdrd3_0 {
        clocks = <&clock CLK_USBD300>;
        clock-names = "usbdrd30";
        samsung,pmureg-phandle = <&pmu_system_controller>;
 };
 
+&watchdog {
+       clocks = <&clock CLK_WDT>;
+       clock-names = "watchdog";
+       samsung,syscon-phandle = <&pmu_system_controller>;
+};
+
 #include "exynos5420-pinctrl.dtsi"
index 0eb8aa31b7d9d700e57bdba5f4ca252110817658..06a604911e87edb90109c4afeda098bbf35e2e13 100644 (file)
                        };
                };
 
+               watchdog: watchdog@101d0000 {
+                       compatible = "samsung,exynos5420-wdt";
+                       reg = <0x101d0000 0x100>;
+                       interrupts = <0 42 0>;
+               };
+
+               sss: sss@10830000 {
+                       compatible = "samsung,exynos4210-secss";
+                       reg = <0x10830000 0x300>;
+                       interrupts = <0 112 0>;
+               };
+
                /* i2c_0-3 are defined in exynos5.dtsi */
                hsi2c_4: i2c@12ca0000 {
                        compatible = "samsung,exynos5250-hsi2c";