diff options
author | Mathias Kresin <dev@kresin.me> | 2016-10-04 20:34:03 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-10-05 19:23:23 +0200 |
commit | e07c80dfc881daed67c495d99885cc045f70d89a (patch) | |
tree | 2da8a52c1aa361717b20657c1ed80a4e0ff579ca /target/linux/lantiq/dts/ARV7518PW.dts | |
parent | 8b639410d188a979783cc57f9a4fedbcd362bf10 (diff) | |
download | upstream-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.dts | 20 |
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>; }; |