arm64: dts: ti: k3-am64-tqma64xxl-mbax4xxl: update gpio-led configuration
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Thu, 28 Sep 2023 11:45:13 +0000 (13:45 +0200)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 5 Oct 2023 15:25:25 +0000 (20:55 +0530)
Replace the deprecated label property with color/function.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Link: https://lore.kernel.org/r/79cb3cdfed19962ce0d4ae558de897695658a81f.1695901360.git.matthias.schiffer@ew.tq-group.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts

index 1cb44fb9d272918d1e4851312e1db4f13714f669..d95d80076a427027dc5c394b7d0660b748c2de30 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/net/ti-dp83867.h>
 #include <dt-bindings/phy/phy.h>
 #include <dt-bindings/pwm/pwm.h>
                pinctrl-0 = <&mcu_gpio_leds_pins>;
 
                led-0 {
-                       label = "led0";
                        gpios = <&mcu_gpio0 8 GPIO_ACTIVE_HIGH>;
+                       color = <LED_COLOR_ID_GREEN>;
+                       function = LED_FUNCTION_INDICATOR;
                };
                led-1 {
-                       label = "led1";
                        gpios = <&mcu_gpio0 9 GPIO_ACTIVE_HIGH>;
+                       color = <LED_COLOR_ID_YELLOW>;
+                       function = LED_FUNCTION_INDICATOR;
                };
        };