ramips: Add support for VoCore

This is based and tested on VoCore Alpha, but other stuff like status/eth LEDs are present on the final board revision + VoDock.
All GPIOs are exported, except spi/i2c.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 41939
This commit is contained in:
John Crispin
2014-08-01 20:51:24 +00:00
parent 7d9bac5247
commit 21845cb45d
8 changed files with 256 additions and 0 deletions

View File

@@ -150,6 +150,10 @@ case $board in
v11st-fe)
set_wifi_led "rt2800pci-phy0::radio"
;;
vocore)
ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0"
set_wifi_led "vocore:green:status"
;;
w306r-v20)
set_wifi_led "rt2800pci-phy0::radio"
;;

View File

@@ -164,6 +164,12 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "0t 5"
;;
vocore)
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 4 6t"
;;
wcr-150gn)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"