zephyr/boards/sparc/generic_leon3/generic_leon3.dts
Martin Åberg 51188bc6df board: set chosen zephyr,shell-uart in LEON boards DTS
This associates the SHELL UART backend with the DTS uart0. It solves
an issue with unresponsive shell.

Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
2021-05-28 06:31:59 -05:00

26 lines
308 B
Plaintext

/*
* Copyright (c) 2019-2020 Cobham Gaisler AB
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <leon3soc.dtsi>
/ {
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &ram0;
};
};
&ram0 {
reg = <0x40000000 0x00400000>;
};
&uart0 {
status = "okay";
};