arm64: dts: qcom: qcs404: use symbol names for PCIe resets
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 26 Dec 2022 04:21:51 +0000 (06:21 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 27 Dec 2022 17:59:26 +0000 (11:59 -0600)
The commit e5bbbff5b7d7 ("clk: gcc-qcs404: Add PCIe resets") added names
for PCIe resets, but it did not change the existing qcs404.dtsi to use
these names. Do it now and use symbol names to make it easier to check
and modify the dtsi in future.

Fixes: e5bbbff5b7d7 ("clk: gcc-qcs404: Add PCIe resets")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221226042154.2666748-14-dmitry.baryshkov@linaro.org
arch/arm64/boot/dts/qcom/qcs404.dtsi

index a5324ee..502dd6d 100644 (file)
 
                        clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
                        resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>,
-                                <&gcc 21>;
+                                <&gcc GCC_PCIE_0_PIPE_ARES>;
                        reset-names = "phy", "pipe";
 
                        clock-output-names = "pcie_0_pipe_clk";
                                 <&gcc GCC_PCIE_0_SLV_AXI_CLK>;
                        clock-names = "iface", "aux", "master_bus", "slave_bus";
 
-                       resets = <&gcc 18>,
-                                <&gcc 17>,
-                                <&gcc 15>,
-                                <&gcc 19>,
+                       resets = <&gcc GCC_PCIE_0_AXI_MASTER_ARES>,
+                                <&gcc GCC_PCIE_0_AXI_SLAVE_ARES>,
+                                <&gcc GCC_PCIE_0_AXI_MASTER_STICKY_ARES>,
+                                <&gcc GCC_PCIE_0_CORE_STICKY_ARES>,
                                 <&gcc GCC_PCIE_0_BCR>,
-                                <&gcc 16>;
+                                <&gcc GCC_PCIE_0_AHB_ARES>;
                        reset-names = "axi_m",
                                      "axi_s",
                                      "axi_m_sticky",