1/*
2 * Copyright (c) 2020 Cobham Gaisler AB
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include "skeleton.dtsi"
8#include <dt-bindings/gpio/gpio.h>
9
10/ {
11	cpus {
12		#address-cells = <1>;
13		#size-cells = <0>;
14
15		cpu0: cpu@0 {
16			compatible = "gaisler,leon3";
17			reg = <0>;
18		};
19	};
20
21	dram: ram@30000000 {
22		/* tightly coupled data RAM */
23		reg = <0x30000000 0x00010000>;
24	};
25
26	iram: ram@31000000 {
27		/* tightly coupled instruction RAM */
28		reg = <0x31000000 0x00020000>;
29	};
30
31	soc {
32		#address-cells = <1>;
33		#size-cells = <1>;
34		compatible = "gaisler,gr716-soc", "simple-bus";
35		ranges;
36		interrupt-parent = <&irqmp>;
37
38		irqmp: irqmp0@80002000 {
39			compatible = "gaisler,irqmp";
40			reg = <0x80002000 0x400>;
41			eirq = <1>;
42			interrupt-controller;
43			#interrupt-cells = <1>;
44		};
45
46		timer0: gptimer@80003000 {
47			compatible = "gaisler,gptimer";
48			interrupts = <9>;
49			reg = <0x80003000 0x100>;
50		};
51
52		uart0: apbuart@80300000 {
53			compatible = "gaisler,apbuart";
54			interrupts = <24>;
55			reg = <0x80300000 0x100>;
56			status = "disabled";
57		};
58
59		uart1: apbuart@80301000 {
60			compatible = "gaisler,apbuart";
61			interrupts = <25>;
62			reg = <0x80301000 0x100>;
63			status = "disabled";
64		};
65
66		uart2: apbuart@80302000 {
67			compatible = "gaisler,apbuart";
68			interrupts = <3>;
69			reg = <0x80302000 0x100>;
70			status = "disabled";
71		};
72
73		uart3: apbuart@80303000 {
74			compatible = "gaisler,apbuart";
75			interrupts = <5>;
76			reg = <0x80303000 0x100>;
77			status = "disabled";
78		};
79
80		uart4: apbuart@80304000 {
81			compatible = "gaisler,apbuart";
82			interrupts = <6>;
83			reg = <0x80304000 0x100>;
84			status = "disabled";
85		};
86
87		uart5: apbuart@80305000 {
88			compatible = "gaisler,apbuart";
89			interrupts = <7>;
90			reg = <0x80305000 0x100>;
91			status = "disabled";
92		};
93
94		spim0: spi@fff00100 {
95			compatible = "gaisler,spimctrl";
96			reg = <0xfff00100 0x100>;
97			interrupts = <2 0>;
98			#address-cells = <1>;
99			#size-cells = <0>;
100			status = "disabled";
101		};
102
103		spim1: spi@fff00200 {
104			compatible = "gaisler,spimctrl";
105			reg = <0xfff00200 0x100>;
106			interrupts = <2 0>;
107			#address-cells = <1>;
108			#size-cells = <0>;
109			status = "disabled";
110		};
111
112		gpio0: gpio@8030c000 {
113			interrupts = <17>;
114			reg = <0x8030c000 0x1000>;
115			compatible = "gaisler,grgpio";
116			gpio-controller;
117			#gpio-cells = <2>;
118			status = "disabled";
119		};
120
121		gpio1: gpio@8030d000 {
122			interrupts = <16>;
123			reg = <0x8030d000 0x1000>;
124			compatible = "gaisler,grgpio";
125			gpio-controller;
126			#gpio-cells = <2>;
127			status = "disabled";
128		};
129	};
130};
131