aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/TDW89X0.dtsi
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-10-04 20:34:03 +0200
committerMathias Kresin <dev@kresin.me>2016-10-05 19:23:23 +0200
commite07c80dfc881daed67c495d99885cc045f70d89a (patch)
tree2da8a52c1aa361717b20657c1ed80a4e0ff579ca /target/linux/lantiq/dts/TDW89X0.dtsi
parent8b639410d188a979783cc57f9a4fedbcd362bf10 (diff)
downloadupstream-e07c80dfc881daed67c495d99885cc045f70d89a.tar.gz
upstream-e07c80dfc881daed67c495d99885cc045f70d89a.tar.bz2
upstream-e07c80dfc881daed67c495d99885cc045f70d89a.zip
lantiq: use aliases device tree node for leds
The chosen node is clearly the wrong place for aliases. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/dts/TDW89X0.dtsi')
-rw-r--r--target/linux/lantiq/dts/TDW89X0.dtsi18
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/dts/TDW89X0.dtsi
index b3eaf7373f..d6a89fe0f7 100644
--- a/target/linux/lantiq/dts/TDW89X0.dtsi
+++ b/target/linux/lantiq/dts/TDW89X0.dtsi
@@ -3,17 +3,17 @@
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+ };
- leds {
- /* the power led can't be controlled, use the wps led instead */
- boot = &wps;
- failsafe = &wps;
+ aliases {
+ /* the power led can't be controlled, use the wps led instead */
+ led-boot = &wps;
+ led-failsafe = &wps;
- dsl = &dsl;
- internet = &internet;
- usb = &usb0;
- usb2 = &usb2;
- };
+ led-dsl = &dsl;
+ led-internet = &internet;
+ led-usb = &usb0;
+ led-usb2 = &usb2;
};
memory@0 {