修改 WIFI 型号
./device/rockchip/rk3308/rockchip_rk3308b_64bit_defconfig
修改设备树
根节点 ---> wireless-wlan
wireless-wlan { compatible = "wlan-platdata"; rockchip,grf = <&grf>; pinctrl-names = "default"; pinctrl-0 = <&wifi_wake_host>, <&rtc_32k>; wifi_chip_type = "ap6255"; WIFI,host_wake_irq = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>; status = "okay"; };
改为
wireless-wlan { compatible = "wlan-platdata"; rockchip,grf = <&grf>; pinctrl-names = "default"; pinctrl-0 = <&wifi_wake_host>; wifi_chip_type = "rtl8188eu";
WIFI,host_wake_irq = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
status = "okay";
};
根节点---> pinctrl ---> wireless-wlan ---> wifi_wake_host
wifi_wake_host: wifi-wake-host { rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; };
改为
wifi_wake_host: wifi-wake-host { rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>; };
标签:wifi,wlan,rockchip,WIFI,pinctrl,host,wake,RK3308B From: https://www.cnblogs.com/god-of-death/p/18233396