ath79: Add LED labels for Airtight C-75
authorSven Schwermer <sven@svenschwermer.de>
Wed, 9 Mar 2022 08:46:41 +0000 (09:46 +0100)
committerSungbo Eo <mans0n@gorani.run>
Sun, 13 Mar 2022 03:39:58 +0000 (12:39 +0900)
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>
target/linux/ath79/dts/qca9550_airtight_c-75.dts

index 587610c6df334b8fa2ccfe25faa1d1e5e685def6..8dbf1c8bc465d8986aa0cb331feea7f608525da3 100644 (file)
                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>;