arm64: dts: exynos: Move FSYS CMU configuration from Exynos5433 dtsi to TM2 dts
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 17 Nov 2016 08:57:59 +0000 (09:57 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Fri, 18 Nov 2016 11:37:56 +0000 (13:37 +0200)
Move initial FSYS CMU (related to USB 3.0 devices) clocks configuration
from generic exynos5433.dtsi file to exynos5433-tm2.dts, as this is
a board specific item.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
arch/arm64/boot/dts/exynos/exynos5433.dtsi

index 9ea3f32bae9ef8d6b4cae140f31fd11611eaf3a9..3f6d069c8f7e1efd2603546a60205687131a9fdf 100644 (file)
        };
 };
 
+&cmu_fsys {
+       assigned-clocks = <&cmu_top CLK_MOUT_SCLK_USBDRD30>,
+               <&cmu_top CLK_MOUT_SCLK_USBHOST30>,
+               <&cmu_fsys CLK_MOUT_SCLK_USBDRD30_USER>,
+               <&cmu_fsys CLK_MOUT_SCLK_USBHOST30_USER>,
+               <&cmu_fsys CLK_MOUT_PHYCLK_USBDRD30_UDRD30_PIPE_PCLK_USER>,
+               <&cmu_fsys CLK_MOUT_PHYCLK_USBHOST30_UHOST30_PIPE_PCLK_USER>,
+               <&cmu_fsys CLK_MOUT_PHYCLK_USBDRD30_UDRD30_PHYCLOCK_USER>,
+               <&cmu_fsys CLK_MOUT_PHYCLK_USBHOST30_UHOST30_PHYCLOCK_USER>,
+               <&cmu_top CLK_DIV_SCLK_USBDRD30>,
+               <&cmu_top CLK_DIV_SCLK_USBHOST30>;
+       assigned-clock-parents = <&cmu_top CLK_MOUT_BUS_PLL_USER>,
+               <&cmu_top CLK_MOUT_BUS_PLL_USER>,
+               <&cmu_top CLK_SCLK_USBDRD30_FSYS>,
+               <&cmu_top CLK_SCLK_USBHOST30_FSYS>,
+               <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PIPE_PCLK_PHY>,
+               <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PIPE_PCLK_PHY>,
+               <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PHYCLOCK_PHY>,
+               <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PHYCLOCK_PHY>;
+       assigned-clock-rates = <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>,
+                              <66700000>, <66700000>;
+};
+
 &cpu0 {
        cpu-supply = <&buck3_reg>;
 };
index 71e2313b74cd8291f4cc59a42d55139666921412..7d718272caf61aaffb258e74481f002184856677 100644 (file)
                        clocks = <&cmu_fsys CLK_ACLK_USBDRD30>,
                                <&cmu_fsys CLK_SCLK_USBDRD30>;
                        clock-names = "usbdrd30", "usbdrd30_susp_clk";
-                       assigned-clocks =
-                               <&cmu_fsys CLK_MOUT_SCLK_USBDRD30_USER>,
-                               <&cmu_top CLK_MOUT_SCLK_USBDRD30>,
-                               <&cmu_top CLK_DIV_SCLK_USBDRD30>;
-                       assigned-clock-parents =
-                               <&cmu_top CLK_SCLK_USBDRD30_FSYS>,
-                               <&cmu_top CLK_MOUT_BUS_PLL_USER>;
-                       assigned-clock-rates = <0>, <0>, <66700000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges;
                                <&cmu_fsys CLK_SCLK_USBDRD30>;
                        clock-names = "phy", "ref", "phy_utmi", "phy_pipe",
                                        "itp";
-                       assigned-clocks =
-                               <&cmu_fsys CLK_MOUT_PHYCLK_USBDRD30_UDRD30_PIPE_PCLK_USER>,
-                               <&cmu_fsys CLK_MOUT_PHYCLK_USBDRD30_UDRD30_PHYCLOCK_USER>;
-                       assigned-clock-parents =
-                               <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PIPE_PCLK_PHY>,
-                               <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PHYCLOCK_PHY>;
                        #phy-cells = <1>;
                        samsung,pmu-syscon = <&pmu_system_controller>;
                        status = "disabled";
                                <&cmu_fsys CLK_SCLK_USBHOST30>;
                        clock-names = "phy", "ref", "phy_utmi", "phy_pipe",
                                        "itp";
-                       assigned-clocks =
-                               <&cmu_fsys CLK_MOUT_PHYCLK_USBHOST30_UHOST30_PIPE_PCLK_USER>,
-                               <&cmu_fsys CLK_MOUT_PHYCLK_USBHOST30_UHOST30_PHYCLOCK_USER>;
-                       assigned-clock-parents =
-                               <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PIPE_PCLK_PHY>,
-                               <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PHYCLOCK_PHY>;
                        #phy-cells = <1>;
                        samsung,pmu-syscon = <&pmu_system_controller>;
                        status = "disabled";
                        clocks = <&cmu_fsys CLK_ACLK_USBHOST30>,
                                <&cmu_fsys CLK_SCLK_USBHOST30>;
                        clock-names = "usbdrd30", "usbdrd30_susp_clk";
-                       assigned-clocks =
-                               <&cmu_fsys CLK_MOUT_SCLK_USBHOST30_USER>,
-                               <&cmu_top CLK_MOUT_SCLK_USBHOST30>,
-                               <&cmu_top CLK_DIV_SCLK_USBHOST30>;
-                       assigned-clock-parents =
-                               <&cmu_top CLK_SCLK_USBHOST30_FSYS>,
-                               <&cmu_top CLK_MOUT_BUS_PLL_USER>;
-                       assigned-clock-rates = <0>, <0>, <66700000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges;