aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/ARV7518PW.dts
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/ARV7518PW.dts
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/ARV7518PW.dts')
-rw-r--r--target/linux/lantiq/dts/ARV7518PW.dts20
1 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts
index 6e2b8ef6d3..7e6a28ad03 100644
--- a/target/linux/lantiq/dts/ARV7518PW.dts
+++ b/target/linux/lantiq/dts/ARV7518PW.dts
@@ -7,17 +7,17 @@
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+ };
- leds {
- boot = &power_green;
- failsafe = &power_red;
- running = &power_green;
+ aliases {
+ led-boot = &power_green;
+ led-failsafe = &power_red;
+ led-running = &power_green;
- dsl = &dsl;
- internet = &online_green;
- usb = &usb;
- wifi = &wifi;
- };
+ led-dsl = &dsl;
+ led-internet = &online_green;
+ led-usb = &usb;
+ led-wifi = &wifi;
};
memory@0 {
@@ -115,7 +115,7 @@
lantiq,pull = <2>;
lantiq,output = <1>;
};
- leds {
+ aliases {
lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
lantiq,output = <1>;
};