I want to use GPIO LEDs on the WizFi630a module. In the DTS I have this:
gpio-leds {
compatible = "gpio-leds";run { label = "wizfi630a::run"; gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; }; wifi { label = "wizfi630a::wifi"; gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; };
};
But the LEDs doesn't show up in /sys/class/leds/.
I have this error message in the logs:
leds-gpio: probe of gpio-leds failed with error -16
What do I do wrong?
Thanks,
Levente