All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: Bjorn Andersson <andersson@kernel.org>,
	 Konrad Dybcio <konrad.dybcio@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	 Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	cros-qcom-dts-watchers@chromium.org
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: [PATCH 07/21] arm64: dts: qcom: sm8650: Add PCIe bridge node
Date: Wed, 21 Feb 2024 09:11:53 +0530	[thread overview]
Message-ID: <20240221-pcie-qcom-bridge-dts-v1-7-6c6df0f9450d@linaro.org> (raw)
In-Reply-To: <20240221-pcie-qcom-bridge-dts-v1-0-6c6df0f9450d@linaro.org>

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>
---
 arch/arm64/boot/dts/qcom/sm8650.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
index 2df77123a8c7..57a1ea84aa59 100644
--- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
@@ -2270,6 +2270,16 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
 			dma-coherent;
 
 			status = "disabled";
+
+			pcie@0 {
+				device_type = "pci";
+				reg = <0x0 0x0 0x0 0x0 0x0>;
+				bus-range = <0x01 0xff>;
+
+				#address-cells = <3>;
+				#size-cells = <2>;
+				ranges;
+			};
 		};
 
 		pcie0_phy: phy@1c06000 {
@@ -2379,6 +2389,16 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
 				 <0x02000000 0 0x40300000 0 0x40300000 0 0x1fd00000>;
 
 			status = "disabled";
+
+			pcie@0 {
+				device_type = "pci";
+				reg = <0x0 0x0 0x0 0x0 0x0>;
+				bus-range = <0x01 0xff>;
+
+				#address-cells = <3>;
+				#size-cells = <2>;
+				ranges;
+			};
 		};
 
 		pcie1_phy: phy@1c0e000 {

-- 
2.25.1


  parent reply	other threads:[~2024-02-21  3:42 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-21  3:41 [PATCH 00/21] Add PCIe bridge node in DT for Qcom SoCs Manivannan Sadhasivam
2024-02-21  3:41 ` [PATCH 01/21] arm64: dts: qcom: sm8250: Add PCIe bridge node Manivannan Sadhasivam
2024-02-21  3:41 ` [PATCH 02/21] arm64: dts: qcom: sdm845: " Manivannan Sadhasivam
2024-02-21  3:41 ` [PATCH 03/21] arm64: dts: qcom: sm8150: " Manivannan Sadhasivam
2024-02-21  3:41 ` [PATCH 04/21] arm64: dts: qcom: sm8350: " Manivannan Sadhasivam
2024-02-21  3:41 ` [PATCH 05/21] arm64: dts: qcom: sm8450: " Manivannan Sadhasivam
2024-02-21 12:46   ` neil.armstrong
2024-02-21  3:41 ` [PATCH 06/21] arm64: dts: qcom: sm8550: " Manivannan Sadhasivam
2024-02-21 12:46   ` neil.armstrong
2024-02-21  3:41 ` Manivannan Sadhasivam [this message]
2024-02-21 12:46   ` [PATCH 07/21] arm64: dts: qcom: sm8650: " neil.armstrong
2024-02-21  3:41 ` [PATCH 08/21] arm64: dts: qcom: sa8775p: " Manivannan Sadhasivam
2024-02-21  3:41 ` [PATCH 09/21] arm64: dts: qcom: sc8280xp: " Manivannan Sadhasivam
2024-02-21 12:39   ` Konrad Dybcio
2024-02-22  5:39     ` Manivannan Sadhasivam
2024-03-18  3:37       ` Bjorn Andersson
2024-03-18  5:24         ` Manivannan Sadhasivam
2024-02-21  3:41 ` [PATCH 10/21] arm64: dts: qcom: msm8998: " Manivannan Sadhasivam
2024-02-21  3:41 ` [PATCH 11/21] arm64: dts: qcom: sc7280: " Manivannan Sadhasivam
2024-02-21  3:41 ` [PATCH 12/21] arm64: dts: qcom: qcs404: " Manivannan Sadhasivam
2024-02-21  3:41 ` [PATCH 13/21] arm64: dts: qcom: sc8180x: " Manivannan Sadhasivam
2024-02-21  3:42 ` [PATCH 14/21] arm64: dts: qcom: msm8996: " Manivannan Sadhasivam
2024-02-21  3:42 ` [PATCH 15/21] arm64: dts: qcom: ipq8074: " Manivannan Sadhasivam
2024-02-21  3:42 ` [PATCH 16/21] arm64: dts: qcom: ipq6018: " Manivannan Sadhasivam
2024-02-21  3:42 ` [PATCH 17/21] ARM: dts: qcom: ipq8064: " Manivannan Sadhasivam
2024-02-21  3:42 ` [PATCH 18/21] ARM: dts: qcom: ipq4019: " Manivannan Sadhasivam
2024-02-21  3:42 ` [PATCH 19/21] ARM: dts: qcom: apq8064: " Manivannan Sadhasivam
2024-02-21  3:42 ` [PATCH 20/21] ARM: dts: qcom: sdx55: " Manivannan Sadhasivam
2024-02-21  3:42 ` [PATCH 21/21] arm64: dts: qcom: sm8650: Use "pcie" as the node name instead of "pci" Manivannan Sadhasivam
2024-02-21 12:39   ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240221-pcie-qcom-bridge-dts-v1-7-6c6df0f9450d@linaro.org \
    --to=manivannan.sadhasivam@linaro.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cros-qcom-dts-watchers@chromium.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.