aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorSven Schwermer <sven@svenschwermer.de>2022-03-09 09:46:41 +0100
committerSungbo Eo <mans0n@gorani.run>2022-03-13 12:39:58 +0900
commit591a2b95254116f8286f369078c520ff84106079 (patch)
tree42b52bf6c157195bca9b8ac9bc87b6c7909e533a /target/linux/ath79
parent7fa227ead5246cfa61b38888b2394d433ad66f36 (diff)
downloadupstream-591a2b95254116f8286f369078c520ff84106079.tar.gz
upstream-591a2b95254116f8286f369078c520ff84106079.tar.bz2
upstream-591a2b95254116f8286f369078c520ff84106079.zip
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@svenschwermer.de>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/dts/qca9550_airtight_c-75.dts2
1 files changed, 2 insertions, 0 deletions
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>;