// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+#include <dt-bindings/leds/common.h>
+
#include "qca955x_senao_router-dual.dtsi"
/ {
compatible = "gpio-leds";
led_power: power {
- label = "amber:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_AMBER>;
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "on";
};
};
wps_amber {
- label = "amber:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_AMBER>;
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
wps_blue {
- label = "blue:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};