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			};
35		};
36	};
37
38	soc {
39		hrmem: memory@0 {
40			compatible = "sc,hrmem";
41			reg = <0x00000000 DT_SIZE_K(128)>;
42		};
43
44		uartlite0: uartlite@50010000 {
45			compatible = "xlnx,xps-uartlite-1.00.a";
46			interrupts = <0 0>;
47			reg = <0x50010000 0x10000>;
48		};
49	};
50};
51
52&nvic {
53	arm,num-irq-priority-bits = <3>;
54};
55