I’m testing the new Amlogic-no on my MECOOL M8S and everything works except wifi.
I am using the g12a_s905x2_2g.dtb file. This box uses wifi card rtl8189fs on sdio .
Can I ask you to modify the dts file as follows?
The key lines are:
-
max-frequency = <40000000>;
-
rtl8189fs: wifi@1 {
-
reg = <1>;
-
};
+/* SDIO */
+&sd_emmc_a {
+ status = "okay";
+ pinctrl-0 = <&sdio_pins>;
+ pinctrl-1 = <&sdio_clk_gate_pins>;
+ pinctrl-names = "default", "clk-gate";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ bus-width = <4>;
+ cap-sd-highspeed;
+ max-frequency = <40000000>;
+
+ non-removable;
+ disable-wp;
+
+ /* WiFi firmware requires power to be kept while in suspend */
+ keep-power-in-suspend;
+
+ mmc-pwrseq = <&sdio_pwrseq>;
+
+ vmmc-supply = <&vddao_3v3>;
+ vqmmc-supply = <&vddao_1v8>;
+
+ rtl8189fs: wifi@1 {
+ reg = <1>;
+ };
+};
I’m adding more information:
dmesg from Amlogic-ng: https://paste.coreelec.org/LeERD5
and SDIO WiFi SoC: https://paste.coreelec.org/ZHgWYd