1,把驱动代码添加到内核模块编译。
kconfig:
source “drivers/net/wireless/rtl8821cs/Kconfig”
makefile:
obj-$(CONFIG_RTL8821CS) += rtl8821cs/
2,dts
&usdhc3 {
pinctrl-names = “default”;
pinctrl-0 = <&pinctrl_usdhc3>;
non-removable;
bus-width = <4>;
keep-power-in-suspend;
enable-sdio-wakeup;
no-1-8-v;
status = “okay”;
wifi-host;
};
3,dsi管脚直接拉高3.3V电源