1/*
2 * Copyright (c) 2021 Space Cubics, LLC. <yashi@spacecubics.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8#include <arm/armv7-m.dtsi>
9#include <mem.h>
10
11/ {
12	model = "Space Cubics OBC module 1";
13
14	chosen {
15		zephyr,console = &uartlite0;
16		zephyr,shell-uart = &uartlite0;
17		zephyr,sram = &hrmem;
18	};
19
20	cpus {
21		#address-cells = <1>;
22		#size-cells = <0>;
23
24		cpu0: cpu@0 {
25			device_type = "cpu";
26			compatible = "arm,cortex-m3";
27			reg = <0>;
28			#address-cells = <1>;
29			#size-cells = <1>;
30
31			mpu: mpu@e000ed90 {
32				compatible = "arm,armv7m-mpu";
33				reg = <0xe000ed90 0x40>;
34				arm,num-mpu-regions = <8>;
35			};
36		};
37	};
38
39	soc {
40		hrmem: memory@0 {
41			compatible = "sc,hrmem";
42			reg = <0x00000000 DT_SIZE_K(128)>;
43		};
44
45		uartlite0: uartlite@50010000 {
46			compatible = "xlnx,xps-uartlite-1.00.a";
47			interrupts = <0 0>;
48			reg = <0x50010000 0x10000>;
49		};
50	};
51};
52
53&nvic {
54	arm,num-irq-priority-bits = <3>;
55};
56