[PATCH 2/2] arm64: dts: mediatek: mt8188-geralt: enable Wi-Fi card
Chen-Yu Tsai
wenst at chromium.org
Mon May 4 00:34:35 PDT 2026
Hi,
On Mon, May 4, 2026 at 3:28 PM Icenowy Zheng <zhengxingda at iscas.ac.cn> wrote:
>
> 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.
The plan now is to model it as an M.2 E-key slot (even though the chip
is actually soldered on the main board).
I have some of the patches ready, but I'm still working out the USB
side of it.
ChenYu
> Signed-off-by: Icenowy Zheng <zhengxingda at 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
>
>
More information about the linux-arm-kernel
mailing list