[PATCH v3 1/3] arm64: dts: qcom: purwa-iot-evk: use on-board crystal for PS8830 retimers
From: Xin Liu
Date: Mon Sep 14 2026 - 06:18:35 EST
On the Purwa IoT EVK, each PS8830 retimer 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.
Remove the stale "Left unused" annotation from the vreg_rtmr0 regulators
as the retimer is actively used.
Fixes: 9ed20e877239 ("arm64: dts: qcom: Add base PURWA-IOT-EVK board")
Signed-off-by: Xin Liu <xin.liu@xxxxxxxxxxxxxxxx>
---
v3: New patch.
---
arch/arm64/boot/dts/qcom/purwa-iot-evk.dts | 27 ++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts b/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
index 6fc6fe7c0899..4380a46b33b2 100644
--- a/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
+++ b/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
@@ -60,6 +60,26 @@ chosen {
stdout-path = "serial0:115200n8";
};
+ clocks {
+ clk_rtmr0_xo: clock-rtmr0-xo {
+ compatible = "fixed-clock";
+ clock-frequency = <25000000>;
+ #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>;
+ };
+ };
+
connector3 {
compatible = "usb-a-connector";
label = "USB-3-Type-A";
@@ -295,7 +315,6 @@ vreg_pcie_3v3_aux: regulator-pcie-3v3-aux {
pinctrl-names = "default";
};
- /* Left unused as the retimer is not used on this board. */
vreg_rtmr0_1p15: regulator-rtmr0-1p15 {
compatible = "regulator-fixed";
@@ -639,7 +658,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>;
@@ -696,7 +715,7 @@ typec-mux@8 {
compatible = "parade,ps8830";
reg = <0x8>;
- clocks = <&rpmhcc RPMH_RF_CLK4>;
+ clocks = <&clk_rtmr0_xo>;
vdd-supply = <&vreg_rtmr0_1p15>;
vdd33-supply = <&vreg_rtmr0_3p3>;
@@ -801,7 +820,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