arm64: dts: meson-gxbb-wetek: use updated LED bindings
authorChristian Hewitt <christianshewitt@gmail.com>
Tue, 12 Oct 2021 05:25:22 +0000 (05:25 +0000)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 15 Nov 2021 09:28:17 +0000 (10:28 +0100)
Update the dts to use the newer style of LED bindings.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20211012052522.30873-4-christianshewitt@gmail.com
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi

index a4d34398da358c054749e6599bb445dee01ab3e9..94dafb955301b19b976d7c09b2dcf831489ad873 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "meson-gxbb.dtsi"
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        aliases {
        leds {
                compatible = "gpio-leds";
 
-               led-system {
-                       label = "wetek-play:system-status";
+               led-power {
+                       /* red in suspend or power-off */
+                       color = <LED_COLOR_ID_BLUE>;
+                       function = LED_FUNCTION_POWER;
                        gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                        panic-indicator;