From 4c914596f7a7043d2291d47e976e405e07a9a4b2 Mon Sep 17 00:00:00 2001 From: Krishna Chaitanya Chundru Date: Sun, 22 Nov 2026 12:15:54 +0530 Subject: [PATCH] FROMLIST: arm64: dts: qcom: nord-rrd: Describe the PCIe M.2 Key B connector The Nord RRD has an M.2 WWAN slot connected to PCIe3, but neither the slot supply nor its power control is described. Describe the slot as a PCIe M.2 Mechanical Key B connector, so that the slot power is controlled through the pwrseq-pcie-m2 driver and the PCI pwrctrl framework. The slot is powered by the vreg_wwan fixed regulator, which is enabled by the MODEM_SW_PWR_EN GPIO. The MOD_FULL_CARD_POWER_ON_OFF GPIO drives FULL_CARD_POWER_OFF#, which the Adapter treats as asserted when the signal is low, so describe it as active low. Link: https://patch.msgid.link/20261122-pcie6_fix-v2-0-2e0fe615d90b@oss.qualcomm.com Signed-off-by: Krishna Chaitanya Chundru Signed-off-by: Hariharan Sreedhar --- arch/arm64/boot/dts/qcom/nord-rrd.dts | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/nord-rrd.dts b/arch/arm64/boot/dts/qcom/nord-rrd.dts index 50ea85bd100b8..31e8486b2bfa6 100644 --- a/arch/arm64/boot/dts/qcom/nord-rrd.dts +++ b/arch/arm64/boot/dts/qcom/nord-rrd.dts @@ -170,6 +170,40 @@ enable-active-high; }; + vreg_wwan: regulator-wwan { + compatible = "regulator-fixed"; + + regulator-name = "vreg_wwan"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&tlmm 54 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + wwan-connector { + compatible = "pcie-m2-b-connector"; + vpcie3v3-supply = <&vreg_wwan>; + + full-card-power-off-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + wwan_m2_pcie_ep: endpoint@0 { + reg = <0>; + remote-endpoint = <&pcie3_port0_ep>; + }; + }; + }; + }; + wcn7850-pmu { compatible = "qcom,wcn7850-pmu"; @@ -883,6 +917,12 @@ &pcie3_port0 { reset-gpios = <&tlmm 11 GPIO_ACTIVE_LOW>; wake-gpios = <&tlmm 9 GPIO_ACTIVE_LOW>; + + port { + pcie3_port0_ep: endpoint { + remote-endpoint = <&wwan_m2_pcie_ep>; + }; + }; }; &pmau0102_i_gpios {