lantiq: fix usb leds/trigger

Add USB led aliases to boards having an led which is meant to be used
as USB led according to the manuals.

Remove the kmod-ledtrig-usbdev from the default package selection for
boards not having an USB led. Add the kmod-ledtrig-usbdev to boards
where it is missing.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2016-10-05 08:16:08 +02:00
parent e07c80dfc8
commit 7659f9ad9e
4 changed files with 11 additions and 8 deletions

View file

@ -15,6 +15,7 @@
led-running = &power;
led-internet = &internet;
led-usb = &umts;
led-wifi = &wlan;
};
@ -178,7 +179,7 @@
label = "wlan";
gpios = <&gpio 10 1>;
};
3g {
umts: 3g {
label = "3g";
gpios = <&gpio 15 1>;
};

View file

@ -15,6 +15,7 @@
led-running = &power_red;
led-internet = &internet_red;
led-usb = &umts;
led-wifi = &wifi;
};
@ -201,7 +202,7 @@
label = "arv752dpw:red:voice";
gpios = <&gpio 8 1>;
};
microphone {
umts: umts {
label = "arv752dpw:red:umts";
gpios = <&gpiomm 3 1>;
};

View file

@ -15,6 +15,7 @@
led-running = &power_red;
led-internet = &internet_red;
led-usb = &umts;
led-wifi = &wifi;
};
@ -205,7 +206,7 @@
label = "arv752dpw22:red:voice";
gpios = <&gpio 8 1>;
};
microphone {
umts: umts {
label = "arv752dpw22:red:umts";
gpios = <&gpiomm 3 1>;
};

View file

@ -249,7 +249,7 @@ TARGET_DEVICES += ARV4525PW
define Device/ARV452CQW
IMAGE_SIZE := 3776k
DEVICE_TITLE := Easybox 801 - ARV452CQW
DEVICE_PACKAGES := kmod-ltq-hcd-danube \
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \
kmod-ath5k wpad-mini \
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
@ -291,7 +291,7 @@ ifeq ($(SUBTARGET),xway)
define Device/BTHOMEHUBV2B
$(Device/NAND)
DEVICE_TITLE := BT Home Hub 2B
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \
DEVICE_PACKAGES := kmod-ltq-hcd-danube \
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
kmod-ltq-deu-danube \
@ -391,7 +391,7 @@ TARGET_DEVICES += ARV7518PW
define Device/ARV7519PW
IMAGE_SIZE := 15488k
DEVICE_TITLE := Astoria - ARV7519PW
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \
DEVICE_PACKAGES := kmod-ltq-hcd-danube \
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa \
@ -441,7 +441,7 @@ TARGET_DEVICES += ARV8539PW22
define Device/GIGASX76X
IMAGE_SIZE := 7680k
DEVICE_TITLE := Gigaset sx76x
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \
DEVICE_PACKAGES := kmod-ltq-hcd-danube \
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoe \
@ -456,7 +456,7 @@ TARGET_DEVICES += GIGASX76X
define Device/BTHOMEHUBV3A
$(Device/NAND)
DEVICE_TITLE := BT Home Hub 3A
DEVICE_PACKAGES := kmod-usb-dwc2 kmod-ledtrig-usbdev \
DEVICE_PACKAGES := kmod-usb-dwc2 \
kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
kmod-ltq-deu-ar9 \