ath79: generic: rework ar9342_ubnt_xw dtsi, and add support for Ubiquiti LiteBeam...
authorSamuele Longhi <agave@dracaena.it>
Wed, 20 Dec 2023 18:27:15 +0000 (19:27 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 20 Jan 2024 18:57:57 +0000 (19:57 +0100)
commit7b5aeef6dbfae724fa4bef4edee49be389fd4a5e
tree0668cccda7cebed11fffe80b086973ea8c4527ad
parentf1a447bdb5f25a61402f513e68a216a1ae8c7c97
ath79: generic: rework ar9342_ubnt_xw dtsi, and add support for Ubiquiti LiteBeam M5 (XW), Ubiquiti AirGrid M5 HP (XW), Ubiquiti PowerBeam M5 300 (XW)

Add support for Ubiquiti LiteBeam M5 (XW).
The device was previously supported in ar71xx.
See commit: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=d0988235dd277b9a832bbc4b2a100ac6e821f577

Add ALTX_MODEL for Ubiquiti AirGrid M5 HP (XW), Ubiquiti PowerBeam M5 300 (XW) in generic-ubnt.mk
This models are identical (firmware-wise) to the already supported Ubiquiti Nanostation Loco M (XW)

Add also Ubiquiti NanoBeam M5 to ALTX_MODEL of Ubiquiti Nanostation Loco M (XW) since it's another clone.

Tested on:
- Ubiquiti LiteBeam M5 (XW)
- Ubiquiti PowerBeam M5 (XW)

This also modify target/ath79/dts/ar9342_ubnt_xw.dtsi to use nvmem for calibration data
Checked that the caldata size in the eeprom partition are actually 0x440 on:
- Ubiquiti PowerBeam M5 (XW)
- Ubiquiti Nanostation M5 (XW)
- Ubiquiti LiteBeam M5 (XW)
- Ubiquiti AirGrid M5 HP (XW)

Signed-off-by: Samuele Longhi <agave@dracaena.it>
12 files changed:
target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts
target/linux/ath79/dts/ar9342_ubnt_litebeam-m5-xw.dts [new file with mode: 0644]
target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5-xw.dts [deleted file]
target/linux/ath79/dts/ar9342_ubnt_nanostation-loco-m-xw.dts
target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts
target/linux/ath79/dts/ar9342_ubnt_powerbeam-m2-xw.dts
target/linux/ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts
target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
target/linux/ath79/dts/ar9342_ubnt_xw_rssileds.dtsi [new file with mode: 0644]
target/linux/ath79/generic/base-files/etc/board.d/01_leds
target/linux/ath79/generic/base-files/etc/board.d/02_network
target/linux/ath79/image/generic-ubnt.mk