arm64: dts: qcom: sa8775p: Add 'linux,pci-domain' to PCIe EP controller nodes
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 28 Aug 2024 15:46:19 +0000 (21:16 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 22 Oct 2024 23:59:36 +0000 (18:59 -0500)
'linux,pci-domain' property provides the PCI domain number for the PCI
endpoint controllers in a SoC. If this property is not present, then an
unstable (across boots) unique number will be assigned.

Use this property to specify the domain number based on the actual hardware
instance of the PCI endpoint controllers in SA8775P SoC.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240828-pci-qcom-hotplug-v4-9-263a385fbbcb@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sa8775p.dtsi

index 2e5b46527d44403c7bceddcfd5b9b2815c2de697..cb70542be1a7ea5e58ab47ab73beed615359c66d 100644 (file)
                phy-names = "pciephy";
                max-link-speed = <3>; /* FIXME: Limiting the Gen speed due to stability issues */
                num-lanes = <2>;
+               linux,pci-domain = <0>;
 
                status = "disabled";
        };
                phy-names = "pciephy";
                max-link-speed = <3>; /* FIXME: Limiting the Gen speed due to stability issues */
                num-lanes = <4>;
+               linux,pci-domain = <1>;
 
                status = "disabled";
        };