]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sc8180x: Correct PCIe slave ports
authorBjorn Andersson <quic_bjorande@quicinc.com>
Sat, 25 May 2024 17:56:20 +0000 (10:56 -0700)
committerBjorn Andersson <andersson@kernel.org>
Sun, 26 May 2024 23:58:40 +0000 (18:58 -0500)
The interconnects property was clearly copy-pasted between the 4 PCIe
controllers, giving all four the cpu-pcie path destination of SLAVE_0.

The four ports are all associated with CN0, but update the property for
correctness sake.

Fixes: d20b6c84f56a ("arm64: dts: qcom: sc8180x: Add PCIe instances")
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240525-sc8180x-pcie-interconnect-port-fix-v1-1-f86affa02392@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc8180x.dtsi

index 788ebb20651d0166c968a357f4a9ad500c5c65d3..1e2766a0e21d50df913c14b3eb0e277e10e86274 100644 (file)
                        power-domains = <&gcc PCIE_3_GDSC>;
 
                        interconnects = <&aggre2_noc MASTER_PCIE_3 0 &mc_virt SLAVE_EBI_CH0 0>,
-                                       <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_0 0>;
+                                       <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_3 0>;
                        interconnect-names = "pcie-mem", "cpu-pcie";
 
                        phys = <&pcie3_phy>;
                        power-domains = <&gcc PCIE_1_GDSC>;
 
                        interconnects = <&aggre2_noc MASTER_PCIE_1 0 &mc_virt SLAVE_EBI_CH0 0>,
-                                       <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_0 0>;
+                                       <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_1 0>;
                        interconnect-names = "pcie-mem", "cpu-pcie";
 
                        phys = <&pcie1_phy>;
                        power-domains = <&gcc PCIE_2_GDSC>;
 
                        interconnects = <&aggre2_noc MASTER_PCIE_2 0 &mc_virt SLAVE_EBI_CH0 0>,
-                                       <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_0 0>;
+                                       <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_2 0>;
                        interconnect-names = "pcie-mem", "cpu-pcie";
 
                        phys = <&pcie2_phy>;