aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/ARV752DPW22.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/ARV752DPW22.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/ARV752DPW22.dts')
-rw-r--r--target/linux/lantiq/dts/ARV752DPW22.dts16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts
index d7103fbd22..db4a639b41 100644
--- a/target/linux/lantiq/dts/ARV752DPW22.dts
+++ b/target/linux/lantiq/dts/ARV752DPW22.dts
@@ -7,15 +7,15 @@
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+ };
- leds {
- boot = &power_red;
- failsafe = &power_blue;
- running = &power_red;
+ aliases {
+ led-boot = &power_red;
+ led-failsafe = &power_blue;
+ led-running = &power_red;
- internet = &internet_red;
- wifi = &wifi;
- };
+ led-internet = &internet_red;
+ led-wifi = &wifi;
};
memory@0 {
@@ -111,7 +111,7 @@
lantiq,open-drain = <1>;
lantiq,output = <1>;
};
- leds {
+ aliases {
lantiq,pins = "io3", "io5", "io6", "io8";
lantiq,open-drain = <1>;
lantiq,output = <1>;