xref: /freebsd/sys/contrib/device-tree/src/riscv/thead/th1520.dtsi (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) 2021 Alibaba Group Holding Limited.
4f126890aSEmmanuel Vadot * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
5f126890aSEmmanuel Vadot */
6f126890aSEmmanuel Vadot
7f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot/ {
10f126890aSEmmanuel Vadot	compatible = "thead,th1520";
11f126890aSEmmanuel Vadot	#address-cells = <2>;
12f126890aSEmmanuel Vadot	#size-cells = <2>;
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot	cpus: cpus {
15f126890aSEmmanuel Vadot		#address-cells = <1>;
16f126890aSEmmanuel Vadot		#size-cells = <0>;
17f126890aSEmmanuel Vadot		timebase-frequency = <3000000>;
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot		c910_0: cpu@0 {
20f126890aSEmmanuel Vadot			compatible = "thead,c910", "riscv";
21f126890aSEmmanuel Vadot			device_type = "cpu";
22f126890aSEmmanuel Vadot			riscv,isa = "rv64imafdc";
23*84943d6fSEmmanuel Vadot			riscv,isa-base = "rv64i";
24*84943d6fSEmmanuel Vadot			riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
25*84943d6fSEmmanuel Vadot					       "zifencei", "zihpm";
26f126890aSEmmanuel Vadot			reg = <0>;
27f126890aSEmmanuel Vadot			i-cache-block-size = <64>;
28f126890aSEmmanuel Vadot			i-cache-size = <65536>;
29f126890aSEmmanuel Vadot			i-cache-sets = <512>;
30f126890aSEmmanuel Vadot			d-cache-block-size = <64>;
31f126890aSEmmanuel Vadot			d-cache-size = <65536>;
32f126890aSEmmanuel Vadot			d-cache-sets = <512>;
33f126890aSEmmanuel Vadot			next-level-cache = <&l2_cache>;
34f126890aSEmmanuel Vadot			mmu-type = "riscv,sv39";
35f126890aSEmmanuel Vadot
36f126890aSEmmanuel Vadot			cpu0_intc: interrupt-controller {
37f126890aSEmmanuel Vadot				compatible = "riscv,cpu-intc";
38f126890aSEmmanuel Vadot				interrupt-controller;
39f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
40f126890aSEmmanuel Vadot			};
41f126890aSEmmanuel Vadot		};
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot		c910_1: cpu@1 {
44f126890aSEmmanuel Vadot			compatible = "thead,c910", "riscv";
45f126890aSEmmanuel Vadot			device_type = "cpu";
46f126890aSEmmanuel Vadot			riscv,isa = "rv64imafdc";
47*84943d6fSEmmanuel Vadot			riscv,isa-base = "rv64i";
48*84943d6fSEmmanuel Vadot			riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
49*84943d6fSEmmanuel Vadot					       "zifencei", "zihpm";
50f126890aSEmmanuel Vadot			reg = <1>;
51f126890aSEmmanuel Vadot			i-cache-block-size = <64>;
52f126890aSEmmanuel Vadot			i-cache-size = <65536>;
53f126890aSEmmanuel Vadot			i-cache-sets = <512>;
54f126890aSEmmanuel Vadot			d-cache-block-size = <64>;
55f126890aSEmmanuel Vadot			d-cache-size = <65536>;
56f126890aSEmmanuel Vadot			d-cache-sets = <512>;
57f126890aSEmmanuel Vadot			next-level-cache = <&l2_cache>;
58f126890aSEmmanuel Vadot			mmu-type = "riscv,sv39";
59f126890aSEmmanuel Vadot
60f126890aSEmmanuel Vadot			cpu1_intc: interrupt-controller {
61f126890aSEmmanuel Vadot				compatible = "riscv,cpu-intc";
62f126890aSEmmanuel Vadot				interrupt-controller;
63f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
64f126890aSEmmanuel Vadot			};
65f126890aSEmmanuel Vadot		};
66f126890aSEmmanuel Vadot
67f126890aSEmmanuel Vadot		c910_2: cpu@2 {
68f126890aSEmmanuel Vadot			compatible = "thead,c910", "riscv";
69f126890aSEmmanuel Vadot			device_type = "cpu";
70f126890aSEmmanuel Vadot			riscv,isa = "rv64imafdc";
71*84943d6fSEmmanuel Vadot			riscv,isa-base = "rv64i";
72*84943d6fSEmmanuel Vadot			riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
73*84943d6fSEmmanuel Vadot					       "zifencei", "zihpm";
74f126890aSEmmanuel Vadot			reg = <2>;
75f126890aSEmmanuel Vadot			i-cache-block-size = <64>;
76f126890aSEmmanuel Vadot			i-cache-size = <65536>;
77f126890aSEmmanuel Vadot			i-cache-sets = <512>;
78f126890aSEmmanuel Vadot			d-cache-block-size = <64>;
79f126890aSEmmanuel Vadot			d-cache-size = <65536>;
80f126890aSEmmanuel Vadot			d-cache-sets = <512>;
81f126890aSEmmanuel Vadot			next-level-cache = <&l2_cache>;
82f126890aSEmmanuel Vadot			mmu-type = "riscv,sv39";
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot			cpu2_intc: interrupt-controller {
85f126890aSEmmanuel Vadot				compatible = "riscv,cpu-intc";
86f126890aSEmmanuel Vadot				interrupt-controller;
87f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
88f126890aSEmmanuel Vadot			};
89f126890aSEmmanuel Vadot		};
90f126890aSEmmanuel Vadot
91f126890aSEmmanuel Vadot		c910_3: cpu@3 {
92f126890aSEmmanuel Vadot			compatible = "thead,c910", "riscv";
93f126890aSEmmanuel Vadot			device_type = "cpu";
94f126890aSEmmanuel Vadot			riscv,isa = "rv64imafdc";
95*84943d6fSEmmanuel Vadot			riscv,isa-base = "rv64i";
96*84943d6fSEmmanuel Vadot			riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
97*84943d6fSEmmanuel Vadot					       "zifencei", "zihpm";
98f126890aSEmmanuel Vadot			reg = <3>;
99f126890aSEmmanuel Vadot			i-cache-block-size = <64>;
100f126890aSEmmanuel Vadot			i-cache-size = <65536>;
101f126890aSEmmanuel Vadot			i-cache-sets = <512>;
102f126890aSEmmanuel Vadot			d-cache-block-size = <64>;
103f126890aSEmmanuel Vadot			d-cache-size = <65536>;
104f126890aSEmmanuel Vadot			d-cache-sets = <512>;
105f126890aSEmmanuel Vadot			next-level-cache = <&l2_cache>;
106f126890aSEmmanuel Vadot			mmu-type = "riscv,sv39";
107f126890aSEmmanuel Vadot
108f126890aSEmmanuel Vadot			cpu3_intc: interrupt-controller {
109f126890aSEmmanuel Vadot				compatible = "riscv,cpu-intc";
110f126890aSEmmanuel Vadot				interrupt-controller;
111f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
112f126890aSEmmanuel Vadot			};
113f126890aSEmmanuel Vadot		};
114f126890aSEmmanuel Vadot
115f126890aSEmmanuel Vadot		l2_cache: l2-cache {
116f126890aSEmmanuel Vadot			compatible = "cache";
117f126890aSEmmanuel Vadot			cache-block-size = <64>;
118f126890aSEmmanuel Vadot			cache-level = <2>;
119f126890aSEmmanuel Vadot			cache-size = <1048576>;
120f126890aSEmmanuel Vadot			cache-sets = <1024>;
121f126890aSEmmanuel Vadot			cache-unified;
122f126890aSEmmanuel Vadot		};
123f126890aSEmmanuel Vadot	};
124f126890aSEmmanuel Vadot
125f126890aSEmmanuel Vadot	osc: oscillator {
126f126890aSEmmanuel Vadot		compatible = "fixed-clock";
127f126890aSEmmanuel Vadot		clock-output-names = "osc_24m";
128f126890aSEmmanuel Vadot		#clock-cells = <0>;
129f126890aSEmmanuel Vadot	};
130f126890aSEmmanuel Vadot
131f126890aSEmmanuel Vadot	osc_32k: 32k-oscillator {
132f126890aSEmmanuel Vadot		compatible = "fixed-clock";
133f126890aSEmmanuel Vadot		clock-output-names = "osc_32k";
134f126890aSEmmanuel Vadot		#clock-cells = <0>;
135f126890aSEmmanuel Vadot	};
136f126890aSEmmanuel Vadot
137f126890aSEmmanuel Vadot	apb_clk: apb-clk-clock {
138f126890aSEmmanuel Vadot		compatible = "fixed-clock";
139f126890aSEmmanuel Vadot		clock-output-names = "apb_clk";
140f126890aSEmmanuel Vadot		#clock-cells = <0>;
141f126890aSEmmanuel Vadot	};
142f126890aSEmmanuel Vadot
143f126890aSEmmanuel Vadot	uart_sclk: uart-sclk-clock {
144f126890aSEmmanuel Vadot		compatible = "fixed-clock";
145f126890aSEmmanuel Vadot		clock-output-names = "uart_sclk";
146f126890aSEmmanuel Vadot		#clock-cells = <0>;
147f126890aSEmmanuel Vadot	};
148f126890aSEmmanuel Vadot
149f126890aSEmmanuel Vadot	soc {
150f126890aSEmmanuel Vadot		compatible = "simple-bus";
151f126890aSEmmanuel Vadot		interrupt-parent = <&plic>;
152f126890aSEmmanuel Vadot		#address-cells = <2>;
153f126890aSEmmanuel Vadot		#size-cells = <2>;
154aa1a8ff2SEmmanuel Vadot		dma-noncoherent;
155f126890aSEmmanuel Vadot		ranges;
156f126890aSEmmanuel Vadot
157f126890aSEmmanuel Vadot		plic: interrupt-controller@ffd8000000 {
158f126890aSEmmanuel Vadot			compatible = "thead,th1520-plic", "thead,c900-plic";
159f126890aSEmmanuel Vadot			reg = <0xff 0xd8000000 0x0 0x01000000>;
160f126890aSEmmanuel Vadot			interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>,
161f126890aSEmmanuel Vadot					      <&cpu1_intc 11>, <&cpu1_intc 9>,
162f126890aSEmmanuel Vadot					      <&cpu2_intc 11>, <&cpu2_intc 9>,
163f126890aSEmmanuel Vadot					      <&cpu3_intc 11>, <&cpu3_intc 9>;
164f126890aSEmmanuel Vadot			interrupt-controller;
165f126890aSEmmanuel Vadot			#address-cells = <0>;
166f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
167f126890aSEmmanuel Vadot			riscv,ndev = <240>;
168f126890aSEmmanuel Vadot		};
169f126890aSEmmanuel Vadot
170f126890aSEmmanuel Vadot		clint: timer@ffdc000000 {
171f126890aSEmmanuel Vadot			compatible = "thead,th1520-clint", "thead,c900-clint";
172f126890aSEmmanuel Vadot			reg = <0xff 0xdc000000 0x0 0x00010000>;
173f126890aSEmmanuel Vadot			interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>,
174f126890aSEmmanuel Vadot					      <&cpu1_intc 3>, <&cpu1_intc 7>,
175f126890aSEmmanuel Vadot					      <&cpu2_intc 3>, <&cpu2_intc 7>,
176f126890aSEmmanuel Vadot					      <&cpu3_intc 3>, <&cpu3_intc 7>;
177f126890aSEmmanuel Vadot		};
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot		uart0: serial@ffe7014000 {
180f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
181f126890aSEmmanuel Vadot			reg = <0xff 0xe7014000 0x0 0x100>;
182f126890aSEmmanuel Vadot			interrupts = <36 IRQ_TYPE_LEVEL_HIGH>;
183f126890aSEmmanuel Vadot			clocks = <&uart_sclk>;
184f126890aSEmmanuel Vadot			reg-shift = <2>;
185f126890aSEmmanuel Vadot			reg-io-width = <4>;
186f126890aSEmmanuel Vadot			status = "disabled";
187f126890aSEmmanuel Vadot		};
188f126890aSEmmanuel Vadot
189f126890aSEmmanuel Vadot		uart1: serial@ffe7f00000 {
190f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
191f126890aSEmmanuel Vadot			reg = <0xff 0xe7f00000 0x0 0x100>;
192f126890aSEmmanuel Vadot			interrupts = <37 IRQ_TYPE_LEVEL_HIGH>;
193f126890aSEmmanuel Vadot			clocks = <&uart_sclk>;
194f126890aSEmmanuel Vadot			reg-shift = <2>;
195f126890aSEmmanuel Vadot			reg-io-width = <4>;
196f126890aSEmmanuel Vadot			status = "disabled";
197f126890aSEmmanuel Vadot		};
198f126890aSEmmanuel Vadot
199f126890aSEmmanuel Vadot		uart3: serial@ffe7f04000 {
200f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
201f126890aSEmmanuel Vadot			reg = <0xff 0xe7f04000 0x0 0x100>;
202f126890aSEmmanuel Vadot			interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
203f126890aSEmmanuel Vadot			clocks = <&uart_sclk>;
204f126890aSEmmanuel Vadot			reg-shift = <2>;
205f126890aSEmmanuel Vadot			reg-io-width = <4>;
206f126890aSEmmanuel Vadot			status = "disabled";
207f126890aSEmmanuel Vadot		};
208f126890aSEmmanuel Vadot
209f126890aSEmmanuel Vadot		gpio2: gpio@ffe7f34000 {
210f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
211f126890aSEmmanuel Vadot			reg = <0xff 0xe7f34000 0x0 0x1000>;
212f126890aSEmmanuel Vadot			#address-cells = <1>;
213f126890aSEmmanuel Vadot			#size-cells = <0>;
214f126890aSEmmanuel Vadot
215f126890aSEmmanuel Vadot			portc: gpio-controller@0 {
216f126890aSEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
217f126890aSEmmanuel Vadot				gpio-controller;
218f126890aSEmmanuel Vadot				#gpio-cells = <2>;
219f126890aSEmmanuel Vadot				ngpios = <32>;
220f126890aSEmmanuel Vadot				reg = <0>;
221f126890aSEmmanuel Vadot				interrupt-controller;
222f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
223f126890aSEmmanuel Vadot				interrupts = <58 IRQ_TYPE_LEVEL_HIGH>;
224f126890aSEmmanuel Vadot			};
225f126890aSEmmanuel Vadot		};
226f126890aSEmmanuel Vadot
227f126890aSEmmanuel Vadot		gpio3: gpio@ffe7f38000 {
228f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
229f126890aSEmmanuel Vadot			reg = <0xff 0xe7f38000 0x0 0x1000>;
230f126890aSEmmanuel Vadot			#address-cells = <1>;
231f126890aSEmmanuel Vadot			#size-cells = <0>;
232f126890aSEmmanuel Vadot
233f126890aSEmmanuel Vadot			portd: gpio-controller@0 {
234f126890aSEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
235f126890aSEmmanuel Vadot				gpio-controller;
236f126890aSEmmanuel Vadot				#gpio-cells = <2>;
237f126890aSEmmanuel Vadot				ngpios = <32>;
238f126890aSEmmanuel Vadot				reg = <0>;
239f126890aSEmmanuel Vadot				interrupt-controller;
240f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
241f126890aSEmmanuel Vadot				interrupts = <59 IRQ_TYPE_LEVEL_HIGH>;
242f126890aSEmmanuel Vadot			};
243f126890aSEmmanuel Vadot		};
244f126890aSEmmanuel Vadot
245f126890aSEmmanuel Vadot		gpio0: gpio@ffec005000 {
246f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
247f126890aSEmmanuel Vadot			reg = <0xff 0xec005000 0x0 0x1000>;
248f126890aSEmmanuel Vadot			#address-cells = <1>;
249f126890aSEmmanuel Vadot			#size-cells = <0>;
250f126890aSEmmanuel Vadot
251f126890aSEmmanuel Vadot			porta: gpio-controller@0 {
252f126890aSEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
253f126890aSEmmanuel Vadot				gpio-controller;
254f126890aSEmmanuel Vadot				#gpio-cells = <2>;
255f126890aSEmmanuel Vadot				ngpios = <32>;
256f126890aSEmmanuel Vadot				reg = <0>;
257f126890aSEmmanuel Vadot				interrupt-controller;
258f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
259f126890aSEmmanuel Vadot				interrupts = <56 IRQ_TYPE_LEVEL_HIGH>;
260f126890aSEmmanuel Vadot			};
261f126890aSEmmanuel Vadot		};
262f126890aSEmmanuel Vadot
263f126890aSEmmanuel Vadot		gpio1: gpio@ffec006000 {
264f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
265f126890aSEmmanuel Vadot			reg = <0xff 0xec006000 0x0 0x1000>;
266f126890aSEmmanuel Vadot			#address-cells = <1>;
267f126890aSEmmanuel Vadot			#size-cells = <0>;
268f126890aSEmmanuel Vadot
269f126890aSEmmanuel Vadot			portb: gpio-controller@0 {
270f126890aSEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
271f126890aSEmmanuel Vadot				gpio-controller;
272f126890aSEmmanuel Vadot				#gpio-cells = <2>;
273f126890aSEmmanuel Vadot				ngpios = <32>;
274f126890aSEmmanuel Vadot				reg = <0>;
275f126890aSEmmanuel Vadot				interrupt-controller;
276f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
277f126890aSEmmanuel Vadot				interrupts = <57 IRQ_TYPE_LEVEL_HIGH>;
278f126890aSEmmanuel Vadot			};
279f126890aSEmmanuel Vadot		};
280f126890aSEmmanuel Vadot
281f126890aSEmmanuel Vadot		uart2: serial@ffec010000 {
282f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
283f126890aSEmmanuel Vadot			reg = <0xff 0xec010000 0x0 0x4000>;
284f126890aSEmmanuel Vadot			interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
285f126890aSEmmanuel Vadot			clocks = <&uart_sclk>;
286f126890aSEmmanuel Vadot			reg-shift = <2>;
287f126890aSEmmanuel Vadot			reg-io-width = <4>;
288f126890aSEmmanuel Vadot			status = "disabled";
289f126890aSEmmanuel Vadot		};
290f126890aSEmmanuel Vadot
291f126890aSEmmanuel Vadot		dmac0: dma-controller@ffefc00000 {
292f126890aSEmmanuel Vadot			compatible = "snps,axi-dma-1.01a";
293f126890aSEmmanuel Vadot			reg = <0xff 0xefc00000 0x0 0x1000>;
294f126890aSEmmanuel Vadot			interrupts = <27 IRQ_TYPE_LEVEL_HIGH>;
295f126890aSEmmanuel Vadot			clocks = <&apb_clk>, <&apb_clk>;
296f126890aSEmmanuel Vadot			clock-names = "core-clk", "cfgr-clk";
297f126890aSEmmanuel Vadot			#dma-cells = <1>;
298f126890aSEmmanuel Vadot			dma-channels = <4>;
299f126890aSEmmanuel Vadot			snps,block-size = <65536 65536 65536 65536>;
300f126890aSEmmanuel Vadot			snps,priority = <0 1 2 3>;
301f126890aSEmmanuel Vadot			snps,dma-masters = <1>;
302f126890aSEmmanuel Vadot			snps,data-width = <4>;
303f126890aSEmmanuel Vadot			snps,axi-max-burst-len = <16>;
304f126890aSEmmanuel Vadot			status = "disabled";
305f126890aSEmmanuel Vadot		};
306f126890aSEmmanuel Vadot
307f126890aSEmmanuel Vadot		timer0: timer@ffefc32000 {
308f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
309f126890aSEmmanuel Vadot			reg = <0xff 0xefc32000 0x0 0x14>;
310f126890aSEmmanuel Vadot			clocks = <&apb_clk>;
311f126890aSEmmanuel Vadot			clock-names = "timer";
312f126890aSEmmanuel Vadot			interrupts = <16 IRQ_TYPE_LEVEL_HIGH>;
313f126890aSEmmanuel Vadot			status = "disabled";
314f126890aSEmmanuel Vadot		};
315f126890aSEmmanuel Vadot
316f126890aSEmmanuel Vadot		timer1: timer@ffefc32014 {
317f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
318f126890aSEmmanuel Vadot			reg = <0xff 0xefc32014 0x0 0x14>;
319f126890aSEmmanuel Vadot			clocks = <&apb_clk>;
320f126890aSEmmanuel Vadot			clock-names = "timer";
321f126890aSEmmanuel Vadot			interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
322f126890aSEmmanuel Vadot			status = "disabled";
323f126890aSEmmanuel Vadot		};
324f126890aSEmmanuel Vadot
325f126890aSEmmanuel Vadot		timer2: timer@ffefc32028 {
326f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
327f126890aSEmmanuel Vadot			reg = <0xff 0xefc32028 0x0 0x14>;
328f126890aSEmmanuel Vadot			clocks = <&apb_clk>;
329f126890aSEmmanuel Vadot			clock-names = "timer";
330f126890aSEmmanuel Vadot			interrupts = <18 IRQ_TYPE_LEVEL_HIGH>;
331f126890aSEmmanuel Vadot			status = "disabled";
332f126890aSEmmanuel Vadot		};
333f126890aSEmmanuel Vadot
334f126890aSEmmanuel Vadot		timer3: timer@ffefc3203c {
335f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
336f126890aSEmmanuel Vadot			reg = <0xff 0xefc3203c 0x0 0x14>;
337f126890aSEmmanuel Vadot			clocks = <&apb_clk>;
338f126890aSEmmanuel Vadot			clock-names = "timer";
339f126890aSEmmanuel Vadot			interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
340f126890aSEmmanuel Vadot			status = "disabled";
341f126890aSEmmanuel Vadot		};
342f126890aSEmmanuel Vadot
343f126890aSEmmanuel Vadot		uart4: serial@fff7f08000 {
344f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
345f126890aSEmmanuel Vadot			reg = <0xff 0xf7f08000 0x0 0x4000>;
346f126890aSEmmanuel Vadot			interrupts = <40 IRQ_TYPE_LEVEL_HIGH>;
347f126890aSEmmanuel Vadot			clocks = <&uart_sclk>;
348f126890aSEmmanuel Vadot			reg-shift = <2>;
349f126890aSEmmanuel Vadot			reg-io-width = <4>;
350f126890aSEmmanuel Vadot			status = "disabled";
351f126890aSEmmanuel Vadot		};
352f126890aSEmmanuel Vadot
353f126890aSEmmanuel Vadot		uart5: serial@fff7f0c000 {
354f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
355f126890aSEmmanuel Vadot			reg = <0xff 0xf7f0c000 0x0 0x4000>;
356f126890aSEmmanuel Vadot			interrupts = <41 IRQ_TYPE_LEVEL_HIGH>;
357f126890aSEmmanuel Vadot			clocks = <&uart_sclk>;
358f126890aSEmmanuel Vadot			reg-shift = <2>;
359f126890aSEmmanuel Vadot			reg-io-width = <4>;
360f126890aSEmmanuel Vadot			status = "disabled";
361f126890aSEmmanuel Vadot		};
362f126890aSEmmanuel Vadot
363f126890aSEmmanuel Vadot		timer4: timer@ffffc33000 {
364f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
365f126890aSEmmanuel Vadot			reg = <0xff 0xffc33000 0x0 0x14>;
366f126890aSEmmanuel Vadot			clocks = <&apb_clk>;
367f126890aSEmmanuel Vadot			clock-names = "timer";
368f126890aSEmmanuel Vadot			interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
369f126890aSEmmanuel Vadot			status = "disabled";
370f126890aSEmmanuel Vadot		};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot		timer5: timer@ffffc33014 {
373f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
374f126890aSEmmanuel Vadot			reg = <0xff 0xffc33014 0x0 0x14>;
375f126890aSEmmanuel Vadot			clocks = <&apb_clk>;
376f126890aSEmmanuel Vadot			clock-names = "timer";
377f126890aSEmmanuel Vadot			interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
378f126890aSEmmanuel Vadot			status = "disabled";
379f126890aSEmmanuel Vadot		};
380f126890aSEmmanuel Vadot
381f126890aSEmmanuel Vadot		timer6: timer@ffffc33028 {
382f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
383f126890aSEmmanuel Vadot			reg = <0xff 0xffc33028 0x0 0x14>;
384f126890aSEmmanuel Vadot			clocks = <&apb_clk>;
385f126890aSEmmanuel Vadot			clock-names = "timer";
386f126890aSEmmanuel Vadot			interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
387f126890aSEmmanuel Vadot			status = "disabled";
388f126890aSEmmanuel Vadot		};
389f126890aSEmmanuel Vadot
390f126890aSEmmanuel Vadot		timer7: timer@ffffc3303c {
391f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
392f126890aSEmmanuel Vadot			reg = <0xff 0xffc3303c 0x0 0x14>;
393f126890aSEmmanuel Vadot			clocks = <&apb_clk>;
394f126890aSEmmanuel Vadot			clock-names = "timer";
395f126890aSEmmanuel Vadot			interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
396f126890aSEmmanuel Vadot			status = "disabled";
397f126890aSEmmanuel Vadot		};
398f126890aSEmmanuel Vadot
399f126890aSEmmanuel Vadot		ao_gpio0: gpio@fffff41000 {
400f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
401f126890aSEmmanuel Vadot			reg = <0xff 0xfff41000 0x0 0x1000>;
402f126890aSEmmanuel Vadot			#address-cells = <1>;
403f126890aSEmmanuel Vadot			#size-cells = <0>;
404f126890aSEmmanuel Vadot
405f126890aSEmmanuel Vadot			porte: gpio-controller@0 {
406f126890aSEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
407f126890aSEmmanuel Vadot				gpio-controller;
408f126890aSEmmanuel Vadot				#gpio-cells = <2>;
409f126890aSEmmanuel Vadot				ngpios = <32>;
410f126890aSEmmanuel Vadot				reg = <0>;
411f126890aSEmmanuel Vadot				interrupt-controller;
412f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
413f126890aSEmmanuel Vadot				interrupts = <76 IRQ_TYPE_LEVEL_HIGH>;
414f126890aSEmmanuel Vadot			};
415f126890aSEmmanuel Vadot		};
416f126890aSEmmanuel Vadot
417f126890aSEmmanuel Vadot		ao_gpio1: gpio@fffff52000 {
418f126890aSEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
419f126890aSEmmanuel Vadot			reg = <0xff 0xfff52000 0x0 0x1000>;
420f126890aSEmmanuel Vadot			#address-cells = <1>;
421f126890aSEmmanuel Vadot			#size-cells = <0>;
422f126890aSEmmanuel Vadot
423f126890aSEmmanuel Vadot			portf: gpio-controller@0 {
424f126890aSEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
425f126890aSEmmanuel Vadot				gpio-controller;
426f126890aSEmmanuel Vadot				#gpio-cells = <2>;
427f126890aSEmmanuel Vadot				ngpios = <32>;
428f126890aSEmmanuel Vadot				reg = <0>;
429f126890aSEmmanuel Vadot				interrupt-controller;
430f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
431f126890aSEmmanuel Vadot				interrupts = <55 IRQ_TYPE_LEVEL_HIGH>;
432f126890aSEmmanuel Vadot			};
433f126890aSEmmanuel Vadot		};
434f126890aSEmmanuel Vadot	};
435f126890aSEmmanuel Vadot};
436