diff options
author | Thibaut VARENE <hacks@slashdirt.org> | 2017-02-07 12:06:33 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-02-15 11:28:57 +0100 |
commit | c59fa94eeecf16c79254ab4bc78f5b31c7387039 (patch) | |
tree | a659eeca6219f7c7f252da490866739ff22b0c83 /target/linux/ar71xx/base-files/etc | |
parent | d1a75c5161bbd1cdc148a8d8a5b0b71936dce08d (diff) | |
download | upstream-c59fa94eeecf16c79254ab4bc78f5b31c7387039.tar.gz upstream-c59fa94eeecf16c79254ab4bc78f5b31c7387039.tar.bz2 upstream-c59fa94eeecf16c79254ab4bc78f5b31c7387039.zip |
ar71xx: add support for RB mAP L-2nD
This patch adds support for the MikroTik RouterBOARD mAP lite
https://routerboard.com/RBmAPL-2nD
Specifications:
- SoC: Qualcomm QCA9533 (650MHz)
- RAM: 64MB
- Storage: 16MB NOR SPI flash
- Wireless: builtin QCA9533, 2x2:2
- Ethernet: 1x100M
This is another 16M SPI NOR mikrotik device. The machine file is named
mach-rbspi.c because I plan to add support for several of the other spi-based
RouterBOARD devices in subsequent patches: they share most of the hardware
and thus the same codebase.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 5 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 1 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 3 |
3 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index ab8585c3f6..5aa49c98f5 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -236,6 +236,11 @@ rb-2011uias-2hnd) ucidef_set_led_switch "eth9" "ETH9" "rb:green:eth9" "switch1" "0x04" ucidef_set_led_switch "eth10" "ETH10" "rb:green:eth10" "switch1" "0x02" ;; +rb-mapl-2nd) + ucidef_set_led_default "power" "POWER" "rb:green:power" "1" + ucidef_set_led_netdev "lan" "LAN" "rb:green:eth" "eth0" + ucidef_set_led_wlan "wlan" "WLAN" "rb:green:wlan" "phy0tpt" + ;; dap-2695-a1) ucidef_set_led_default "power" "POWER" "d-link:green:power" "1" ucidef_set_led_default "diag" "DIAG" "d-link:red:power" "0" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 14bb34b898..f3dcd907e3 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -90,6 +90,7 @@ ar71xx_setup_interfaces() rb-911g-5hpnd|\ rb-912uag-2hpnd|\ rb-912uag-5hpnd|\ + rb-mapl-2nd|\ rb-sxt2n|\ rb-sxt5n|\ re450|\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index a407a9979d..f9d394ba34 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -297,7 +297,8 @@ get_status_led() { rb-911g-5hpacd|\ rb-911g-5hpnd|\ rb-912uag-2hpnd|\ - rb-912uag-5hpnd) + rb-912uag-5hpnd|\ + rb-mapl-2nd) status_led="rb:green:user" ;; rb-951ui-2hnd | rb-941-2nd) |