mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
From 8e92a8d45aecb19c6bcfe569cf238f0f476b293f Mon Sep 17 00:00:00 2001
|
|
From: Christian Hewitt <christianshewitt@gmail.com>
|
|
Date: Tue, 12 Oct 2021 04:58:38 +0000
|
|
Subject: [PATCH 17/60] FROMGIT: 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>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 7 +++++--
|
|
1 file 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;
|
|
--
|
|
2.17.1
|
|
|