bmips: add subtargets for each SoC
[openwrt/staging/jow.git] / target / linux / bmips / bcm6362 / base-files / etc / board.d / 01_leds
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 . /lib/functions/leds.sh
4 . /lib/functions/uci-defaults.sh
5
6 board_config_update
7
8 case "$(board_name)" in
9 huawei,hg253s-v2)
10 ucidef_set_led_usbport "usb" "USB" "green:usb" "usb1-port1" "usb2-port1"
11 ;;
12 netgear,dgnd3700-v2)
13 ucidef_set_led_usbport "usb1" "USB1" "green:usb1" "usb1-port1" "usb2-port1"
14 ucidef_set_led_usbport "usb2" "USB2" "green:usb2" "usb1-port2" "usb2-port2"
15 ;;
16 esac
17
18 board_config_flush
19
20 exit 0