xref: /linux/scripts/dtc/include-prefixes/arm64/realtek/rtd139x.dtsi (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1769c00a2SAndreas Färber// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
2769c00a2SAndreas Färber/*
3769c00a2SAndreas Färber * Realtek RTD1395 SoC family
4769c00a2SAndreas Färber *
5769c00a2SAndreas Färber * Copyright (c) 2019 Andreas Färber
6769c00a2SAndreas Färber */
7769c00a2SAndreas Färber
8769c00a2SAndreas Färber/memreserve/	0x0000000000000000 0x000000000002f000;
9769c00a2SAndreas Färber/memreserve/	0x000000000002f000 0x00000000000d1000;
10769c00a2SAndreas Färber
11769c00a2SAndreas Färber#include <dt-bindings/interrupt-controller/arm-gic.h>
12769c00a2SAndreas Färber#include <dt-bindings/reset/realtek,rtd1295.h>
13769c00a2SAndreas Färber
14769c00a2SAndreas Färber/ {
15769c00a2SAndreas Färber	interrupt-parent = <&gic>;
16769c00a2SAndreas Färber	#address-cells = <1>;
17769c00a2SAndreas Färber	#size-cells = <1>;
18769c00a2SAndreas Färber
19769c00a2SAndreas Färber	reserved-memory {
20769c00a2SAndreas Färber		#address-cells = <1>;
21769c00a2SAndreas Färber		#size-cells = <1>;
22769c00a2SAndreas Färber		ranges;
23769c00a2SAndreas Färber
24769c00a2SAndreas Färber		rpc_comm: rpc@2f000 {
25769c00a2SAndreas Färber			reg = <0x2f000 0x1000>;
26769c00a2SAndreas Färber		};
27769c00a2SAndreas Färber
28769c00a2SAndreas Färber		rpc_ringbuf: rpc@1ffe000 {
29769c00a2SAndreas Färber			reg = <0x1ffe000 0x4000>;
30769c00a2SAndreas Färber		};
31769c00a2SAndreas Färber
32769c00a2SAndreas Färber		tee: tee@10100000 {
33769c00a2SAndreas Färber			reg = <0x10100000 0xf00000>;
34769c00a2SAndreas Färber			no-map;
35769c00a2SAndreas Färber		};
36769c00a2SAndreas Färber	};
37769c00a2SAndreas Färber
38769c00a2SAndreas Färber	arm_pmu: arm-pmu {
39769c00a2SAndreas Färber		compatible = "arm,cortex-a53-pmu";
40769c00a2SAndreas Färber		interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
41769c00a2SAndreas Färber	};
42769c00a2SAndreas Färber
43769c00a2SAndreas Färber	osc27M: osc {
44769c00a2SAndreas Färber		compatible = "fixed-clock";
45769c00a2SAndreas Färber		clock-frequency = <27000000>;
46769c00a2SAndreas Färber		#clock-cells = <0>;
47769c00a2SAndreas Färber		clock-output-names = "osc27M";
48769c00a2SAndreas Färber	};
49769c00a2SAndreas Färber
50*ed719eaaSKrzysztof Kozlowski	soc@0 {
51769c00a2SAndreas Färber		compatible = "simple-bus";
52769c00a2SAndreas Färber		#address-cells = <1>;
53769c00a2SAndreas Färber		#size-cells = <1>;
54769c00a2SAndreas Färber		ranges = <0x00000000 0x00000000 0x0001f000>, /* boot ROM */
55769c00a2SAndreas Färber			 <0x98000000 0x98000000 0x68000000>;
56769c00a2SAndreas Färber
57769c00a2SAndreas Färber		rbus: bus@98000000 {
58769c00a2SAndreas Färber			compatible = "simple-bus";
59769c00a2SAndreas Färber			reg = <0x98000000 0x200000>;
60769c00a2SAndreas Färber			#address-cells = <1>;
61769c00a2SAndreas Färber			#size-cells = <1>;
62769c00a2SAndreas Färber			ranges = <0x0 0x98000000 0x200000>;
63769c00a2SAndreas Färber
64a5360a35SAndreas Färber			crt: syscon@0 {
65a5360a35SAndreas Färber				compatible = "syscon", "simple-mfd";
66a5360a35SAndreas Färber				reg = <0x0 0x1000>;
67a5360a35SAndreas Färber				reg-io-width = <4>;
68a5360a35SAndreas Färber				#address-cells = <1>;
69a5360a35SAndreas Färber				#size-cells = <1>;
70a5360a35SAndreas Färber				ranges = <0x0 0x0 0x1000>;
71a5360a35SAndreas Färber			};
72a5360a35SAndreas Färber
73a5360a35SAndreas Färber			iso: syscon@7000 {
74a5360a35SAndreas Färber				compatible = "syscon", "simple-mfd";
75a5360a35SAndreas Färber				reg = <0x7000 0x1000>;
76a5360a35SAndreas Färber				reg-io-width = <4>;
77a5360a35SAndreas Färber				#address-cells = <1>;
78a5360a35SAndreas Färber				#size-cells = <1>;
79a5360a35SAndreas Färber				ranges = <0x0 0x7000 0x1000>;
80a5360a35SAndreas Färber			};
81a5360a35SAndreas Färber
82dd473726SAndreas Färber			sb2: syscon@1a000 {
83dd473726SAndreas Färber				compatible = "syscon", "simple-mfd";
84dd473726SAndreas Färber				reg = <0x1a000 0x1000>;
85dd473726SAndreas Färber				reg-io-width = <4>;
86dd473726SAndreas Färber				#address-cells = <1>;
87dd473726SAndreas Färber				#size-cells = <1>;
88dd473726SAndreas Färber				ranges = <0x0 0x1a000 0x1000>;
89dd473726SAndreas Färber			};
90dd473726SAndreas Färber
91a5360a35SAndreas Färber			misc: syscon@1b000 {
92a5360a35SAndreas Färber				compatible = "syscon", "simple-mfd";
93a5360a35SAndreas Färber				reg = <0x1b000 0x1000>;
94a5360a35SAndreas Färber				reg-io-width = <4>;
95a5360a35SAndreas Färber				#address-cells = <1>;
96a5360a35SAndreas Färber				#size-cells = <1>;
97a5360a35SAndreas Färber				ranges = <0x0 0x1b000 0x1000>;
98a5360a35SAndreas Färber			};
99dd473726SAndreas Färber
100dd473726SAndreas Färber			scpu_wrapper: syscon@1d000 {
101dd473726SAndreas Färber				compatible = "syscon", "simple-mfd";
102dd473726SAndreas Färber				reg = <0x1d000 0x2000>;
103dd473726SAndreas Färber				reg-io-width = <4>;
104dd473726SAndreas Färber				#address-cells = <1>;
105dd473726SAndreas Färber				#size-cells = <1>;
106dd473726SAndreas Färber				ranges = <0x0 0x1d000 0x2000>;
107dd473726SAndreas Färber			};
108a5360a35SAndreas Färber		};
109a5360a35SAndreas Färber
110a5360a35SAndreas Färber		gic: interrupt-controller@ff011000 {
111a5360a35SAndreas Färber			compatible = "arm,gic-400";
112a5360a35SAndreas Färber			reg = <0xff011000 0x1000>,
113a5360a35SAndreas Färber			      <0xff012000 0x2000>,
114a5360a35SAndreas Färber			      <0xff014000 0x2000>,
115a5360a35SAndreas Färber			      <0xff016000 0x2000>;
116a5360a35SAndreas Färber			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
117a5360a35SAndreas Färber			interrupt-controller;
118a5360a35SAndreas Färber			#interrupt-cells = <3>;
119a5360a35SAndreas Färber		};
120a5360a35SAndreas Färber	};
121a5360a35SAndreas Färber};
122a5360a35SAndreas Färber
123a5360a35SAndreas Färber&crt {
124769c00a2SAndreas Färber	reset1: reset-controller@0 {
125769c00a2SAndreas Färber		compatible = "snps,dw-low-reset";
126769c00a2SAndreas Färber		reg = <0x0 0x4>;
127769c00a2SAndreas Färber		#reset-cells = <1>;
128769c00a2SAndreas Färber	};
129769c00a2SAndreas Färber
130769c00a2SAndreas Färber	reset2: reset-controller@4 {
131769c00a2SAndreas Färber		compatible = "snps,dw-low-reset";
132769c00a2SAndreas Färber		reg = <0x4 0x4>;
133769c00a2SAndreas Färber		#reset-cells = <1>;
134769c00a2SAndreas Färber	};
135769c00a2SAndreas Färber
136769c00a2SAndreas Färber	reset3: reset-controller@8 {
137769c00a2SAndreas Färber		compatible = "snps,dw-low-reset";
138769c00a2SAndreas Färber		reg = <0x8 0x4>;
139769c00a2SAndreas Färber		#reset-cells = <1>;
140769c00a2SAndreas Färber	};
141769c00a2SAndreas Färber
142769c00a2SAndreas Färber	reset4: reset-controller@50 {
143769c00a2SAndreas Färber		compatible = "snps,dw-low-reset";
144769c00a2SAndreas Färber		reg = <0x50 0x4>;
145769c00a2SAndreas Färber		#reset-cells = <1>;
146769c00a2SAndreas Färber	};
147a5360a35SAndreas Färber};
148769c00a2SAndreas Färber
149a5360a35SAndreas Färber&iso {
150a5360a35SAndreas Färber	iso_reset: reset-controller@88 {
151769c00a2SAndreas Färber		compatible = "snps,dw-low-reset";
152a5360a35SAndreas Färber		reg = <0x88 0x4>;
153769c00a2SAndreas Färber		#reset-cells = <1>;
154769c00a2SAndreas Färber	};
155769c00a2SAndreas Färber
156a5360a35SAndreas Färber	wdt: watchdog@680 {
157769c00a2SAndreas Färber		compatible = "realtek,rtd1295-watchdog";
158a5360a35SAndreas Färber		reg = <0x680 0x100>;
159769c00a2SAndreas Färber		clocks = <&osc27M>;
160769c00a2SAndreas Färber	};
161769c00a2SAndreas Färber
162a5360a35SAndreas Färber	uart0: serial@800 {
163769c00a2SAndreas Färber		compatible = "snps,dw-apb-uart";
164a5360a35SAndreas Färber		reg = <0x800 0x400>;
165769c00a2SAndreas Färber		reg-shift = <2>;
166769c00a2SAndreas Färber		reg-io-width = <4>;
167769c00a2SAndreas Färber		clock-frequency = <27000000>;
168769c00a2SAndreas Färber		resets = <&iso_reset RTD1295_ISO_RSTN_UR0>;
169769c00a2SAndreas Färber		status = "disabled";
170769c00a2SAndreas Färber	};
171a5360a35SAndreas Färber};
172769c00a2SAndreas Färber
173a5360a35SAndreas Färber&misc {
174a5360a35SAndreas Färber	uart1: serial@200 {
175769c00a2SAndreas Färber		compatible = "snps,dw-apb-uart";
176a5360a35SAndreas Färber		reg = <0x200 0x100>;
177769c00a2SAndreas Färber		reg-shift = <2>;
178769c00a2SAndreas Färber		reg-io-width = <4>;
179769c00a2SAndreas Färber		clock-frequency = <432000000>;
180769c00a2SAndreas Färber		resets = <&reset2 RTD1295_RSTN_UR1>;
181769c00a2SAndreas Färber		status = "disabled";
182769c00a2SAndreas Färber	};
183769c00a2SAndreas Färber
184a5360a35SAndreas Färber	uart2: serial@400 {
185769c00a2SAndreas Färber		compatible = "snps,dw-apb-uart";
186a5360a35SAndreas Färber		reg = <0x400 0x100>;
187769c00a2SAndreas Färber		reg-shift = <2>;
188769c00a2SAndreas Färber		reg-io-width = <4>;
189769c00a2SAndreas Färber		clock-frequency = <432000000>;
190769c00a2SAndreas Färber		resets = <&reset2 RTD1295_RSTN_UR2>;
191769c00a2SAndreas Färber		status = "disabled";
192769c00a2SAndreas Färber	};
193769c00a2SAndreas Färber};
194