]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: Update IPQ5018 xo_board_clk to use fixed factor clock
authorGeorge Moussalem <george.moussalem@outlook.com>
Mon, 21 Jul 2025 06:04:36 +0000 (10:04 +0400)
committerBjorn Andersson <andersson@kernel.org>
Mon, 11 Aug 2025 21:44:56 +0000 (16:44 -0500)
The xo_board_clk is fixed to 24 MHZ, which is routed from WiFi output
clock 96 MHZ (also being the reference clock of CMN PLL) divided by 4
to the analog block routing channel. Update the xo_board_clk nodes in
the board DTS files to use clock-div/clock-mult accordingly.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://lore.kernel.org/r/20250721-ipq5018-cmn-pll-v5-2-4cbf3479af65@outlook.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts
arch/arm64/boot/dts/qcom/ipq5018.dtsi

index 43def95e9275258041e7522ba4098a3767be3df1..df3cbb7c79c4e6c58cba7695691827fb8b84e451 100644 (file)
 };
 
 &xo_board_clk {
-       clock-frequency = <24000000>;
+       clock-div = <4>;
+       clock-mult = <1>;
 };
index 5bb021cb29cd39cb95035bfac1bdbc976439838b..7a25af57749c8e8c9a6a185437886b04b0d99e8e 100644 (file)
 };
 
 &xo_board_clk {
-       clock-frequency = <24000000>;
+       clock-div = <4>;
+       clock-mult = <1>;
 };
index fc1054301c03abb0fe1f0bd66304bc158605b520..4ddb56d63f8f9a963cb49bc20e0a78b2d3490344 100644 (file)
@@ -44,7 +44,8 @@
                };
 
                xo_board_clk: xo-board-clk {
-                       compatible = "fixed-clock";
+                       compatible = "fixed-factor-clock";
+                       clocks = <&ref_96mhz_clk>;
                        #clock-cells = <0>;
                };