arm64: dts: ti: k3-j721e-main: Add #clock-cells property to serdes DT node
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 3 Jun 2021 14:34:25 +0000 (20:04 +0530)
committerNishanth Menon <nm@ti.com>
Tue, 8 Jun 2021 14:32:31 +0000 (09:32 -0500)
Add #clock-cells property to serdes DT node since the serdes is also now
modeled as a clock provider and include the input clocks "pll0_refclk"
and "pll1_refclk" which are parents to the clocks modeled by serdes.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20210603143427.28735-3-kishon@ti.com
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

index cc3428f..2ce17ca 100644 (file)
                        reg = <0x5000000 0x10000>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       #clock-cells = <1>;
                        resets = <&serdes_wiz0 0>;
                        reset-names = "sierra_reset";
-                       clocks = <&wiz0_cmn_refclk_dig_div>, <&wiz0_cmn_refclk1_dig_div>;
-                       clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div";
+                       clocks = <&wiz0_cmn_refclk_dig_div>, <&wiz0_cmn_refclk1_dig_div>,
+                                <&wiz0_pll0_refclk>, <&wiz0_pll1_refclk>;
+                       clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div",
+                                     "pll0_refclk", "pll1_refclk";
                };
        };
 
                        reg = <0x5010000 0x10000>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       #clock-cells = <1>;
                        resets = <&serdes_wiz1 0>;
                        reset-names = "sierra_reset";
-                       clocks = <&wiz1_cmn_refclk_dig_div>, <&wiz1_cmn_refclk1_dig_div>;
-                       clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div";
+                       clocks = <&wiz1_cmn_refclk_dig_div>, <&wiz1_cmn_refclk1_dig_div>,
+                                <&wiz1_pll0_refclk>, <&wiz1_pll1_refclk>;
+                       clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div",
+                                     "pll0_refclk", "pll1_refclk";
                };
        };
 
                        reg = <0x5020000 0x10000>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       #clock-cells = <1>;
                        resets = <&serdes_wiz2 0>;
                        reset-names = "sierra_reset";
-                       clocks = <&wiz2_cmn_refclk_dig_div>, <&wiz2_cmn_refclk1_dig_div>;
-                       clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div";
+                       clocks = <&wiz2_cmn_refclk_dig_div>, <&wiz2_cmn_refclk1_dig_div>,
+                                <&wiz2_pll0_refclk>, <&wiz2_pll1_refclk>;
+                       clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div",
+                                     "pll0_refclk", "pll1_refclk";
                };
        };
 
                        reg = <0x5030000 0x10000>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       #clock-cells = <1>;
                        resets = <&serdes_wiz3 0>;
                        reset-names = "sierra_reset";
-                       clocks = <&wiz3_cmn_refclk_dig_div>, <&wiz3_cmn_refclk1_dig_div>;
-                       clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div";
+                       clocks = <&wiz3_cmn_refclk_dig_div>, <&wiz3_cmn_refclk1_dig_div>,
+                                <&wiz3_pll0_refclk>, <&wiz3_pll1_refclk>;
+                       clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div",
+                                     "pll0_refclk", "pll1_refclk";
                };
        };