ARM: dts: qcom: ipq8064: Add PCIe bridge node
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 21 Mar 2024 11:16:37 +0000 (16:46 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sun, 21 Apr 2024 17:28:49 +0000 (12:28 -0500)
On Qcom SoCs, the PCIe host bridge is connected to a single PCIe bridge
for each controller instance. Hence, add a node to represent the bridge.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240321-pcie-qcom-bridge-dts-v2-17-1eb790c53e43@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi

index 2eb6758b6a3a6f7c80bddfb89b31644fa51eaf5b..f128510d844556c989201d412308e5aed86e1f8c 100644 (file)
 
                        status = "disabled";
                        perst-gpios = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
+
+                       pcie@0 {
+                               device_type = "pci";
+                               reg = <0x0 0x0 0x0 0x0 0x0>;
+                               bus-range = <0x01 0xff>;
+
+                               #address-cells = <3>;
+                               #size-cells = <2>;
+                               ranges;
+                       };
                };
 
                pcie1: pcie@1b700000 {
 
                        status = "disabled";
                        perst-gpios = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
+
+                       pcie@0 {
+                               device_type = "pci";
+                               reg = <0x0 0x0 0x0 0x0 0x0>;
+                               bus-range = <0x01 0xff>;
+
+                               #address-cells = <3>;
+                               #size-cells = <2>;
+                               ranges;
+                       };
                };
 
                pcie2: pcie@1b900000 {
 
                        status = "disabled";
                        perst-gpios = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>;
+
+                       pcie@0 {
+                               device_type = "pci";
+                               reg = <0x0 0x0 0x0 0x0 0x0>;
+                               bus-range = <0x01 0xff>;
+
+                               #address-cells = <3>;
+                               #size-cells = <2>;
+                               ranges;
+                       };
                };
 
                qsgmii_csr: syscon@1bb00000 {