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/ARV752DPW22.dts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'target/linux/lantiq/dts/ARV752DPW22.dts') 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>; -- cgit v1.2.3