summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/dts/DGN3500.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/DGN3500.dtsi
parent8b639410d188a979783cc57f9a4fedbcd362bf10 (diff)
downloadmtk-20170518-e07c80dfc881daed67c495d99885cc045f70d89a.zip
mtk-20170518-e07c80dfc881daed67c495d99885cc045f70d89a.tar.gz
mtk-20170518-e07c80dfc881daed67c495d99885cc045f70d89a.tar.bz2
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/DGN3500.dtsi')
-rw-r--r--target/linux/lantiq/dts/DGN3500.dtsi18
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi
index bc50e4a..f86ccc5 100644
--- a/target/linux/lantiq/dts/DGN3500.dtsi
+++ b/target/linux/lantiq/dts/DGN3500.dtsi
@@ -3,17 +3,17 @@
/ {
chosen {
bootargs = "root= console=ttyLTQ0,115200";
+ };
- 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 = &internet;
- usb = &usb;
- wifi = &wifi;
- };
+ led-dsl = &dsl;
+ led-internet = &internet;
+ led-usb = &usb;
+ led-wifi = &wifi;
};
memory@0 {