This patchset enables ath79 target for following Netgear ar724x-based routers currently supported by ar71xx: * Netgear WNR1000v2 (tiny, 4_32) * Netgear WNR2000v3 (tiny, 4_32) * Netgear WNR2200 (generic, 8_64 + USB)
and improves existing support for: * Netgear WNR612v2 (tiny, 4_32) For all above routers, MAC address printed on device label is for LAN interface (eth1, ART offset 0x6). The goal was to provide full functionality in ath79, on a par with ar71xx target. The only minor change is renaming 'netgear:amber:test' LED to 'netgear:amber:power' where applicable (apparently no one defines them as 'test' nowadays). Patched images were successfully flashed to respective devices and are confirmed to work. Patch #1 is a prerequisite. It adds DT flags to control network LEDs and clocks - in ar71xx these get disabled at setup phase in mach-*.c files. Now ath79 target can do this as well and provide sysfs access to LAN/WAN amber and green diodes. Patch list (5): ath79: add LAN LEDs control bits for AR724x GPIO function pinmux ath79: WNR612v2: improve device support ath79: add support for Netgear WNR2000 v3 ath79: add support for Netgear WNR1000 v2 ath79: add support for Netgear WNR2200 .../ath79/base-files/etc/board.d/01_leds | 28 +++ .../ath79/base-files/etc/board.d/02_network | 3 + .../etc/hotplug.d/firmware/10-ath9k-eeprom | 3 + .../ath79/dts/ar7240_netgear_wnr1000-v2.dts | 207 +++++++++++++++ .../ath79/dts/ar7240_netgear_wnr612-v2.dtsi | 20 +- .../ath79/dts/ar7241_netgear_wnr2000-v3.dts | 212 ++++++++++++++++ .../ath79/dts/ar7241_netgear_wnr2200.dts | 237 ++++++++++++++++++ target/linux/ath79/dts/ar724x.dtsi | 10 +- target/linux/ath79/image/generic.mk | 16 ++ target/linux/ath79/image/tiny-netgear.mk | 34 ++- 10 files changed, 762 insertions(+), 8 deletions(-) create mode 100644 target/linux/ath79/dts/ar7240_netgear_wnr1000-v2.dts create mode 100644 target/linux/ath79/dts/ar7241_netgear_wnr2000-v3.dts create mode 100644 target/linux/ath79/dts/ar7241_netgear_wnr2200.dts -- 2.22.0 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel