ath79: don't use the pcs,cr5000 wps led as usb led

If it isn't a usb led, it shouldn't be used as one by default. It is up
to the user to add such a (mis)configuration for the board.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2018-08-16 09:53:26 +02:00
parent 0c5a532553
commit 3f09adaa55
2 changed files with 1 additions and 5 deletions

View file

@ -45,10 +45,6 @@ pcs,cr3000)
ucidef_set_led_switch "lan3" "LAN3" "pcs:blue:lan3" "switch0" "0x10" ucidef_set_led_switch "lan3" "LAN3" "pcs:blue:lan3" "switch0" "0x10"
ucidef_set_led_switch "lan4" "LAN4" "pcs:blue:lan4" "switch0" "0x02" ucidef_set_led_switch "lan4" "LAN4" "pcs:blue:lan4" "switch0" "0x02"
;; ;;
pcs,cr5000)
ucidef_set_led_usbdev "usb" "USB" "pcs:white:wps" "1-1"
;;
tplink,re450-v2) tplink,re450-v2)
ucidef_set_led_netdev "lan_data" "LAN Data" "tp-link:green:lan_data" "eth0" "tx rx" ucidef_set_led_netdev "lan_data" "LAN Data" "tp-link:green:lan_data" "eth0" "tx rx"
ucidef_set_led_netdev "lan_link" "LAN Link" "tp-link:green:lan_link" "eth0" "link" ucidef_set_led_netdev "lan_link" "LAN Link" "tp-link:green:lan_link" "eth0" "link"

View file

@ -127,7 +127,7 @@ TARGET_DEVICES += pcs_cr3000
define Device/pcs_cr5000 define Device/pcs_cr5000
ATH_SOC := ar9344 ATH_SOC := ar9344
DEVICE_TITLE := PowerCloud Systems CR5000 DEVICE_TITLE := PowerCloud Systems CR5000
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-core DEVICE_PACKAGES := kmod-usb2 kmod-usb-core
IMAGE_SIZE := 7808k IMAGE_SIZE := 7808k
IMAGES := sysupgrade.bin IMAGES := sysupgrade.bin
SUPPORTED_DEVICES += cr5000 SUPPORTED_DEVICES += cr5000