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:
Piotr Mienkowski 2019-09-10 08:51:04 +02:00 committed by Kumar Gala
commit b5b895df8d

View file

@ -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 {