]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
qualcommax: ipq50xx: fix XO board clock rate for Yuncore AX850 20405/head
authorGeorge Moussalem <george.moussalem@outlook.com>
Tue, 14 Oct 2025 09:36:17 +0000 (13:36 +0400)
committerRobert Marko <robimarko@gmail.com>
Tue, 14 Oct 2025 10:45:15 +0000 (12:45 +0200)
Commit 468975a985ab changed the XO board clock definition from a fixed
clock to a fixed rate clock in the dtsi.

As such, boards must use clock dividers and multipliers to calculate
the clock rate based on the referenced parent clock.

Fixes: 5d2994a73e20 ("qualcommax: ipq50xx: Add support for Yuncore AX850")
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20405
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ax850.dts

index d8488cc29ec14f581187dbf343ea675ce9175c85..fbc857a4d1bfca4b170514bd88b1dfe3c30c8b4e 100644 (file)
 };
 
 &xo_board_clk {
-       clock-frequency = <24000000>;
+       clock-div = <4>;
+       clock-mult = <1>;
 };
 
 &blsp1_uart1 {