zephyr/boards/snps/nsim/nsim-uart-ns16550.dtsi
Jamie McCrae f103c82c31 boards/socs: Rename folders to have proper vendor prefix in
Replaces inaccurate or wrong vendor prefixes in board and soc
folder names with those from thr vendor prefix file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-22 00:56:51 +01:00

29 lines
493 B
Plaintext

/*
* Copyright (c) 2023, Synopsys Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "skeleton.dtsi"
#ifndef UART0_IRQ_NUM
#define UART0_IRQ_NUM 24
#endif
/ {
uart0: uart@f0000000 {
compatible = "ns16550";
clock-frequency = <50000000>;
reg = <0xf0000000 0x400>;
current-speed = <115200>;
interrupt-parent = <&intc>;
interrupts = <UART0_IRQ_NUM 1>;
reg-shift = <2>;
};
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};
};