Skip to content

Commit faaa08b

Browse files
jfischer-nocarlescufi
authored andcommitted
boards: bbc_microbits: add chosen display property
Add chosen display property to bbc:microbit and bbc:microbit v2 boards. Signed-off-by: Johann Fischer <[email protected]>
1 parent de072e4 commit faaa08b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

boards/arm/bbc_microbit/bbc_microbit.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
zephyr,sram = &sram0;
2626
zephyr,flash = &flash0;
2727
zephyr,code-partition = &slot0_partition;
28+
zephyr,display = &led_matrix;
2829
};
2930

3031
gpio_keys {
@@ -40,7 +41,7 @@
4041
};
4142
};
4243

43-
led_matrix {
44+
led_matrix: led_matrix {
4445
compatible = "nordic,nrf-led-matrix";
4546
status = "okay";
4647
label = "LED_MATRIX";

boards/arm/bbc_microbit_v2/bbc_microbit_v2.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
zephyr,sram = &sram0;
2626
zephyr,flash = &flash0;
2727
zephyr,code-partition = &slot0_partition;
28+
zephyr,display = &led_matrix;
2829
};
2930

3031
gpio_keys {
@@ -40,7 +41,7 @@
4041
};
4142
};
4243

43-
led_matrix {
44+
led_matrix: led_matrix {
4445
compatible = "nordic,nrf-led-matrix";
4546
status = "okay";
4647
label = "LED_MATRIX";

0 commit comments

Comments
 (0)