xref: /freebsd/sys/contrib/device-tree/src/arm/socionext/uniphier-pro4.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 Pro4 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-pro4";
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		cpu@1 {
29*f126890aSEmmanuel Vadot			device_type = "cpu";
30*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
31*f126890aSEmmanuel Vadot			reg = <1>;
32*f126890aSEmmanuel Vadot			enable-method = "psci";
33*f126890aSEmmanuel Vadot			next-level-cache = <&l2>;
34*f126890aSEmmanuel Vadot		};
35*f126890aSEmmanuel Vadot	};
36*f126890aSEmmanuel Vadot
37*f126890aSEmmanuel Vadot	psci {
38*f126890aSEmmanuel Vadot		compatible = "arm,psci-0.2";
39*f126890aSEmmanuel Vadot		method = "smc";
40*f126890aSEmmanuel Vadot	};
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot	clocks {
43*f126890aSEmmanuel Vadot		refclk: ref {
44*f126890aSEmmanuel Vadot			compatible = "fixed-clock";
45*f126890aSEmmanuel Vadot			#clock-cells = <0>;
46*f126890aSEmmanuel Vadot			clock-frequency = <25000000>;
47*f126890aSEmmanuel Vadot		};
48*f126890aSEmmanuel Vadot
49*f126890aSEmmanuel Vadot		arm_timer_clk: arm-timer {
50*f126890aSEmmanuel Vadot			#clock-cells = <0>;
51*f126890aSEmmanuel Vadot			compatible = "fixed-clock";
52*f126890aSEmmanuel Vadot			clock-frequency = <50000000>;
53*f126890aSEmmanuel Vadot		};
54*f126890aSEmmanuel Vadot	};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot	soc {
57*f126890aSEmmanuel Vadot		compatible = "simple-bus";
58*f126890aSEmmanuel Vadot		#address-cells = <1>;
59*f126890aSEmmanuel Vadot		#size-cells = <1>;
60*f126890aSEmmanuel Vadot		ranges;
61*f126890aSEmmanuel Vadot		interrupt-parent = <&intc>;
62*f126890aSEmmanuel Vadot
63*f126890aSEmmanuel Vadot		l2: cache-controller@500c0000 {
64*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-system-cache";
65*f126890aSEmmanuel Vadot			reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
66*f126890aSEmmanuel Vadot			      <0x506c0000 0x400>;
67*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
68*f126890aSEmmanuel Vadot				     <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
69*f126890aSEmmanuel Vadot			cache-unified;
70*f126890aSEmmanuel Vadot			cache-size = <(768 * 1024)>;
71*f126890aSEmmanuel Vadot			cache-sets = <256>;
72*f126890aSEmmanuel Vadot			cache-line-size = <128>;
73*f126890aSEmmanuel Vadot			cache-level = <2>;
74*f126890aSEmmanuel Vadot		};
75*f126890aSEmmanuel Vadot
76*f126890aSEmmanuel Vadot		spi0: spi@54006000 {
77*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-scssi";
78*f126890aSEmmanuel Vadot			status = "disabled";
79*f126890aSEmmanuel Vadot			reg = <0x54006000 0x100>;
80*f126890aSEmmanuel Vadot			#address-cells = <1>;
81*f126890aSEmmanuel Vadot			#size-cells = <0>;
82*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
83*f126890aSEmmanuel Vadot			pinctrl-names = "default";
84*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_spi0>;
85*f126890aSEmmanuel Vadot			clocks = <&peri_clk 11>;
86*f126890aSEmmanuel Vadot			resets = <&peri_rst 11>;
87*f126890aSEmmanuel Vadot		};
88*f126890aSEmmanuel Vadot
89*f126890aSEmmanuel Vadot		serial0: serial@54006800 {
90*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
91*f126890aSEmmanuel Vadot			status = "disabled";
92*f126890aSEmmanuel Vadot			reg = <0x54006800 0x40>;
93*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
94*f126890aSEmmanuel Vadot			pinctrl-names = "default";
95*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart0>;
96*f126890aSEmmanuel Vadot			clocks = <&peri_clk 0>;
97*f126890aSEmmanuel Vadot			resets = <&peri_rst 0>;
98*f126890aSEmmanuel Vadot		};
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot		serial1: serial@54006900 {
101*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
102*f126890aSEmmanuel Vadot			status = "disabled";
103*f126890aSEmmanuel Vadot			reg = <0x54006900 0x40>;
104*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
105*f126890aSEmmanuel Vadot			pinctrl-names = "default";
106*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart1>;
107*f126890aSEmmanuel Vadot			clocks = <&peri_clk 1>;
108*f126890aSEmmanuel Vadot			resets = <&peri_rst 1>;
109*f126890aSEmmanuel Vadot		};
110*f126890aSEmmanuel Vadot
111*f126890aSEmmanuel Vadot		serial2: serial@54006a00 {
112*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
113*f126890aSEmmanuel Vadot			status = "disabled";
114*f126890aSEmmanuel Vadot			reg = <0x54006a00 0x40>;
115*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
116*f126890aSEmmanuel Vadot			pinctrl-names = "default";
117*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart2>;
118*f126890aSEmmanuel Vadot			clocks = <&peri_clk 2>;
119*f126890aSEmmanuel Vadot			resets = <&peri_rst 2>;
120*f126890aSEmmanuel Vadot		};
121*f126890aSEmmanuel Vadot
122*f126890aSEmmanuel Vadot		serial3: serial@54006b00 {
123*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
124*f126890aSEmmanuel Vadot			status = "disabled";
125*f126890aSEmmanuel Vadot			reg = <0x54006b00 0x40>;
126*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
127*f126890aSEmmanuel Vadot			pinctrl-names = "default";
128*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart3>;
129*f126890aSEmmanuel Vadot			clocks = <&peri_clk 3>;
130*f126890aSEmmanuel Vadot			resets = <&peri_rst 3>;
131*f126890aSEmmanuel Vadot		};
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot		gpio: gpio@55000000 {
134*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-gpio";
135*f126890aSEmmanuel Vadot			reg = <0x55000000 0x200>;
136*f126890aSEmmanuel Vadot			interrupt-parent = <&aidet>;
137*f126890aSEmmanuel Vadot			interrupt-controller;
138*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
139*f126890aSEmmanuel Vadot			gpio-controller;
140*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
141*f126890aSEmmanuel Vadot			gpio-ranges = <&pinctrl 0 0 0>;
142*f126890aSEmmanuel Vadot			gpio-ranges-group-names = "gpio_range";
143*f126890aSEmmanuel Vadot			ngpios = <248>;
144*f126890aSEmmanuel Vadot			socionext,interrupt-ranges = <0 48 16>, <16 154 5>;
145*f126890aSEmmanuel Vadot		};
146*f126890aSEmmanuel Vadot
147*f126890aSEmmanuel Vadot		i2c0: i2c@58780000 {
148*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
149*f126890aSEmmanuel Vadot			status = "disabled";
150*f126890aSEmmanuel Vadot			reg = <0x58780000 0x80>;
151*f126890aSEmmanuel Vadot			#address-cells = <1>;
152*f126890aSEmmanuel Vadot			#size-cells = <0>;
153*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
154*f126890aSEmmanuel Vadot			pinctrl-names = "default";
155*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c0>;
156*f126890aSEmmanuel Vadot			clocks = <&peri_clk 4>;
157*f126890aSEmmanuel Vadot			resets = <&peri_rst 4>;
158*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
159*f126890aSEmmanuel Vadot		};
160*f126890aSEmmanuel Vadot
161*f126890aSEmmanuel Vadot		i2c1: i2c@58781000 {
162*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
163*f126890aSEmmanuel Vadot			status = "disabled";
164*f126890aSEmmanuel Vadot			reg = <0x58781000 0x80>;
165*f126890aSEmmanuel Vadot			#address-cells = <1>;
166*f126890aSEmmanuel Vadot			#size-cells = <0>;
167*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
168*f126890aSEmmanuel Vadot			pinctrl-names = "default";
169*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c1>;
170*f126890aSEmmanuel Vadot			clocks = <&peri_clk 5>;
171*f126890aSEmmanuel Vadot			resets = <&peri_rst 5>;
172*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
173*f126890aSEmmanuel Vadot		};
174*f126890aSEmmanuel Vadot
175*f126890aSEmmanuel Vadot		i2c2: i2c@58782000 {
176*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
177*f126890aSEmmanuel Vadot			status = "disabled";
178*f126890aSEmmanuel Vadot			reg = <0x58782000 0x80>;
179*f126890aSEmmanuel Vadot			#address-cells = <1>;
180*f126890aSEmmanuel Vadot			#size-cells = <0>;
181*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
182*f126890aSEmmanuel Vadot			pinctrl-names = "default";
183*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c2>;
184*f126890aSEmmanuel Vadot			clocks = <&peri_clk 6>;
185*f126890aSEmmanuel Vadot			resets = <&peri_rst 6>;
186*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
187*f126890aSEmmanuel Vadot		};
188*f126890aSEmmanuel Vadot
189*f126890aSEmmanuel Vadot		i2c3: i2c@58783000 {
190*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
191*f126890aSEmmanuel Vadot			status = "disabled";
192*f126890aSEmmanuel Vadot			reg = <0x58783000 0x80>;
193*f126890aSEmmanuel Vadot			#address-cells = <1>;
194*f126890aSEmmanuel Vadot			#size-cells = <0>;
195*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
196*f126890aSEmmanuel Vadot			pinctrl-names = "default";
197*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c3>;
198*f126890aSEmmanuel Vadot			clocks = <&peri_clk 7>;
199*f126890aSEmmanuel Vadot			resets = <&peri_rst 7>;
200*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
201*f126890aSEmmanuel Vadot		};
202*f126890aSEmmanuel Vadot
203*f126890aSEmmanuel Vadot		/* i2c4 does not exist */
204*f126890aSEmmanuel Vadot
205*f126890aSEmmanuel Vadot		/* chip-internal connection for DMD */
206*f126890aSEmmanuel Vadot		i2c5: i2c@58785000 {
207*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
208*f126890aSEmmanuel Vadot			reg = <0x58785000 0x80>;
209*f126890aSEmmanuel Vadot			#address-cells = <1>;
210*f126890aSEmmanuel Vadot			#size-cells = <0>;
211*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
212*f126890aSEmmanuel Vadot			clocks = <&peri_clk 9>;
213*f126890aSEmmanuel Vadot			resets = <&peri_rst 9>;
214*f126890aSEmmanuel Vadot			clock-frequency = <400000>;
215*f126890aSEmmanuel Vadot		};
216*f126890aSEmmanuel Vadot
217*f126890aSEmmanuel Vadot		/* chip-internal connection for HDMI */
218*f126890aSEmmanuel Vadot		i2c6: i2c@58786000 {
219*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
220*f126890aSEmmanuel Vadot			reg = <0x58786000 0x80>;
221*f126890aSEmmanuel Vadot			#address-cells = <1>;
222*f126890aSEmmanuel Vadot			#size-cells = <0>;
223*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
224*f126890aSEmmanuel Vadot			clocks = <&peri_clk 10>;
225*f126890aSEmmanuel Vadot			resets = <&peri_rst 10>;
226*f126890aSEmmanuel Vadot			clock-frequency = <400000>;
227*f126890aSEmmanuel Vadot		};
228*f126890aSEmmanuel Vadot
229*f126890aSEmmanuel Vadot		system_bus: system-bus@58c00000 {
230*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-system-bus";
231*f126890aSEmmanuel Vadot			status = "disabled";
232*f126890aSEmmanuel Vadot			reg = <0x58c00000 0x400>;
233*f126890aSEmmanuel Vadot			#address-cells = <2>;
234*f126890aSEmmanuel Vadot			#size-cells = <1>;
235*f126890aSEmmanuel Vadot			pinctrl-names = "default";
236*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_system_bus>;
237*f126890aSEmmanuel Vadot		};
238*f126890aSEmmanuel Vadot
239*f126890aSEmmanuel Vadot		smpctrl@59801000 {
240*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-smpctrl";
241*f126890aSEmmanuel Vadot			reg = <0x59801000 0x400>;
242*f126890aSEmmanuel Vadot		};
243*f126890aSEmmanuel Vadot
244*f126890aSEmmanuel Vadot		mioctrl: syscon@59810000 {
245*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-mioctrl",
246*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
247*f126890aSEmmanuel Vadot			reg = <0x59810000 0x800>;
248*f126890aSEmmanuel Vadot
249*f126890aSEmmanuel Vadot			mio_clk: clock-controller {
250*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-mio-clock";
251*f126890aSEmmanuel Vadot				#clock-cells = <1>;
252*f126890aSEmmanuel Vadot			};
253*f126890aSEmmanuel Vadot
254*f126890aSEmmanuel Vadot			mio_rst: reset-controller {
255*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-mio-reset";
256*f126890aSEmmanuel Vadot				#reset-cells = <1>;
257*f126890aSEmmanuel Vadot			};
258*f126890aSEmmanuel Vadot		};
259*f126890aSEmmanuel Vadot
260*f126890aSEmmanuel Vadot		syscon@59820000 {
261*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-perictrl",
262*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
263*f126890aSEmmanuel Vadot			reg = <0x59820000 0x200>;
264*f126890aSEmmanuel Vadot
265*f126890aSEmmanuel Vadot			peri_clk: clock-controller {
266*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-peri-clock";
267*f126890aSEmmanuel Vadot				#clock-cells = <1>;
268*f126890aSEmmanuel Vadot			};
269*f126890aSEmmanuel Vadot
270*f126890aSEmmanuel Vadot			peri_rst: reset-controller {
271*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-peri-reset";
272*f126890aSEmmanuel Vadot				#reset-cells = <1>;
273*f126890aSEmmanuel Vadot			};
274*f126890aSEmmanuel Vadot		};
275*f126890aSEmmanuel Vadot
276*f126890aSEmmanuel Vadot		dmac: dma-controller@5a000000 {
277*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-mio-dmac";
278*f126890aSEmmanuel Vadot			reg = <0x5a000000 0x1000>;
279*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
280*f126890aSEmmanuel Vadot				     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
281*f126890aSEmmanuel Vadot				     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
282*f126890aSEmmanuel Vadot				     <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
283*f126890aSEmmanuel Vadot				     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
284*f126890aSEmmanuel Vadot				     <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
285*f126890aSEmmanuel Vadot				     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
286*f126890aSEmmanuel Vadot				     <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
287*f126890aSEmmanuel Vadot			clocks = <&mio_clk 7>;
288*f126890aSEmmanuel Vadot			resets = <&mio_rst 7>;
289*f126890aSEmmanuel Vadot			#dma-cells = <1>;
290*f126890aSEmmanuel Vadot		};
291*f126890aSEmmanuel Vadot
292*f126890aSEmmanuel Vadot		sd: mmc@5a400000 {
293*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-sd-v2.91";
294*f126890aSEmmanuel Vadot			status = "disabled";
295*f126890aSEmmanuel Vadot			reg = <0x5a400000 0x200>;
296*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
297*f126890aSEmmanuel Vadot			pinctrl-names = "default", "uhs";
298*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_sd>;
299*f126890aSEmmanuel Vadot			pinctrl-1 = <&pinctrl_sd_uhs>;
300*f126890aSEmmanuel Vadot			clocks = <&mio_clk 0>;
301*f126890aSEmmanuel Vadot			reset-names = "host", "bridge";
302*f126890aSEmmanuel Vadot			resets = <&mio_rst 0>, <&mio_rst 3>;
303*f126890aSEmmanuel Vadot			dma-names = "rx-tx";
304*f126890aSEmmanuel Vadot			dmas = <&dmac 4>;
305*f126890aSEmmanuel Vadot			bus-width = <4>;
306*f126890aSEmmanuel Vadot			cap-sd-highspeed;
307*f126890aSEmmanuel Vadot			sd-uhs-sdr12;
308*f126890aSEmmanuel Vadot			sd-uhs-sdr25;
309*f126890aSEmmanuel Vadot			sd-uhs-sdr50;
310*f126890aSEmmanuel Vadot			socionext,syscon-uhs-mode = <&mioctrl 0>;
311*f126890aSEmmanuel Vadot		};
312*f126890aSEmmanuel Vadot
313*f126890aSEmmanuel Vadot		emmc: mmc@5a500000 {
314*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-sd-v2.91";
315*f126890aSEmmanuel Vadot			status = "disabled";
316*f126890aSEmmanuel Vadot			reg = <0x5a500000 0x200>;
317*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
318*f126890aSEmmanuel Vadot			pinctrl-names = "default";
319*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_emmc>;
320*f126890aSEmmanuel Vadot			clocks = <&mio_clk 1>;
321*f126890aSEmmanuel Vadot			reset-names = "host", "bridge", "hw";
322*f126890aSEmmanuel Vadot			resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
323*f126890aSEmmanuel Vadot			dma-names = "rx-tx";
324*f126890aSEmmanuel Vadot			dmas = <&dmac 5>;
325*f126890aSEmmanuel Vadot			bus-width = <8>;
326*f126890aSEmmanuel Vadot			cap-mmc-highspeed;
327*f126890aSEmmanuel Vadot			cap-mmc-hw-reset;
328*f126890aSEmmanuel Vadot			non-removable;
329*f126890aSEmmanuel Vadot		};
330*f126890aSEmmanuel Vadot
331*f126890aSEmmanuel Vadot		sd1: mmc@5a600000 {
332*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-sd-v2.91";
333*f126890aSEmmanuel Vadot			status = "disabled";
334*f126890aSEmmanuel Vadot			reg = <0x5a600000 0x200>;
335*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
336*f126890aSEmmanuel Vadot			pinctrl-names = "default";
337*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_sd1>;
338*f126890aSEmmanuel Vadot			clocks = <&mio_clk 2>;
339*f126890aSEmmanuel Vadot			reset-names = "host", "bridge";
340*f126890aSEmmanuel Vadot			resets = <&mio_rst 2>, <&mio_rst 5>;
341*f126890aSEmmanuel Vadot			dma-names = "rx-tx";
342*f126890aSEmmanuel Vadot			dmas = <&dmac 6>;
343*f126890aSEmmanuel Vadot			bus-width = <4>;
344*f126890aSEmmanuel Vadot			cap-sd-highspeed;
345*f126890aSEmmanuel Vadot		};
346*f126890aSEmmanuel Vadot
347*f126890aSEmmanuel Vadot		usb2: usb@5a800100 {
348*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ehci", "generic-ehci";
349*f126890aSEmmanuel Vadot			status = "disabled";
350*f126890aSEmmanuel Vadot			reg = <0x5a800100 0x100>;
351*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
352*f126890aSEmmanuel Vadot			pinctrl-names = "default";
353*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usb2>;
354*f126890aSEmmanuel Vadot			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
355*f126890aSEmmanuel Vadot				 <&mio_clk 12>;
356*f126890aSEmmanuel Vadot			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
357*f126890aSEmmanuel Vadot				 <&mio_rst 12>;
358*f126890aSEmmanuel Vadot			phy-names = "usb";
359*f126890aSEmmanuel Vadot			phys = <&usb_phy0>;
360*f126890aSEmmanuel Vadot			has-transaction-translator;
361*f126890aSEmmanuel Vadot		};
362*f126890aSEmmanuel Vadot
363*f126890aSEmmanuel Vadot		usb3: usb@5a810100 {
364*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-ehci", "generic-ehci";
365*f126890aSEmmanuel Vadot			status = "disabled";
366*f126890aSEmmanuel Vadot			reg = <0x5a810100 0x100>;
367*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
368*f126890aSEmmanuel Vadot			pinctrl-names = "default";
369*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usb3>;
370*f126890aSEmmanuel Vadot			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
371*f126890aSEmmanuel Vadot				 <&mio_clk 13>;
372*f126890aSEmmanuel Vadot			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
373*f126890aSEmmanuel Vadot				 <&mio_rst 13>;
374*f126890aSEmmanuel Vadot			phy-names = "usb";
375*f126890aSEmmanuel Vadot			phys = <&usb_phy1>;
376*f126890aSEmmanuel Vadot			has-transaction-translator;
377*f126890aSEmmanuel Vadot		};
378*f126890aSEmmanuel Vadot
379*f126890aSEmmanuel Vadot		soc_glue: syscon@5f800000 {
380*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-soc-glue",
381*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
382*f126890aSEmmanuel Vadot			reg = <0x5f800000 0x2000>;
383*f126890aSEmmanuel Vadot
384*f126890aSEmmanuel Vadot			pinctrl: pinctrl {
385*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-pinctrl";
386*f126890aSEmmanuel Vadot			};
387*f126890aSEmmanuel Vadot
388*f126890aSEmmanuel Vadot			usb-hub {
389*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-usb2-phy";
390*f126890aSEmmanuel Vadot				#address-cells = <1>;
391*f126890aSEmmanuel Vadot				#size-cells = <0>;
392*f126890aSEmmanuel Vadot
393*f126890aSEmmanuel Vadot				usb_phy0: phy@0 {
394*f126890aSEmmanuel Vadot					reg = <0>;
395*f126890aSEmmanuel Vadot					#phy-cells = <0>;
396*f126890aSEmmanuel Vadot				};
397*f126890aSEmmanuel Vadot
398*f126890aSEmmanuel Vadot				usb_phy1: phy@1 {
399*f126890aSEmmanuel Vadot					reg = <1>;
400*f126890aSEmmanuel Vadot					#phy-cells = <0>;
401*f126890aSEmmanuel Vadot				};
402*f126890aSEmmanuel Vadot
403*f126890aSEmmanuel Vadot				usb_phy2: phy@2 {
404*f126890aSEmmanuel Vadot					reg = <2>;
405*f126890aSEmmanuel Vadot					#phy-cells = <0>;
406*f126890aSEmmanuel Vadot					vbus-supply = <&usb0_vbus>;
407*f126890aSEmmanuel Vadot				};
408*f126890aSEmmanuel Vadot
409*f126890aSEmmanuel Vadot				usb_phy3: phy@3 {
410*f126890aSEmmanuel Vadot					reg = <3>;
411*f126890aSEmmanuel Vadot					#phy-cells = <0>;
412*f126890aSEmmanuel Vadot					vbus-supply = <&usb1_vbus>;
413*f126890aSEmmanuel Vadot				};
414*f126890aSEmmanuel Vadot			};
415*f126890aSEmmanuel Vadot
416*f126890aSEmmanuel Vadot			sg_clk: clock-controller {
417*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-sg-clock";
418*f126890aSEmmanuel Vadot				#clock-cells = <1>;
419*f126890aSEmmanuel Vadot			};
420*f126890aSEmmanuel Vadot		};
421*f126890aSEmmanuel Vadot
422*f126890aSEmmanuel Vadot		syscon@5f900000 {
423*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-soc-glue-debug",
424*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
425*f126890aSEmmanuel Vadot			reg = <0x5f900000 0x2000>;
426*f126890aSEmmanuel Vadot			#address-cells = <1>;
427*f126890aSEmmanuel Vadot			#size-cells = <1>;
428*f126890aSEmmanuel Vadot			ranges = <0 0x5f900000 0x2000>;
429*f126890aSEmmanuel Vadot
430*f126890aSEmmanuel Vadot			efuse@100 {
431*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-efuse";
432*f126890aSEmmanuel Vadot				reg = <0x100 0x28>;
433*f126890aSEmmanuel Vadot			};
434*f126890aSEmmanuel Vadot
435*f126890aSEmmanuel Vadot			efuse@130 {
436*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-efuse";
437*f126890aSEmmanuel Vadot				reg = <0x130 0x8>;
438*f126890aSEmmanuel Vadot			};
439*f126890aSEmmanuel Vadot
440*f126890aSEmmanuel Vadot			efuse@200 {
441*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-efuse";
442*f126890aSEmmanuel Vadot				reg = <0x200 0x14>;
443*f126890aSEmmanuel Vadot			};
444*f126890aSEmmanuel Vadot		};
445*f126890aSEmmanuel Vadot
446*f126890aSEmmanuel Vadot		xdmac: dma-controller@5fc10000 {
447*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-xdmac";
448*f126890aSEmmanuel Vadot			reg = <0x5fc10000 0x5300>;
449*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
450*f126890aSEmmanuel Vadot			dma-channels = <16>;
451*f126890aSEmmanuel Vadot			#dma-cells = <2>;
452*f126890aSEmmanuel Vadot		};
453*f126890aSEmmanuel Vadot
454*f126890aSEmmanuel Vadot		aidet: interrupt-controller@5fc20000 {
455*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-aidet";
456*f126890aSEmmanuel Vadot			reg = <0x5fc20000 0x200>;
457*f126890aSEmmanuel Vadot			interrupt-controller;
458*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
459*f126890aSEmmanuel Vadot		};
460*f126890aSEmmanuel Vadot
461*f126890aSEmmanuel Vadot		timer@60000200 {
462*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9-global-timer";
463*f126890aSEmmanuel Vadot			reg = <0x60000200 0x20>;
464*f126890aSEmmanuel Vadot			interrupts = <GIC_PPI 11
465*f126890aSEmmanuel Vadot				(GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>;
466*f126890aSEmmanuel Vadot			clocks = <&arm_timer_clk>;
467*f126890aSEmmanuel Vadot		};
468*f126890aSEmmanuel Vadot
469*f126890aSEmmanuel Vadot		timer@60000600 {
470*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9-twd-timer";
471*f126890aSEmmanuel Vadot			reg = <0x60000600 0x20>;
472*f126890aSEmmanuel Vadot			interrupts = <GIC_PPI 13
473*f126890aSEmmanuel Vadot				(GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>;
474*f126890aSEmmanuel Vadot			clocks = <&arm_timer_clk>;
475*f126890aSEmmanuel Vadot		};
476*f126890aSEmmanuel Vadot
477*f126890aSEmmanuel Vadot		intc: interrupt-controller@60001000 {
478*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9-gic";
479*f126890aSEmmanuel Vadot			reg = <0x60001000 0x1000>,
480*f126890aSEmmanuel Vadot			      <0x60000100 0x100>;
481*f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
482*f126890aSEmmanuel Vadot			interrupt-controller;
483*f126890aSEmmanuel Vadot		};
484*f126890aSEmmanuel Vadot
485*f126890aSEmmanuel Vadot		syscon@61840000 {
486*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-sysctrl",
487*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
488*f126890aSEmmanuel Vadot			reg = <0x61840000 0x10000>;
489*f126890aSEmmanuel Vadot
490*f126890aSEmmanuel Vadot			sys_clk: clock-controller {
491*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-clock";
492*f126890aSEmmanuel Vadot				#clock-cells = <1>;
493*f126890aSEmmanuel Vadot			};
494*f126890aSEmmanuel Vadot
495*f126890aSEmmanuel Vadot			sys_rst: reset-controller {
496*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-reset";
497*f126890aSEmmanuel Vadot				#reset-cells = <1>;
498*f126890aSEmmanuel Vadot			};
499*f126890aSEmmanuel Vadot		};
500*f126890aSEmmanuel Vadot
501*f126890aSEmmanuel Vadot		eth: ethernet@65000000 {
502*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-ave4";
503*f126890aSEmmanuel Vadot			status = "disabled";
504*f126890aSEmmanuel Vadot			reg = <0x65000000 0x8500>;
505*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
506*f126890aSEmmanuel Vadot			pinctrl-names = "default";
507*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_ether_rgmii>;
508*f126890aSEmmanuel Vadot			clock-names = "gio", "ether", "ether-gb", "ether-phy";
509*f126890aSEmmanuel Vadot			clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>,
510*f126890aSEmmanuel Vadot				 <&sys_clk 10>;
511*f126890aSEmmanuel Vadot			reset-names = "gio", "ether";
512*f126890aSEmmanuel Vadot			resets = <&sys_rst 12>, <&sys_rst 6>;
513*f126890aSEmmanuel Vadot			phy-mode = "rgmii";
514*f126890aSEmmanuel Vadot			local-mac-address = [00 00 00 00 00 00];
515*f126890aSEmmanuel Vadot			socionext,syscon-phy-mode = <&soc_glue 0>;
516*f126890aSEmmanuel Vadot
517*f126890aSEmmanuel Vadot			mdio: mdio {
518*f126890aSEmmanuel Vadot				#address-cells = <1>;
519*f126890aSEmmanuel Vadot				#size-cells = <0>;
520*f126890aSEmmanuel Vadot			};
521*f126890aSEmmanuel Vadot		};
522*f126890aSEmmanuel Vadot
523*f126890aSEmmanuel Vadot		ahci0: sata@65600000 {
524*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-ahci",
525*f126890aSEmmanuel Vadot				     "generic-ahci";
526*f126890aSEmmanuel Vadot			status = "disabled";
527*f126890aSEmmanuel Vadot			reg = <0x65600000 0x10000>;
528*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
529*f126890aSEmmanuel Vadot			clocks = <&sys_clk 12>, <&sys_clk 28>;
530*f126890aSEmmanuel Vadot			resets = <&sys_rst 12>, <&sys_rst 28>, <&ahci0_rst 3>;
531*f126890aSEmmanuel Vadot			ports-implemented = <1>;
532*f126890aSEmmanuel Vadot			phys = <&ahci0_phy>;
533*f126890aSEmmanuel Vadot			assigned-clocks = <&sg_clk 0>;
534*f126890aSEmmanuel Vadot			assigned-clock-rates = <25000000>;
535*f126890aSEmmanuel Vadot		};
536*f126890aSEmmanuel Vadot
537*f126890aSEmmanuel Vadot		sata-controller@65700000 {
538*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-ahci-glue",
539*f126890aSEmmanuel Vadot				     "simple-mfd";
540*f126890aSEmmanuel Vadot			reg = <0x65700000 0x100>;
541*f126890aSEmmanuel Vadot			#address-cells = <1>;
542*f126890aSEmmanuel Vadot			#size-cells = <1>;
543*f126890aSEmmanuel Vadot			ranges = <0 0x65700000 0x100>;
544*f126890aSEmmanuel Vadot
545*f126890aSEmmanuel Vadot			ahci0_rst: reset-controller@0 {
546*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-ahci-reset";
547*f126890aSEmmanuel Vadot				reg = <0x0 0x4>;
548*f126890aSEmmanuel Vadot				clock-names = "gio", "link";
549*f126890aSEmmanuel Vadot				clocks = <&sys_clk 12>, <&sys_clk 28>;
550*f126890aSEmmanuel Vadot				reset-names = "gio", "link";
551*f126890aSEmmanuel Vadot				resets = <&sys_rst 12>, <&sys_rst 28>;
552*f126890aSEmmanuel Vadot				#reset-cells = <1>;
553*f126890aSEmmanuel Vadot			};
554*f126890aSEmmanuel Vadot
555*f126890aSEmmanuel Vadot			ahci0_phy: phy@10 {
556*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-ahci-phy";
557*f126890aSEmmanuel Vadot				reg = <0x10 0x40>;
558*f126890aSEmmanuel Vadot				clock-names = "link", "gio";
559*f126890aSEmmanuel Vadot				clocks = <&sys_clk 28>, <&sys_clk 12>;
560*f126890aSEmmanuel Vadot				reset-names = "link", "gio", "phy",
561*f126890aSEmmanuel Vadot					      "pm", "tx", "rx";
562*f126890aSEmmanuel Vadot				resets = <&sys_rst 28>, <&sys_rst 12>,
563*f126890aSEmmanuel Vadot					 <&sys_rst 30>,
564*f126890aSEmmanuel Vadot					 <&ahci0_rst 0>, <&ahci0_rst 1>,
565*f126890aSEmmanuel Vadot					 <&ahci0_rst 2>;
566*f126890aSEmmanuel Vadot				#phy-cells = <0>;
567*f126890aSEmmanuel Vadot			};
568*f126890aSEmmanuel Vadot		};
569*f126890aSEmmanuel Vadot
570*f126890aSEmmanuel Vadot		ahci1: sata@65800000 {
571*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-ahci",
572*f126890aSEmmanuel Vadot				     "generic-ahci";
573*f126890aSEmmanuel Vadot			status = "disabled";
574*f126890aSEmmanuel Vadot			reg = <0x65800000 0x10000>;
575*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
576*f126890aSEmmanuel Vadot			clocks = <&sys_clk 12>, <&sys_clk 29>;
577*f126890aSEmmanuel Vadot			resets = <&sys_rst 12>, <&sys_rst 29>, <&ahci1_rst 3>;
578*f126890aSEmmanuel Vadot			ports-implemented = <1>;
579*f126890aSEmmanuel Vadot			phys = <&ahci1_phy>;
580*f126890aSEmmanuel Vadot			assigned-clocks = <&sg_clk 0>;
581*f126890aSEmmanuel Vadot			assigned-clock-rates = <25000000>;
582*f126890aSEmmanuel Vadot		};
583*f126890aSEmmanuel Vadot
584*f126890aSEmmanuel Vadot		sata-controller@65900000 {
585*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-ahci-glue",
586*f126890aSEmmanuel Vadot				     "simple-mfd";
587*f126890aSEmmanuel Vadot			reg = <0x65900000 0x100>;
588*f126890aSEmmanuel Vadot			#address-cells = <1>;
589*f126890aSEmmanuel Vadot			#size-cells = <1>;
590*f126890aSEmmanuel Vadot			ranges = <0 0x65900000 0x100>;
591*f126890aSEmmanuel Vadot
592*f126890aSEmmanuel Vadot			ahci1_rst: reset-controller@0 {
593*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-ahci-reset";
594*f126890aSEmmanuel Vadot				reg = <0x0 0x4>;
595*f126890aSEmmanuel Vadot				clock-names = "gio", "link";
596*f126890aSEmmanuel Vadot				clocks = <&sys_clk 12>, <&sys_clk 29>;
597*f126890aSEmmanuel Vadot				reset-names = "gio", "link";
598*f126890aSEmmanuel Vadot				resets = <&sys_rst 12>, <&sys_rst 29>;
599*f126890aSEmmanuel Vadot				#reset-cells = <1>;
600*f126890aSEmmanuel Vadot			};
601*f126890aSEmmanuel Vadot
602*f126890aSEmmanuel Vadot			ahci1_phy: phy@10 {
603*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-ahci-phy";
604*f126890aSEmmanuel Vadot				reg = <0x10 0x40>;
605*f126890aSEmmanuel Vadot				clock-names = "link", "gio";
606*f126890aSEmmanuel Vadot				clocks = <&sys_clk 29>, <&sys_clk 12>;
607*f126890aSEmmanuel Vadot				reset-names = "link", "gio", "phy",
608*f126890aSEmmanuel Vadot					      "pm", "tx", "rx";
609*f126890aSEmmanuel Vadot				resets = <&sys_rst 29>, <&sys_rst 12>,
610*f126890aSEmmanuel Vadot					 <&sys_rst 30>,
611*f126890aSEmmanuel Vadot					 <&ahci1_rst 0>, <&ahci1_rst 1>,
612*f126890aSEmmanuel Vadot					 <&ahci1_rst 2>;
613*f126890aSEmmanuel Vadot				#phy-cells = <0>;
614*f126890aSEmmanuel Vadot			};
615*f126890aSEmmanuel Vadot		};
616*f126890aSEmmanuel Vadot
617*f126890aSEmmanuel Vadot		usb0: usb@65a00000 {
618*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-dwc3", "snps,dwc3";
619*f126890aSEmmanuel Vadot			status = "disabled";
620*f126890aSEmmanuel Vadot			reg = <0x65a00000 0xcd00>;
621*f126890aSEmmanuel Vadot			interrupt-names = "host", "peripheral";
622*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
623*f126890aSEmmanuel Vadot				     <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
624*f126890aSEmmanuel Vadot			pinctrl-names = "default";
625*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usb0>;
626*f126890aSEmmanuel Vadot			clock-names = "ref", "bus_early", "suspend";
627*f126890aSEmmanuel Vadot			clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
628*f126890aSEmmanuel Vadot			resets = <&usb0_rst 4>;
629*f126890aSEmmanuel Vadot			phys = <&usb_phy2>, <&usb0_ssphy>;
630*f126890aSEmmanuel Vadot			dr_mode = "host";
631*f126890aSEmmanuel Vadot		};
632*f126890aSEmmanuel Vadot
633*f126890aSEmmanuel Vadot		usb-controller@65b00000 {
634*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-dwc3-glue",
635*f126890aSEmmanuel Vadot				     "simple-mfd";
636*f126890aSEmmanuel Vadot			reg = <0x65b00000 0x100>;
637*f126890aSEmmanuel Vadot			#address-cells = <1>;
638*f126890aSEmmanuel Vadot			#size-cells = <1>;
639*f126890aSEmmanuel Vadot			ranges = <0 0x65b00000 0x100>;
640*f126890aSEmmanuel Vadot
641*f126890aSEmmanuel Vadot			usb0_vbus: regulator@0 {
642*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-usb3-regulator";
643*f126890aSEmmanuel Vadot				reg = <0 0x10>;
644*f126890aSEmmanuel Vadot				clock-names = "gio", "link";
645*f126890aSEmmanuel Vadot				clocks = <&sys_clk 12>, <&sys_clk 14>;
646*f126890aSEmmanuel Vadot				reset-names = "gio", "link";
647*f126890aSEmmanuel Vadot				resets = <&sys_rst 12>, <&sys_rst 14>;
648*f126890aSEmmanuel Vadot			};
649*f126890aSEmmanuel Vadot
650*f126890aSEmmanuel Vadot			usb0_ssphy: phy@10 {
651*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-usb3-ssphy";
652*f126890aSEmmanuel Vadot				reg = <0x10 0x10>;
653*f126890aSEmmanuel Vadot				#phy-cells = <0>;
654*f126890aSEmmanuel Vadot				clock-names = "gio", "link";
655*f126890aSEmmanuel Vadot				clocks = <&sys_clk 12>, <&sys_clk 14>;
656*f126890aSEmmanuel Vadot				reset-names = "gio", "link";
657*f126890aSEmmanuel Vadot				resets = <&sys_rst 12>, <&sys_rst 14>;
658*f126890aSEmmanuel Vadot				vbus-supply = <&usb0_vbus>;
659*f126890aSEmmanuel Vadot			};
660*f126890aSEmmanuel Vadot
661*f126890aSEmmanuel Vadot			usb0_rst: reset-controller@40 {
662*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-usb3-reset";
663*f126890aSEmmanuel Vadot				reg = <0x40 0x4>;
664*f126890aSEmmanuel Vadot				#reset-cells = <1>;
665*f126890aSEmmanuel Vadot				clock-names = "gio", "link";
666*f126890aSEmmanuel Vadot				clocks = <&sys_clk 12>, <&sys_clk 14>;
667*f126890aSEmmanuel Vadot				reset-names = "gio", "link";
668*f126890aSEmmanuel Vadot				resets = <&sys_rst 12>, <&sys_rst 14>;
669*f126890aSEmmanuel Vadot			};
670*f126890aSEmmanuel Vadot		};
671*f126890aSEmmanuel Vadot
672*f126890aSEmmanuel Vadot		usb1: usb@65c00000 {
673*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-dwc3", "snps,dwc3";
674*f126890aSEmmanuel Vadot			status = "disabled";
675*f126890aSEmmanuel Vadot			reg = <0x65c00000 0xcd00>;
676*f126890aSEmmanuel Vadot			interrupt-names = "host", "peripheral";
677*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
678*f126890aSEmmanuel Vadot				     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
679*f126890aSEmmanuel Vadot			pinctrl-names = "default";
680*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usb1>;
681*f126890aSEmmanuel Vadot			clock-names = "ref", "bus_early", "suspend";
682*f126890aSEmmanuel Vadot			clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
683*f126890aSEmmanuel Vadot			resets = <&usb1_rst 4>;
684*f126890aSEmmanuel Vadot			phys = <&usb_phy3>;
685*f126890aSEmmanuel Vadot			dr_mode = "host";
686*f126890aSEmmanuel Vadot		};
687*f126890aSEmmanuel Vadot
688*f126890aSEmmanuel Vadot		usb-controller@65d00000 {
689*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pro4-dwc3-glue",
690*f126890aSEmmanuel Vadot				     "simple-mfd";
691*f126890aSEmmanuel Vadot			reg = <0x65d00000 0x100>;
692*f126890aSEmmanuel Vadot			#address-cells = <1>;
693*f126890aSEmmanuel Vadot			#size-cells = <1>;
694*f126890aSEmmanuel Vadot			ranges = <0 0x65d00000 0x100>;
695*f126890aSEmmanuel Vadot
696*f126890aSEmmanuel Vadot			usb1_vbus: regulator@0 {
697*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-usb3-regulator";
698*f126890aSEmmanuel Vadot				reg = <0 0x10>;
699*f126890aSEmmanuel Vadot				clock-names = "gio", "link";
700*f126890aSEmmanuel Vadot				clocks = <&sys_clk 12>, <&sys_clk 15>;
701*f126890aSEmmanuel Vadot				reset-names = "gio", "link";
702*f126890aSEmmanuel Vadot				resets = <&sys_rst 12>, <&sys_rst 15>;
703*f126890aSEmmanuel Vadot			};
704*f126890aSEmmanuel Vadot
705*f126890aSEmmanuel Vadot			usb1_rst: reset-controller@40 {
706*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pro4-usb3-reset";
707*f126890aSEmmanuel Vadot				reg = <0x40 0x4>;
708*f126890aSEmmanuel Vadot				#reset-cells = <1>;
709*f126890aSEmmanuel Vadot				clock-names = "gio", "link";
710*f126890aSEmmanuel Vadot				clocks = <&sys_clk 12>, <&sys_clk 15>;
711*f126890aSEmmanuel Vadot				reset-names = "gio", "link";
712*f126890aSEmmanuel Vadot				resets = <&sys_rst 12>, <&sys_rst 15>;
713*f126890aSEmmanuel Vadot			};
714*f126890aSEmmanuel Vadot		};
715*f126890aSEmmanuel Vadot
716*f126890aSEmmanuel Vadot		nand: nand-controller@68000000 {
717*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-denali-nand-v5a";
718*f126890aSEmmanuel Vadot			status = "disabled";
719*f126890aSEmmanuel Vadot			reg-names = "nand_data", "denali_reg";
720*f126890aSEmmanuel Vadot			reg = <0x68000000 0x20>, <0x68100000 0x1000>;
721*f126890aSEmmanuel Vadot			#address-cells = <1>;
722*f126890aSEmmanuel Vadot			#size-cells = <0>;
723*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
724*f126890aSEmmanuel Vadot			pinctrl-names = "default";
725*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_nand>;
726*f126890aSEmmanuel Vadot			clock-names = "nand", "nand_x", "ecc";
727*f126890aSEmmanuel Vadot			clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
728*f126890aSEmmanuel Vadot			reset-names = "nand", "reg";
729*f126890aSEmmanuel Vadot			resets = <&sys_rst 2>, <&sys_rst 2>;
730*f126890aSEmmanuel Vadot		};
731*f126890aSEmmanuel Vadot	};
732*f126890aSEmmanuel Vadot};
733*f126890aSEmmanuel Vadot
734*f126890aSEmmanuel Vadot#include "uniphier-pinctrl.dtsi"
735