boards: bbc_microbits: add chosen display property

Add chosen display property to bbc:microbit and
bbc:microbit v2 boards.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2021-12-15 23:28:27 +01:00 committed by Carles Cufí
commit faaa08b4c1
2 changed files with 4 additions and 2 deletions

View file

@ -25,6 +25,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,display = &led_matrix;
};
gpio_keys {
@ -40,7 +41,7 @@
};
};
led_matrix {
led_matrix: led_matrix {
compatible = "nordic,nrf-led-matrix";
status = "okay";
label = "LED_MATRIX";

View file

@ -25,6 +25,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,display = &led_matrix;
};
gpio_keys {
@ -40,7 +41,7 @@
};
};
led_matrix {
led_matrix: led_matrix {
compatible = "nordic,nrf-led-matrix";
status = "okay";
label = "LED_MATRIX";