Thanks! We have an entry for mdio but it was missing the reset-gpio. I was able to update this along with port@5.
ahb makes since but then what are those 2 devices being detected on the pci bus currently?
The OEM DTS seems to have a lot that was never used. Audio even. Another item is the fan controller where fan_right (i2c @49) exists in DTS even though it's not populated on the board.
-> board-id 255 should be the right one, as there isn't a board_id set in the stock DTS and the default is 255 / 0xFF
Rename your board file to 'bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Netgear-RAX120.bin' and then use the "ath11k-bdencoder -c board-2.json"
Next step create an override in ipq-wifi package, you can find an example in this commit:
Last step: add that to your device DTS:
&wifi {
status = "okay";
/* using board_id 0xff is intentionally
* as the stock firmware is also using this default board_id
*/
qcom,board_id = <0xff>;
qcom,ath11k-calibration-variant = "Netgear-RAX120;
};
The ath11k driver should then find the right board file.
You need python3 ath11k-bdencoder -c board-2.json as it was converted to Python3, and using Python2 will just make it spit out a 20 or so byte empty file
It's odd that I get no errors on either version. I uploaded the OEM .bin file to the test repo if you have a moment to try on a known working instance board encoder.
Aquantia / Multi-Gig interface
Gigabit does not work currently (likely just an issue with qcom,port_phyinfo)
My XS708T switch is 1G and 10G only so I'm unable to test 2.5G and 5G
LED configuration
Netgear uses a separate led board with an led controller listed in DT. Does this require leds-ipq.c?
Button configuration
Flashing steps / Wiki updates
I believe @wangyu is working on this
wlan0 should only use channels >= 100, due to avoid interference with the second 5G radio.
But it loks like netgear didn't reflect that in the board file.
That means, you need to make sure (in the wireless config) that wlan0 is only using channels >= 100
And I'm pretty sure, wlan0 isn't even technically capable of using channels <100 as the RF-frontend has HF-filters implemented.
The Aquantia phy needs a firmware. You can load that firmware (thanks to robimarko) via aq-fw-download utility. Have a look in the QNAP 301w thread were to grab the firmware and how to load that in linux.
I'm not sure about that ipq led controller. I doubt the driver is available upstream.
That was it. hc164 here. 10 of 11 LED's are working.. #11 is a redundant Wifi_On LED under the rfkill button and this could be connected to the wifi hardware directly since none of the free GPIO's seem to drive it.
Buttons are good as well.
I loaded in the aq-fw-download package and did not notice any effect but I'll play around with it more later on.