diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-07-13 16:25:58 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-07-13 16:25:58 +0000 |
commit | 7170324f7780bc2b2bdfb1abe5d192b65d29c25e (patch) | |
tree | ca5588bb34748264d090179b240d9c3603b90986 /target/linux/ar71xx/base-files/etc/uci-defaults | |
parent | f66188b67abe9b726de51106686c6b48c84d9bc0 (diff) | |
download | upstream-7170324f7780bc2b2bdfb1abe5d192b65d29c25e.tar.gz upstream-7170324f7780bc2b2bdfb1abe5d192b65d29c25e.tar.bz2 upstream-7170324f7780bc2b2bdfb1abe5d192b65d29c25e.zip |
ar71xx: Support for Mikrotik RB2011UiAS
The RB2011UiAS is almost exactly the same as the RB2011UAS, which is
already supported. Hardware-wise, it adds a passive power injector on
Eth10. Software-wise, Routerboot passes a different board name on the
kernel command line. Hence the need for a patch.
Not yet working:
* touchscreen: doesn't work on RB2011UAS either. The touchscreen itself
seems to be driven by an ADS7843-compatible IC, but figuring out which
GPIO pins it's connected to is work for the future.
* control of power injector: remains off. Probably also GPIO-controlled.
Signed-off-by: Soren Harward <stharward@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5841/
[juhosg: rename and refresh the kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41617 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 1 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 21f049f6f5..2e68efa9dc 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -72,6 +72,7 @@ rb-750) rb-2011l|\ rb-2011uas|\ +rb-2011uias|\ rb-2011uas-2hnd) ucidef_set_led_switch "eth6" "ETH6" "rb:green:eth6" "switch1" "0x20" ucidef_set_led_switch "eth7" "ETH7" "rb:green:eth7" "switch1" "0x10" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index 6a43d03b74..cebc70ae8d 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -57,6 +57,7 @@ tl-wdr4900-v2) db120 |\ rb-2011l | \ rb-2011uas |\ +rb-2011uias |\ rb-2011uas-2hnd) ucidef_set_interfaces_lan_wan "eth0.1 eth1" "eth0.2" ucidef_add_switch "switch0" "1" "1" @@ -66,7 +67,7 @@ rb-2011uas-2hnd) ucidef_add_switch_vlan "switch1" "1" "0 1 2 3 4 5" case "$board" in - rb-2011uas*) + rb-2011uas* | rb-2011uias) ucidef_set_interface_raw "sfp" "eth0.3" ucidef_add_switch_vlan "switch0" "3" "0t 6" ;; |