]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
MIPS: ath79: ar9331_dpt_module: update led nodes
authorOleksij Rempel <o.rempel@pengutronix.de>
Sun, 10 May 2020 06:03:23 +0000 (08:03 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 15 May 2020 07:33:34 +0000 (09:33 +0200)
Fit led nodes to the latest naming schema.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/qca/ar9331_dpt_module.dts

index 0f2b200448340e74cb47f38775010f03a12a030b..7695d326df116eee08eda459ca0d132cefc7034e 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 #include "ar9331.dtsi"
 
@@ -22,8 +23,9 @@
        leds {
                compatible = "gpio-leds";
 
-               system {
-                       label = "dpt-module:green:system";
+               led-0 {
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                        default-state = "off";
                };