[PATCH 2/2] arm64: dts: qcom: kaanapali: Set the peripheral ID of the DCC TPDM
From: Joonhoe Kim
Date: Thu Dec 03 2026 - 10:04:51 EST
On the Lenovo Y700 Gen 5 (TB323FU) with recent firmware, reading the
CoreSight ID registers of the DCC TPDM at 0x10003000 hangs the bus. The
AMBA bus reads them to match a driver, so the boot stops there and the
watchdog resets the board. Older firmware on the same device allows the
read and returns 0x001f0e04.
The vendor devicetree for this SoC sets arm,primecell-periphid on this
node, so the registers are never read. Use the same value. The upstream
TPDM driver (0x001f0e00, mask 0x00ffff00) does not match it and no
longer binds to this TPDM. A value it matches would let its probe read
TPDM registers, which I could not test on the affected firmware.
Fixes: f73959d86c15 ("arm64: dts: qcom: kaanapali: add coresight nodes")
Suggested-by: OnickerMeow <277483795+OnickerMeow@xxxxxxxxxxxxxxxxxxxxxxxx>
Link: https://github.com/joonhoekim/tb323fu-linux/issues/9
Signed-off-by: Joonhoe Kim <26rote@xxxxxxxxx>
---
arch/arm64/boot/dts/qcom/kaanapali.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
index 132577d540bfb..ab87d6b7ad295 100644
--- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi
+++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
@@ -4761,6 +4761,7 @@ stm_out: endpoint {
tpdm@10003000 {
compatible = "qcom,coresight-tpdm", "arm,primecell";
reg = <0x0 0x10003000 0x0 0x1000>;
+ arm,primecell-periphid = <0x000f0e00>;
clocks = <&aoss_qmp>;
clock-names = "apb_pclk";
--
2.53.0