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/mt7620a_netcore_nw5212.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/mt7620a_netcore_nw5212.dts') diff --git a/target/linux/ramips/dts/mt7620a_netcore_nw5212.dts b/target/linux/ramips/dts/mt7620a_netcore_nw5212.dts index 34c3d4f42d..e01babc957 100644 --- a/target/linux/ramips/dts/mt7620a_netcore_nw5212.dts +++ b/target/linux/ramips/dts/mt7620a_netcore_nw5212.dts @@ -4,6 +4,7 @@ #include #include +#include / { compatible = "netcore,nw5212", "ralink,mt7620a-soc"; @@ -37,7 +38,8 @@ }; wan { - label = "green:wan"; + function = LED_FUNCTION_WAN; + color = ; gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; }; -- cgit v1.2.3