diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2020-05-10 08:03:23 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-05-15 09:33:34 +0200 |
commit | 24ce659dcc02c21f8d6c0a7589c3320a4dfa8152 (patch) | |
tree | 6ed25d27a2e70dd89dd15d77a6a78d2bb5b33f8c /arch/mips/boot | |
parent | MIPS: SGI-IP27: Use the _AC() macro in spaces.h (diff) | |
download | linux-24ce659dcc02c21f8d6c0a7589c3320a4dfa8152.tar.xz linux-24ce659dcc02c21f8d6c0a7589c3320a4dfa8152.zip |
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>
Diffstat (limited to 'arch/mips/boot')
-rw-r--r-- | arch/mips/boot/dts/qca/ar9331_dpt_module.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/boot/dts/qca/ar9331_dpt_module.dts b/arch/mips/boot/dts/qca/ar9331_dpt_module.dts index 0f2b20044834..7695d326df11 100644 --- a/arch/mips/boot/dts/qca/ar9331_dpt_module.dts +++ b/arch/mips/boot/dts/qca/ar9331_dpt_module.dts @@ -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"; }; |