summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-10-05 08:16:08 +0200
committerMathias Kresin <dev@kresin.me>2016-10-05 19:23:23 +0200
commit7659f9ad9e5d6ffea93bd73989535346f0b14131 (patch)
tree909a7d60bf7affbba11aa8d9e3d22b6bbbb8d38f /target
parente07c80dfc881daed67c495d99885cc045f70d89a (diff)
downloadmtk-20170518-7659f9ad9e5d6ffea93bd73989535346f0b14131.zip
mtk-20170518-7659f9ad9e5d6ffea93bd73989535346f0b14131.tar.gz
mtk-20170518-7659f9ad9e5d6ffea93bd73989535346f0b14131.tar.bz2
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>
Diffstat (limited to 'target')
-rw-r--r--target/linux/lantiq/dts/ARV7510PW22.dts3
-rw-r--r--target/linux/lantiq/dts/ARV752DPW.dts3
-rw-r--r--target/linux/lantiq/dts/ARV752DPW22.dts3
-rw-r--r--target/linux/lantiq/image/Makefile10
4 files changed, 11 insertions, 8 deletions
diff --git a/target/linux/lantiq/dts/ARV7510PW22.dts b/target/linux/lantiq/dts/ARV7510PW22.dts
index ac97409..90a55fe 100644
--- a/target/linux/lantiq/dts/ARV7510PW22.dts
+++ b/target/linux/lantiq/dts/ARV7510PW22.dts
@@ -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>;
};
diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts
index e37c795..913f831 100644
--- a/target/linux/lantiq/dts/ARV752DPW.dts
+++ b/target/linux/lantiq/dts/ARV752DPW.dts
@@ -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>;
};
diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts
index db4a639..2ec634f 100644
--- a/target/linux/lantiq/dts/ARV752DPW22.dts
+++ b/target/linux/lantiq/dts/ARV752DPW22.dts
@@ -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>;
};
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile
index 8e06a99..54a6caf 100644
--- a/target/linux/lantiq/image/Makefile
+++ b/target/linux/lantiq/image/Makefile
@@ -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 \