boards: arm: nrf5340: Add pwm-led0 alias
The `pwm-led0` alias is required for building fade_led and blinky_pwm samples. Signed-off-by: Sigurd Olav Nevstad <sigurdolav.nevstad@nordicsemi.no>
This commit is contained in:
parent
9e219e4067
commit
8a51f9e42e
1 changed files with 8 additions and 0 deletions
|
@ -34,6 +34,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pwmleds {
|
||||||
|
compatible = "pwm-leds";
|
||||||
|
pwm_led0: pwm_led_0 {
|
||||||
|
pwms = <&pwm0 28>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
buttons {
|
buttons {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
button0: button_0 {
|
button0: button_0 {
|
||||||
|
@ -100,6 +107,7 @@
|
||||||
led1 = &led1;
|
led1 = &led1;
|
||||||
led2 = &led2;
|
led2 = &led2;
|
||||||
led3 = &led3;
|
led3 = &led3;
|
||||||
|
pwm-led0 = &pwm_led0;
|
||||||
sw0 = &button0;
|
sw0 = &button0;
|
||||||
sw1 = &button1;
|
sw1 = &button1;
|
||||||
sw2 = &button2;
|
sw2 = &button2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue