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/P2812HNUFX.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'target/linux/lantiq/dts/P2812HNUFX.dtsi') diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi index 88f4d75..30eee50 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 { -- cgit v1.1