From 037fb51a2e5f7cd2acd26fb6ffd01b6c32aaaa37 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Wed, 7 Feb 2018 09:35:47 +0000 Subject: [PATCH] [ar71xx] Fix the TL-wdr3600/tl-wdr4300 hints in the new world order. Tested: * tl-wdr4300 --- sys/mips/conf/TL-WDR4300.hints | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sys/mips/conf/TL-WDR4300.hints b/sys/mips/conf/TL-WDR4300.hints index 6ad551636dd..ecf88dc3cfe 100644 --- a/sys/mips/conf/TL-WDR4300.hints +++ b/sys/mips/conf/TL-WDR4300.hints @@ -114,9 +114,15 @@ hint.arge.1.miimode=1 # GMII # MAC for arge1 is the second 6 bytes of the ART # hint.arge.1.eeprommac=0x1f7f0006 -# ath0: Where the ART is - last 64k in the flash -hint.ath.0.eepromaddr=0x1fff0000 -hint.ath.0.eepromsize=16384 +# ART calibration data mapping - for the AR934x AHB device +hint.ar71xx_caldata.0.at="nexus0" +hint.ar71xx_caldata.0.order=0 +# Where the ART is - last 64k in the first 8MB of flash +hint.ar71xx_caldata.0.map.0.ath_fixup_addr=0x1fff0000 +hint.ar71xx_caldata.0.map.0.ath_fixup_size=16384 + +# And now tell the ath(4) driver where to look! +hint.ath.0.eeprom_firmware="ar71xx_caldata.0.map.0.eeprom_firmware" # ath1: it's different; it's a PCIe attached device, so # we instead need to teach the PCIe bridge code about it