1/* 2 * Copyright (c) 2023, Synopsys Inc. All rights reserved. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include "skeleton.dtsi" 8 9#ifndef UART0_IRQ_NUM 10#define UART0_IRQ_NUM 24 11#endif 12 13/ { 14 uart0: uart@f0000000 { 15 compatible = "ns16550"; 16 clock-frequency = <50000000>; 17 reg = <0xf0000000 0x400>; 18 current-speed = <115200>; 19 interrupt-parent = <&intc>; 20 interrupts = <UART0_IRQ_NUM 1>; 21 reg-shift = <2>; 22 }; 23 24 chosen { 25 zephyr,console = &uart0; 26 zephyr,shell-uart = &uart0; 27 }; 28}; 29