ramips: switch to legacy led label binding for jdcloud re-cp-02

`color` and `function` properties are not supported on 23.05-.

Fixes: 232f25f890 ("ramips: add missing label binding for jdcloud re-cp-02")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen
2024-02-27 19:03:54 +08:00
parent 97550efd03
commit e9cf40956b

View File

@@ -42,20 +42,17 @@
compatible = "gpio-leds";
led_status_red: led-0 {
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_STATUS;
label = "red:status";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status_blue: led-1 {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_STATUS;
label = "blue:status";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
led_status_green: led-2 {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_STATUS;
label = "green:status";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
};