From 1b00a46e8daedf1e4d63051aab4c7eab5c19e30b Mon Sep 17 00:00:00 2001 From: Prudhvi Yarlagadda Date: Wed, 21 Feb 2024 18:05:07 -0800 Subject: [PATCH] ARM: dts: msm: Add PCIe SM debug registers to PCIe dt node Add the list of PCIe SM registers that need to be dumped to the PCIe dt node in sun. Change-Id: Ic2e0518ac611ef5e409f88dcd0f69eb2ce4d8566 Signed-off-by: Prudhvi Yarlagadda --- qcom/sun-pcie.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/qcom/sun-pcie.dtsi b/qcom/sun-pcie.dtsi index 240acee1..523685eb 100644 --- a/qcom/sun-pcie.dtsi +++ b/qcom/sun-pcie.dtsi @@ -237,6 +237,21 @@ qcom,pcie-sm-branch-seq = <0x4>, <0x1c>, <0x24>, <0x2c>, <0x0>, <0x0>, <0x0>; + qcom,pcie-sm-debug = <0x1040>, /* PCIE_SMs_SEQ_OVERRIDE_PWR_CTRL_VAL */ + <0x1048>, /* PCIE_SMs_SEQ_OVERRIDE_PWR_CTRL_MASK */ + <0x1050>, /* PCIE_SMs_SEQ_OVERRIDE_WAIT_EVENT_VAL */ + <0x1058>, /* PCIE_SMs_SEQ_OVERRIDE_WAIT_EVENT_MASK */ + <0x1060>, /* PCIE_SMs_SEQ_OVERRIDE_BR_EVENT_VAL */ + <0x1068>, /* PCIE_SMs_SEQ_OVERRIDE_BR_EVENT_MASK */ + <0x1070>, /* PCIE_SMs_SEQ_PWR_CTRL_STATUS */ + <0x1078>, /* PCIE_SMs_SEQ_WAIT_EVENT_STATUS */ + <0x1080>, /* PCIE_SMs_SEQ_BR_EVENT_STATUS */ + <0x1088>, /* PCIE_SMs_SEQ_PC_VAL */ + <0x1090>, /* PCIE_SMs_SEQ_START */ + <0x1094>, /* PCIE_SMs_CLKREQ_GATE */ + <0x1098>, /* PCIE_SMs_CLKREQ_UNGATE */ + <0x109C>; /* PCIE_SMs_CLKREQ_GATE_REQ_STATUS */ + pcie0_rp: pcie0_rp { reg = <0 0 0 0 0>; };