1/* SPDX-License-Identifier: Apache-2.0 */
2/*
3 * Copyright 2018 Broadcom.
4 */
5
6#include <arm/armv7-m.dtsi>
7#include <broadcom/valkyrie-irq.h>
8
9/ {
10	cpus {
11		#address-cells = <1>;
12		#size-cells = <0>;
13
14		cpu@0 {
15			device_type = "cpu";
16			compatible = "arm,cortex-m7";
17			reg = <0>;
18			#address-cells = <1>;
19			#size-cells = <1>;
20
21			mpu: mpu@e000ed90 {
22				compatible = "arm,armv7m-mpu";
23				reg = <0xe000ed90 0x40>;
24			};
25		};
26	};
27
28	soc {
29		sram0: memory@400000 {
30			device_type = "memory";
31			reg = <0x00400000 0x30000>;
32		};
33
34		uart0: uart@40020000 {
35			compatible = "ns16550";
36			reg = <0x40020000 0x400>;
37			clock-frequency = <25000000>;
38			interrupts = <MCU_AON_UART_INTR 3>;
39			reg-shift = <2>;
40			status = "disabled";
41		};
42
43		uart1: uart@48100000 {
44			compatible = "ns16550";
45			reg = <0x48100000 0x400>;
46			clock-frequency = <100000000>;
47			interrupts = <UART0_INTR 3>;
48			reg-shift = <2>;
49			status = "disabled";
50		};
51	};
52};
53
54&nvic {
55	arm,num-irq-priority-bits = <3>;
56};
57