Commit 62ca6669 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: x1e80100: Wire up PCIe PHY NOCSR resets



Asserting the NOCSR reset line keeps the PHY registers in tact.
This allows us to avoid programming long tables of magic values in the
operating system.

Wire up these resets to PCIe PHY4 and 5 (it's there on the others).

Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250203-topic-x1p4_dts-v2-4-72cd4cdc767b@oss.qualcomm.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 467284a3
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -3558,8 +3558,10 @@ pcie5_phy: phy@1c06000 {
				      "pipe",
				      "pipediv2";

			resets = <&gcc GCC_PCIE_5_PHY_BCR>;
			reset-names = "phy";
			resets = <&gcc GCC_PCIE_5_PHY_BCR>,
				 <&gcc GCC_PCIE_5_NOCSR_COM_PHY_BCR>;
			reset-names = "phy",
				      "phy_nocsr";

			assigned-clocks = <&gcc GCC_PCIE_5_PHY_RCHNG_CLK>;
			assigned-clock-rates = <100000000>;
@@ -3692,8 +3694,10 @@ pcie4_phy: phy@1c0e000 {
				      "pipe",
				      "pipediv2";

			resets = <&gcc GCC_PCIE_4_PHY_BCR>;
			reset-names = "phy";
			resets = <&gcc GCC_PCIE_4_PHY_BCR>,
				 <&gcc GCC_PCIE_4_NOCSR_COM_PHY_BCR>;
			reset-names = "phy",
				      "phy_nocsr";

			assigned-clocks = <&gcc GCC_PCIE_4_PHY_RCHNG_CLK>;
			assigned-clock-rates = <100000000>;