From e9cf40956b6e3c09ca1a84332ad1ad488dac8cf9 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Tue, 27 Feb 2024 19:03:54 +0800 Subject: [PATCH] ramips: switch to legacy led label binding for jdcloud re-cp-02 `color` and `function` properties are not supported on 23.05-. Fixes: 232f25f890cd ("ramips: add missing label binding for jdcloud re-cp-02") Signed-off-by: Tianling Shen --- target/linux/ramips/dts/mt7621_jdcloud_re-cp-02.dts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/target/linux/ramips/dts/mt7621_jdcloud_re-cp-02.dts b/target/linux/ramips/dts/mt7621_jdcloud_re-cp-02.dts index 1017e1984d..448a4b417f 100644 --- a/target/linux/ramips/dts/mt7621_jdcloud_re-cp-02.dts +++ b/target/linux/ramips/dts/mt7621_jdcloud_re-cp-02.dts @@ -42,20 +42,17 @@ compatible = "gpio-leds"; led_status_red: led-0 { - color = ; - function = LED_FUNCTION_STATUS; + label = "red:status"; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; }; led_status_blue: led-1 { - color = ; - function = LED_FUNCTION_STATUS; + label = "blue:status"; gpios = <&gpio 7 GPIO_ACTIVE_LOW>; }; led_status_green: led-2 { - color = ; - function = LED_FUNCTION_STATUS; + label = "green:status"; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; }; };