#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
aliases {
};
wlan {
- label = "white:wlan";
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
lan {
- label = "white:lan";
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
usb {
- label = "white:usb";
+ function = LED_FUNCTION_USB;
+ color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>, <&hub_port0>;
linux,default-trigger = "usbport";