From f5a9181d6e94044657df00d3531cf97f2e8d1d16 Mon Sep 17 00:00:00 2001 From: Guillaume Lefebvre Date: Sat, 21 Dec 2019 00:21:32 +0100 Subject: ath79: fix wmac initialization for Zyxel NBG6716 2.4 GHz Wifi on ath79 is set up in 10-ath9k-eeprom, but in ar71xx it was done with ath79_register_wmac. Thus, the following errors are observed on the device: ath: phy1: Unable to initialize hardware; initialization status: -5 ath9k 18100000.wmac: failed to initialize device ath9k: probe of 18100000.wmac failed with error -5 This patch changes the ath79 support to properly use wmac as well. This will also require fixing the MAC address in a different way. Signed-off-by: Guillaume Lefebvre [several adjustments to 10-fix-wifi-mac, use correct MAC address, rewrite commit message] Signed-off-by: Adrian Schmutzler --- target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/ath79/dts') diff --git a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts index 4ad65c31e8..a495bb187b 100644 --- a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts +++ b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts @@ -262,6 +262,8 @@ &wmac { status = "okay"; + + mtd-cal-data = <&art 0x1000>; }; &pcie1 { -- cgit v1.2.3