In order for Wi-Fi to work the SDIO bus needs to be enabled in the
device tree, as well as the node required to turn on the GPIO to power
on the device - wcn_wifi.
Port them from the vendor kernel [1].
[1] - https://gitee.com/thead-yocto/kernel.git
Change-Id: I4b673316100f5a75195105befb6895095a9cb690
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
compatible = "thead,light-aon-test";
};
};
+
+ wcn_wifi: wireless-wlan {
+ compatible = "wlan-platdata";
+ clock-names = "clk_wifi";
+ ref-clock-frequency = <24000000>;
+ keep_wifi_power_on;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_wifi_wake>;
+ wifi_chip_type = "aic8800";
+ WIFI,poweren_gpio-gpios = <&pcal6408ahk_c 4 0>;
+ support_power_ctrl;
+ status = "okay";
+ };
};
&resmem {
status = "okay";
};
+&sdio1 {
+ bus-width = <4>;
+ max-frequency = <100000000>;
+ no-sd;
+ no-mmc;
+ broken-cd;
+ cap-sd-highspeed;
+ post-power-on-delay-ms = <50>;
+ status = "okay";
+ wakeup-source;
+ keep-power-in-suspend;
+};
+
&gpu {
status = "okay";
};