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