From e07c80dfc881daed67c495d99885cc045f70d89a Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Tue, 4 Oct 2016 20:34:03 +0200 Subject: lantiq: use aliases device tree node for leds The chosen node is clearly the wrong place for aliases. Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/ARV7518PW.dts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'target/linux/lantiq/dts/ARV7518PW.dts') 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>; }; -- cgit v1.2.3