diff options
author | Christian Hewitt <christianshewitt@gmail.com> | 2021-10-12 07:25:22 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2021-11-15 10:28:17 +0100 |
commit | 1e9fc71213d784dfbd153289daf08fdfc87f32ba (patch) | |
tree | 0d78387d033096c72c53ad379e68799fe2a71c13 /arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | |
parent | arm64: dts: meson-gxbb-wetek: fix missing GPIO binding (diff) | |
download | linux-1e9fc71213d784dfbd153289daf08fdfc87f32ba.tar.xz linux-1e9fc71213d784dfbd153289daf08fdfc87f32ba.zip |
arm64: dts: meson-gxbb-wetek: use updated LED bindings
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
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi index a4d34398da35..94dafb955301 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi @@ -7,6 +7,7 @@ #include "meson-gxbb.dtsi" #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/leds/common.h> / { aliases { @@ -26,8 +27,10 @@ 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; |