[openwrt/openwrt] ath79: Add LED labels for Airtight C-75
LEDE Commits
lede-commits at lists.infradead.org
Sat Mar 12 22:43:06 PST 2022
mans0n pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/591a2b95254116f8286f369078c520ff84106079
commit 591a2b95254116f8286f369078c520ff84106079
Author: Sven Schwermer <sven at svenschwermer.de>
AuthorDate: Wed Mar 9 09:46:41 2022 +0100
ath79: Add LED labels for Airtight C-75
Keep labels since OpenWrt userland tooling (get_dt_led) depends on them
to find the LED instances referenced by the led-* aliases.
The label for the amber power LED was removed in 4eefdc7adb.
Signed-off-by: Sven Schwermer <sven at svenschwermer.de>
---
target/linux/ath79/dts/qca9550_airtight_c-75.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/linux/ath79/dts/qca9550_airtight_c-75.dts b/target/linux/ath79/dts/qca9550_airtight_c-75.dts
index 587610c6df..8dbf1c8bc4 100644
--- a/target/linux/ath79/dts/qca9550_airtight_c-75.dts
+++ b/target/linux/ath79/dts/qca9550_airtight_c-75.dts
@@ -32,12 +32,14 @@
compatible = "gpio-leds";
led_power_amber: power-amber {
+ label = "amber:power";
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_POWER;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_power_green: power-green {
+ label = "green:power";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_POWER;
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
More information about the lede-commits
mailing list