projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: vr9: set the usb led trigger via devicetree
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
files
/
arch
/
mips
/
boot
/
dts
/
lantiq
/
vr9_tplink_tdw89x0.dtsi
diff --git
a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi
b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi
index aa6c308ffee3561b53853062fcfe13321e670ca0..d33b817f2d70bc1f6f206fb623b7060d409fb89e 100644
(file)
--- a/
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi
+++ b/
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi
@@
-18,8
+18,6
@@
led-dsl = &led_dsl;
led-internet = &led_internet;
led-wifi = &led_wifi;
led-dsl = &led_dsl;
led-internet = &led_internet;
led-wifi = &led_wifi;
- led-usb = &led_usb0;
- led-usb2 = &led_usb2;
};
memory@0 {
};
memory@0 {
@@
-67,14
+65,18
@@
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
};
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
};
-
led_usb0:
usb0 {
+ usb0 {
label = "green:usb";
gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
label = "green:usb";
gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
+ trigger-sources = <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
-
led_usb2:
usb2 {
+ usb2 {
label = "green:usb2";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
label = "green:usb2";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
+ trigger-sources = <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
led_wps: wps {
};
led_wps: wps {