aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorAllan Nick Pedrana <nik9993@gmail.com>2016-06-22 14:22:05 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-22 14:22:05 +0200
commitbebdc8766a78b738039c4137e7315560cf0d52a6 (patch)
treee1fa6083bbb30e3662a65ca1fe69b22096a3959d /target/linux/ar71xx/base-files/etc/board.d/01_leds
parent1d3853d41f0f9971acb32a9e4ef29e97c4cdacc3 (diff)
downloadmaster-187ad058-bebdc8766a78b738039c4137e7315560cf0d52a6.tar.gz
master-187ad058-bebdc8766a78b738039c4137e7315560cf0d52a6.tar.bz2
master-187ad058-bebdc8766a78b738039c4137e7315560cf0d52a6.zip
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>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds8
1 files changed, 8 insertions, 0 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 fc2bffe497..6936b8c873 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -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"