-/dts-v1/;
-
#include "mt7628an_wrtnode_wrtnode2.dtsi"
/ {
pinctrl-0 = <&led_pins>;
led_indicator: indicator {
- label = "wrtnode:blue:indicator";
+ function = LED_FUNCTION_INDICATOR;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
&state_default {
gpio {
- ralink,group = "gpio";
- ralink,function = "gpio";
+ groups = "gpio";
+ function = "gpio";
};
};
&pinctrl {
led_pins: led {
gpio {
- ralink,group = "wled_an";
- ralink,function = "gpio";
+ groups = "wled_an";
+ function = "gpio";
};
};
};
reg = <1>;
spi-max-frequency = <10000000>;
};
+#include <dt-bindings/leds/common.h>
+
};