1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * dts file for Xilinx ZynqMP ZCU106
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * (C) Copyright 2016 - 2019, Xilinx, Inc.
6*c66ec88fSEmmanuel Vadot *
7*c66ec88fSEmmanuel Vadot * Michal Simek <michal.simek@xilinx.com>
8*c66ec88fSEmmanuel Vadot */
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot/dts-v1/;
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot#include "zynqmp.dtsi"
13*c66ec88fSEmmanuel Vadot#include "zynqmp-clk-ccf.dtsi"
14*c66ec88fSEmmanuel Vadot#include <dt-bindings/input/input.h>
15*c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot/ {
18*c66ec88fSEmmanuel Vadot	model = "ZynqMP ZCU106 RevA";
19*c66ec88fSEmmanuel Vadot	compatible = "xlnx,zynqmp-zcu106-revA", "xlnx,zynqmp-zcu106", "xlnx,zynqmp";
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	aliases {
22*c66ec88fSEmmanuel Vadot		ethernet0 = &gem3;
23*c66ec88fSEmmanuel Vadot		i2c0 = &i2c0;
24*c66ec88fSEmmanuel Vadot		i2c1 = &i2c1;
25*c66ec88fSEmmanuel Vadot		mmc0 = &sdhci1;
26*c66ec88fSEmmanuel Vadot		rtc0 = &rtc;
27*c66ec88fSEmmanuel Vadot		serial0 = &uart0;
28*c66ec88fSEmmanuel Vadot		serial1 = &uart1;
29*c66ec88fSEmmanuel Vadot		serial2 = &dcc;
30*c66ec88fSEmmanuel Vadot	};
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadot	chosen {
33*c66ec88fSEmmanuel Vadot		bootargs = "earlycon";
34*c66ec88fSEmmanuel Vadot		stdout-path = "serial0:115200n8";
35*c66ec88fSEmmanuel Vadot	};
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadot	memory@0 {
38*c66ec88fSEmmanuel Vadot		device_type = "memory";
39*c66ec88fSEmmanuel Vadot		reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
40*c66ec88fSEmmanuel Vadot	};
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot	gpio-keys {
43*c66ec88fSEmmanuel Vadot		compatible = "gpio-keys";
44*c66ec88fSEmmanuel Vadot		autorepeat;
45*c66ec88fSEmmanuel Vadot		sw19 {
46*c66ec88fSEmmanuel Vadot			label = "sw19";
47*c66ec88fSEmmanuel Vadot			gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
48*c66ec88fSEmmanuel Vadot			linux,code = <KEY_DOWN>;
49*c66ec88fSEmmanuel Vadot			wakeup-source;
50*c66ec88fSEmmanuel Vadot			autorepeat;
51*c66ec88fSEmmanuel Vadot		};
52*c66ec88fSEmmanuel Vadot	};
53*c66ec88fSEmmanuel Vadot
54*c66ec88fSEmmanuel Vadot	leds {
55*c66ec88fSEmmanuel Vadot		compatible = "gpio-leds";
56*c66ec88fSEmmanuel Vadot		heartbeat-led {
57*c66ec88fSEmmanuel Vadot			label = "heartbeat";
58*c66ec88fSEmmanuel Vadot			gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
59*c66ec88fSEmmanuel Vadot			linux,default-trigger = "heartbeat";
60*c66ec88fSEmmanuel Vadot		};
61*c66ec88fSEmmanuel Vadot	};
62*c66ec88fSEmmanuel Vadot
63*c66ec88fSEmmanuel Vadot	ina226-u76 {
64*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
65*c66ec88fSEmmanuel Vadot		io-channels = <&u76 0>, <&u76 1>, <&u76 2>, <&u76 3>;
66*c66ec88fSEmmanuel Vadot	};
67*c66ec88fSEmmanuel Vadot	ina226-u77 {
68*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
69*c66ec88fSEmmanuel Vadot		io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>;
70*c66ec88fSEmmanuel Vadot	};
71*c66ec88fSEmmanuel Vadot	ina226-u78 {
72*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
73*c66ec88fSEmmanuel Vadot		io-channels = <&u78 0>, <&u78 1>, <&u78 2>, <&u78 3>;
74*c66ec88fSEmmanuel Vadot	};
75*c66ec88fSEmmanuel Vadot	ina226-u87 {
76*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
77*c66ec88fSEmmanuel Vadot		io-channels = <&u87 0>, <&u87 1>, <&u87 2>, <&u87 3>;
78*c66ec88fSEmmanuel Vadot	};
79*c66ec88fSEmmanuel Vadot	ina226-u85 {
80*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
81*c66ec88fSEmmanuel Vadot		io-channels = <&u85 0>, <&u85 1>, <&u85 2>, <&u85 3>;
82*c66ec88fSEmmanuel Vadot	};
83*c66ec88fSEmmanuel Vadot	ina226-u86 {
84*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
85*c66ec88fSEmmanuel Vadot		io-channels = <&u86 0>, <&u86 1>, <&u86 2>, <&u86 3>;
86*c66ec88fSEmmanuel Vadot	};
87*c66ec88fSEmmanuel Vadot	ina226-u93 {
88*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
89*c66ec88fSEmmanuel Vadot		io-channels = <&u93 0>, <&u93 1>, <&u93 2>, <&u93 3>;
90*c66ec88fSEmmanuel Vadot	};
91*c66ec88fSEmmanuel Vadot	ina226-u88 {
92*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
93*c66ec88fSEmmanuel Vadot		io-channels = <&u88 0>, <&u88 1>, <&u88 2>, <&u88 3>;
94*c66ec88fSEmmanuel Vadot	};
95*c66ec88fSEmmanuel Vadot	ina226-u15 {
96*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
97*c66ec88fSEmmanuel Vadot		io-channels = <&u15 0>, <&u15 1>, <&u15 2>, <&u15 3>;
98*c66ec88fSEmmanuel Vadot	};
99*c66ec88fSEmmanuel Vadot	ina226-u92 {
100*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
101*c66ec88fSEmmanuel Vadot		io-channels = <&u92 0>, <&u92 1>, <&u92 2>, <&u92 3>;
102*c66ec88fSEmmanuel Vadot	};
103*c66ec88fSEmmanuel Vadot	ina226-u79 {
104*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
105*c66ec88fSEmmanuel Vadot		io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>;
106*c66ec88fSEmmanuel Vadot	};
107*c66ec88fSEmmanuel Vadot	ina226-u81 {
108*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
109*c66ec88fSEmmanuel Vadot		io-channels = <&u81 0>, <&u81 1>, <&u81 2>, <&u81 3>;
110*c66ec88fSEmmanuel Vadot	};
111*c66ec88fSEmmanuel Vadot	ina226-u80 {
112*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
113*c66ec88fSEmmanuel Vadot		io-channels = <&u80 0>, <&u80 1>, <&u80 2>, <&u80 3>;
114*c66ec88fSEmmanuel Vadot	};
115*c66ec88fSEmmanuel Vadot	ina226-u84 {
116*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
117*c66ec88fSEmmanuel Vadot		io-channels = <&u84 0>, <&u84 1>, <&u84 2>, <&u84 3>;
118*c66ec88fSEmmanuel Vadot	};
119*c66ec88fSEmmanuel Vadot	ina226-u16 {
120*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
121*c66ec88fSEmmanuel Vadot		io-channels = <&u16 0>, <&u16 1>, <&u16 2>, <&u16 3>;
122*c66ec88fSEmmanuel Vadot	};
123*c66ec88fSEmmanuel Vadot	ina226-u65 {
124*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
125*c66ec88fSEmmanuel Vadot		io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>;
126*c66ec88fSEmmanuel Vadot	};
127*c66ec88fSEmmanuel Vadot	ina226-u74 {
128*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
129*c66ec88fSEmmanuel Vadot		io-channels = <&u74 0>, <&u74 1>, <&u74 2>, <&u74 3>;
130*c66ec88fSEmmanuel Vadot	};
131*c66ec88fSEmmanuel Vadot	ina226-u75 {
132*c66ec88fSEmmanuel Vadot		compatible = "iio-hwmon";
133*c66ec88fSEmmanuel Vadot		io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>;
134*c66ec88fSEmmanuel Vadot	};
135*c66ec88fSEmmanuel Vadot};
136*c66ec88fSEmmanuel Vadot
137*c66ec88fSEmmanuel Vadot&can1 {
138*c66ec88fSEmmanuel Vadot	status = "okay";
139*c66ec88fSEmmanuel Vadot};
140*c66ec88fSEmmanuel Vadot
141*c66ec88fSEmmanuel Vadot&dcc {
142*c66ec88fSEmmanuel Vadot	status = "okay";
143*c66ec88fSEmmanuel Vadot};
144*c66ec88fSEmmanuel Vadot
145*c66ec88fSEmmanuel Vadot/* fpd_dma clk 667MHz, lpd_dma 500MHz */
146*c66ec88fSEmmanuel Vadot&fpd_dma_chan1 {
147*c66ec88fSEmmanuel Vadot	status = "okay";
148*c66ec88fSEmmanuel Vadot};
149*c66ec88fSEmmanuel Vadot
150*c66ec88fSEmmanuel Vadot&fpd_dma_chan2 {
151*c66ec88fSEmmanuel Vadot	status = "okay";
152*c66ec88fSEmmanuel Vadot};
153*c66ec88fSEmmanuel Vadot
154*c66ec88fSEmmanuel Vadot&fpd_dma_chan3 {
155*c66ec88fSEmmanuel Vadot	status = "okay";
156*c66ec88fSEmmanuel Vadot};
157*c66ec88fSEmmanuel Vadot
158*c66ec88fSEmmanuel Vadot&fpd_dma_chan4 {
159*c66ec88fSEmmanuel Vadot	status = "okay";
160*c66ec88fSEmmanuel Vadot};
161*c66ec88fSEmmanuel Vadot
162*c66ec88fSEmmanuel Vadot&fpd_dma_chan5 {
163*c66ec88fSEmmanuel Vadot	status = "okay";
164*c66ec88fSEmmanuel Vadot};
165*c66ec88fSEmmanuel Vadot
166*c66ec88fSEmmanuel Vadot&fpd_dma_chan6 {
167*c66ec88fSEmmanuel Vadot	status = "okay";
168*c66ec88fSEmmanuel Vadot};
169*c66ec88fSEmmanuel Vadot
170*c66ec88fSEmmanuel Vadot&fpd_dma_chan7 {
171*c66ec88fSEmmanuel Vadot	status = "okay";
172*c66ec88fSEmmanuel Vadot};
173*c66ec88fSEmmanuel Vadot
174*c66ec88fSEmmanuel Vadot&fpd_dma_chan8 {
175*c66ec88fSEmmanuel Vadot	status = "okay";
176*c66ec88fSEmmanuel Vadot};
177*c66ec88fSEmmanuel Vadot
178*c66ec88fSEmmanuel Vadot&gem3 {
179*c66ec88fSEmmanuel Vadot	status = "okay";
180*c66ec88fSEmmanuel Vadot	phy-handle = <&phy0>;
181*c66ec88fSEmmanuel Vadot	phy-mode = "rgmii-id";
182*c66ec88fSEmmanuel Vadot	phy0: ethernet-phy@c {
183*c66ec88fSEmmanuel Vadot		reg = <0xc>;
184*c66ec88fSEmmanuel Vadot		ti,rx-internal-delay = <0x8>;
185*c66ec88fSEmmanuel Vadot		ti,tx-internal-delay = <0xa>;
186*c66ec88fSEmmanuel Vadot		ti,fifo-depth = <0x1>;
187*c66ec88fSEmmanuel Vadot		ti,dp83867-rxctrl-strap-quirk;
188*c66ec88fSEmmanuel Vadot	};
189*c66ec88fSEmmanuel Vadot};
190*c66ec88fSEmmanuel Vadot
191*c66ec88fSEmmanuel Vadot&gpio {
192*c66ec88fSEmmanuel Vadot	status = "okay";
193*c66ec88fSEmmanuel Vadot};
194*c66ec88fSEmmanuel Vadot
195*c66ec88fSEmmanuel Vadot&i2c0 {
196*c66ec88fSEmmanuel Vadot	status = "okay";
197*c66ec88fSEmmanuel Vadot	clock-frequency = <400000>;
198*c66ec88fSEmmanuel Vadot
199*c66ec88fSEmmanuel Vadot	tca6416_u97: gpio@20 {
200*c66ec88fSEmmanuel Vadot		compatible = "ti,tca6416";
201*c66ec88fSEmmanuel Vadot		reg = <0x20>;
202*c66ec88fSEmmanuel Vadot		gpio-controller; /* interrupt not connected */
203*c66ec88fSEmmanuel Vadot		#gpio-cells = <2>;
204*c66ec88fSEmmanuel Vadot		/*
205*c66ec88fSEmmanuel Vadot		 * IRQ not connected
206*c66ec88fSEmmanuel Vadot		 * Lines:
207*c66ec88fSEmmanuel Vadot		 * 0 - SFP_SI5328_INT_ALM
208*c66ec88fSEmmanuel Vadot		 * 1 - HDMI_SI5328_INT_ALM
209*c66ec88fSEmmanuel Vadot		 * 5 - IIC_MUX_RESET_B
210*c66ec88fSEmmanuel Vadot		 * 6 - GEM3_EXP_RESET_B
211*c66ec88fSEmmanuel Vadot		 * 10 - FMC_HPC0_PRSNT_M2C_B
212*c66ec88fSEmmanuel Vadot		 * 11 - FMC_HPC1_PRSNT_M2C_B
213*c66ec88fSEmmanuel Vadot		 * 2-4, 7, 12-17 - not connected
214*c66ec88fSEmmanuel Vadot		 */
215*c66ec88fSEmmanuel Vadot	};
216*c66ec88fSEmmanuel Vadot
217*c66ec88fSEmmanuel Vadot	tca6416_u61: gpio@21 {
218*c66ec88fSEmmanuel Vadot		compatible = "ti,tca6416";
219*c66ec88fSEmmanuel Vadot		reg = <0x21>;
220*c66ec88fSEmmanuel Vadot		gpio-controller;
221*c66ec88fSEmmanuel Vadot		#gpio-cells = <2>;
222*c66ec88fSEmmanuel Vadot		/*
223*c66ec88fSEmmanuel Vadot		 * IRQ not connected
224*c66ec88fSEmmanuel Vadot		 * Lines:
225*c66ec88fSEmmanuel Vadot		 * 0 - VCCPSPLL_EN
226*c66ec88fSEmmanuel Vadot		 * 1 - MGTRAVCC_EN
227*c66ec88fSEmmanuel Vadot		 * 2 - MGTRAVTT_EN
228*c66ec88fSEmmanuel Vadot		 * 3 - VCCPSDDRPLL_EN
229*c66ec88fSEmmanuel Vadot		 * 4 - MIO26_PMU_INPUT_LS
230*c66ec88fSEmmanuel Vadot		 * 5 - PL_PMBUS_ALERT
231*c66ec88fSEmmanuel Vadot		 * 6 - PS_PMBUS_ALERT
232*c66ec88fSEmmanuel Vadot		 * 7 - MAXIM_PMBUS_ALERT
233*c66ec88fSEmmanuel Vadot		 * 10 - PL_DDR4_VTERM_EN
234*c66ec88fSEmmanuel Vadot		 * 11 - PL_DDR4_VPP_2V5_EN
235*c66ec88fSEmmanuel Vadot		 * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
236*c66ec88fSEmmanuel Vadot		 * 13 - PS_DIMM_SUSPEND_EN
237*c66ec88fSEmmanuel Vadot		 * 14 - PS_DDR4_VTERM_EN
238*c66ec88fSEmmanuel Vadot		 * 15 - PS_DDR4_VPP_2V5_EN
239*c66ec88fSEmmanuel Vadot		 * 16 - 17 - not connected
240*c66ec88fSEmmanuel Vadot		 */
241*c66ec88fSEmmanuel Vadot	};
242*c66ec88fSEmmanuel Vadot
243*c66ec88fSEmmanuel Vadot	i2c-mux@75 { /* u60 */
244*c66ec88fSEmmanuel Vadot		compatible = "nxp,pca9544";
245*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
246*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
247*c66ec88fSEmmanuel Vadot		reg = <0x75>;
248*c66ec88fSEmmanuel Vadot		i2c@0 {
249*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
250*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
251*c66ec88fSEmmanuel Vadot			reg = <0>;
252*c66ec88fSEmmanuel Vadot			/* PS_PMBUS */
253*c66ec88fSEmmanuel Vadot			u76: ina226@40 { /* u76 */
254*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
255*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
256*c66ec88fSEmmanuel Vadot				label = "ina226-u76";
257*c66ec88fSEmmanuel Vadot				reg = <0x40>;
258*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
259*c66ec88fSEmmanuel Vadot			};
260*c66ec88fSEmmanuel Vadot			u77: ina226@41 { /* u77 */
261*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
262*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
263*c66ec88fSEmmanuel Vadot				label = "ina226-u77";
264*c66ec88fSEmmanuel Vadot				reg = <0x41>;
265*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
266*c66ec88fSEmmanuel Vadot			};
267*c66ec88fSEmmanuel Vadot			u78: ina226@42 { /* u78 */
268*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
269*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
270*c66ec88fSEmmanuel Vadot				label = "ina226-u78";
271*c66ec88fSEmmanuel Vadot				reg = <0x42>;
272*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
273*c66ec88fSEmmanuel Vadot			};
274*c66ec88fSEmmanuel Vadot			u87: ina226@43 { /* u87 */
275*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
276*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
277*c66ec88fSEmmanuel Vadot				label = "ina226-u87";
278*c66ec88fSEmmanuel Vadot				reg = <0x43>;
279*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
280*c66ec88fSEmmanuel Vadot			};
281*c66ec88fSEmmanuel Vadot			u85: ina226@44 { /* u85 */
282*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
283*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
284*c66ec88fSEmmanuel Vadot				label = "ina226-u85";
285*c66ec88fSEmmanuel Vadot				reg = <0x44>;
286*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
287*c66ec88fSEmmanuel Vadot			};
288*c66ec88fSEmmanuel Vadot			u86: ina226@45 { /* u86 */
289*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
290*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
291*c66ec88fSEmmanuel Vadot				label = "ina226-u86";
292*c66ec88fSEmmanuel Vadot				reg = <0x45>;
293*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
294*c66ec88fSEmmanuel Vadot			};
295*c66ec88fSEmmanuel Vadot			u93: ina226@46 { /* u93 */
296*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
297*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
298*c66ec88fSEmmanuel Vadot				label = "ina226-u93";
299*c66ec88fSEmmanuel Vadot				reg = <0x46>;
300*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
301*c66ec88fSEmmanuel Vadot			};
302*c66ec88fSEmmanuel Vadot			u88: ina226@47 { /* u88 */
303*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
304*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
305*c66ec88fSEmmanuel Vadot				label = "ina226-u88";
306*c66ec88fSEmmanuel Vadot				reg = <0x47>;
307*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
308*c66ec88fSEmmanuel Vadot			};
309*c66ec88fSEmmanuel Vadot			u15: ina226@4a { /* u15 */
310*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
311*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
312*c66ec88fSEmmanuel Vadot				label = "ina226-u15";
313*c66ec88fSEmmanuel Vadot				reg = <0x4a>;
314*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
315*c66ec88fSEmmanuel Vadot			};
316*c66ec88fSEmmanuel Vadot			u92: ina226@4b { /* u92 */
317*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
318*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
319*c66ec88fSEmmanuel Vadot				label = "ina226-u92";
320*c66ec88fSEmmanuel Vadot				reg = <0x4b>;
321*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
322*c66ec88fSEmmanuel Vadot			};
323*c66ec88fSEmmanuel Vadot		};
324*c66ec88fSEmmanuel Vadot		i2c@1 {
325*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
326*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
327*c66ec88fSEmmanuel Vadot			reg = <1>;
328*c66ec88fSEmmanuel Vadot			/* PL_PMBUS */
329*c66ec88fSEmmanuel Vadot			u79: ina226@40 { /* u79 */
330*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
331*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
332*c66ec88fSEmmanuel Vadot				label = "ina226-u79";
333*c66ec88fSEmmanuel Vadot				reg = <0x40>;
334*c66ec88fSEmmanuel Vadot				shunt-resistor = <2000>;
335*c66ec88fSEmmanuel Vadot			};
336*c66ec88fSEmmanuel Vadot			u81: ina226@41 { /* u81 */
337*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
338*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
339*c66ec88fSEmmanuel Vadot				label = "ina226-u81";
340*c66ec88fSEmmanuel Vadot				reg = <0x41>;
341*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
342*c66ec88fSEmmanuel Vadot			};
343*c66ec88fSEmmanuel Vadot			u80: ina226@42 { /* u80 */
344*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
345*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
346*c66ec88fSEmmanuel Vadot				label = "ina226-u80";
347*c66ec88fSEmmanuel Vadot				reg = <0x42>;
348*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
349*c66ec88fSEmmanuel Vadot			};
350*c66ec88fSEmmanuel Vadot			u84: ina226@43 { /* u84 */
351*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
352*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
353*c66ec88fSEmmanuel Vadot				label = "ina226-u84";
354*c66ec88fSEmmanuel Vadot				reg = <0x43>;
355*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
356*c66ec88fSEmmanuel Vadot			};
357*c66ec88fSEmmanuel Vadot			u16: ina226@44 { /* u16 */
358*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
359*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
360*c66ec88fSEmmanuel Vadot				label = "ina226-u16";
361*c66ec88fSEmmanuel Vadot				reg = <0x44>;
362*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
363*c66ec88fSEmmanuel Vadot			};
364*c66ec88fSEmmanuel Vadot			u65: ina226@45 { /* u65 */
365*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
366*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
367*c66ec88fSEmmanuel Vadot				label = "ina226-u65";
368*c66ec88fSEmmanuel Vadot				reg = <0x45>;
369*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
370*c66ec88fSEmmanuel Vadot			};
371*c66ec88fSEmmanuel Vadot			u74: ina226@46 { /* u74 */
372*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
373*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
374*c66ec88fSEmmanuel Vadot				label = "ina226-u74";
375*c66ec88fSEmmanuel Vadot				reg = <0x46>;
376*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
377*c66ec88fSEmmanuel Vadot			};
378*c66ec88fSEmmanuel Vadot			u75: ina226@47 { /* u75 */
379*c66ec88fSEmmanuel Vadot				compatible = "ti,ina226";
380*c66ec88fSEmmanuel Vadot				#io-channel-cells = <1>;
381*c66ec88fSEmmanuel Vadot				label = "ina226-u75";
382*c66ec88fSEmmanuel Vadot				reg = <0x47>;
383*c66ec88fSEmmanuel Vadot				shunt-resistor = <5000>;
384*c66ec88fSEmmanuel Vadot			};
385*c66ec88fSEmmanuel Vadot		};
386*c66ec88fSEmmanuel Vadot		i2c@2 {
387*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
388*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
389*c66ec88fSEmmanuel Vadot			reg = <2>;
390*c66ec88fSEmmanuel Vadot			/* MAXIM_PMBUS - 00 */
391*c66ec88fSEmmanuel Vadot			max15301@a { /* u46 */
392*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15301";
393*c66ec88fSEmmanuel Vadot				reg = <0xa>;
394*c66ec88fSEmmanuel Vadot			};
395*c66ec88fSEmmanuel Vadot			max15303@b { /* u4 */
396*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15303";
397*c66ec88fSEmmanuel Vadot				reg = <0xb>;
398*c66ec88fSEmmanuel Vadot			};
399*c66ec88fSEmmanuel Vadot			max15303@10 { /* u13 */
400*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15303";
401*c66ec88fSEmmanuel Vadot				reg = <0x10>;
402*c66ec88fSEmmanuel Vadot			};
403*c66ec88fSEmmanuel Vadot			max15301@13 { /* u47 */
404*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15301";
405*c66ec88fSEmmanuel Vadot				reg = <0x13>;
406*c66ec88fSEmmanuel Vadot			};
407*c66ec88fSEmmanuel Vadot			max15303@14 { /* u7 */
408*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15303";
409*c66ec88fSEmmanuel Vadot				reg = <0x14>;
410*c66ec88fSEmmanuel Vadot			};
411*c66ec88fSEmmanuel Vadot			max15303@15 { /* u6 */
412*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15303";
413*c66ec88fSEmmanuel Vadot				reg = <0x15>;
414*c66ec88fSEmmanuel Vadot			};
415*c66ec88fSEmmanuel Vadot			max15303@16 { /* u10 */
416*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15303";
417*c66ec88fSEmmanuel Vadot				reg = <0x16>;
418*c66ec88fSEmmanuel Vadot			};
419*c66ec88fSEmmanuel Vadot			max15303@17 { /* u9 */
420*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15303";
421*c66ec88fSEmmanuel Vadot				reg = <0x17>;
422*c66ec88fSEmmanuel Vadot			};
423*c66ec88fSEmmanuel Vadot			max15301@18 { /* u63 */
424*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15301";
425*c66ec88fSEmmanuel Vadot				reg = <0x18>;
426*c66ec88fSEmmanuel Vadot			};
427*c66ec88fSEmmanuel Vadot			max15303@1a { /* u49 */
428*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15303";
429*c66ec88fSEmmanuel Vadot				reg = <0x1a>;
430*c66ec88fSEmmanuel Vadot			};
431*c66ec88fSEmmanuel Vadot			max15303@1b { /* u8 */
432*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15303";
433*c66ec88fSEmmanuel Vadot				reg = <0x1b>;
434*c66ec88fSEmmanuel Vadot			};
435*c66ec88fSEmmanuel Vadot			max15303@1d { /* u18 */
436*c66ec88fSEmmanuel Vadot				compatible = "maxim,max15303";
437*c66ec88fSEmmanuel Vadot				reg = <0x1d>;
438*c66ec88fSEmmanuel Vadot			};
439*c66ec88fSEmmanuel Vadot
440*c66ec88fSEmmanuel Vadot			max20751@72 { /* u95 */
441*c66ec88fSEmmanuel Vadot				compatible = "maxim,max20751";
442*c66ec88fSEmmanuel Vadot				reg = <0x72>;
443*c66ec88fSEmmanuel Vadot			};
444*c66ec88fSEmmanuel Vadot			max20751@73 { /* u96 */
445*c66ec88fSEmmanuel Vadot				compatible = "maxim,max20751";
446*c66ec88fSEmmanuel Vadot				reg = <0x73>;
447*c66ec88fSEmmanuel Vadot			};
448*c66ec88fSEmmanuel Vadot		};
449*c66ec88fSEmmanuel Vadot		/* Bus 3 is not connected */
450*c66ec88fSEmmanuel Vadot	};
451*c66ec88fSEmmanuel Vadot};
452*c66ec88fSEmmanuel Vadot
453*c66ec88fSEmmanuel Vadot&i2c1 {
454*c66ec88fSEmmanuel Vadot	status = "okay";
455*c66ec88fSEmmanuel Vadot	clock-frequency = <400000>;
456*c66ec88fSEmmanuel Vadot
457*c66ec88fSEmmanuel Vadot	/* PL i2c via PCA9306 - u45 */
458*c66ec88fSEmmanuel Vadot	i2c-mux@74 { /* u34 */
459*c66ec88fSEmmanuel Vadot		compatible = "nxp,pca9548";
460*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
461*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
462*c66ec88fSEmmanuel Vadot		reg = <0x74>;
463*c66ec88fSEmmanuel Vadot		i2c@0 {
464*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
465*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
466*c66ec88fSEmmanuel Vadot			reg = <0>;
467*c66ec88fSEmmanuel Vadot			/*
468*c66ec88fSEmmanuel Vadot			 * IIC_EEPROM 1kB memory which uses 256B blocks
469*c66ec88fSEmmanuel Vadot			 * where every block has different address.
470*c66ec88fSEmmanuel Vadot			 *    0 - 256B address 0x54
471*c66ec88fSEmmanuel Vadot			 * 256B - 512B address 0x55
472*c66ec88fSEmmanuel Vadot			 * 512B - 768B address 0x56
473*c66ec88fSEmmanuel Vadot			 * 768B - 1024B address 0x57
474*c66ec88fSEmmanuel Vadot			 */
475*c66ec88fSEmmanuel Vadot			eeprom: eeprom@54 { /* u23 */
476*c66ec88fSEmmanuel Vadot				compatible = "atmel,24c08";
477*c66ec88fSEmmanuel Vadot				reg = <0x54>;
478*c66ec88fSEmmanuel Vadot			};
479*c66ec88fSEmmanuel Vadot		};
480*c66ec88fSEmmanuel Vadot		i2c@1 {
481*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
482*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
483*c66ec88fSEmmanuel Vadot			reg = <1>;
484*c66ec88fSEmmanuel Vadot			si5341: clock-generator@36 { /* SI5341 - u69 */
485*c66ec88fSEmmanuel Vadot				reg = <0x36>;
486*c66ec88fSEmmanuel Vadot			};
487*c66ec88fSEmmanuel Vadot
488*c66ec88fSEmmanuel Vadot		};
489*c66ec88fSEmmanuel Vadot		i2c@2 {
490*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
491*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
492*c66ec88fSEmmanuel Vadot			reg = <2>;
493*c66ec88fSEmmanuel Vadot			si570_1: clock-generator@5d { /* USER SI570 - u42 */
494*c66ec88fSEmmanuel Vadot				#clock-cells = <0>;
495*c66ec88fSEmmanuel Vadot				compatible = "silabs,si570";
496*c66ec88fSEmmanuel Vadot				reg = <0x5d>;
497*c66ec88fSEmmanuel Vadot				temperature-stability = <50>;
498*c66ec88fSEmmanuel Vadot				factory-fout = <300000000>;
499*c66ec88fSEmmanuel Vadot				clock-frequency = <300000000>;
500*c66ec88fSEmmanuel Vadot				clock-output-names = "si570_user";
501*c66ec88fSEmmanuel Vadot			};
502*c66ec88fSEmmanuel Vadot		};
503*c66ec88fSEmmanuel Vadot		i2c@3 {
504*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
505*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
506*c66ec88fSEmmanuel Vadot			reg = <3>;
507*c66ec88fSEmmanuel Vadot			si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */
508*c66ec88fSEmmanuel Vadot				#clock-cells = <0>;
509*c66ec88fSEmmanuel Vadot				compatible = "silabs,si570";
510*c66ec88fSEmmanuel Vadot				reg = <0x5d>;
511*c66ec88fSEmmanuel Vadot				temperature-stability = <50>; /* copy from zc702 */
512*c66ec88fSEmmanuel Vadot				factory-fout = <156250000>;
513*c66ec88fSEmmanuel Vadot				clock-frequency = <148500000>;
514*c66ec88fSEmmanuel Vadot				clock-output-names = "si570_mgt";
515*c66ec88fSEmmanuel Vadot			};
516*c66ec88fSEmmanuel Vadot		};
517*c66ec88fSEmmanuel Vadot		i2c@4 {
518*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
519*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
520*c66ec88fSEmmanuel Vadot			reg = <4>;
521*c66ec88fSEmmanuel Vadot			si5328: clock-generator@69 {/* SI5328 - u20 */
522*c66ec88fSEmmanuel Vadot				reg = <0x69>;
523*c66ec88fSEmmanuel Vadot			};
524*c66ec88fSEmmanuel Vadot		};
525*c66ec88fSEmmanuel Vadot		i2c@5 {
526*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
527*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
528*c66ec88fSEmmanuel Vadot			reg = <5>; /* FAN controller */
529*c66ec88fSEmmanuel Vadot			temp@4c {/* lm96163 - u128 */
530*c66ec88fSEmmanuel Vadot				compatible = "national,lm96163";
531*c66ec88fSEmmanuel Vadot				reg = <0x4c>;
532*c66ec88fSEmmanuel Vadot			};
533*c66ec88fSEmmanuel Vadot		};
534*c66ec88fSEmmanuel Vadot		/* 6 - 7 unconnected */
535*c66ec88fSEmmanuel Vadot	};
536*c66ec88fSEmmanuel Vadot
537*c66ec88fSEmmanuel Vadot	i2c-mux@75 {
538*c66ec88fSEmmanuel Vadot		compatible = "nxp,pca9548"; /* u135 */
539*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
540*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
541*c66ec88fSEmmanuel Vadot		reg = <0x75>;
542*c66ec88fSEmmanuel Vadot
543*c66ec88fSEmmanuel Vadot		i2c@0 {
544*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
545*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
546*c66ec88fSEmmanuel Vadot			reg = <0>;
547*c66ec88fSEmmanuel Vadot			/* HPC0_IIC */
548*c66ec88fSEmmanuel Vadot		};
549*c66ec88fSEmmanuel Vadot		i2c@1 {
550*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
551*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
552*c66ec88fSEmmanuel Vadot			reg = <1>;
553*c66ec88fSEmmanuel Vadot			/* HPC1_IIC */
554*c66ec88fSEmmanuel Vadot		};
555*c66ec88fSEmmanuel Vadot		i2c@2 {
556*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
557*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
558*c66ec88fSEmmanuel Vadot			reg = <2>;
559*c66ec88fSEmmanuel Vadot			/* SYSMON */
560*c66ec88fSEmmanuel Vadot		};
561*c66ec88fSEmmanuel Vadot		i2c@3 {
562*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
563*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
564*c66ec88fSEmmanuel Vadot			reg = <3>;
565*c66ec88fSEmmanuel Vadot			/* DDR4 SODIMM */
566*c66ec88fSEmmanuel Vadot		};
567*c66ec88fSEmmanuel Vadot		i2c@4 {
568*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
569*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
570*c66ec88fSEmmanuel Vadot			reg = <4>;
571*c66ec88fSEmmanuel Vadot			/* SEP 3 */
572*c66ec88fSEmmanuel Vadot		};
573*c66ec88fSEmmanuel Vadot		i2c@5 {
574*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
575*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
576*c66ec88fSEmmanuel Vadot			reg = <5>;
577*c66ec88fSEmmanuel Vadot			/* SEP 2 */
578*c66ec88fSEmmanuel Vadot		};
579*c66ec88fSEmmanuel Vadot		i2c@6 {
580*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
581*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
582*c66ec88fSEmmanuel Vadot			reg = <6>;
583*c66ec88fSEmmanuel Vadot			/* SEP 1 */
584*c66ec88fSEmmanuel Vadot		};
585*c66ec88fSEmmanuel Vadot		i2c@7 {
586*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
587*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
588*c66ec88fSEmmanuel Vadot			reg = <7>;
589*c66ec88fSEmmanuel Vadot			/* SEP 0 */
590*c66ec88fSEmmanuel Vadot		};
591*c66ec88fSEmmanuel Vadot	};
592*c66ec88fSEmmanuel Vadot};
593*c66ec88fSEmmanuel Vadot
594*c66ec88fSEmmanuel Vadot&rtc {
595*c66ec88fSEmmanuel Vadot	status = "okay";
596*c66ec88fSEmmanuel Vadot};
597*c66ec88fSEmmanuel Vadot
598*c66ec88fSEmmanuel Vadot&sata {
599*c66ec88fSEmmanuel Vadot	status = "okay";
600*c66ec88fSEmmanuel Vadot	/* SATA OOB timing settings */
601*c66ec88fSEmmanuel Vadot	ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
602*c66ec88fSEmmanuel Vadot	ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
603*c66ec88fSEmmanuel Vadot	ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
604*c66ec88fSEmmanuel Vadot	ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
605*c66ec88fSEmmanuel Vadot	ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
606*c66ec88fSEmmanuel Vadot	ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
607*c66ec88fSEmmanuel Vadot	ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
608*c66ec88fSEmmanuel Vadot	ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
609*c66ec88fSEmmanuel Vadot};
610*c66ec88fSEmmanuel Vadot
611*c66ec88fSEmmanuel Vadot/* SD1 with level shifter */
612*c66ec88fSEmmanuel Vadot&sdhci1 {
613*c66ec88fSEmmanuel Vadot	status = "okay";
614*c66ec88fSEmmanuel Vadot	no-1-8-v;
615*c66ec88fSEmmanuel Vadot};
616*c66ec88fSEmmanuel Vadot
617*c66ec88fSEmmanuel Vadot&uart0 {
618*c66ec88fSEmmanuel Vadot	status = "okay";
619*c66ec88fSEmmanuel Vadot};
620*c66ec88fSEmmanuel Vadot
621*c66ec88fSEmmanuel Vadot&uart1 {
622*c66ec88fSEmmanuel Vadot	status = "okay";
623*c66ec88fSEmmanuel Vadot};
624*c66ec88fSEmmanuel Vadot
625*c66ec88fSEmmanuel Vadot/* ULPI SMSC USB3320 */
626*c66ec88fSEmmanuel Vadot&usb0 {
627*c66ec88fSEmmanuel Vadot	status = "okay";
628*c66ec88fSEmmanuel Vadot	dr_mode = "host";
629*c66ec88fSEmmanuel Vadot};
630*c66ec88fSEmmanuel Vadot
631*c66ec88fSEmmanuel Vadot&watchdog0 {
632*c66ec88fSEmmanuel Vadot	status = "okay";
633*c66ec88fSEmmanuel Vadot};
634