* [PATCH 1/2] dt-bindings: PCI: qcom,pcie-sa8255p: Document Nord firmware-managed PCIe
2026-11-30 12:36 [PATCH 0/2] arm64: dts: qcom: Add PCIe support for Nord GearVM platforms Mrinmay Sarkar
@ 2026-11-30 12:36 ` Mrinmay Sarkar
2026-11-30 12:36 ` [PATCH 2/2] arm64: dts: qcom: nord: Enable PCIe controllers for GearVM variant Mrinmay Sarkar
1 sibling, 0 replies; 4+ messages in thread
From: Mrinmay Sarkar @ 2026-11-30 12:36 UTC (permalink / raw)
To: Manivannan Sadhasivam, Bjorn Helgaas, Lorenzo Pieralisi,
Krzysztof Wilczyński, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-pci, devicetree, Mrinmay Sarkar,
Rama Krishna, Nitesh Gupta, Ayiluri Naga Rashmi,
Krishna Chaitanya Chundru, Shazad Hussain
Document the PCIe root complex on the Qualcomm Nord SoC when the
controller is managed by firmware and accessed through an ECAM region.
Nord's firmware-managed PCIe controller is compatible with the SA8255P
controller, so add "qcom,nord-pcie-fw" with "qcom,pcie-sa8255p" as a
fallback compatible and reuse the existing binding.
Nord exposes an I/O window in addition to the non-prefetchable and
prefetchable memory windows, so allow up to three "ranges" entries.
The controller also provides a "global" interrupt, so allow it as an
optional ninth interrupt after the MSI interrupts.
Signed-off-by: Mrinmay Sarkar <mrinmay.sarkar@oss.qualcomm.com>
---
.../devicetree/bindings/pci/qcom,pcie-sa8255p.yaml | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-sa8255p.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-sa8255p.yaml
index 1f2d098b8638..349099e300da 100644
--- a/Documentation/devicetree/bindings/pci/qcom,pcie-sa8255p.yaml
+++ b/Documentation/devicetree/bindings/pci/qcom,pcie-sa8255p.yaml
@@ -16,7 +16,12 @@ description:
properties:
compatible:
- const: qcom,pcie-sa8255p
+ oneOf:
+ - const: qcom,pcie-sa8255p
+ - items:
+ - enum:
+ - qcom,nord-pcie-fw
+ - const: qcom,pcie-sa8255p
reg:
description:
@@ -30,15 +35,16 @@ properties:
description:
As described in IEEE Std 1275-1994, but must provide at least a
definition of non-prefetchable memory. One or both of prefetchable Memory
- may also be provided.
+ and IO Space may also be provided.
minItems: 1
- maxItems: 2
+ maxItems: 3
interrupts:
minItems: 8
- maxItems: 8
+ maxItems: 9
interrupt-names:
+ minItems: 8
items:
- const: msi0
- const: msi1
@@ -48,6 +54,7 @@ properties:
- const: msi5
- const: msi6
- const: msi7
+ - const: global
power-domains:
maxItems: 1
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] arm64: dts: qcom: nord: Enable PCIe controllers for GearVM variant
2026-11-30 12:36 [PATCH 0/2] arm64: dts: qcom: Add PCIe support for Nord GearVM platforms Mrinmay Sarkar
2026-11-30 12:36 ` [PATCH 1/2] dt-bindings: PCI: qcom,pcie-sa8255p: Document Nord firmware-managed PCIe Mrinmay Sarkar
@ 2026-11-30 12:36 ` Mrinmay Sarkar
2026-11-30 12:53 ` sashiko-bot
1 sibling, 1 reply; 4+ messages in thread
From: Mrinmay Sarkar @ 2026-11-30 12:36 UTC (permalink / raw)
To: Manivannan Sadhasivam, Bjorn Helgaas, Lorenzo Pieralisi,
Krzysztof Wilczyński, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-pci, devicetree, Mrinmay Sarkar,
Rama Krishna, Nitesh Gupta, Ayiluri Naga Rashmi,
Krishna Chaitanya Chundru, Shazad Hussain
Add GearVM-specific overrides for the Nord PCIe controllers and enable
the required SCMI power-domain providers to support PCIe controller
enablement on GearVM platforms.
Expand the soc@0 identity translation range to accommodate PCIe host
bridge resources that reside outside the currently covered address
space.
Enable PCIe0 and PCIe1 on the Nord RIDE platform.
Signed-off-by: Mrinmay Sarkar <mrinmay.sarkar@oss.qualcomm.com>
---
Note: The GearVM PCIe nodes override the nord.dtsi nodes in place. The
node names keep the unit address of the PARF register base from
nord.dtsi, while "reg" is replaced with the firmware-managed ECAM base,
so they no longer match. This triggers W=1 dtc simple_bus_reg warnings,
which are known and acknowledged.
---
arch/arm64/boot/dts/qcom/nord-gearvm.dtsi | 48 +++++++++++++++++++++++++++++++
arch/arm64/boot/dts/qcom/nord-ride.dts | 16 +++++++++++
arch/arm64/boot/dts/qcom/nord.dtsi | 4 +--
3 files changed, 66 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/nord-gearvm.dtsi b/arch/arm64/boot/dts/qcom/nord-gearvm.dtsi
index 5514f9a6f49f..b71f48e09d51 100644
--- a/arch/arm64/boot/dts/qcom/nord-gearvm.dtsi
+++ b/arch/arm64/boot/dts/qcom/nord-gearvm.dtsi
@@ -2098,6 +2098,54 @@ &i2c20 {
"perf";
};
+&pcie0 {
+ /delete-property/ num-lanes;
+ /delete-property/ reg-names;
+
+ compatible = "qcom,nord-pcie-fw", "qcom,pcie-sa8255p";
+ reg = <0x50 0x00000000 0x0 0x10000000>;
+ ranges = <0x01000000 0x0 0x40000000 0x0 0x40000000 0x0 0x100000>,
+ <0x02000000 0x0 0x40100000 0x0 0x40100000 0x0 0x7000000>,
+ <0x43000000 0x50 0x10100000 0x50 0x10100000 0x8 0x00000000>;
+ power-domains = <&scmi5_pd 0>;
+};
+
+&pcie1 {
+ /delete-property/ num-lanes;
+ /delete-property/ reg-names;
+
+ compatible = "qcom,nord-pcie-fw", "qcom,pcie-sa8255p";
+ reg = <0x48 0x00000000 0x0 0x10000000>;
+ ranges = <0x01000000 0x0 0x50000000 0x0 0x50000000 0x0 0x100000>,
+ <0x02000000 0x0 0x50100000 0x0 0x50100000 0x0 0x7000000>,
+ <0x43000000 0x48 0x10100000 0x48 0x10100000 0x4 0x00000000>;
+ power-domains = <&scmi6_pd 0>;
+};
+
+&pcie2 {
+ /delete-property/ num-lanes;
+ /delete-property/ reg-names;
+
+ compatible = "qcom,nord-pcie-fw", "qcom,pcie-sa8255p";
+ reg = <0x40 0x00000000 0x0 0x10000000>;
+ ranges = <0x01000000 0x0 0x60000000 0x0 0x60000000 0x0 0x100000>,
+ <0x02000000 0x0 0x60100000 0x0 0x60100000 0x0 0x7000000>,
+ <0x43000000 0x40 0x10100000 0x40 0x10100000 0x4 0x00000000>;
+ power-domains = <&scmi32_pd 0>;
+};
+
+&pcie3 {
+ /delete-property/ num-lanes;
+ /delete-property/ reg-names;
+
+ compatible = "qcom,nord-pcie-fw", "qcom,pcie-sa8255p";
+ reg = <0x4 0x00000000 0x0 0x10000000>;
+ ranges = <0x01000000 0x0 0x70000000 0x0 0x70000000 0x0 0x100000>,
+ <0x02000000 0x0 0x70100000 0x0 0x70100000 0x0 0x7000000>,
+ <0x43000000 0x4 0x10100000 0x4 0x10100000 0x0 0x80000000>;
+ power-domains = <&scmi33_pd 0>;
+};
+
&qupv3_0 {
compatible = "qcom,sa8797p-geni-se-qup",
"qcom,sa8255p-geni-se-qup";
diff --git a/arch/arm64/boot/dts/qcom/nord-ride.dts b/arch/arm64/boot/dts/qcom/nord-ride.dts
index 1af4117d24d7..3892830cc58a 100644
--- a/arch/arm64/boot/dts/qcom/nord-ride.dts
+++ b/arch/arm64/boot/dts/qcom/nord-ride.dts
@@ -45,6 +45,14 @@ &scmi3 {
status = "okay";
};
+&scmi5 {
+ status = "okay";
+};
+
+&scmi6 {
+ status = "okay";
+};
+
&scmi9 {
status = "okay";
};
@@ -241,6 +249,14 @@ trip1 {
};
};
+&pcie0 {
+ status = "okay";
+};
+
+&pcie1 {
+ status = "okay";
+};
+
&uart4 {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi
index 56778dd444e4..1841cc651c63 100644
--- a/arch/arm64/boot/dts/qcom/nord.dtsi
+++ b/arch/arm64/boot/dts/qcom/nord.dtsi
@@ -1034,8 +1034,8 @@ soc: soc@0 {
compatible = "simple-bus";
#address-cells = <2>;
#size-cells = <2>;
- dma-ranges = <0 0 0 0 0x10 0>;
- ranges = <0 0 0 0 0x10 0>;
+ dma-ranges = <0 0 0 0 0x100 0>;
+ ranges = <0 0 0 0 0x100 0>;
gpi_dma2: dma-controller@800000 {
compatible = "qcom,nord-gpi-dma", "qcom,sm6350-gpi-dma";
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread