From 9f9d39a9087ae7fba3a39d4200b0f736eef257c9 Mon Sep 17 00:00:00 2001 From: Xu Xuehui Date: Thu, 20 Jul 2023 17:58:33 +0800 Subject: [PATCH] arm64: dts: rockchip: rk3588-vehicle-evb-v21: change pcie wifi power control regulator should always on when system suspend, avoid wifi crash. Change-Id: If78702e56b68f653b2d50a06d7fd31bc4ced2943 Signed-off-by: Xu Xuehui --- arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v21.dtsi | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v21.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v21.dtsi index e08c45896e4c..b6c622fa9a75 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v21.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v21.dtsi @@ -52,10 +52,11 @@ vcc3v3_pcie_wifi: vcc3v3-pcie-wifi { compatible = "regulator-fixed"; regulator-name = "vcc3v3_pcie_wifi"; + regulator-always-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; enable-active-high; - //gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; + gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; startup-delay-us = <5000>; vin-supply = <&vcc_3v3_s0>; }; @@ -123,7 +124,7 @@ compatible = "wlan-platdata"; wifi_chip_type = "ap6398s"; pinctrl-names = "default"; - pinctrl-0 = <&wifi_poweren_gpio>, <&wifi_host_wake_irq>; + pinctrl-0 = <&wifi_host_wake_irq>; WIFI,host_wake_irq = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; WIFI,poweren_gpio = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; status = "okay"; @@ -287,9 +288,6 @@ rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>; }; - wifi_poweren_gpio: wifi-power-gpio { - rockchip,pins = <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_down>; - }; }; rk3308 {