leds {
compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <&led_pins>;
+
led_indicator: indicator {
label = "wrtnode:blue:indicator";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "i2c", "gpio", "wled_an";
+ ralink,group = "gpio";
+ ralink,function = "gpio";
+ };
+ };
+
+ led_pins: led {
+ gpio {
+ ralink,group = "wled_an";
ralink,function = "gpio";
};
};