aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/P2812HNUFX.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/P2812HNUFX.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/P2812HNUFX.dtsi')
-rw-r--r--target/linux/lantiq/dts/P2812HNUFX.dtsi16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi
index 88f4d757fc..30eee502d0 100644
--- a/target/linux/lantiq/dts/P2812HNUFX.dtsi
+++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi
@@ -3,16 +3,16 @@
/ {
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_green;
- internet = &internet_green;
- wifi = &wireless_green;
- };
+ led-dsl = &dsl_green;
+ led-internet = &internet_green;
+ led-wifi = &wireless_green;
};
cputemp@0 {