From 19c45b95dbb53a7ba1a26c201277ca86293bf404 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Wed, 7 Feb 2024 14:48:43 +0100 Subject: ramips: convert to new LED color/function format where possible Initial conversion to new LED color/function format and drop label format where possible. The same label is composed at runtime. Signed-off-by: Christian Marangi --- target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts') diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts index 1cca6f6b57..8bb55bfba8 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts +++ b/target/linux/ramips/dts/mt7621_dlink_dir-3060-a1.dts @@ -4,6 +4,7 @@ #include #include +#include / { compatible = "dlink,dir-3060-a1", "mediatek,mt7621-soc"; @@ -37,12 +38,14 @@ compatible = "gpio-leds"; led_power_orange: power_orange { - label = "orange:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; }; led_power_white: power_white { - label = "white:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; }; -- cgit v1.2.3