xref: /freebsd-src/sys/contrib/device-tree/src/arm/socionext/uniphier-ld4.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT
2*f126890aSEmmanuel Vadot//
3*f126890aSEmmanuel Vadot// Device Tree Source for UniPhier LD4 SoC
4*f126890aSEmmanuel Vadot//
5*f126890aSEmmanuel Vadot// Copyright (C) 2015-2016 Socionext Inc.
6*f126890aSEmmanuel Vadot//   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/uniphier-gpio.h>
9*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot/ {
12*f126890aSEmmanuel Vadot	compatible = "socionext,uniphier-ld4";
13*f126890aSEmmanuel Vadot	#address-cells = <1>;
14*f126890aSEmmanuel Vadot	#size-cells = <1>;
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot	cpus {
17*f126890aSEmmanuel Vadot		#address-cells = <1>;
18*f126890aSEmmanuel Vadot		#size-cells = <0>;
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot		cpu@0 {
21*f126890aSEmmanuel Vadot			device_type = "cpu";
22*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
23*f126890aSEmmanuel Vadot			reg = <0>;
24*f126890aSEmmanuel Vadot			enable-method = "psci";
25*f126890aSEmmanuel Vadot			next-level-cache = <&l2>;
26*f126890aSEmmanuel Vadot		};
27*f126890aSEmmanuel Vadot	};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot	psci {
30*f126890aSEmmanuel Vadot		compatible = "arm,psci-0.2";
31*f126890aSEmmanuel Vadot		method = "smc";
32*f126890aSEmmanuel Vadot	};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot	clocks {
35*f126890aSEmmanuel Vadot		refclk: ref {
36*f126890aSEmmanuel Vadot			compatible = "fixed-clock";
37*f126890aSEmmanuel Vadot			#clock-cells = <0>;
38*f126890aSEmmanuel Vadot			clock-frequency = <24576000>;
39*f126890aSEmmanuel Vadot		};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot		arm_timer_clk: arm-timer {
42*f126890aSEmmanuel Vadot			#clock-cells = <0>;
43*f126890aSEmmanuel Vadot			compatible = "fixed-clock";
44*f126890aSEmmanuel Vadot			clock-frequency = <50000000>;
45*f126890aSEmmanuel Vadot		};
46*f126890aSEmmanuel Vadot	};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot	soc {
49*f126890aSEmmanuel Vadot		compatible = "simple-bus";
50*f126890aSEmmanuel Vadot		#address-cells = <1>;
51*f126890aSEmmanuel Vadot		#size-cells = <1>;
52*f126890aSEmmanuel Vadot		ranges;
53*f126890aSEmmanuel Vadot		interrupt-parent = <&intc>;
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot		l2: cache-controller@500c0000 {
56*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-system-cache";
57*f126890aSEmmanuel Vadot			reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
58*f126890aSEmmanuel Vadot			      <0x506c0000 0x400>;
59*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
60*f126890aSEmmanuel Vadot				     <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
61*f126890aSEmmanuel Vadot			cache-unified;
62*f126890aSEmmanuel Vadot			cache-size = <(512 * 1024)>;
63*f126890aSEmmanuel Vadot			cache-sets = <256>;
64*f126890aSEmmanuel Vadot			cache-line-size = <128>;
65*f126890aSEmmanuel Vadot			cache-level = <2>;
66*f126890aSEmmanuel Vadot		};
67*f126890aSEmmanuel Vadot
68*f126890aSEmmanuel Vadot		spi: spi@54006000 {
69*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-scssi";
70*f126890aSEmmanuel Vadot			status = "disabled";
71*f126890aSEmmanuel Vadot			reg = <0x54006000 0x100>;
72*f126890aSEmmanuel Vadot			#address-cells = <1>;
73*f126890aSEmmanuel Vadot			#size-cells = <0>;
74*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
75*f126890aSEmmanuel Vadot			pinctrl-names = "default";
76*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_spi0>;
77*f126890aSEmmanuel Vadot			clocks = <&peri_clk 11>;
78*f126890aSEmmanuel Vadot			resets = <&peri_rst 11>;
79*f126890aSEmmanuel Vadot		};
80*f126890aSEmmanuel Vadot
81*f126890aSEmmanuel Vadot		serial0: serial@54006800 {
82*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
83*f126890aSEmmanuel Vadot			status = "disabled";
84*f126890aSEmmanuel Vadot			reg = <0x54006800 0x40>;
85*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
86*f126890aSEmmanuel Vadot			pinctrl-names = "default";
87*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart0>;
88*f126890aSEmmanuel Vadot			clocks = <&peri_clk 0>;
89*f126890aSEmmanuel Vadot			resets = <&peri_rst 0>;
90*f126890aSEmmanuel Vadot		};
91*f126890aSEmmanuel Vadot
92*f126890aSEmmanuel Vadot		serial1: serial@54006900 {
93*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
94*f126890aSEmmanuel Vadot			status = "disabled";
95*f126890aSEmmanuel Vadot			reg = <0x54006900 0x40>;
96*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
97*f126890aSEmmanuel Vadot			pinctrl-names = "default";
98*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart1>;
99*f126890aSEmmanuel Vadot			clocks = <&peri_clk 1>;
100*f126890aSEmmanuel Vadot			resets = <&peri_rst 1>;
101*f126890aSEmmanuel Vadot		};
102*f126890aSEmmanuel Vadot
103*f126890aSEmmanuel Vadot		serial2: serial@54006a00 {
104*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
105*f126890aSEmmanuel Vadot			status = "disabled";
106*f126890aSEmmanuel Vadot			reg = <0x54006a00 0x40>;
107*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
108*f126890aSEmmanuel Vadot			pinctrl-names = "default";
109*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart2>;
110*f126890aSEmmanuel Vadot			clocks = <&peri_clk 2>;
111*f126890aSEmmanuel Vadot			resets = <&peri_rst 2>;
112*f126890aSEmmanuel Vadot		};
113*f126890aSEmmanuel Vadot
114*f126890aSEmmanuel Vadot		serial3: serial@54006b00 {
115*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
116*f126890aSEmmanuel Vadot			status = "disabled";
117*f126890aSEmmanuel Vadot			reg = <0x54006b00 0x40>;
118*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
119*f126890aSEmmanuel Vadot			pinctrl-names = "default";
120*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart3>;
121*f126890aSEmmanuel Vadot			clocks = <&peri_clk 3>;
122*f126890aSEmmanuel Vadot			resets = <&peri_rst 3>;
123*f126890aSEmmanuel Vadot		};
124*f126890aSEmmanuel Vadot
125*f126890aSEmmanuel Vadot		gpio: gpio@55000000 {
126*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-gpio";
127*f126890aSEmmanuel Vadot			reg = <0x55000000 0x200>;
128*f126890aSEmmanuel Vadot			interrupt-parent = <&aidet>;
129*f126890aSEmmanuel Vadot			interrupt-controller;
130*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
131*f126890aSEmmanuel Vadot			gpio-controller;
132*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
133*f126890aSEmmanuel Vadot			gpio-ranges = <&pinctrl 0 0 0>;
134*f126890aSEmmanuel Vadot			gpio-ranges-group-names = "gpio_range";
135*f126890aSEmmanuel Vadot			ngpios = <136>;
136*f126890aSEmmanuel Vadot			socionext,interrupt-ranges = <0 48 13>, <14 62 2>;
137*f126890aSEmmanuel Vadot		};
138*f126890aSEmmanuel Vadot
139*f126890aSEmmanuel Vadot		i2c0: i2c@58400000 {
140*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-i2c";
141*f126890aSEmmanuel Vadot			status = "disabled";
142*f126890aSEmmanuel Vadot			reg = <0x58400000 0x40>;
143*f126890aSEmmanuel Vadot			#address-cells = <1>;
144*f126890aSEmmanuel Vadot			#size-cells = <0>;
145*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>;
146*f126890aSEmmanuel Vadot			pinctrl-names = "default";
147*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c0>;
148*f126890aSEmmanuel Vadot			clocks = <&peri_clk 4>;
149*f126890aSEmmanuel Vadot			resets = <&peri_rst 4>;
150*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
151*f126890aSEmmanuel Vadot		};
152*f126890aSEmmanuel Vadot
153*f126890aSEmmanuel Vadot		i2c1: i2c@58480000 {
154*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-i2c";
155*f126890aSEmmanuel Vadot			status = "disabled";
156*f126890aSEmmanuel Vadot			reg = <0x58480000 0x40>;
157*f126890aSEmmanuel Vadot			#address-cells = <1>;
158*f126890aSEmmanuel Vadot			#size-cells = <0>;
159*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>;
160*f126890aSEmmanuel Vadot			pinctrl-names = "default";
161*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c1>;
162*f126890aSEmmanuel Vadot			clocks = <&peri_clk 5>;
163*f126890aSEmmanuel Vadot			resets = <&peri_rst 5>;
164*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
165*f126890aSEmmanuel Vadot		};
166*f126890aSEmmanuel Vadot
167*f126890aSEmmanuel Vadot		/* chip-internal connection for DMD */
168*f126890aSEmmanuel Vadot		i2c2: i2c@58500000 {
169*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-i2c";
170*f126890aSEmmanuel Vadot			reg = <0x58500000 0x40>;
171*f126890aSEmmanuel Vadot			#address-cells = <1>;
172*f126890aSEmmanuel Vadot			#size-cells = <0>;
173*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>;
174*f126890aSEmmanuel Vadot			pinctrl-names = "default";
175*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c2>;
176*f126890aSEmmanuel Vadot			clocks = <&peri_clk 6>;
177*f126890aSEmmanuel Vadot			resets = <&peri_rst 6>;
178*f126890aSEmmanuel Vadot			clock-frequency = <400000>;
179*f126890aSEmmanuel Vadot		};
180*f126890aSEmmanuel Vadot
181*f126890aSEmmanuel Vadot		i2c3: i2c@58580000 {
182*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-i2c";
183*f126890aSEmmanuel Vadot			status = "disabled";
184*f126890aSEmmanuel Vadot			reg = <0x58580000 0x40>;
185*f126890aSEmmanuel Vadot			#address-cells = <1>;
186*f126890aSEmmanuel Vadot			#size-cells = <0>;
187*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>;
188*f126890aSEmmanuel Vadot			pinctrl-names = "default";
189*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c3>;
190*f126890aSEmmanuel Vadot			clocks = <&peri_clk 7>;
191*f126890aSEmmanuel Vadot			resets = <&peri_rst 7>;
192*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
193*f126890aSEmmanuel Vadot		};
194*f126890aSEmmanuel Vadot
195*f126890aSEmmanuel Vadot		system_bus: system-bus@58c00000 {
196*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-system-bus";
197*f126890aSEmmanuel Vadot			status = "disabled";
198*f126890aSEmmanuel Vadot			reg = <0x58c00000 0x400>;
199*f126890aSEmmanuel Vadot			#address-cells = <2>;
200*f126890aSEmmanuel Vadot			#size-cells = <1>;
201*f126890aSEmmanuel Vadot			pinctrl-names = "default";
202*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_system_bus>;
203*f126890aSEmmanuel Vadot		};
204*f126890aSEmmanuel Vadot
205*f126890aSEmmanuel Vadot		smpctrl@59801000 {
206*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-smpctrl";
207*f126890aSEmmanuel Vadot			reg = <0x59801000 0x400>;
208*f126890aSEmmanuel Vadot		};
209*f126890aSEmmanuel Vadot
210*f126890aSEmmanuel Vadot		syscon@59810000 {
211*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ld4-mioctrl",
212*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
213*f126890aSEmmanuel Vadot			reg = <0x59810000 0x800>;
214*f126890aSEmmanuel Vadot
215*f126890aSEmmanuel Vadot			mio_clk: clock-controller {
216*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-ld4-mio-clock";
217*f126890aSEmmanuel Vadot				#clock-cells = <1>;
218*f126890aSEmmanuel Vadot			};
219*f126890aSEmmanuel Vadot
220*f126890aSEmmanuel Vadot			mio_rst: reset-controller {
221*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-ld4-mio-reset";
222*f126890aSEmmanuel Vadot				#reset-cells = <1>;
223*f126890aSEmmanuel Vadot			};
224*f126890aSEmmanuel Vadot		};
225*f126890aSEmmanuel Vadot
226*f126890aSEmmanuel Vadot		syscon@59820000 {
227*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ld4-perictrl",
228*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
229*f126890aSEmmanuel Vadot			reg = <0x59820000 0x200>;
230*f126890aSEmmanuel Vadot
231*f126890aSEmmanuel Vadot			peri_clk: clock-controller {
232*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-ld4-peri-clock";
233*f126890aSEmmanuel Vadot				#clock-cells = <1>;
234*f126890aSEmmanuel Vadot			};
235*f126890aSEmmanuel Vadot
236*f126890aSEmmanuel Vadot			peri_rst: reset-controller {
237*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-ld4-peri-reset";
238*f126890aSEmmanuel Vadot				#reset-cells = <1>;
239*f126890aSEmmanuel Vadot			};
240*f126890aSEmmanuel Vadot		};
241*f126890aSEmmanuel Vadot
242*f126890aSEmmanuel Vadot		dmac: dma-controller@5a000000 {
243*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-mio-dmac";
244*f126890aSEmmanuel Vadot			reg = <0x5a000000 0x1000>;
245*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
246*f126890aSEmmanuel Vadot				     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
247*f126890aSEmmanuel Vadot				     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
248*f126890aSEmmanuel Vadot				     <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
249*f126890aSEmmanuel Vadot				     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
250*f126890aSEmmanuel Vadot				     <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
251*f126890aSEmmanuel Vadot				     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
252*f126890aSEmmanuel Vadot			clocks = <&mio_clk 7>;
253*f126890aSEmmanuel Vadot			resets = <&mio_rst 7>;
254*f126890aSEmmanuel Vadot			#dma-cells = <1>;
255*f126890aSEmmanuel Vadot		};
256*f126890aSEmmanuel Vadot
257*f126890aSEmmanuel Vadot		sd: mmc@5a400000 {
258*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-sd-v2.91";
259*f126890aSEmmanuel Vadot			status = "disabled";
260*f126890aSEmmanuel Vadot			reg = <0x5a400000 0x200>;
261*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
262*f126890aSEmmanuel Vadot			pinctrl-names = "default", "uhs";
263*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_sd>;
264*f126890aSEmmanuel Vadot			pinctrl-1 = <&pinctrl_sd_uhs>;
265*f126890aSEmmanuel Vadot			clocks = <&mio_clk 0>;
266*f126890aSEmmanuel Vadot			reset-names = "host", "bridge";
267*f126890aSEmmanuel Vadot			resets = <&mio_rst 0>, <&mio_rst 3>;
268*f126890aSEmmanuel Vadot			dma-names = "rx-tx";
269*f126890aSEmmanuel Vadot			dmas = <&dmac 4>;
270*f126890aSEmmanuel Vadot			bus-width = <4>;
271*f126890aSEmmanuel Vadot			cap-sd-highspeed;
272*f126890aSEmmanuel Vadot			sd-uhs-sdr12;
273*f126890aSEmmanuel Vadot			sd-uhs-sdr25;
274*f126890aSEmmanuel Vadot			sd-uhs-sdr50;
275*f126890aSEmmanuel Vadot		};
276*f126890aSEmmanuel Vadot
277*f126890aSEmmanuel Vadot		emmc: mmc@5a500000 {
278*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-sd-v2.91";
279*f126890aSEmmanuel Vadot			status = "disabled";
280*f126890aSEmmanuel Vadot			reg = <0x5a500000 0x200>;
281*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
282*f126890aSEmmanuel Vadot			pinctrl-names = "default";
283*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_emmc>;
284*f126890aSEmmanuel Vadot			clocks = <&mio_clk 1>;
285*f126890aSEmmanuel Vadot			reset-names = "host", "bridge", "hw";
286*f126890aSEmmanuel Vadot			resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
287*f126890aSEmmanuel Vadot			dma-names = "rx-tx";
288*f126890aSEmmanuel Vadot			dmas = <&dmac 6>;
289*f126890aSEmmanuel Vadot			bus-width = <8>;
290*f126890aSEmmanuel Vadot			cap-mmc-highspeed;
291*f126890aSEmmanuel Vadot			cap-mmc-hw-reset;
292*f126890aSEmmanuel Vadot			non-removable;
293*f126890aSEmmanuel Vadot		};
294*f126890aSEmmanuel Vadot
295*f126890aSEmmanuel Vadot		usb0: usb@5a800100 {
296*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ehci", "generic-ehci";
297*f126890aSEmmanuel Vadot			status = "disabled";
298*f126890aSEmmanuel Vadot			reg = <0x5a800100 0x100>;
299*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
300*f126890aSEmmanuel Vadot			pinctrl-names = "default";
301*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usb0>;
302*f126890aSEmmanuel Vadot			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
303*f126890aSEmmanuel Vadot				 <&mio_clk 12>;
304*f126890aSEmmanuel Vadot			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
305*f126890aSEmmanuel Vadot				 <&mio_rst 12>;
306*f126890aSEmmanuel Vadot			has-transaction-translator;
307*f126890aSEmmanuel Vadot		};
308*f126890aSEmmanuel Vadot
309*f126890aSEmmanuel Vadot		usb1: usb@5a810100 {
310*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ehci", "generic-ehci";
311*f126890aSEmmanuel Vadot			status = "disabled";
312*f126890aSEmmanuel Vadot			reg = <0x5a810100 0x100>;
313*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
314*f126890aSEmmanuel Vadot			pinctrl-names = "default";
315*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usb1>;
316*f126890aSEmmanuel Vadot			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
317*f126890aSEmmanuel Vadot				 <&mio_clk 13>;
318*f126890aSEmmanuel Vadot			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
319*f126890aSEmmanuel Vadot				 <&mio_rst 13>;
320*f126890aSEmmanuel Vadot			has-transaction-translator;
321*f126890aSEmmanuel Vadot		};
322*f126890aSEmmanuel Vadot
323*f126890aSEmmanuel Vadot		usb2: usb@5a820100 {
324*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ehci", "generic-ehci";
325*f126890aSEmmanuel Vadot			status = "disabled";
326*f126890aSEmmanuel Vadot			reg = <0x5a820100 0x100>;
327*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
328*f126890aSEmmanuel Vadot			pinctrl-names = "default";
329*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usb2>;
330*f126890aSEmmanuel Vadot			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
331*f126890aSEmmanuel Vadot				 <&mio_clk 14>;
332*f126890aSEmmanuel Vadot			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
333*f126890aSEmmanuel Vadot				 <&mio_rst 14>;
334*f126890aSEmmanuel Vadot			has-transaction-translator;
335*f126890aSEmmanuel Vadot		};
336*f126890aSEmmanuel Vadot
337*f126890aSEmmanuel Vadot		syscon@5f800000 {
338*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ld4-soc-glue",
339*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
340*f126890aSEmmanuel Vadot			reg = <0x5f800000 0x2000>;
341*f126890aSEmmanuel Vadot
342*f126890aSEmmanuel Vadot			pinctrl: pinctrl {
343*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-ld4-pinctrl";
344*f126890aSEmmanuel Vadot			};
345*f126890aSEmmanuel Vadot		};
346*f126890aSEmmanuel Vadot
347*f126890aSEmmanuel Vadot		syscon@5f900000 {
348*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ld4-soc-glue-debug",
349*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
350*f126890aSEmmanuel Vadot			reg = <0x5f900000 0x2000>;
351*f126890aSEmmanuel Vadot			#address-cells = <1>;
352*f126890aSEmmanuel Vadot			#size-cells = <1>;
353*f126890aSEmmanuel Vadot			ranges = <0 0x5f900000 0x2000>;
354*f126890aSEmmanuel Vadot
355*f126890aSEmmanuel Vadot			efuse@100 {
356*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-efuse";
357*f126890aSEmmanuel Vadot				reg = <0x100 0x28>;
358*f126890aSEmmanuel Vadot			};
359*f126890aSEmmanuel Vadot
360*f126890aSEmmanuel Vadot			efuse@130 {
361*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-efuse";
362*f126890aSEmmanuel Vadot				reg = <0x130 0x8>;
363*f126890aSEmmanuel Vadot			};
364*f126890aSEmmanuel Vadot		};
365*f126890aSEmmanuel Vadot
366*f126890aSEmmanuel Vadot		timer@60000200 {
367*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9-global-timer";
368*f126890aSEmmanuel Vadot			reg = <0x60000200 0x20>;
369*f126890aSEmmanuel Vadot			interrupts = <GIC_PPI 11
370*f126890aSEmmanuel Vadot				(GIC_CPU_MASK_RAW(1) | IRQ_TYPE_LEVEL_HIGH)>;
371*f126890aSEmmanuel Vadot			clocks = <&arm_timer_clk>;
372*f126890aSEmmanuel Vadot		};
373*f126890aSEmmanuel Vadot
374*f126890aSEmmanuel Vadot		timer@60000600 {
375*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9-twd-timer";
376*f126890aSEmmanuel Vadot			reg = <0x60000600 0x20>;
377*f126890aSEmmanuel Vadot			interrupts = <GIC_PPI 13
378*f126890aSEmmanuel Vadot				(GIC_CPU_MASK_RAW(1) | IRQ_TYPE_LEVEL_HIGH)>;
379*f126890aSEmmanuel Vadot			clocks = <&arm_timer_clk>;
380*f126890aSEmmanuel Vadot		};
381*f126890aSEmmanuel Vadot
382*f126890aSEmmanuel Vadot		intc: interrupt-controller@60001000 {
383*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9-gic";
384*f126890aSEmmanuel Vadot			reg = <0x60001000 0x1000>,
385*f126890aSEmmanuel Vadot			      <0x60000100 0x100>;
386*f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
387*f126890aSEmmanuel Vadot			interrupt-controller;
388*f126890aSEmmanuel Vadot		};
389*f126890aSEmmanuel Vadot
390*f126890aSEmmanuel Vadot		aidet: interrupt-controller@61830000 {
391*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ld4-aidet";
392*f126890aSEmmanuel Vadot			reg = <0x61830000 0x200>;
393*f126890aSEmmanuel Vadot			interrupt-controller;
394*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
395*f126890aSEmmanuel Vadot		};
396*f126890aSEmmanuel Vadot
397*f126890aSEmmanuel Vadot		syscon@61840000 {
398*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ld4-sysctrl",
399*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
400*f126890aSEmmanuel Vadot			reg = <0x61840000 0x10000>;
401*f126890aSEmmanuel Vadot
402*f126890aSEmmanuel Vadot			sys_clk: clock-controller {
403*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-ld4-clock";
404*f126890aSEmmanuel Vadot				#clock-cells = <1>;
405*f126890aSEmmanuel Vadot			};
406*f126890aSEmmanuel Vadot
407*f126890aSEmmanuel Vadot			sys_rst: reset-controller {
408*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-ld4-reset";
409*f126890aSEmmanuel Vadot				#reset-cells = <1>;
410*f126890aSEmmanuel Vadot			};
411*f126890aSEmmanuel Vadot		};
412*f126890aSEmmanuel Vadot
413*f126890aSEmmanuel Vadot		nand: nand-controller@68000000 {
414*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-denali-nand-v5a";
415*f126890aSEmmanuel Vadot			status = "disabled";
416*f126890aSEmmanuel Vadot			reg-names = "nand_data", "denali_reg";
417*f126890aSEmmanuel Vadot			reg = <0x68000000 0x20>, <0x68100000 0x1000>;
418*f126890aSEmmanuel Vadot			#address-cells = <1>;
419*f126890aSEmmanuel Vadot			#size-cells = <0>;
420*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
421*f126890aSEmmanuel Vadot			pinctrl-names = "default";
422*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_nand>;
423*f126890aSEmmanuel Vadot			clock-names = "nand", "nand_x", "ecc";
424*f126890aSEmmanuel Vadot			clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
425*f126890aSEmmanuel Vadot			reset-names = "nand", "reg";
426*f126890aSEmmanuel Vadot			resets = <&sys_rst 2>, <&sys_rst 2>;
427*f126890aSEmmanuel Vadot		};
428*f126890aSEmmanuel Vadot	};
429*f126890aSEmmanuel Vadot};
430*f126890aSEmmanuel Vadot
431*f126890aSEmmanuel Vadot#include "uniphier-pinctrl.dtsi"
432