* [PATCH v2 0/2] arm64: dts: qcom: Enable WCN7850 on Maili MTP
@ 2026-11-25 10:02 Yijie Yang
2026-11-25 10:02 ` [PATCH v2 1/2] arm64: dts: qcom: maili-mtp: Add WCN7850 WLAN support Yijie Yang
2026-11-25 10:02 ` [PATCH v2 2/2] arm64: dts: qcom: maili-mtp: Add WCN7850 Bluetooth support Yijie Yang
0 siblings, 2 replies; 7+ messages in thread
From: Yijie Yang @ 2026-11-25 10:02 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, Yijie Yang
Enable WLAN and Bluetooth support for the WCN7850 on the Maili MTP
reworked with the Hamilton module.
Patch 1 describes the shared PMU and PCIe WLAN function. Patch 2 adds
the Bluetooth enable resources and UART connection.
Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com>
---
Changes in v2:
- Reordered DT nodes per review comments.
- Link to v1: https://patch.msgid.link/20261118-wlan-bt-v1-0-18bb1b059a17@oss.qualcomm.com
---
Yijie Yang (2):
arm64: dts: qcom: maili-mtp: Add WCN7850 WLAN support
arm64: dts: qcom: maili-mtp: Add WCN7850 Bluetooth support
arch/arm64/boot/dts/qcom/maili-mtp.dts | 121 +++++++++++++++++++++++++++++++++
1 file changed, 121 insertions(+)
---
base-commit: 7cfbf79c66c63e807ea452abf0546e6f6d6833a6
change-id: 20261023-wlan-bt-52fae6bc38fa
Best regards,
--
Yijie Yang <yijie.yang@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH v2 1/2] arm64: dts: qcom: maili-mtp: Add WCN7850 WLAN support 2026-11-25 10:02 [PATCH v2 0/2] arm64: dts: qcom: Enable WCN7850 on Maili MTP Yijie Yang @ 2026-11-25 10:02 ` Yijie Yang 2026-11-30 12:33 ` Konrad Dybcio 2026-11-25 10:02 ` [PATCH v2 2/2] arm64: dts: qcom: maili-mtp: Add WCN7850 Bluetooth support Yijie Yang 1 sibling, 1 reply; 7+ messages in thread From: Yijie Yang @ 2026-11-25 10:02 UTC (permalink / raw) To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, Yijie Yang Enable WCN785x Wi-Fi on Maili MTP board. Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com> --- arch/arm64/boot/dts/qcom/maili-mtp.dts | 88 ++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/maili-mtp.dts b/arch/arm64/boot/dts/qcom/maili-mtp.dts index 5409d0a7ec2e0..09d5ba4190151 100644 --- a/arch/arm64/boot/dts/qcom/maili-mtp.dts +++ b/arch/arm64/boot/dts/qcom/maili-mtp.dts @@ -142,6 +142,63 @@ sdcard_vdd_3p0: sdcard-vdd-3p0 { vin-supply = <&vreg_bob1>; }; + + wcn7850-pmu { + compatible = "qcom,wcn7850-pmu"; + + pinctrl-0 = <&wlan_en>, <&sw_ctrl_default>; + pinctrl-names = "default"; + + wlan-enable-gpios = <&pmh0104_c_e0_gpios 7 GPIO_ACTIVE_HIGH>; + + vdd-supply = <&vreg_s1j_0p8>; + vddio-supply = <&vreg_l2d_1p8>; + vddio1p2-supply = <&vreg_l4g_1p2>; + vddaon-supply = <&vreg_s9d_1p0>; + vdddig-supply = <&vreg_s3c_1p2>; + vddrfa1p2-supply = <&vreg_s9d_1p0>; + vddrfa1p8-supply = <&vreg_s7g_1p2>; + + clocks = <&rpmhcc RPMH_RF_CLK1>; + + regulators { + vreg_pmu_rfa_cmn: ldo0 { + regulator-name = "vreg_pmu_rfa_cmn"; + }; + + vreg_pmu_aon_0p59: ldo1 { + regulator-name = "vreg_pmu_aon_0p59"; + }; + + vreg_pmu_wlcx_0p8: ldo2 { + regulator-name = "vreg_pmu_wlcx_0p8"; + }; + + vreg_pmu_wlmx_0p85: ldo3 { + regulator-name = "vreg_pmu_wlmx_0p85"; + }; + + vreg_pmu_rfa_0p8: ldo5 { + regulator-name = "vreg_pmu_rfa_0p8"; + }; + + vreg_pmu_rfa_1p2: ldo6 { + regulator-name = "vreg_pmu_rfa_1p2"; + }; + + vreg_pmu_rfa_1p8: ldo7 { + regulator-name = "vreg_pmu_rfa_1p8"; + }; + + vreg_pmu_pcie_0p9: ldo8 { + regulator-name = "vreg_pmu_pcie_0p9"; + }; + + vreg_pmu_pcie_1p8: ldo9 { + regulator-name = "vreg_pmu_pcie_1p8"; + }; + }; + }; }; &apps_rsc { @@ -757,6 +814,21 @@ &pcie0_phy { &pcie_port0 { wake-gpios = <&tlmm 104 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 102 GPIO_ACTIVE_LOW>; + + wifi@0 { + compatible = "pci17cb,1107"; + reg = <0x10000 0x0 0x0 0x0 0x0>; + + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; + vddaon-supply = <&vreg_pmu_aon_0p59>; + vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>; + vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>; + vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>; + }; }; &pcie1 { @@ -808,6 +880,16 @@ sd_card_eldo_en: sd-card-eldo-en-state { output-low; power-source = <0>; }; + + wlan_en: wlan-en-state { + pins = "gpio7"; + function = "normal"; + input-disable; + output-enable; + output-low; + bias-disable; + power-source = <1>; + }; }; &pmh0110_i_e0_gpios { @@ -906,6 +988,12 @@ &tlmm { <119 2>, /* SoCCP */ <144 2>, /* CXM UART */ <211 1>; /* NFC Secure IO */ + + sw_ctrl_default: sw-ctrl-default-state { + pins = "gpio18"; + function = "gpio"; + bias-pull-down; + }; }; &uart7 { -- 2.34.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] arm64: dts: qcom: maili-mtp: Add WCN7850 WLAN support 2026-11-25 10:02 ` [PATCH v2 1/2] arm64: dts: qcom: maili-mtp: Add WCN7850 WLAN support Yijie Yang @ 2026-11-30 12:33 ` Konrad Dybcio 2026-12-01 2:00 ` Yijie Yang 0 siblings, 1 reply; 7+ messages in thread From: Konrad Dybcio @ 2026-11-30 12:33 UTC (permalink / raw) To: Yijie Yang, Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree On 11/25/26 11:02 AM, Yijie Yang wrote: > Enable WCN785x Wi-Fi on Maili MTP board. > > Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com> > --- [...] > + wlan_en: wlan-en-state { > + pins = "gpio7"; > + function = "normal"; > + input-disable; > + output-enable; > + output-low; Drop output-low, the driver already sets the output state Konrad ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] arm64: dts: qcom: maili-mtp: Add WCN7850 WLAN support 2026-11-30 12:33 ` Konrad Dybcio @ 2026-12-01 2:00 ` Yijie Yang 0 siblings, 0 replies; 7+ messages in thread From: Yijie Yang @ 2026-12-01 2:00 UTC (permalink / raw) To: Konrad Dybcio, Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree On 11/30/2026 8:33 PM, Konrad Dybcio wrote: > On 11/25/26 11:02 AM, Yijie Yang wrote: >> Enable WCN785x Wi-Fi on Maili MTP board. >> >> Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com> >> --- > > [...] > > >> + wlan_en: wlan-en-state { >> + pins = "gpio7"; >> + function = "normal"; >> + input-disable; >> + output-enable; >> + output-low; > > Drop output-low, the driver already sets the output state Sure. > > Konrad -- Best Regards, Yijie ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 2/2] arm64: dts: qcom: maili-mtp: Add WCN7850 Bluetooth support 2026-11-25 10:02 [PATCH v2 0/2] arm64: dts: qcom: Enable WCN7850 on Maili MTP Yijie Yang 2026-11-25 10:02 ` [PATCH v2 1/2] arm64: dts: qcom: maili-mtp: Add WCN7850 WLAN support Yijie Yang @ 2026-11-25 10:02 ` Yijie Yang 2026-11-30 12:33 ` Konrad Dybcio 1 sibling, 1 reply; 7+ messages in thread From: Yijie Yang @ 2026-11-25 10:02 UTC (permalink / raw) To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, Yijie Yang Enable WCN785x Bluetooth on Maili MTP board. Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com> --- arch/arm64/boot/dts/qcom/maili-mtp.dts | 35 +++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/maili-mtp.dts b/arch/arm64/boot/dts/qcom/maili-mtp.dts index 09d5ba419015..3beb1c7e9d50 100644 --- a/arch/arm64/boot/dts/qcom/maili-mtp.dts +++ b/arch/arm64/boot/dts/qcom/maili-mtp.dts @@ -146,9 +146,10 @@ sdcard_vdd_3p0: sdcard-vdd-3p0 { wcn7850-pmu { compatible = "qcom,wcn7850-pmu"; - pinctrl-0 = <&wlan_en>, <&sw_ctrl_default>; + pinctrl-0 = <&bt_default>, <&wlan_en>, <&sw_ctrl_default>; pinctrl-names = "default"; + bt-enable-gpios = <&pmh0104_c_e0_gpios 6 GPIO_ACTIVE_HIGH>; wlan-enable-gpios = <&pmh0104_c_e0_gpios 7 GPIO_ACTIVE_HIGH>; vdd-supply = <&vreg_s1j_0p8>; @@ -178,6 +179,10 @@ vreg_pmu_wlmx_0p85: ldo3 { regulator-name = "vreg_pmu_wlmx_0p85"; }; + vreg_pmu_btcmx_0p85: ldo4 { + regulator-name = "vreg_pmu_btcmx_0p85"; + }; + vreg_pmu_rfa_0p8: ldo5 { regulator-name = "vreg_pmu_rfa_0p8"; }; @@ -872,6 +877,16 @@ led-1 { }; &pmh0104_c_e0_gpios { + bt_default: bt-default-state { + pins = "gpio6"; + function = "normal"; + input-disable; + output-enable; + output-low; + bias-disable; + power-source = <1>; + }; + sd_card_eldo_en: sd-card-eldo-en-state { pins = "gpio5"; function = "normal"; @@ -1000,6 +1015,24 @@ &uart7 { status = "okay"; }; +&uart18 { + status = "okay"; + + bluetooth { + compatible = "qcom,wcn7850-bt"; + + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; + vddaon-supply = <&vreg_pmu_aon_0p59>; + vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>; + + max-speed = <3200000>; + }; +}; + &ufs_mem_hc { reset-gpios = <&tlmm 226 GPIO_ACTIVE_LOW>; -- 2.34.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: qcom: maili-mtp: Add WCN7850 Bluetooth support 2026-11-25 10:02 ` [PATCH v2 2/2] arm64: dts: qcom: maili-mtp: Add WCN7850 Bluetooth support Yijie Yang @ 2026-11-30 12:33 ` Konrad Dybcio 2026-12-01 2:01 ` Yijie Yang 0 siblings, 1 reply; 7+ messages in thread From: Konrad Dybcio @ 2026-11-30 12:33 UTC (permalink / raw) To: Yijie Yang, Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree On 11/25/26 11:02 AM, Yijie Yang wrote: > Enable WCN785x Bluetooth on Maili MTP board. > > Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com> > --- > arch/arm64/boot/dts/qcom/maili-mtp.dts | 35 +++++++++++++++++++++++++++++++++- > 1 file changed, 34 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/maili-mtp.dts b/arch/arm64/boot/dts/qcom/maili-mtp.dts > index 09d5ba419015..3beb1c7e9d50 100644 > --- a/arch/arm64/boot/dts/qcom/maili-mtp.dts > +++ b/arch/arm64/boot/dts/qcom/maili-mtp.dts > @@ -146,9 +146,10 @@ sdcard_vdd_3p0: sdcard-vdd-3p0 { > wcn7850-pmu { > compatible = "qcom,wcn7850-pmu"; > > - pinctrl-0 = <&wlan_en>, <&sw_ctrl_default>; > + pinctrl-0 = <&bt_default>, <&wlan_en>, <&sw_ctrl_default>; > pinctrl-names = "default"; > > + bt-enable-gpios = <&pmh0104_c_e0_gpios 6 GPIO_ACTIVE_HIGH>; > wlan-enable-gpios = <&pmh0104_c_e0_gpios 7 GPIO_ACTIVE_HIGH>; > > vdd-supply = <&vreg_s1j_0p8>; > @@ -178,6 +179,10 @@ vreg_pmu_wlmx_0p85: ldo3 { > regulator-name = "vreg_pmu_wlmx_0p85"; > }; > > + vreg_pmu_btcmx_0p85: ldo4 { > + regulator-name = "vreg_pmu_btcmx_0p85"; > + }; > + > vreg_pmu_rfa_0p8: ldo5 { > regulator-name = "vreg_pmu_rfa_0p8"; > }; > @@ -872,6 +877,16 @@ led-1 { > }; > > &pmh0104_c_e0_gpios { > + bt_default: bt-default-state { > + pins = "gpio6"; > + function = "normal"; > + input-disable; > + output-enable; > + output-low; likewise Konrad ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: qcom: maili-mtp: Add WCN7850 Bluetooth support 2026-11-30 12:33 ` Konrad Dybcio @ 2026-12-01 2:01 ` Yijie Yang 0 siblings, 0 replies; 7+ messages in thread From: Yijie Yang @ 2026-12-01 2:01 UTC (permalink / raw) To: Konrad Dybcio, Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree On 11/30/2026 8:33 PM, Konrad Dybcio wrote: > On 11/25/26 11:02 AM, Yijie Yang wrote: >> Enable WCN785x Bluetooth on Maili MTP board. >> >> Signed-off-by: Yijie Yang <yijie.yang@oss.qualcomm.com> >> --- >> arch/arm64/boot/dts/qcom/maili-mtp.dts | 35 +++++++++++++++++++++++++++++++++- >> 1 file changed, 34 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm64/boot/dts/qcom/maili-mtp.dts b/arch/arm64/boot/dts/qcom/maili-mtp.dts >> index 09d5ba419015..3beb1c7e9d50 100644 >> --- a/arch/arm64/boot/dts/qcom/maili-mtp.dts >> +++ b/arch/arm64/boot/dts/qcom/maili-mtp.dts >> @@ -146,9 +146,10 @@ sdcard_vdd_3p0: sdcard-vdd-3p0 { >> wcn7850-pmu { >> compatible = "qcom,wcn7850-pmu"; >> >> - pinctrl-0 = <&wlan_en>, <&sw_ctrl_default>; >> + pinctrl-0 = <&bt_default>, <&wlan_en>, <&sw_ctrl_default>; >> pinctrl-names = "default"; >> >> + bt-enable-gpios = <&pmh0104_c_e0_gpios 6 GPIO_ACTIVE_HIGH>; >> wlan-enable-gpios = <&pmh0104_c_e0_gpios 7 GPIO_ACTIVE_HIGH>; >> >> vdd-supply = <&vreg_s1j_0p8>; >> @@ -178,6 +179,10 @@ vreg_pmu_wlmx_0p85: ldo3 { >> regulator-name = "vreg_pmu_wlmx_0p85"; >> }; >> >> + vreg_pmu_btcmx_0p85: ldo4 { >> + regulator-name = "vreg_pmu_btcmx_0p85"; >> + }; >> + >> vreg_pmu_rfa_0p8: ldo5 { >> regulator-name = "vreg_pmu_rfa_0p8"; >> }; >> @@ -872,6 +877,16 @@ led-1 { >> }; >> >> &pmh0104_c_e0_gpios { >> + bt_default: bt-default-state { >> + pins = "gpio6"; >> + function = "normal"; >> + input-disable; >> + output-enable; >> + output-low; > > likewise Sure. > > Konrad -- Best Regards, Yijie ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-12-01 2:01 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-11-25 10:02 [PATCH v2 0/2] arm64: dts: qcom: Enable WCN7850 on Maili MTP Yijie Yang 2026-11-25 10:02 ` [PATCH v2 1/2] arm64: dts: qcom: maili-mtp: Add WCN7850 WLAN support Yijie Yang 2026-11-30 12:33 ` Konrad Dybcio 2026-12-01 2:00 ` Yijie Yang 2026-11-25 10:02 ` [PATCH v2 2/2] arm64: dts: qcom: maili-mtp: Add WCN7850 Bluetooth support Yijie Yang 2026-11-30 12:33 ` Konrad Dybcio 2026-12-01 2:01 ` Yijie Yang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox