LF-1688: arm64: dts: imx8mn: Resolve conflict for assigned-clocks in clk node
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 6 Jul 2020 07:10:10 +0000 (15:10 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:22:46 +0000 (11:22 +0800)
The assigned-clocks in imx8mn-evk.dtsi will replace the assigned-clocks in
imx8mn.dtsi, which is wrong operation.

The correct way is to merge them together in imx8mn.dtsi.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
arch/arm64/boot/dts/freescale/imx8mn.dtsi

index 4cdac78..05aa8da 100644 (file)
        status = "okay";
 };
 
-&clk {
-       assigned-clocks = <&clk IMX8MN_AUDIO_PLL1>, <&clk IMX8MN_AUDIO_PLL2>;
-       assigned-clock-rates = <393216000>, <361267200>;
-};
-
 &easrc {
        fsl,asrc-rate  = <48000>;
        status = "okay";
index ea4c94c..0341189 100644 (file)
                                                <&clk IMX8MN_CLK_NOC>,
                                                <&clk IMX8MN_CLK_AUDIO_AHB>,
                                                <&clk IMX8MN_CLK_IPG_AUDIO_ROOT>,
-                                               <&clk IMX8MN_SYS_PLL3>;
+                                               <&clk IMX8MN_SYS_PLL3>,
+                                               <&clk IMX8MN_AUDIO_PLL1>,
+                                               <&clk IMX8MN_AUDIO_PLL2>;
                                assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_800M>,
                                                         <&clk IMX8MN_ARM_PLL_OUT>,
                                                         <&clk IMX8MN_SYS_PLL3_OUT>,
                                assigned-clock-rates = <0>, <0>, <0>,
                                                        <400000000>,
                                                        <400000000>,
-                                                       <600000000>;
+                                                       <600000000>,
+                                                       <393216000>,
+                                                       <361267200>;
                        };
 
                        src: reset-controller@30390000 {