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 {