MIPS: ath79: ar9331_dpt_module: update led nodes

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>
This commit is contained in:
Oleksij Rempel 2020-05-10 08:03:23 +02:00 committed by Thomas Bogendoerfer
parent 83dd9a0b66
commit 24ce659dcc

View 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 @@ memory@0 {
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";
};