diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2018-06-20 16:21:08 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-06-26 07:05:44 +0200 |
commit | 31c26cece31813b47dc69ebee266facb83ef76de (patch) | |
tree | 2351fbe4f9c8e735868f0db6fb6cb747f21a4d27 /target/linux/ath79/base-files | |
parent | 51dd8ec62ffc570dd932cc3fb5d5c9b1bb756349 (diff) | |
download | upstream-31c26cece31813b47dc69ebee266facb83ef76de.tar.gz upstream-31c26cece31813b47dc69ebee266facb83ef76de.tar.bz2 upstream-31c26cece31813b47dc69ebee266facb83ef76de.zip |
ath79: add support for ON Networks N150R
This is a rebranded Netgear WNR612v2, specs are the same.
- Atheros AR7240 (Python) @400MHz
- flash 4MB
- ram 32MB
- ethernet 10/100: 1xwan + 2xlan (only two)
- radio AR9285
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Diffstat (limited to 'target/linux/ath79/base-files')
3 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index 68f94ed3c3..29416ad83e 100755 --- a/target/linux/ath79/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/base-files/etc/board.d/01_leds @@ -22,7 +22,8 @@ case "$board" in ucidef_set_led_oneshot "modbus" "Modbus" "$boardname:red:modbus" "100" "33" ucidef_set_led_default "etactica" "etactica" "$boardname:red:etactica" "ignore" ;; -"netgear,wnr612-v2") +"netgear,wnr612-v2"|\ +"on,n150r") ucidef_set_led_netdev "wan" "WAN" "netgear:green:wan" "eth0" ucidef_set_led_switch "lan1" "LAN1" "netgear:green:lan1" "switch0" "0x02" "0x0f" ucidef_set_led_switch "lan2" "LAN2" "netgear:green:lan2" "switch0" "0x04" "0x0f" diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 2caf443fe8..743b877aba 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -33,7 +33,8 @@ ath79_setup_interfaces() ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; - "netgear,wnr612-v2") + "netgear,wnr612-v2"|\ + "on,n150r") ucidef_set_interfaces_lan_wan "eth1.1" "eth0" ucidef_add_switch "switch0" \ "0@eth1" "1:lan" "2:lan" "3:lan:3" "4:lan:4" diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index 1ed74608c8..5b22b1544f 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -55,6 +55,7 @@ case "$FIRMWARE" in ath9k_eeprom_extract "art" 20480 1088 ;; "netgear,wnr612-v2"|\ + "on,n150r"|\ "tplink,tl-wr740n-v2"|\ "ubnt,unifi") ath9k_eeprom_extract "art" 4096 2048 |