[PATCH 2/2] arm64: dts: mediatek: mt8188-geralt: enable Wi-Fi card

Icenowy Zheng
2026-05-04T07:28:16Z

The mainline pcie-mediatek-gen3 driver does not have code managing
downstream device power / reset.

As the Wi-Fi card on ciri is a fixed device, set the related regulator
to always-on and use GPIO hog to set the status of its reset pin.

Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
---
arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi b/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi
index 8e423504ec052..c25780098103b 100644
--- a/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi
@@ -544,6 +544,11 @@ &mt6359codec {
mediatek,mic-type-2 = <2>; /* DMIC */
};

+&mt6359_vcn18_ldo_reg {
+ /* Used by WLAN */
+ regulator-always-on;
+};
+
&mt6359_vcore_buck_reg {
regulator-always-on;
};
@@ -1145,6 +1150,12 @@ pins-en-pp3300-wlan {
output-low;
};
};
+
+ wlan-reset-hog {
+ gpio-hog;
+ gpios = <145 GPIO_ACTIVE_HIGH>;
+ output-high;
+ };
};

&pmic {
--
2.52.0