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