2
0
forked from Ivasoft/openwrt

ar71xx: add support for OpenEmbed SOM9331

This patch adds the target profile SOM9331 and configures hardware
functionality for the 3x Eth Ports & corresponding LED's, the USB Host,
the USART to USB bridge and the System LED.

Signed-off-by: Allan Nick Pedrana <nik9993@gmail.com>
This commit is contained in:
Allan Nick Pedrana
2016-05-29 17:26:03 -05:00
committed by Jo-Philipp Wich
parent 69b45d2223
commit e61fe4e4d7
12 changed files with 176 additions and 0 deletions

View File

@@ -426,6 +426,14 @@ smart-300)
ucidef_set_led_wlan "wlan" "WLAN" "nc-link:green:wlan" "phy0tpt"
;;
som9331)
ucidef_set_led_netdev "wan" "WAN" "som9331:orange:wan" "eth1"
ucidef_set_led_switch "lan1" "LAN1" "som9331:orange:lan1" "switch0" "0x08"
ucidef_set_led_switch "lan2" "LAN2" "som9331:orange:lan2" "switch0" "0x02"
ucidef_set_led_wlan "wlan" "WLAN" "som9331:red:wlan" "phy0tpt"
ucidef_set_led_usbdev "usb" "USB" "som9331:green:system" "1-1"
;;
tellstick-znet-lite)
ucidef_set_led_netdev "lan_act" "LANACT" "tellstick:green:lan" "eth0" "tx rx"
ucidef_set_led_netdev "lan_link" "LANLINK" "tellstick:orange:lan" "eth0" "link"