#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "omnima,miniembplug", "ralink,rt5350-soc";
compatible = "gpio-leds";
wlan {
- label = "red:wlan";
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_RED>;
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
read-only;
};
- factory: partition@40000 {
+ partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;