boards: add "User LED" to arduino_due board DTS
This commit adds user yellow LED to arduino_due board DTS. Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
parent
d8fa80ffd7
commit
b5b895df8d
1 changed files with 10 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
uart-0 = &uart0;
|
||||
i2c-0 = &i2c0;
|
||||
i2c-1 = &i2c1;
|
||||
led0 = &yellow_led;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
@ -21,6 +22,15 @@
|
|||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
yellow_led: led_0 {
|
||||
gpios = <&piob 27 0>;
|
||||
label = "User LED";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue