[PATCH 4/4] ath79: add support of Mikrotik RouterBoard 91xG series

Koen Vandeputte koen.vandeputte at citymesh.com
Fri May 7 12:54:46 BST 2021


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";
};





More information about the openwrt-devel mailing list