// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+#include <dt-bindings/leds/common.h>
+
#include "qca9563_tplink_eap2x5-1port.dtsi"
/ {
compatible = "gpio-leds";
led_status_green: status_green {
- label = "green:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led_status_amber: status_amber {
- label = "amber:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_AMBER>;
gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
};
};