1/*
2 * SPDX-License-Identifier: Apache-2.0
3 *
4 * Copyright (c) 2021 ASPEED Technology Inc.
5 */
6
7#include <arm/armv7-m.dtsi>
8#include <mem.h>
9#include <zephyr/dt-bindings/clock/ast10x0_clock.h>
10
11/ {
12	cpus {
13		#address-cells = <1>;
14		#size-cells = <0>;
15
16		cpu@0 {
17			device_type = "cpu";
18			compatible = "arm,cortex-m4f";
19			reg = <0>;
20		};
21	};
22
23	sram0: memory@0 {
24		compatible = "mmio-sram";
25	};
26
27	soc {
28		syscon: syscon@7e6e2000 {
29			compatible = "syscon";
30			reg = <0x7e6e2000 0x1000>;
31			sysclk: sysclk {
32				compatible = "aspeed,ast10x0-clock";
33				#clock-cells = <1>;
34			};
35
36			sysrst: sysrst {
37				compatible = "aspeed,ast10x0-reset";
38				#reset-cells = <1>;
39			};
40		};
41
42		uart5: serial@7e784000 {
43			compatible = "ns16550";
44			reg = <0x7e784000 0x1000>;
45			interrupts = <8 0>;
46			clocks = <&sysclk ASPEED_CLK_UART5>;
47			status = "disabled";
48			reg-shift = <2>;
49		};
50	};
51};
52
53&nvic {
54	arm,num-irq-priority-bits = <3>;
55};
56