On 06.05.21 18:25, Denis Kalashnikov wrote:

What is not working:
  * USB port and mPCIe slot,
  * Beeper,
  * Button,

+
+/* SoC Wi-Fi MAC managed by ath9k driver (RB912UAG-2HPnD) */
+&wmac {
+       status = "okay";
+       /*
+        * Wireless calibration data is in SPI NOR flash
+        * hard_config partition. In OpenWrt you can also
+        * read it from sysfs file
+        * /sys/firmware/mikrotik/hard_config/wlan_data
+        * from offset 0x1000
+        * (/etc/hotplug.d/firmware/10-ath9k-eeprom script
+        * does this).
+        */
+       qca,no-eeprom;
+};

Add the following here in the dts to enable USB controller (tested and working)


&usb {
        status = "okay";
};

&usb_phy {
        status = "okay";
};



_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to