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:
parent
de072e47b0
commit
faaa08b4c1
2 changed files with 4 additions and 2 deletions
|
@ -25,6 +25,7 @@
|
||||||
zephyr,sram = &sram0;
|
zephyr,sram = &sram0;
|
||||||
zephyr,flash = &flash0;
|
zephyr,flash = &flash0;
|
||||||
zephyr,code-partition = &slot0_partition;
|
zephyr,code-partition = &slot0_partition;
|
||||||
|
zephyr,display = &led_matrix;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_keys {
|
gpio_keys {
|
||||||
|
@ -40,7 +41,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
led_matrix {
|
led_matrix: led_matrix {
|
||||||
compatible = "nordic,nrf-led-matrix";
|
compatible = "nordic,nrf-led-matrix";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
label = "LED_MATRIX";
|
label = "LED_MATRIX";
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
zephyr,sram = &sram0;
|
zephyr,sram = &sram0;
|
||||||
zephyr,flash = &flash0;
|
zephyr,flash = &flash0;
|
||||||
zephyr,code-partition = &slot0_partition;
|
zephyr,code-partition = &slot0_partition;
|
||||||
|
zephyr,display = &led_matrix;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_keys {
|
gpio_keys {
|
||||||
|
@ -40,7 +41,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
led_matrix {
|
led_matrix: led_matrix {
|
||||||
compatible = "nordic,nrf-led-matrix";
|
compatible = "nordic,nrf-led-matrix";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
label = "LED_MATRIX";
|
label = "LED_MATRIX";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue