ARM: dts: STiH4xx: Simplify clock binding of STiH4xx platforms
authorGabriel Fernandez <gabriel.fernandez@st.com>
Mon, 29 Aug 2016 12:26:00 +0000 (14:26 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Fri, 16 Sep 2016 07:41:59 +0000 (09:41 +0200)
This patch simplifies the clock binding because we had too much detail.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
arch/arm/boot/dts/stih407-clock.dtsi
arch/arm/boot/dts/stih410-clock.dtsi
arch/arm/boot/dts/stih418-clock.dtsi

index ad45f5e..38a56d7 100644 (file)
@@ -42,7 +42,7 @@
 
                        clockgen_a9_pll: clockgen-a9-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih407-plls-c32-a9", "st,clkgen-plls-c32";
+                               compatible = "st,stih407-clkgen-plla9";
 
                                clocks = <&clk_sysin>;
 
@@ -55,7 +55,7 @@
                 */
                clk_m_a9: clk-m-a9@92b0000 {
                        #clock-cells = <0>;
-                       compatible = "st,stih407-clkgen-a9-mux", "st,clkgen-mux";
+                       compatible = "st,stih407-clkgen-a9-mux";
                        reg = <0x92b0000 0x10000>;
 
                        clocks = <&clockgen_a9_pll 0>,
@@ -96,7 +96,7 @@
 
                        clk_s_a0_pll: clk-s-a0-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih407-plls-c32-a0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-C", "st,quadfs";
+                       compatible = "st,quadfs-pll";
                        reg = <0x9103000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                        clk_s_c0_pll0: clk-s-c0-pll0 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                        clk_s_c0_pll1: clk-s-c0-pll1 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_1", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll1";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9104000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9106000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9107000 0x1000>;
 
                        clocks = <&clk_sysin>;
index fd50496..e8f4d44 100644 (file)
@@ -44,7 +44,7 @@
 
                        clockgen_a9_pll: clockgen-a9-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih407-plls-c32-a9", "st,clkgen-plls-c32";
+                               compatible = "st,stih407-clkgen-plla9";
 
                                clocks = <&clk_sysin>;
 
@@ -98,7 +98,7 @@
 
                        clk_s_a0_pll: clk-s-a0-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih407-plls-c32-a0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-C", "st,quadfs";
+                       compatible = "st,quadfs-pll";
                        reg = <0x9103000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                        clk_s_c0_pll0: clk-s-c0-pll0 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                        clk_s_c0_pll1: clk-s-c0-pll1 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_1", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll1";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9104000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9106000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9107000 0x1000>;
 
                        clocks = <&clk_sysin>;
index ae6d997..0fd0fa5 100644 (file)
@@ -44,7 +44,7 @@
 
                        clockgen_a9_pll: clockgen-a9-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih418-plls-c28-a9", "st,clkgen-plls-c32";
+                               compatible = "st,stih418-clkgen-plla9";
 
                                clocks = <&clk_sysin>;
 
@@ -98,7 +98,7 @@
 
                        clk_s_a0_pll: clk-s-a0-pll {
                                #clock-cells = <1>;
-                               compatible = "st,stih407-plls-c32-a0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-C", "st,quadfs";
+                       compatible = "st,quadfs-pll";
                        reg = <0x9103000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                        clk_s_c0_pll0: clk-s-c0-pll0 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_0", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll0";
 
                                clocks = <&clk_sysin>;
 
 
                        clk_s_c0_pll1: clk-s-c0-pll1 {
                                #clock-cells = <1>;
-                               compatible = "st,plls-c32-cx_1", "st,clkgen-plls-c32";
+                               compatible = "st,clkgen-pll1";
 
                                clocks = <&clk_sysin>;
 
 
                clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9104000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9106000 0x1000>;
 
                        clocks = <&clk_sysin>;
 
                clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
                        #clock-cells = <1>;
-                       compatible = "st,stih407-quadfs660-D", "st,quadfs";
+                       compatible = "st,quadfs";
                        reg = <0x9107000 0x1000>;
 
                        clocks = <&clk_sysin>;