[PATCH v3 2/3] arm64: dts: qcom: hamoa-iot-evk: use on-board crystal for PS8830 retimers

From: Xin Liu

Date: Mon Sep 14 2026 - 06:18:59 EST


On the Hamoa IoT EVK, each of the two existing PS8830 retimers has its
own 25 MHz crystal wired to the retimer's XI/XO pins. The reference
clock does not come from the PMIC, so the RPMH_RF_CLK4/5 references in
the retimer nodes are wrong: they keep those RF clocks enabled for
nothing and describe a connection that does not exist on the board.

Fixes: c11645afb0e2 ("arm64: dts: qcom: Add base HAMOA-IOT-EVK board")
Signed-off-by: Xin Liu <xin.liu@xxxxxxxxxxxxxxxx>
---
v3: New patch.
---
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
index 776bded3a312..57c8ae2e7d4c 100644
--- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
+++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
@@ -35,6 +35,18 @@ mcp2518fd_osc: clock-40000000 {
clock-frequency = <40000000>;
#clock-cells = <0>;
};
+
+ clk_rtmr1_xo: clock-rtmr1-xo {
+ compatible = "fixed-clock";
+ clock-frequency = <25000000>;
+ #clock-cells = <0>;
+ };
+
+ clk_rtmr2_xo: clock-rtmr2-xo {
+ compatible = "fixed-clock";
+ clock-frequency = <25000000>;
+ #clock-cells = <0>;
+ };
};

wcd938x: audio-codec {
@@ -699,7 +711,7 @@ typec-mux@8 {
compatible = "parade,ps8830";
reg = <0x08>;

- clocks = <&rpmhcc RPMH_RF_CLK5>;
+ clocks = <&clk_rtmr2_xo>;

vdd-supply = <&vreg_rtmr2_1p15>;
vdd33-supply = <&vreg_rtmr2_3p3>;
@@ -814,7 +826,7 @@ typec-mux@8 {
compatible = "parade,ps8830";
reg = <0x8>;

- clocks = <&rpmhcc RPMH_RF_CLK4>;
+ clocks = <&clk_rtmr1_xo>;

vdd-supply = <&vreg_rtmr1_1p15>;
vdd33-supply = <&vreg_rtmr1_3p3>;
--
2.43.0