xref: /freebsd/sys/contrib/device-tree/src/arm/socionext/uniphier-pxs2.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 PXs2 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#include <dt-bindings/thermal/thermal.h>
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot/ {
13*f126890aSEmmanuel Vadot	compatible = "socionext,uniphier-pxs2";
14*f126890aSEmmanuel Vadot	#address-cells = <1>;
15*f126890aSEmmanuel Vadot	#size-cells = <1>;
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	cpus {
18*f126890aSEmmanuel Vadot		#address-cells = <1>;
19*f126890aSEmmanuel Vadot		#size-cells = <0>;
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot		cpu0: cpu@0 {
22*f126890aSEmmanuel Vadot			device_type = "cpu";
23*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
24*f126890aSEmmanuel Vadot			reg = <0>;
25*f126890aSEmmanuel Vadot			clocks = <&sys_clk 32>;
26*f126890aSEmmanuel Vadot			enable-method = "psci";
27*f126890aSEmmanuel Vadot			next-level-cache = <&l2>;
28*f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu_opp>;
29*f126890aSEmmanuel Vadot			#cooling-cells = <2>;
30*f126890aSEmmanuel Vadot		};
31*f126890aSEmmanuel Vadot
32*f126890aSEmmanuel Vadot		cpu1: cpu@1 {
33*f126890aSEmmanuel Vadot			device_type = "cpu";
34*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
35*f126890aSEmmanuel Vadot			reg = <1>;
36*f126890aSEmmanuel Vadot			clocks = <&sys_clk 32>;
37*f126890aSEmmanuel Vadot			enable-method = "psci";
38*f126890aSEmmanuel Vadot			next-level-cache = <&l2>;
39*f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu_opp>;
40*f126890aSEmmanuel Vadot			#cooling-cells = <2>;
41*f126890aSEmmanuel Vadot		};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot		cpu2: cpu@2 {
44*f126890aSEmmanuel Vadot			device_type = "cpu";
45*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
46*f126890aSEmmanuel Vadot			reg = <2>;
47*f126890aSEmmanuel Vadot			clocks = <&sys_clk 32>;
48*f126890aSEmmanuel Vadot			enable-method = "psci";
49*f126890aSEmmanuel Vadot			next-level-cache = <&l2>;
50*f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu_opp>;
51*f126890aSEmmanuel Vadot			#cooling-cells = <2>;
52*f126890aSEmmanuel Vadot		};
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot		cpu3: cpu@3 {
55*f126890aSEmmanuel Vadot			device_type = "cpu";
56*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
57*f126890aSEmmanuel Vadot			reg = <3>;
58*f126890aSEmmanuel Vadot			clocks = <&sys_clk 32>;
59*f126890aSEmmanuel Vadot			enable-method = "psci";
60*f126890aSEmmanuel Vadot			next-level-cache = <&l2>;
61*f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu_opp>;
62*f126890aSEmmanuel Vadot			#cooling-cells = <2>;
63*f126890aSEmmanuel Vadot		};
64*f126890aSEmmanuel Vadot	};
65*f126890aSEmmanuel Vadot
66*f126890aSEmmanuel Vadot	cpu_opp: opp-table {
67*f126890aSEmmanuel Vadot		compatible = "operating-points-v2";
68*f126890aSEmmanuel Vadot		opp-shared;
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot		opp-100000000 {
71*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <100000000>;
72*f126890aSEmmanuel Vadot			clock-latency-ns = <300>;
73*f126890aSEmmanuel Vadot		};
74*f126890aSEmmanuel Vadot		opp-150000000 {
75*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <150000000>;
76*f126890aSEmmanuel Vadot			clock-latency-ns = <300>;
77*f126890aSEmmanuel Vadot		};
78*f126890aSEmmanuel Vadot		opp-200000000 {
79*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <200000000>;
80*f126890aSEmmanuel Vadot			clock-latency-ns = <300>;
81*f126890aSEmmanuel Vadot		};
82*f126890aSEmmanuel Vadot		opp-300000000 {
83*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <300000000>;
84*f126890aSEmmanuel Vadot			clock-latency-ns = <300>;
85*f126890aSEmmanuel Vadot		};
86*f126890aSEmmanuel Vadot		opp-400000000 {
87*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <400000000>;
88*f126890aSEmmanuel Vadot			clock-latency-ns = <300>;
89*f126890aSEmmanuel Vadot		};
90*f126890aSEmmanuel Vadot		opp-600000000 {
91*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <600000000>;
92*f126890aSEmmanuel Vadot			clock-latency-ns = <300>;
93*f126890aSEmmanuel Vadot		};
94*f126890aSEmmanuel Vadot		opp-800000000 {
95*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <800000000>;
96*f126890aSEmmanuel Vadot			clock-latency-ns = <300>;
97*f126890aSEmmanuel Vadot		};
98*f126890aSEmmanuel Vadot		opp-1200000000 {
99*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <1200000000>;
100*f126890aSEmmanuel Vadot			clock-latency-ns = <300>;
101*f126890aSEmmanuel Vadot		};
102*f126890aSEmmanuel Vadot	};
103*f126890aSEmmanuel Vadot
104*f126890aSEmmanuel Vadot	psci {
105*f126890aSEmmanuel Vadot		compatible = "arm,psci-0.2";
106*f126890aSEmmanuel Vadot		method = "smc";
107*f126890aSEmmanuel Vadot	};
108*f126890aSEmmanuel Vadot
109*f126890aSEmmanuel Vadot	clocks {
110*f126890aSEmmanuel Vadot		refclk: ref {
111*f126890aSEmmanuel Vadot			compatible = "fixed-clock";
112*f126890aSEmmanuel Vadot			#clock-cells = <0>;
113*f126890aSEmmanuel Vadot			clock-frequency = <25000000>;
114*f126890aSEmmanuel Vadot		};
115*f126890aSEmmanuel Vadot
116*f126890aSEmmanuel Vadot		arm_timer_clk: arm-timer {
117*f126890aSEmmanuel Vadot			#clock-cells = <0>;
118*f126890aSEmmanuel Vadot			compatible = "fixed-clock";
119*f126890aSEmmanuel Vadot			clock-frequency = <50000000>;
120*f126890aSEmmanuel Vadot		};
121*f126890aSEmmanuel Vadot	};
122*f126890aSEmmanuel Vadot
123*f126890aSEmmanuel Vadot	thermal-zones {
124*f126890aSEmmanuel Vadot		cpu-thermal {
125*f126890aSEmmanuel Vadot			polling-delay-passive = <250>;	/* 250ms */
126*f126890aSEmmanuel Vadot			polling-delay = <1000>;		/* 1000ms */
127*f126890aSEmmanuel Vadot			thermal-sensors = <&pvtctl>;
128*f126890aSEmmanuel Vadot
129*f126890aSEmmanuel Vadot			trips {
130*f126890aSEmmanuel Vadot				cpu_crit: cpu-crit {
131*f126890aSEmmanuel Vadot					temperature = <95000>;	/* 95C */
132*f126890aSEmmanuel Vadot					hysteresis = <2000>;
133*f126890aSEmmanuel Vadot					type = "critical";
134*f126890aSEmmanuel Vadot				};
135*f126890aSEmmanuel Vadot				cpu_alert: cpu-alert {
136*f126890aSEmmanuel Vadot					temperature = <85000>;	/* 85C */
137*f126890aSEmmanuel Vadot					hysteresis = <2000>;
138*f126890aSEmmanuel Vadot					type = "passive";
139*f126890aSEmmanuel Vadot				};
140*f126890aSEmmanuel Vadot			};
141*f126890aSEmmanuel Vadot
142*f126890aSEmmanuel Vadot			cooling-maps {
143*f126890aSEmmanuel Vadot				map {
144*f126890aSEmmanuel Vadot					trip = <&cpu_alert>;
145*f126890aSEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
146*f126890aSEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
147*f126890aSEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
148*f126890aSEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
149*f126890aSEmmanuel Vadot				};
150*f126890aSEmmanuel Vadot			};
151*f126890aSEmmanuel Vadot		};
152*f126890aSEmmanuel Vadot	};
153*f126890aSEmmanuel Vadot
154*f126890aSEmmanuel Vadot	soc {
155*f126890aSEmmanuel Vadot		compatible = "simple-bus";
156*f126890aSEmmanuel Vadot		#address-cells = <1>;
157*f126890aSEmmanuel Vadot		#size-cells = <1>;
158*f126890aSEmmanuel Vadot		ranges;
159*f126890aSEmmanuel Vadot		interrupt-parent = <&intc>;
160*f126890aSEmmanuel Vadot
161*f126890aSEmmanuel Vadot		l2: cache-controller@500c0000 {
162*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-system-cache";
163*f126890aSEmmanuel Vadot			reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
164*f126890aSEmmanuel Vadot			      <0x506c0000 0x400>;
165*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
166*f126890aSEmmanuel Vadot				     <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>,
167*f126890aSEmmanuel Vadot				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
168*f126890aSEmmanuel Vadot				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
169*f126890aSEmmanuel Vadot			cache-unified;
170*f126890aSEmmanuel Vadot			cache-size = <(1280 * 1024)>;
171*f126890aSEmmanuel Vadot			cache-sets = <512>;
172*f126890aSEmmanuel Vadot			cache-line-size = <128>;
173*f126890aSEmmanuel Vadot			cache-level = <2>;
174*f126890aSEmmanuel Vadot		};
175*f126890aSEmmanuel Vadot
176*f126890aSEmmanuel Vadot		spi0: spi@54006000 {
177*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-scssi";
178*f126890aSEmmanuel Vadot			status = "disabled";
179*f126890aSEmmanuel Vadot			reg = <0x54006000 0x100>;
180*f126890aSEmmanuel Vadot			#address-cells = <1>;
181*f126890aSEmmanuel Vadot			#size-cells = <0>;
182*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
183*f126890aSEmmanuel Vadot			pinctrl-names = "default";
184*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_spi0>;
185*f126890aSEmmanuel Vadot			clocks = <&peri_clk 11>;
186*f126890aSEmmanuel Vadot			resets = <&peri_rst 11>;
187*f126890aSEmmanuel Vadot		};
188*f126890aSEmmanuel Vadot
189*f126890aSEmmanuel Vadot		spi1: spi@54006100 {
190*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-scssi";
191*f126890aSEmmanuel Vadot			status = "disabled";
192*f126890aSEmmanuel Vadot			reg = <0x54006100 0x100>;
193*f126890aSEmmanuel Vadot			#address-cells = <1>;
194*f126890aSEmmanuel Vadot			#size-cells = <0>;
195*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>;
196*f126890aSEmmanuel Vadot			pinctrl-names = "default";
197*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_spi1>;
198*f126890aSEmmanuel Vadot			clocks = <&peri_clk 12>;
199*f126890aSEmmanuel Vadot			resets = <&peri_rst 12>;
200*f126890aSEmmanuel Vadot		};
201*f126890aSEmmanuel Vadot
202*f126890aSEmmanuel Vadot		serial0: serial@54006800 {
203*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
204*f126890aSEmmanuel Vadot			status = "disabled";
205*f126890aSEmmanuel Vadot			reg = <0x54006800 0x40>;
206*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
207*f126890aSEmmanuel Vadot			pinctrl-names = "default";
208*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart0>;
209*f126890aSEmmanuel Vadot			clocks = <&peri_clk 0>;
210*f126890aSEmmanuel Vadot			resets = <&peri_rst 0>;
211*f126890aSEmmanuel Vadot		};
212*f126890aSEmmanuel Vadot
213*f126890aSEmmanuel Vadot		serial1: serial@54006900 {
214*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
215*f126890aSEmmanuel Vadot			status = "disabled";
216*f126890aSEmmanuel Vadot			reg = <0x54006900 0x40>;
217*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
218*f126890aSEmmanuel Vadot			pinctrl-names = "default";
219*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart1>;
220*f126890aSEmmanuel Vadot			clocks = <&peri_clk 1>;
221*f126890aSEmmanuel Vadot			resets = <&peri_rst 1>;
222*f126890aSEmmanuel Vadot		};
223*f126890aSEmmanuel Vadot
224*f126890aSEmmanuel Vadot		serial2: serial@54006a00 {
225*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
226*f126890aSEmmanuel Vadot			status = "disabled";
227*f126890aSEmmanuel Vadot			reg = <0x54006a00 0x40>;
228*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
229*f126890aSEmmanuel Vadot			pinctrl-names = "default";
230*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart2>;
231*f126890aSEmmanuel Vadot			clocks = <&peri_clk 2>;
232*f126890aSEmmanuel Vadot			resets = <&peri_rst 2>;
233*f126890aSEmmanuel Vadot		};
234*f126890aSEmmanuel Vadot
235*f126890aSEmmanuel Vadot		serial3: serial@54006b00 {
236*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-uart";
237*f126890aSEmmanuel Vadot			status = "disabled";
238*f126890aSEmmanuel Vadot			reg = <0x54006b00 0x40>;
239*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
240*f126890aSEmmanuel Vadot			pinctrl-names = "default";
241*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_uart3>;
242*f126890aSEmmanuel Vadot			clocks = <&peri_clk 3>;
243*f126890aSEmmanuel Vadot			resets = <&peri_rst 3>;
244*f126890aSEmmanuel Vadot		};
245*f126890aSEmmanuel Vadot
246*f126890aSEmmanuel Vadot		gpio: gpio@55000000 {
247*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-gpio";
248*f126890aSEmmanuel Vadot			reg = <0x55000000 0x200>;
249*f126890aSEmmanuel Vadot			interrupt-parent = <&aidet>;
250*f126890aSEmmanuel Vadot			interrupt-controller;
251*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
252*f126890aSEmmanuel Vadot			gpio-controller;
253*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
254*f126890aSEmmanuel Vadot			gpio-ranges = <&pinctrl 0 0 0>,
255*f126890aSEmmanuel Vadot				      <&pinctrl 96 0 0>;
256*f126890aSEmmanuel Vadot			gpio-ranges-group-names = "gpio_range0",
257*f126890aSEmmanuel Vadot						  "gpio_range1";
258*f126890aSEmmanuel Vadot			ngpios = <232>;
259*f126890aSEmmanuel Vadot			socionext,interrupt-ranges = <0 48 16>, <16 154 5>,
260*f126890aSEmmanuel Vadot						     <21 217 3>;
261*f126890aSEmmanuel Vadot		};
262*f126890aSEmmanuel Vadot
263*f126890aSEmmanuel Vadot		audio@56000000 {
264*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-aio";
265*f126890aSEmmanuel Vadot			reg = <0x56000000 0x80000>;
266*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
267*f126890aSEmmanuel Vadot			pinctrl-names = "default";
268*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_ain1>,
269*f126890aSEmmanuel Vadot				    <&pinctrl_ain2>,
270*f126890aSEmmanuel Vadot				    <&pinctrl_ainiec1>,
271*f126890aSEmmanuel Vadot				    <&pinctrl_aout2>,
272*f126890aSEmmanuel Vadot				    <&pinctrl_aout3>,
273*f126890aSEmmanuel Vadot				    <&pinctrl_aoutiec1>,
274*f126890aSEmmanuel Vadot				    <&pinctrl_aoutiec2>;
275*f126890aSEmmanuel Vadot			clock-names = "aio";
276*f126890aSEmmanuel Vadot			clocks = <&sys_clk 40>;
277*f126890aSEmmanuel Vadot			reset-names = "aio";
278*f126890aSEmmanuel Vadot			resets = <&sys_rst 40>;
279*f126890aSEmmanuel Vadot			#sound-dai-cells = <1>;
280*f126890aSEmmanuel Vadot			socionext,syscon = <&soc_glue>;
281*f126890aSEmmanuel Vadot
282*f126890aSEmmanuel Vadot			i2s_port0: port@0 {
283*f126890aSEmmanuel Vadot				i2s_hdmi: endpoint {
284*f126890aSEmmanuel Vadot				};
285*f126890aSEmmanuel Vadot			};
286*f126890aSEmmanuel Vadot
287*f126890aSEmmanuel Vadot			i2s_port1: port@1 {
288*f126890aSEmmanuel Vadot				i2s_line: endpoint {
289*f126890aSEmmanuel Vadot				};
290*f126890aSEmmanuel Vadot			};
291*f126890aSEmmanuel Vadot
292*f126890aSEmmanuel Vadot			i2s_port2: port@2 {
293*f126890aSEmmanuel Vadot				i2s_aux: endpoint {
294*f126890aSEmmanuel Vadot				};
295*f126890aSEmmanuel Vadot			};
296*f126890aSEmmanuel Vadot
297*f126890aSEmmanuel Vadot			spdif_port0: port@3 {
298*f126890aSEmmanuel Vadot				spdif_hiecout1: endpoint {
299*f126890aSEmmanuel Vadot				};
300*f126890aSEmmanuel Vadot			};
301*f126890aSEmmanuel Vadot
302*f126890aSEmmanuel Vadot			spdif_port1: port@4 {
303*f126890aSEmmanuel Vadot				spdif_iecout1: endpoint {
304*f126890aSEmmanuel Vadot				};
305*f126890aSEmmanuel Vadot			};
306*f126890aSEmmanuel Vadot
307*f126890aSEmmanuel Vadot			comp_spdif_port0: port@5 {
308*f126890aSEmmanuel Vadot				comp_spdif_hiecout1: endpoint {
309*f126890aSEmmanuel Vadot				};
310*f126890aSEmmanuel Vadot			};
311*f126890aSEmmanuel Vadot
312*f126890aSEmmanuel Vadot			comp_spdif_port1: port@6 {
313*f126890aSEmmanuel Vadot				comp_spdif_iecout1: endpoint {
314*f126890aSEmmanuel Vadot				};
315*f126890aSEmmanuel Vadot			};
316*f126890aSEmmanuel Vadot		};
317*f126890aSEmmanuel Vadot
318*f126890aSEmmanuel Vadot		i2c0: i2c@58780000 {
319*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
320*f126890aSEmmanuel Vadot			status = "disabled";
321*f126890aSEmmanuel Vadot			reg = <0x58780000 0x80>;
322*f126890aSEmmanuel Vadot			#address-cells = <1>;
323*f126890aSEmmanuel Vadot			#size-cells = <0>;
324*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
325*f126890aSEmmanuel Vadot			pinctrl-names = "default";
326*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c0>;
327*f126890aSEmmanuel Vadot			clocks = <&peri_clk 4>;
328*f126890aSEmmanuel Vadot			resets = <&peri_rst 4>;
329*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
330*f126890aSEmmanuel Vadot		};
331*f126890aSEmmanuel Vadot
332*f126890aSEmmanuel Vadot		i2c1: i2c@58781000 {
333*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
334*f126890aSEmmanuel Vadot			status = "disabled";
335*f126890aSEmmanuel Vadot			reg = <0x58781000 0x80>;
336*f126890aSEmmanuel Vadot			#address-cells = <1>;
337*f126890aSEmmanuel Vadot			#size-cells = <0>;
338*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
339*f126890aSEmmanuel Vadot			pinctrl-names = "default";
340*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c1>;
341*f126890aSEmmanuel Vadot			clocks = <&peri_clk 5>;
342*f126890aSEmmanuel Vadot			resets = <&peri_rst 5>;
343*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
344*f126890aSEmmanuel Vadot		};
345*f126890aSEmmanuel Vadot
346*f126890aSEmmanuel Vadot		i2c2: i2c@58782000 {
347*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
348*f126890aSEmmanuel Vadot			status = "disabled";
349*f126890aSEmmanuel Vadot			reg = <0x58782000 0x80>;
350*f126890aSEmmanuel Vadot			#address-cells = <1>;
351*f126890aSEmmanuel Vadot			#size-cells = <0>;
352*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
353*f126890aSEmmanuel Vadot			pinctrl-names = "default";
354*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c2>;
355*f126890aSEmmanuel Vadot			clocks = <&peri_clk 6>;
356*f126890aSEmmanuel Vadot			resets = <&peri_rst 6>;
357*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
358*f126890aSEmmanuel Vadot		};
359*f126890aSEmmanuel Vadot
360*f126890aSEmmanuel Vadot		i2c3: i2c@58783000 {
361*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
362*f126890aSEmmanuel Vadot			status = "disabled";
363*f126890aSEmmanuel Vadot			reg = <0x58783000 0x80>;
364*f126890aSEmmanuel Vadot			#address-cells = <1>;
365*f126890aSEmmanuel Vadot			#size-cells = <0>;
366*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
367*f126890aSEmmanuel Vadot			pinctrl-names = "default";
368*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_i2c3>;
369*f126890aSEmmanuel Vadot			clocks = <&peri_clk 7>;
370*f126890aSEmmanuel Vadot			resets = <&peri_rst 7>;
371*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
372*f126890aSEmmanuel Vadot		};
373*f126890aSEmmanuel Vadot
374*f126890aSEmmanuel Vadot		/* chip-internal connection for DMD */
375*f126890aSEmmanuel Vadot		i2c4: i2c@58784000 {
376*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
377*f126890aSEmmanuel Vadot			reg = <0x58784000 0x80>;
378*f126890aSEmmanuel Vadot			#address-cells = <1>;
379*f126890aSEmmanuel Vadot			#size-cells = <0>;
380*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
381*f126890aSEmmanuel Vadot			clocks = <&peri_clk 8>;
382*f126890aSEmmanuel Vadot			resets = <&peri_rst 8>;
383*f126890aSEmmanuel Vadot			clock-frequency = <400000>;
384*f126890aSEmmanuel Vadot		};
385*f126890aSEmmanuel Vadot
386*f126890aSEmmanuel Vadot		/* chip-internal connection for STM */
387*f126890aSEmmanuel Vadot		i2c5: i2c@58785000 {
388*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
389*f126890aSEmmanuel Vadot			reg = <0x58785000 0x80>;
390*f126890aSEmmanuel Vadot			#address-cells = <1>;
391*f126890aSEmmanuel Vadot			#size-cells = <0>;
392*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
393*f126890aSEmmanuel Vadot			clocks = <&peri_clk 9>;
394*f126890aSEmmanuel Vadot			resets = <&peri_rst 9>;
395*f126890aSEmmanuel Vadot			clock-frequency = <400000>;
396*f126890aSEmmanuel Vadot		};
397*f126890aSEmmanuel Vadot
398*f126890aSEmmanuel Vadot		/* chip-internal connection for HDMI */
399*f126890aSEmmanuel Vadot		i2c6: i2c@58786000 {
400*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-fi2c";
401*f126890aSEmmanuel Vadot			reg = <0x58786000 0x80>;
402*f126890aSEmmanuel Vadot			#address-cells = <1>;
403*f126890aSEmmanuel Vadot			#size-cells = <0>;
404*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
405*f126890aSEmmanuel Vadot			clocks = <&peri_clk 10>;
406*f126890aSEmmanuel Vadot			resets = <&peri_rst 10>;
407*f126890aSEmmanuel Vadot			clock-frequency = <400000>;
408*f126890aSEmmanuel Vadot		};
409*f126890aSEmmanuel Vadot
410*f126890aSEmmanuel Vadot		system_bus: system-bus@58c00000 {
411*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-system-bus";
412*f126890aSEmmanuel Vadot			status = "disabled";
413*f126890aSEmmanuel Vadot			reg = <0x58c00000 0x400>;
414*f126890aSEmmanuel Vadot			#address-cells = <2>;
415*f126890aSEmmanuel Vadot			#size-cells = <1>;
416*f126890aSEmmanuel Vadot			pinctrl-names = "default";
417*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_system_bus>;
418*f126890aSEmmanuel Vadot		};
419*f126890aSEmmanuel Vadot
420*f126890aSEmmanuel Vadot		smpctrl@59801000 {
421*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-smpctrl";
422*f126890aSEmmanuel Vadot			reg = <0x59801000 0x400>;
423*f126890aSEmmanuel Vadot		};
424*f126890aSEmmanuel Vadot
425*f126890aSEmmanuel Vadot		sdctrl: syscon@59810000 {
426*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-sdctrl",
427*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
428*f126890aSEmmanuel Vadot			reg = <0x59810000 0x400>;
429*f126890aSEmmanuel Vadot
430*f126890aSEmmanuel Vadot			sd_clk: clock-controller {
431*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-sd-clock";
432*f126890aSEmmanuel Vadot				#clock-cells = <1>;
433*f126890aSEmmanuel Vadot			};
434*f126890aSEmmanuel Vadot
435*f126890aSEmmanuel Vadot			sd_rst: reset-controller {
436*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-sd-reset";
437*f126890aSEmmanuel Vadot				#reset-cells = <1>;
438*f126890aSEmmanuel Vadot			};
439*f126890aSEmmanuel Vadot		};
440*f126890aSEmmanuel Vadot
441*f126890aSEmmanuel Vadot		syscon@59820000 {
442*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-perictrl",
443*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
444*f126890aSEmmanuel Vadot			reg = <0x59820000 0x200>;
445*f126890aSEmmanuel Vadot
446*f126890aSEmmanuel Vadot			peri_clk: clock-controller {
447*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-peri-clock";
448*f126890aSEmmanuel Vadot				#clock-cells = <1>;
449*f126890aSEmmanuel Vadot			};
450*f126890aSEmmanuel Vadot
451*f126890aSEmmanuel Vadot			peri_rst: reset-controller {
452*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-peri-reset";
453*f126890aSEmmanuel Vadot				#reset-cells = <1>;
454*f126890aSEmmanuel Vadot			};
455*f126890aSEmmanuel Vadot		};
456*f126890aSEmmanuel Vadot
457*f126890aSEmmanuel Vadot		emmc: mmc@5a000000 {
458*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-sd-v3.1.1";
459*f126890aSEmmanuel Vadot			status = "disabled";
460*f126890aSEmmanuel Vadot			reg = <0x5a000000 0x800>;
461*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
462*f126890aSEmmanuel Vadot			pinctrl-names = "default";
463*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_emmc>;
464*f126890aSEmmanuel Vadot			clocks = <&sd_clk 1>;
465*f126890aSEmmanuel Vadot			reset-names = "host", "hw";
466*f126890aSEmmanuel Vadot			resets = <&sd_rst 1>, <&sd_rst 6>;
467*f126890aSEmmanuel Vadot			bus-width = <8>;
468*f126890aSEmmanuel Vadot			cap-mmc-highspeed;
469*f126890aSEmmanuel Vadot			cap-mmc-hw-reset;
470*f126890aSEmmanuel Vadot			non-removable;
471*f126890aSEmmanuel Vadot		};
472*f126890aSEmmanuel Vadot
473*f126890aSEmmanuel Vadot		sd: mmc@5a400000 {
474*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-sd-v3.1.1";
475*f126890aSEmmanuel Vadot			status = "disabled";
476*f126890aSEmmanuel Vadot			reg = <0x5a400000 0x800>;
477*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
478*f126890aSEmmanuel Vadot			pinctrl-names = "default", "uhs";
479*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_sd>;
480*f126890aSEmmanuel Vadot			pinctrl-1 = <&pinctrl_sd_uhs>;
481*f126890aSEmmanuel Vadot			clocks = <&sd_clk 0>;
482*f126890aSEmmanuel Vadot			reset-names = "host";
483*f126890aSEmmanuel Vadot			resets = <&sd_rst 0>;
484*f126890aSEmmanuel Vadot			bus-width = <4>;
485*f126890aSEmmanuel Vadot			cap-sd-highspeed;
486*f126890aSEmmanuel Vadot			sd-uhs-sdr12;
487*f126890aSEmmanuel Vadot			sd-uhs-sdr25;
488*f126890aSEmmanuel Vadot			sd-uhs-sdr50;
489*f126890aSEmmanuel Vadot			socionext,syscon-uhs-mode = <&sdctrl 0>;
490*f126890aSEmmanuel Vadot		};
491*f126890aSEmmanuel Vadot
492*f126890aSEmmanuel Vadot		soc_glue: syscon@5f800000 {
493*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-soc-glue",
494*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
495*f126890aSEmmanuel Vadot			reg = <0x5f800000 0x2000>;
496*f126890aSEmmanuel Vadot
497*f126890aSEmmanuel Vadot			pinctrl: pinctrl {
498*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-pinctrl";
499*f126890aSEmmanuel Vadot			};
500*f126890aSEmmanuel Vadot		};
501*f126890aSEmmanuel Vadot
502*f126890aSEmmanuel Vadot		syscon@5f900000 {
503*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-soc-glue-debug",
504*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
505*f126890aSEmmanuel Vadot			reg = <0x5f900000 0x2000>;
506*f126890aSEmmanuel Vadot			#address-cells = <1>;
507*f126890aSEmmanuel Vadot			#size-cells = <1>;
508*f126890aSEmmanuel Vadot			ranges = <0 0x5f900000 0x2000>;
509*f126890aSEmmanuel Vadot
510*f126890aSEmmanuel Vadot			efuse@100 {
511*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-efuse";
512*f126890aSEmmanuel Vadot				reg = <0x100 0x28>;
513*f126890aSEmmanuel Vadot			};
514*f126890aSEmmanuel Vadot
515*f126890aSEmmanuel Vadot			efuse@200 {
516*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-efuse";
517*f126890aSEmmanuel Vadot				reg = <0x200 0x58>;
518*f126890aSEmmanuel Vadot			};
519*f126890aSEmmanuel Vadot		};
520*f126890aSEmmanuel Vadot
521*f126890aSEmmanuel Vadot		xdmac: dma-controller@5fc10000 {
522*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-xdmac";
523*f126890aSEmmanuel Vadot			reg = <0x5fc10000 0x5300>;
524*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
525*f126890aSEmmanuel Vadot			dma-channels = <16>;
526*f126890aSEmmanuel Vadot			#dma-cells = <2>;
527*f126890aSEmmanuel Vadot		};
528*f126890aSEmmanuel Vadot
529*f126890aSEmmanuel Vadot		aidet: interrupt-controller@5fc20000 {
530*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-aidet";
531*f126890aSEmmanuel Vadot			reg = <0x5fc20000 0x200>;
532*f126890aSEmmanuel Vadot			interrupt-controller;
533*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
534*f126890aSEmmanuel Vadot		};
535*f126890aSEmmanuel Vadot
536*f126890aSEmmanuel Vadot		timer@60000200 {
537*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9-global-timer";
538*f126890aSEmmanuel Vadot			reg = <0x60000200 0x20>;
539*f126890aSEmmanuel Vadot			interrupts = <GIC_PPI 11
540*f126890aSEmmanuel Vadot				(GIC_CPU_MASK_RAW(0xf) | IRQ_TYPE_LEVEL_HIGH)>;
541*f126890aSEmmanuel Vadot			clocks = <&arm_timer_clk>;
542*f126890aSEmmanuel Vadot		};
543*f126890aSEmmanuel Vadot
544*f126890aSEmmanuel Vadot		timer@60000600 {
545*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9-twd-timer";
546*f126890aSEmmanuel Vadot			reg = <0x60000600 0x20>;
547*f126890aSEmmanuel Vadot			interrupts = <GIC_PPI 13
548*f126890aSEmmanuel Vadot				(GIC_CPU_MASK_RAW(0xf) | IRQ_TYPE_LEVEL_HIGH)>;
549*f126890aSEmmanuel Vadot			clocks = <&arm_timer_clk>;
550*f126890aSEmmanuel Vadot		};
551*f126890aSEmmanuel Vadot
552*f126890aSEmmanuel Vadot		intc: interrupt-controller@60001000 {
553*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9-gic";
554*f126890aSEmmanuel Vadot			reg = <0x60001000 0x1000>,
555*f126890aSEmmanuel Vadot			      <0x60000100 0x100>;
556*f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
557*f126890aSEmmanuel Vadot			interrupt-controller;
558*f126890aSEmmanuel Vadot		};
559*f126890aSEmmanuel Vadot
560*f126890aSEmmanuel Vadot		syscon@61840000 {
561*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-sysctrl",
562*f126890aSEmmanuel Vadot				     "simple-mfd", "syscon";
563*f126890aSEmmanuel Vadot			reg = <0x61840000 0x10000>;
564*f126890aSEmmanuel Vadot
565*f126890aSEmmanuel Vadot			sys_clk: clock-controller {
566*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-clock";
567*f126890aSEmmanuel Vadot				#clock-cells = <1>;
568*f126890aSEmmanuel Vadot			};
569*f126890aSEmmanuel Vadot
570*f126890aSEmmanuel Vadot			sys_rst: reset-controller {
571*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-reset";
572*f126890aSEmmanuel Vadot				#reset-cells = <1>;
573*f126890aSEmmanuel Vadot			};
574*f126890aSEmmanuel Vadot
575*f126890aSEmmanuel Vadot			pvtctl: thermal-sensor {
576*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-thermal";
577*f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
578*f126890aSEmmanuel Vadot				#thermal-sensor-cells = <0>;
579*f126890aSEmmanuel Vadot				socionext,tmod-calibration = <0x0f86 0x6844>;
580*f126890aSEmmanuel Vadot			};
581*f126890aSEmmanuel Vadot		};
582*f126890aSEmmanuel Vadot
583*f126890aSEmmanuel Vadot		eth: ethernet@65000000 {
584*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-ave4";
585*f126890aSEmmanuel Vadot			status = "disabled";
586*f126890aSEmmanuel Vadot			reg = <0x65000000 0x8500>;
587*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
588*f126890aSEmmanuel Vadot			pinctrl-names = "default";
589*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_ether_rgmii>;
590*f126890aSEmmanuel Vadot			clock-names = "ether";
591*f126890aSEmmanuel Vadot			clocks = <&sys_clk 6>;
592*f126890aSEmmanuel Vadot			reset-names = "ether";
593*f126890aSEmmanuel Vadot			resets = <&sys_rst 6>;
594*f126890aSEmmanuel Vadot			phy-mode = "rgmii-id";
595*f126890aSEmmanuel Vadot			local-mac-address = [00 00 00 00 00 00];
596*f126890aSEmmanuel Vadot			socionext,syscon-phy-mode = <&soc_glue 0>;
597*f126890aSEmmanuel Vadot
598*f126890aSEmmanuel Vadot			mdio: mdio {
599*f126890aSEmmanuel Vadot				#address-cells = <1>;
600*f126890aSEmmanuel Vadot				#size-cells = <0>;
601*f126890aSEmmanuel Vadot			};
602*f126890aSEmmanuel Vadot		};
603*f126890aSEmmanuel Vadot
604*f126890aSEmmanuel Vadot		ahci: sata@65600000 {
605*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-ahci",
606*f126890aSEmmanuel Vadot				     "generic-ahci";
607*f126890aSEmmanuel Vadot			status = "disabled";
608*f126890aSEmmanuel Vadot			reg = <0x65600000 0x10000>;
609*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
610*f126890aSEmmanuel Vadot			clocks = <&sys_clk 28>;
611*f126890aSEmmanuel Vadot			resets = <&sys_rst 28>, <&ahci_rst 0>;
612*f126890aSEmmanuel Vadot			ports-implemented = <1>;
613*f126890aSEmmanuel Vadot			phys = <&ahci_phy>;
614*f126890aSEmmanuel Vadot		};
615*f126890aSEmmanuel Vadot
616*f126890aSEmmanuel Vadot		sata-controller@65700000 {
617*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-ahci-glue",
618*f126890aSEmmanuel Vadot				     "simple-mfd";
619*f126890aSEmmanuel Vadot			reg = <0x65700000 0x100>;
620*f126890aSEmmanuel Vadot			#address-cells = <1>;
621*f126890aSEmmanuel Vadot			#size-cells = <1>;
622*f126890aSEmmanuel Vadot			ranges = <0 0x65700000 0x100>;
623*f126890aSEmmanuel Vadot
624*f126890aSEmmanuel Vadot			ahci_rst: reset-controller@0 {
625*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-ahci-reset";
626*f126890aSEmmanuel Vadot				reg = <0x0 0x4>;
627*f126890aSEmmanuel Vadot				clock-names = "link";
628*f126890aSEmmanuel Vadot				clocks = <&sys_clk 28>;
629*f126890aSEmmanuel Vadot				reset-names = "link";
630*f126890aSEmmanuel Vadot				resets = <&sys_rst 28>;
631*f126890aSEmmanuel Vadot				#reset-cells = <1>;
632*f126890aSEmmanuel Vadot			};
633*f126890aSEmmanuel Vadot
634*f126890aSEmmanuel Vadot			ahci_phy: phy@10 {
635*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-ahci-phy";
636*f126890aSEmmanuel Vadot				reg = <0x10 0x10>;
637*f126890aSEmmanuel Vadot				clock-names = "link";
638*f126890aSEmmanuel Vadot				clocks = <&sys_clk 28>;
639*f126890aSEmmanuel Vadot				reset-names = "link", "phy";
640*f126890aSEmmanuel Vadot				resets = <&sys_rst 28>, <&sys_rst 30>;
641*f126890aSEmmanuel Vadot				#phy-cells = <0>;
642*f126890aSEmmanuel Vadot			};
643*f126890aSEmmanuel Vadot		};
644*f126890aSEmmanuel Vadot
645*f126890aSEmmanuel Vadot		usb0: usb@65a00000 {
646*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-dwc3", "snps,dwc3";
647*f126890aSEmmanuel Vadot			status = "disabled";
648*f126890aSEmmanuel Vadot			reg = <0x65a00000 0xcd00>;
649*f126890aSEmmanuel Vadot			interrupt-names = "dwc_usb3";
650*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
651*f126890aSEmmanuel Vadot			pinctrl-names = "default";
652*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
653*f126890aSEmmanuel Vadot			clock-names = "ref", "bus_early", "suspend";
654*f126890aSEmmanuel Vadot			clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>;
655*f126890aSEmmanuel Vadot			resets = <&usb0_rst 15>;
656*f126890aSEmmanuel Vadot			phys = <&usb0_hsphy0>, <&usb0_hsphy1>,
657*f126890aSEmmanuel Vadot			       <&usb0_ssphy0>, <&usb0_ssphy1>;
658*f126890aSEmmanuel Vadot			dr_mode = "host";
659*f126890aSEmmanuel Vadot		};
660*f126890aSEmmanuel Vadot
661*f126890aSEmmanuel Vadot		usb-controller@65b00000 {
662*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-dwc3-glue",
663*f126890aSEmmanuel Vadot				     "simple-mfd";
664*f126890aSEmmanuel Vadot			reg = <0x65b00000 0x400>;
665*f126890aSEmmanuel Vadot			#address-cells = <1>;
666*f126890aSEmmanuel Vadot			#size-cells = <1>;
667*f126890aSEmmanuel Vadot			ranges = <0 0x65b00000 0x400>;
668*f126890aSEmmanuel Vadot
669*f126890aSEmmanuel Vadot			usb0_rst: reset-controller@0 {
670*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-reset";
671*f126890aSEmmanuel Vadot				reg = <0x0 0x4>;
672*f126890aSEmmanuel Vadot				#reset-cells = <1>;
673*f126890aSEmmanuel Vadot				clock-names = "link";
674*f126890aSEmmanuel Vadot				clocks = <&sys_clk 14>;
675*f126890aSEmmanuel Vadot				reset-names = "link";
676*f126890aSEmmanuel Vadot				resets = <&sys_rst 14>;
677*f126890aSEmmanuel Vadot			};
678*f126890aSEmmanuel Vadot
679*f126890aSEmmanuel Vadot			usb0_vbus0: regulator@100 {
680*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-regulator";
681*f126890aSEmmanuel Vadot				reg = <0x100 0x10>;
682*f126890aSEmmanuel Vadot				clock-names = "link";
683*f126890aSEmmanuel Vadot				clocks = <&sys_clk 14>;
684*f126890aSEmmanuel Vadot				reset-names = "link";
685*f126890aSEmmanuel Vadot				resets = <&sys_rst 14>;
686*f126890aSEmmanuel Vadot			};
687*f126890aSEmmanuel Vadot
688*f126890aSEmmanuel Vadot			usb0_vbus1: regulator@110 {
689*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-regulator";
690*f126890aSEmmanuel Vadot				reg = <0x110 0x10>;
691*f126890aSEmmanuel Vadot				clock-names = "link";
692*f126890aSEmmanuel Vadot				clocks = <&sys_clk 14>;
693*f126890aSEmmanuel Vadot				reset-names = "link";
694*f126890aSEmmanuel Vadot				resets = <&sys_rst 14>;
695*f126890aSEmmanuel Vadot			};
696*f126890aSEmmanuel Vadot
697*f126890aSEmmanuel Vadot			usb0_hsphy0: phy@200 {
698*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-hsphy";
699*f126890aSEmmanuel Vadot				reg = <0x200 0x10>;
700*f126890aSEmmanuel Vadot				#phy-cells = <0>;
701*f126890aSEmmanuel Vadot				clock-names = "link", "phy";
702*f126890aSEmmanuel Vadot				clocks = <&sys_clk 14>, <&sys_clk 16>;
703*f126890aSEmmanuel Vadot				reset-names = "link", "phy";
704*f126890aSEmmanuel Vadot				resets = <&sys_rst 14>, <&sys_rst 16>;
705*f126890aSEmmanuel Vadot				vbus-supply = <&usb0_vbus0>;
706*f126890aSEmmanuel Vadot			};
707*f126890aSEmmanuel Vadot
708*f126890aSEmmanuel Vadot			usb0_hsphy1: phy@210 {
709*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-hsphy";
710*f126890aSEmmanuel Vadot				reg = <0x210 0x10>;
711*f126890aSEmmanuel Vadot				#phy-cells = <0>;
712*f126890aSEmmanuel Vadot				clock-names = "link", "phy";
713*f126890aSEmmanuel Vadot				clocks = <&sys_clk 14>, <&sys_clk 16>;
714*f126890aSEmmanuel Vadot				reset-names = "link", "phy";
715*f126890aSEmmanuel Vadot				resets = <&sys_rst 14>, <&sys_rst 16>;
716*f126890aSEmmanuel Vadot				vbus-supply = <&usb0_vbus1>;
717*f126890aSEmmanuel Vadot			};
718*f126890aSEmmanuel Vadot
719*f126890aSEmmanuel Vadot			usb0_ssphy0: phy@300 {
720*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-ssphy";
721*f126890aSEmmanuel Vadot				reg = <0x300 0x10>;
722*f126890aSEmmanuel Vadot				#phy-cells = <0>;
723*f126890aSEmmanuel Vadot				clock-names = "link", "phy";
724*f126890aSEmmanuel Vadot				clocks = <&sys_clk 14>, <&sys_clk 17>;
725*f126890aSEmmanuel Vadot				reset-names = "link", "phy";
726*f126890aSEmmanuel Vadot				resets = <&sys_rst 14>, <&sys_rst 17>;
727*f126890aSEmmanuel Vadot				vbus-supply = <&usb0_vbus0>;
728*f126890aSEmmanuel Vadot			};
729*f126890aSEmmanuel Vadot
730*f126890aSEmmanuel Vadot			usb0_ssphy1: phy@310 {
731*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-ssphy";
732*f126890aSEmmanuel Vadot				reg = <0x310 0x10>;
733*f126890aSEmmanuel Vadot				#phy-cells = <0>;
734*f126890aSEmmanuel Vadot				clock-names = "link", "phy";
735*f126890aSEmmanuel Vadot				clocks = <&sys_clk 14>, <&sys_clk 18>;
736*f126890aSEmmanuel Vadot				reset-names = "link", "phy";
737*f126890aSEmmanuel Vadot				resets = <&sys_rst 14>, <&sys_rst 18>;
738*f126890aSEmmanuel Vadot				vbus-supply = <&usb0_vbus1>;
739*f126890aSEmmanuel Vadot			};
740*f126890aSEmmanuel Vadot		};
741*f126890aSEmmanuel Vadot
742*f126890aSEmmanuel Vadot		usb1: usb@65c00000 {
743*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-dwc3", "snps,dwc3";
744*f126890aSEmmanuel Vadot			status = "disabled";
745*f126890aSEmmanuel Vadot			reg = <0x65c00000 0xcd00>;
746*f126890aSEmmanuel Vadot			interrupt-names = "dwc_usb3";
747*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
748*f126890aSEmmanuel Vadot			pinctrl-names = "default";
749*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
750*f126890aSEmmanuel Vadot			clock-names = "ref", "bus_early", "suspend";
751*f126890aSEmmanuel Vadot			clocks = <&sys_clk 15>, <&sys_clk 15>, <&sys_clk 15>;
752*f126890aSEmmanuel Vadot			resets = <&usb1_rst 15>;
753*f126890aSEmmanuel Vadot			phys = <&usb1_hsphy0>, <&usb1_hsphy1>, <&usb1_ssphy0>;
754*f126890aSEmmanuel Vadot			dr_mode = "host";
755*f126890aSEmmanuel Vadot		};
756*f126890aSEmmanuel Vadot
757*f126890aSEmmanuel Vadot		usb-controller@65d00000 {
758*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-pxs2-dwc3-glue",
759*f126890aSEmmanuel Vadot				     "simple-mfd";
760*f126890aSEmmanuel Vadot			reg = <0x65d00000 0x400>;
761*f126890aSEmmanuel Vadot			#address-cells = <1>;
762*f126890aSEmmanuel Vadot			#size-cells = <1>;
763*f126890aSEmmanuel Vadot			ranges = <0 0x65d00000 0x400>;
764*f126890aSEmmanuel Vadot
765*f126890aSEmmanuel Vadot			usb1_rst: reset-controller@0 {
766*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-reset";
767*f126890aSEmmanuel Vadot				reg = <0x0 0x4>;
768*f126890aSEmmanuel Vadot				#reset-cells = <1>;
769*f126890aSEmmanuel Vadot				clock-names = "link";
770*f126890aSEmmanuel Vadot				clocks = <&sys_clk 15>;
771*f126890aSEmmanuel Vadot				reset-names = "link";
772*f126890aSEmmanuel Vadot				resets = <&sys_rst 15>;
773*f126890aSEmmanuel Vadot			};
774*f126890aSEmmanuel Vadot
775*f126890aSEmmanuel Vadot			usb1_vbus0: regulator@100 {
776*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-regulator";
777*f126890aSEmmanuel Vadot				reg = <0x100 0x10>;
778*f126890aSEmmanuel Vadot				clock-names = "link";
779*f126890aSEmmanuel Vadot				clocks = <&sys_clk 15>;
780*f126890aSEmmanuel Vadot				reset-names = "link";
781*f126890aSEmmanuel Vadot				resets = <&sys_rst 15>;
782*f126890aSEmmanuel Vadot			};
783*f126890aSEmmanuel Vadot
784*f126890aSEmmanuel Vadot			usb1_vbus1: regulator@110 {
785*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-regulator";
786*f126890aSEmmanuel Vadot				reg = <0x110 0x10>;
787*f126890aSEmmanuel Vadot				clock-names = "link";
788*f126890aSEmmanuel Vadot				clocks = <&sys_clk 15>;
789*f126890aSEmmanuel Vadot				reset-names = "link";
790*f126890aSEmmanuel Vadot				resets = <&sys_rst 15>;
791*f126890aSEmmanuel Vadot			};
792*f126890aSEmmanuel Vadot
793*f126890aSEmmanuel Vadot			usb1_hsphy0: phy@200 {
794*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-hsphy";
795*f126890aSEmmanuel Vadot				reg = <0x200 0x10>;
796*f126890aSEmmanuel Vadot				#phy-cells = <0>;
797*f126890aSEmmanuel Vadot				clock-names = "link", "phy";
798*f126890aSEmmanuel Vadot				clocks = <&sys_clk 15>, <&sys_clk 20>;
799*f126890aSEmmanuel Vadot				reset-names = "link", "phy";
800*f126890aSEmmanuel Vadot				resets = <&sys_rst 15>, <&sys_rst 20>;
801*f126890aSEmmanuel Vadot				vbus-supply = <&usb1_vbus0>;
802*f126890aSEmmanuel Vadot			};
803*f126890aSEmmanuel Vadot
804*f126890aSEmmanuel Vadot			usb1_hsphy1: phy@210 {
805*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-hsphy";
806*f126890aSEmmanuel Vadot				reg = <0x210 0x10>;
807*f126890aSEmmanuel Vadot				#phy-cells = <0>;
808*f126890aSEmmanuel Vadot				clock-names = "link", "phy";
809*f126890aSEmmanuel Vadot				clocks = <&sys_clk 15>, <&sys_clk 20>;
810*f126890aSEmmanuel Vadot				reset-names = "link", "phy";
811*f126890aSEmmanuel Vadot				resets = <&sys_rst 15>, <&sys_rst 20>;
812*f126890aSEmmanuel Vadot				vbus-supply = <&usb1_vbus1>;
813*f126890aSEmmanuel Vadot			};
814*f126890aSEmmanuel Vadot
815*f126890aSEmmanuel Vadot			usb1_ssphy0: phy@300 {
816*f126890aSEmmanuel Vadot				compatible = "socionext,uniphier-pxs2-usb3-ssphy";
817*f126890aSEmmanuel Vadot				reg = <0x300 0x10>;
818*f126890aSEmmanuel Vadot				#phy-cells = <0>;
819*f126890aSEmmanuel Vadot				clock-names = "link", "phy";
820*f126890aSEmmanuel Vadot				clocks = <&sys_clk 15>, <&sys_clk 21>;
821*f126890aSEmmanuel Vadot				reset-names = "link", "phy";
822*f126890aSEmmanuel Vadot				resets = <&sys_rst 15>, <&sys_rst 21>;
823*f126890aSEmmanuel Vadot				vbus-supply = <&usb1_vbus0>;
824*f126890aSEmmanuel Vadot			};
825*f126890aSEmmanuel Vadot		};
826*f126890aSEmmanuel Vadot
827*f126890aSEmmanuel Vadot		nand: nand-controller@68000000 {
828*f126890aSEmmanuel Vadot			compatible = "socionext,uniphier-denali-nand-v5b";
829*f126890aSEmmanuel Vadot			status = "disabled";
830*f126890aSEmmanuel Vadot			reg-names = "nand_data", "denali_reg";
831*f126890aSEmmanuel Vadot			reg = <0x68000000 0x20>, <0x68100000 0x1000>;
832*f126890aSEmmanuel Vadot			#address-cells = <1>;
833*f126890aSEmmanuel Vadot			#size-cells = <0>;
834*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
835*f126890aSEmmanuel Vadot			pinctrl-names = "default";
836*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_nand>;
837*f126890aSEmmanuel Vadot			clock-names = "nand", "nand_x", "ecc";
838*f126890aSEmmanuel Vadot			clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
839*f126890aSEmmanuel Vadot			reset-names = "nand", "reg";
840*f126890aSEmmanuel Vadot			resets = <&sys_rst 2>, <&sys_rst 2>;
841*f126890aSEmmanuel Vadot		};
842*f126890aSEmmanuel Vadot	};
843*f126890aSEmmanuel Vadot};
844*f126890aSEmmanuel Vadot
845*f126890aSEmmanuel Vadot#include "uniphier-pinctrl.dtsi"
846