xref: /linux/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts (revision 1d4bd118c9e014be9246768507603ea119615d5b)
1ef797b53SMichal Simek// SPDX-License-Identifier: GPL-2.0+
2ef797b53SMichal Simek/*
3ef797b53SMichal Simek * dts file for Xilinx ZynqMP ZCU102 RevA
4ef797b53SMichal Simek *
5c821045fSMichal Simek * (C) Copyright 2015 - 2021, Xilinx, Inc.
6ef797b53SMichal Simek *
7ef797b53SMichal Simek * Michal Simek <michal.simek@xilinx.com>
8ef797b53SMichal Simek */
9ef797b53SMichal Simek
10ef797b53SMichal Simek/dts-v1/;
11ef797b53SMichal Simek
12ef797b53SMichal Simek#include "zynqmp.dtsi"
139c8a47b4SRajan Vaja#include "zynqmp-clk-ccf.dtsi"
14ef797b53SMichal Simek#include <dt-bindings/input/input.h>
15ef797b53SMichal Simek#include <dt-bindings/gpio/gpio.h>
16c821045fSMichal Simek#include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
1751733f16SMichal Simek#include <dt-bindings/phy/phy.h>
18ef797b53SMichal Simek
19ef797b53SMichal Simek/ {
20ef797b53SMichal Simek	model = "ZynqMP ZCU102 RevA";
21ef797b53SMichal Simek	compatible = "xlnx,zynqmp-zcu102-revA", "xlnx,zynqmp-zcu102", "xlnx,zynqmp";
22ef797b53SMichal Simek
23ef797b53SMichal Simek	aliases {
24ef797b53SMichal Simek		ethernet0 = &gem3;
25ef797b53SMichal Simek		i2c0 = &i2c0;
26ef797b53SMichal Simek		i2c1 = &i2c1;
27ef797b53SMichal Simek		mmc0 = &sdhci1;
28d65ec93fSMichal Simek		nvmem0 = &eeprom;
29ef797b53SMichal Simek		rtc0 = &rtc;
30ef797b53SMichal Simek		serial0 = &uart0;
31ef797b53SMichal Simek		serial1 = &uart1;
32ef797b53SMichal Simek		serial2 = &dcc;
33ef797b53SMichal Simek	};
34ef797b53SMichal Simek
35ef797b53SMichal Simek	chosen {
36ef797b53SMichal Simek		bootargs = "earlycon";
37ef797b53SMichal Simek		stdout-path = "serial0:115200n8";
38ef797b53SMichal Simek	};
39ef797b53SMichal Simek
40ef797b53SMichal Simek	memory@0 {
41ef797b53SMichal Simek		device_type = "memory";
42ef797b53SMichal Simek		reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
43ef797b53SMichal Simek	};
44ef797b53SMichal Simek
45ef797b53SMichal Simek	gpio-keys {
46ef797b53SMichal Simek		compatible = "gpio-keys";
47ef797b53SMichal Simek		autorepeat;
48ef797b53SMichal Simek		sw19 {
49ef797b53SMichal Simek			label = "sw19";
50ef797b53SMichal Simek			gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
51ef797b53SMichal Simek			linux,code = <KEY_DOWN>;
521696acf4SSudeep Holla			wakeup-source;
53ef797b53SMichal Simek			autorepeat;
54ef797b53SMichal Simek		};
55ef797b53SMichal Simek	};
56ef797b53SMichal Simek
57ef797b53SMichal Simek	leds {
58ef797b53SMichal Simek		compatible = "gpio-leds";
59d1d4445aSMichal Simek		heartbeat-led {
60ef797b53SMichal Simek			label = "heartbeat";
61ef797b53SMichal Simek			gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
62ef797b53SMichal Simek			linux,default-trigger = "heartbeat";
63ef797b53SMichal Simek		};
64ef797b53SMichal Simek	};
6586444d3eSMichal Simek
6686444d3eSMichal Simek	ina226-u76 {
6786444d3eSMichal Simek		compatible = "iio-hwmon";
6886444d3eSMichal Simek		io-channels = <&u76 0>, <&u76 1>, <&u76 2>, <&u76 3>;
6986444d3eSMichal Simek	};
7086444d3eSMichal Simek	ina226-u77 {
7186444d3eSMichal Simek		compatible = "iio-hwmon";
7286444d3eSMichal Simek		io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>;
7386444d3eSMichal Simek	};
7486444d3eSMichal Simek	ina226-u78 {
7586444d3eSMichal Simek		compatible = "iio-hwmon";
7686444d3eSMichal Simek		io-channels = <&u78 0>, <&u78 1>, <&u78 2>, <&u78 3>;
7786444d3eSMichal Simek	};
7886444d3eSMichal Simek	ina226-u87 {
7986444d3eSMichal Simek		compatible = "iio-hwmon";
8086444d3eSMichal Simek		io-channels = <&u87 0>, <&u87 1>, <&u87 2>, <&u87 3>;
8186444d3eSMichal Simek	};
8286444d3eSMichal Simek	ina226-u85 {
8386444d3eSMichal Simek		compatible = "iio-hwmon";
8486444d3eSMichal Simek		io-channels = <&u85 0>, <&u85 1>, <&u85 2>, <&u85 3>;
8586444d3eSMichal Simek	};
8686444d3eSMichal Simek	ina226-u86 {
8786444d3eSMichal Simek		compatible = "iio-hwmon";
8886444d3eSMichal Simek		io-channels = <&u86 0>, <&u86 1>, <&u86 2>, <&u86 3>;
8986444d3eSMichal Simek	};
9086444d3eSMichal Simek	ina226-u93 {
9186444d3eSMichal Simek		compatible = "iio-hwmon";
9286444d3eSMichal Simek		io-channels = <&u93 0>, <&u93 1>, <&u93 2>, <&u93 3>;
9386444d3eSMichal Simek	};
9486444d3eSMichal Simek	ina226-u88 {
9586444d3eSMichal Simek		compatible = "iio-hwmon";
9686444d3eSMichal Simek		io-channels = <&u88 0>, <&u88 1>, <&u88 2>, <&u88 3>;
9786444d3eSMichal Simek	};
9886444d3eSMichal Simek	ina226-u15 {
9986444d3eSMichal Simek		compatible = "iio-hwmon";
10086444d3eSMichal Simek		io-channels = <&u15 0>, <&u15 1>, <&u15 2>, <&u15 3>;
10186444d3eSMichal Simek	};
10286444d3eSMichal Simek	ina226-u92 {
10386444d3eSMichal Simek		compatible = "iio-hwmon";
10486444d3eSMichal Simek		io-channels = <&u92 0>, <&u92 1>, <&u92 2>, <&u92 3>;
10586444d3eSMichal Simek	};
10686444d3eSMichal Simek	ina226-u79 {
10786444d3eSMichal Simek		compatible = "iio-hwmon";
10886444d3eSMichal Simek		io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>;
10986444d3eSMichal Simek	};
11086444d3eSMichal Simek	ina226-u81 {
11186444d3eSMichal Simek		compatible = "iio-hwmon";
11286444d3eSMichal Simek		io-channels = <&u81 0>, <&u81 1>, <&u81 2>, <&u81 3>;
11386444d3eSMichal Simek	};
11486444d3eSMichal Simek	ina226-u80 {
11586444d3eSMichal Simek		compatible = "iio-hwmon";
11686444d3eSMichal Simek		io-channels = <&u80 0>, <&u80 1>, <&u80 2>, <&u80 3>;
11786444d3eSMichal Simek	};
11886444d3eSMichal Simek	ina226-u84 {
11986444d3eSMichal Simek		compatible = "iio-hwmon";
12086444d3eSMichal Simek		io-channels = <&u84 0>, <&u84 1>, <&u84 2>, <&u84 3>;
12186444d3eSMichal Simek	};
12286444d3eSMichal Simek	ina226-u16 {
12386444d3eSMichal Simek		compatible = "iio-hwmon";
12486444d3eSMichal Simek		io-channels = <&u16 0>, <&u16 1>, <&u16 2>, <&u16 3>;
12586444d3eSMichal Simek	};
12686444d3eSMichal Simek	ina226-u65 {
12786444d3eSMichal Simek		compatible = "iio-hwmon";
12886444d3eSMichal Simek		io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>;
12986444d3eSMichal Simek	};
13086444d3eSMichal Simek	ina226-u74 {
13186444d3eSMichal Simek		compatible = "iio-hwmon";
13286444d3eSMichal Simek		io-channels = <&u74 0>, <&u74 1>, <&u74 2>, <&u74 3>;
13386444d3eSMichal Simek	};
13486444d3eSMichal Simek	ina226-u75 {
13586444d3eSMichal Simek		compatible = "iio-hwmon";
13686444d3eSMichal Simek		io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>;
13786444d3eSMichal Simek	};
13882a7ebf0SMichal Simek
139928a5747SMichal Simek	/* 48MHz reference crystal */
140928a5747SMichal Simek	ref48: ref48M {
141928a5747SMichal Simek		compatible = "fixed-clock";
142928a5747SMichal Simek		#clock-cells = <0>;
143928a5747SMichal Simek		clock-frequency = <48000000>;
144928a5747SMichal Simek	};
145928a5747SMichal Simek
14682a7ebf0SMichal Simek	refhdmi: refhdmi {
14782a7ebf0SMichal Simek		compatible = "fixed-clock";
14882a7ebf0SMichal Simek		#clock-cells = <0>;
14982a7ebf0SMichal Simek		clock-frequency = <114285000>;
15082a7ebf0SMichal Simek	};
151ef797b53SMichal Simek};
152ef797b53SMichal Simek
153ef797b53SMichal Simek&can1 {
154ef797b53SMichal Simek	status = "okay";
155c821045fSMichal Simek	pinctrl-names = "default";
156c821045fSMichal Simek	pinctrl-0 = <&pinctrl_can1_default>;
157ef797b53SMichal Simek};
158ef797b53SMichal Simek
159ef797b53SMichal Simek&dcc {
160ef797b53SMichal Simek	status = "okay";
161ef797b53SMichal Simek};
162ef797b53SMichal Simek
163ef797b53SMichal Simek&fpd_dma_chan1 {
164ef797b53SMichal Simek	status = "okay";
165ef797b53SMichal Simek};
166ef797b53SMichal Simek
167ef797b53SMichal Simek&fpd_dma_chan2 {
168ef797b53SMichal Simek	status = "okay";
169ef797b53SMichal Simek};
170ef797b53SMichal Simek
171ef797b53SMichal Simek&fpd_dma_chan3 {
172ef797b53SMichal Simek	status = "okay";
173ef797b53SMichal Simek};
174ef797b53SMichal Simek
175ef797b53SMichal Simek&fpd_dma_chan4 {
176ef797b53SMichal Simek	status = "okay";
177ef797b53SMichal Simek};
178ef797b53SMichal Simek
179ef797b53SMichal Simek&fpd_dma_chan5 {
180ef797b53SMichal Simek	status = "okay";
181ef797b53SMichal Simek};
182ef797b53SMichal Simek
183ef797b53SMichal Simek&fpd_dma_chan6 {
184ef797b53SMichal Simek	status = "okay";
185ef797b53SMichal Simek};
186ef797b53SMichal Simek
187ef797b53SMichal Simek&fpd_dma_chan7 {
188ef797b53SMichal Simek	status = "okay";
189ef797b53SMichal Simek};
190ef797b53SMichal Simek
191ef797b53SMichal Simek&fpd_dma_chan8 {
192ef797b53SMichal Simek	status = "okay";
193ef797b53SMichal Simek};
194ef797b53SMichal Simek
195ef797b53SMichal Simek&gem3 {
196ef797b53SMichal Simek	status = "okay";
197ef797b53SMichal Simek	phy-handle = <&phy0>;
198ef797b53SMichal Simek	phy-mode = "rgmii-id";
199c821045fSMichal Simek	pinctrl-names = "default";
200c821045fSMichal Simek	pinctrl-0 = <&pinctrl_gem3_default>;
20113d21ebaSMichal Simek	phy0: ethernet-phy@21 {
202ef797b53SMichal Simek		reg = <21>;
203ef797b53SMichal Simek		ti,rx-internal-delay = <0x8>;
204ef797b53SMichal Simek		ti,tx-internal-delay = <0xa>;
205ef797b53SMichal Simek		ti,fifo-depth = <0x1>;
20678c484a5SHarini Katakam		ti,dp83867-rxctrl-strap-quirk;
20758ccd7e8SMichal Simek		/* reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; */
208ef797b53SMichal Simek	};
209ef797b53SMichal Simek};
210ef797b53SMichal Simek
211ef797b53SMichal Simek&gpio {
212ef797b53SMichal Simek	status = "okay";
213c821045fSMichal Simek	pinctrl-names = "default";
214c821045fSMichal Simek	pinctrl-0 = <&pinctrl_gpio_default>;
215ef797b53SMichal Simek};
216ef797b53SMichal Simek
217ef797b53SMichal Simek&i2c0 {
218ef797b53SMichal Simek	status = "okay";
219ef797b53SMichal Simek	clock-frequency = <400000>;
220c821045fSMichal Simek	pinctrl-names = "default", "gpio";
221c821045fSMichal Simek	pinctrl-0 = <&pinctrl_i2c0_default>;
222c821045fSMichal Simek	pinctrl-1 = <&pinctrl_i2c0_gpio>;
223c821045fSMichal Simek	scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
224c821045fSMichal Simek	sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
225ef797b53SMichal Simek
226ef797b53SMichal Simek	tca6416_u97: gpio@20 {
227ef797b53SMichal Simek		compatible = "ti,tca6416";
228ef797b53SMichal Simek		reg = <0x20>;
2294426df7cSMichal Simek		gpio-controller; /* IRQ not connected */
230ef797b53SMichal Simek		#gpio-cells = <2>;
2314426df7cSMichal Simek		gpio-line-names = "PS_GTR_LAN_SEL0", "PS_GTR_LAN_SEL1", "PS_GTR_LAN_SEL2", "PS_GTR_LAN_SEL3",
2324426df7cSMichal Simek				"PCI_CLK_DIR_SEL", "IIC_MUX_RESET_B", "GEM3_EXP_RESET_B",
2334426df7cSMichal Simek				"", "", "", "", "", "", "", "", "";
234cbf5a878SKrzysztof Kozlowski		gtr-sel0-hog {
235ef797b53SMichal Simek			gpio-hog;
236ef797b53SMichal Simek			gpios = <0 0>;
237ef797b53SMichal Simek			output-low; /* PCIE = 0, DP = 1 */
238ef797b53SMichal Simek			line-name = "sel0";
239ef797b53SMichal Simek		};
240cbf5a878SKrzysztof Kozlowski		gtr-sel1-hog {
241ef797b53SMichal Simek			gpio-hog;
242ef797b53SMichal Simek			gpios = <1 0>;
243ef797b53SMichal Simek			output-high; /* PCIE = 0, DP = 1 */
244ef797b53SMichal Simek			line-name = "sel1";
245ef797b53SMichal Simek		};
246cbf5a878SKrzysztof Kozlowski		gtr-sel2-hog {
247ef797b53SMichal Simek			gpio-hog;
248ef797b53SMichal Simek			gpios = <2 0>;
249ef797b53SMichal Simek			output-high; /* PCIE = 0, USB0 = 1 */
250ef797b53SMichal Simek			line-name = "sel2";
251ef797b53SMichal Simek		};
252cbf5a878SKrzysztof Kozlowski		gtr-sel3-hog {
253ef797b53SMichal Simek			gpio-hog;
254ef797b53SMichal Simek			gpios = <3 0>;
255ef797b53SMichal Simek			output-high; /* PCIE = 0, SATA = 1 */
256ef797b53SMichal Simek			line-name = "sel3";
257ef797b53SMichal Simek		};
258ef797b53SMichal Simek	};
259ef797b53SMichal Simek
260ef797b53SMichal Simek	tca6416_u61: gpio@21 {
261ef797b53SMichal Simek		compatible = "ti,tca6416";
262ef797b53SMichal Simek		reg = <0x21>;
2634426df7cSMichal Simek		gpio-controller; /* IRQ not connected */
264ef797b53SMichal Simek		#gpio-cells = <2>;
2654426df7cSMichal Simek		gpio-line-names = "VCCPSPLL_EN", "MGTRAVCC_EN", "MGTRAVTT_EN", "VCCPSDDRPLL_EN", "MIO26_PMU_INPUT_LS",
2664426df7cSMichal Simek				"PL_PMBUS_ALERT", "PS_PMBUS_ALERT", "MAXIM_PMBUS_ALERT", "PL_DDR4_VTERM_EN",
2674426df7cSMichal Simek				"PL_DDR4_VPP_2V5_EN", "PS_DIMM_VDDQ_TO_PSVCCO_ON", "PS_DIMM_SUSPEND_EN",
2684426df7cSMichal Simek				"PS_DDR4_VTERM_EN", "PS_DDR4_VPP_2V5_EN", "", "";
269ef797b53SMichal Simek	};
270ef797b53SMichal Simek
271ef797b53SMichal Simek	i2c-mux@75 { /* u60 */
272ef797b53SMichal Simek		compatible = "nxp,pca9544";
273ef797b53SMichal Simek		#address-cells = <1>;
274ef797b53SMichal Simek		#size-cells = <0>;
275ef797b53SMichal Simek		reg = <0x75>;
276ef797b53SMichal Simek		i2c@0 {
277ef797b53SMichal Simek			#address-cells = <1>;
278ef797b53SMichal Simek			#size-cells = <0>;
279ef797b53SMichal Simek			reg = <0>;
280ef797b53SMichal Simek			/* PS_PMBUS */
28186444d3eSMichal Simek			u76: ina226@40 { /* u76 */
282ef797b53SMichal Simek				compatible = "ti,ina226";
28386444d3eSMichal Simek				#io-channel-cells = <1>;
284353f5eceSMichal Simek				label = "ina226-u76";
285ef797b53SMichal Simek				reg = <0x40>;
286ef797b53SMichal Simek				shunt-resistor = <5000>;
287ef797b53SMichal Simek			};
28886444d3eSMichal Simek			u77: ina226@41 { /* u77 */
289ef797b53SMichal Simek				compatible = "ti,ina226";
29086444d3eSMichal Simek				#io-channel-cells = <1>;
291353f5eceSMichal Simek				label = "ina226-u77";
292ef797b53SMichal Simek				reg = <0x41>;
293ef797b53SMichal Simek				shunt-resistor = <5000>;
294ef797b53SMichal Simek			};
29586444d3eSMichal Simek			u78: ina226@42 { /* u78 */
296ef797b53SMichal Simek				compatible = "ti,ina226";
29786444d3eSMichal Simek				#io-channel-cells = <1>;
298353f5eceSMichal Simek				label = "ina226-u78";
299ef797b53SMichal Simek				reg = <0x42>;
300ef797b53SMichal Simek				shunt-resistor = <5000>;
301ef797b53SMichal Simek			};
30286444d3eSMichal Simek			u87: ina226@43 { /* u87 */
303ef797b53SMichal Simek				compatible = "ti,ina226";
30486444d3eSMichal Simek				#io-channel-cells = <1>;
305353f5eceSMichal Simek				label = "ina226-u87";
306ef797b53SMichal Simek				reg = <0x43>;
307ef797b53SMichal Simek				shunt-resistor = <5000>;
308ef797b53SMichal Simek			};
30986444d3eSMichal Simek			u85: ina226@44 { /* u85 */
310ef797b53SMichal Simek				compatible = "ti,ina226";
31186444d3eSMichal Simek				#io-channel-cells = <1>;
312353f5eceSMichal Simek				label = "ina226-u85";
313ef797b53SMichal Simek				reg = <0x44>;
314ef797b53SMichal Simek				shunt-resistor = <5000>;
315ef797b53SMichal Simek			};
31686444d3eSMichal Simek			u86: ina226@45 { /* u86 */
317ef797b53SMichal Simek				compatible = "ti,ina226";
31886444d3eSMichal Simek				#io-channel-cells = <1>;
319353f5eceSMichal Simek				label = "ina226-u86";
320ef797b53SMichal Simek				reg = <0x45>;
321ef797b53SMichal Simek				shunt-resistor = <5000>;
322ef797b53SMichal Simek			};
32386444d3eSMichal Simek			u93: ina226@46 { /* u93 */
324ef797b53SMichal Simek				compatible = "ti,ina226";
32586444d3eSMichal Simek				#io-channel-cells = <1>;
326353f5eceSMichal Simek				label = "ina226-u93";
327ef797b53SMichal Simek				reg = <0x46>;
328ef797b53SMichal Simek				shunt-resistor = <5000>;
329ef797b53SMichal Simek			};
33086444d3eSMichal Simek			u88: ina226@47 { /* u88 */
331ef797b53SMichal Simek				compatible = "ti,ina226";
33286444d3eSMichal Simek				#io-channel-cells = <1>;
333353f5eceSMichal Simek				label = "ina226-u88";
334ef797b53SMichal Simek				reg = <0x47>;
335ef797b53SMichal Simek				shunt-resistor = <5000>;
336ef797b53SMichal Simek			};
33786444d3eSMichal Simek			u15: ina226@4a { /* u15 */
338ef797b53SMichal Simek				compatible = "ti,ina226";
33986444d3eSMichal Simek				#io-channel-cells = <1>;
340353f5eceSMichal Simek				label = "ina226-u15";
341ef797b53SMichal Simek				reg = <0x4a>;
342ef797b53SMichal Simek				shunt-resistor = <5000>;
343ef797b53SMichal Simek			};
34486444d3eSMichal Simek			u92: ina226@4b { /* u92 */
345ef797b53SMichal Simek				compatible = "ti,ina226";
34686444d3eSMichal Simek				#io-channel-cells = <1>;
347353f5eceSMichal Simek				label = "ina226-u92";
348ef797b53SMichal Simek				reg = <0x4b>;
349ef797b53SMichal Simek				shunt-resistor = <5000>;
350ef797b53SMichal Simek			};
351ef797b53SMichal Simek		};
352ef797b53SMichal Simek		i2c@1 {
353ef797b53SMichal Simek			#address-cells = <1>;
354ef797b53SMichal Simek			#size-cells = <0>;
355ef797b53SMichal Simek			reg = <1>;
356ef797b53SMichal Simek			/* PL_PMBUS */
35786444d3eSMichal Simek			u79: ina226@40 { /* u79 */
358ef797b53SMichal Simek				compatible = "ti,ina226";
35986444d3eSMichal Simek				#io-channel-cells = <1>;
360353f5eceSMichal Simek				label = "ina226-u79";
361ef797b53SMichal Simek				reg = <0x40>;
362ef797b53SMichal Simek				shunt-resistor = <2000>;
363ef797b53SMichal Simek			};
36486444d3eSMichal Simek			u81: ina226@41 { /* u81 */
365ef797b53SMichal Simek				compatible = "ti,ina226";
36686444d3eSMichal Simek				#io-channel-cells = <1>;
367353f5eceSMichal Simek				label = "ina226-u81";
368ef797b53SMichal Simek				reg = <0x41>;
369ef797b53SMichal Simek				shunt-resistor = <5000>;
370ef797b53SMichal Simek			};
37186444d3eSMichal Simek			u80: ina226@42 { /* u80 */
372ef797b53SMichal Simek				compatible = "ti,ina226";
37386444d3eSMichal Simek				#io-channel-cells = <1>;
374353f5eceSMichal Simek				label = "ina226-u80";
375ef797b53SMichal Simek				reg = <0x42>;
376ef797b53SMichal Simek				shunt-resistor = <5000>;
377ef797b53SMichal Simek			};
37886444d3eSMichal Simek			u84: ina226@43 { /* u84 */
379ef797b53SMichal Simek				compatible = "ti,ina226";
38086444d3eSMichal Simek				#io-channel-cells = <1>;
381353f5eceSMichal Simek				label = "ina226-u84";
382ef797b53SMichal Simek				reg = <0x43>;
383ef797b53SMichal Simek				shunt-resistor = <5000>;
384ef797b53SMichal Simek			};
38586444d3eSMichal Simek			u16: ina226@44 { /* u16 */
386ef797b53SMichal Simek				compatible = "ti,ina226";
38786444d3eSMichal Simek				#io-channel-cells = <1>;
388353f5eceSMichal Simek				label = "ina226-u16";
389ef797b53SMichal Simek				reg = <0x44>;
390ef797b53SMichal Simek				shunt-resistor = <5000>;
391ef797b53SMichal Simek			};
39286444d3eSMichal Simek			u65: ina226@45 { /* u65 */
393ef797b53SMichal Simek				compatible = "ti,ina226";
39486444d3eSMichal Simek				#io-channel-cells = <1>;
395353f5eceSMichal Simek				label = "ina226-u65";
396ef797b53SMichal Simek				reg = <0x45>;
397ef797b53SMichal Simek				shunt-resistor = <5000>;
398ef797b53SMichal Simek			};
39986444d3eSMichal Simek			u74: ina226@46 { /* u74 */
400ef797b53SMichal Simek				compatible = "ti,ina226";
40186444d3eSMichal Simek				#io-channel-cells = <1>;
402353f5eceSMichal Simek				label = "ina226-u74";
403ef797b53SMichal Simek				reg = <0x46>;
404ef797b53SMichal Simek				shunt-resistor = <5000>;
405ef797b53SMichal Simek			};
40686444d3eSMichal Simek			u75: ina226@47 { /* u75 */
407ef797b53SMichal Simek				compatible = "ti,ina226";
40886444d3eSMichal Simek				#io-channel-cells = <1>;
409353f5eceSMichal Simek				label = "ina226-u75";
410ef797b53SMichal Simek				reg = <0x47>;
411ef797b53SMichal Simek				shunt-resistor = <5000>;
412ef797b53SMichal Simek			};
413ef797b53SMichal Simek		};
414ef797b53SMichal Simek		i2c@2 {
415ef797b53SMichal Simek			#address-cells = <1>;
416ef797b53SMichal Simek			#size-cells = <0>;
417ef797b53SMichal Simek			reg = <2>;
418ef797b53SMichal Simek			/* MAXIM_PMBUS - 00 */
419ef797b53SMichal Simek			max15301@a { /* u46 */
420ef797b53SMichal Simek				compatible = "maxim,max15301";
421ef797b53SMichal Simek				reg = <0xa>;
422ef797b53SMichal Simek			};
423ef797b53SMichal Simek			max15303@b { /* u4 */
424ef797b53SMichal Simek				compatible = "maxim,max15303";
425ef797b53SMichal Simek				reg = <0xb>;
426ef797b53SMichal Simek			};
427ef797b53SMichal Simek			max15303@10 { /* u13 */
428ef797b53SMichal Simek				compatible = "maxim,max15303";
429ef797b53SMichal Simek				reg = <0x10>;
430ef797b53SMichal Simek			};
431ef797b53SMichal Simek			max15301@13 { /* u47 */
432ef797b53SMichal Simek				compatible = "maxim,max15301";
433ef797b53SMichal Simek				reg = <0x13>;
434ef797b53SMichal Simek			};
435ef797b53SMichal Simek			max15303@14 { /* u7 */
436ef797b53SMichal Simek				compatible = "maxim,max15303";
437ef797b53SMichal Simek				reg = <0x14>;
438ef797b53SMichal Simek			};
439ef797b53SMichal Simek			max15303@15 { /* u6 */
440ef797b53SMichal Simek				compatible = "maxim,max15303";
441ef797b53SMichal Simek				reg = <0x15>;
442ef797b53SMichal Simek			};
443ef797b53SMichal Simek			max15303@16 { /* u10 */
444ef797b53SMichal Simek				compatible = "maxim,max15303";
445ef797b53SMichal Simek				reg = <0x16>;
446ef797b53SMichal Simek			};
447ef797b53SMichal Simek			max15303@17 { /* u9 */
448ef797b53SMichal Simek				compatible = "maxim,max15303";
449ef797b53SMichal Simek				reg = <0x17>;
450ef797b53SMichal Simek			};
451ef797b53SMichal Simek			max15301@18 { /* u63 */
452ef797b53SMichal Simek				compatible = "maxim,max15301";
453ef797b53SMichal Simek				reg = <0x18>;
454ef797b53SMichal Simek			};
455ef797b53SMichal Simek			max15303@1a { /* u49 */
456ef797b53SMichal Simek				compatible = "maxim,max15303";
457ef797b53SMichal Simek				reg = <0x1a>;
458ef797b53SMichal Simek			};
459ef797b53SMichal Simek			max15303@1d { /* u18 */
460ef797b53SMichal Simek				compatible = "maxim,max15303";
461ef797b53SMichal Simek				reg = <0x1d>;
462ef797b53SMichal Simek			};
463ef797b53SMichal Simek			max15303@20 { /* u8 */
464ef797b53SMichal Simek				compatible = "maxim,max15303";
465ef797b53SMichal Simek				status = "disabled"; /* unreachable */
466ef797b53SMichal Simek				reg = <0x20>;
467ef797b53SMichal Simek			};
468ef797b53SMichal Simek			max20751@72 { /* u95 */
469ef797b53SMichal Simek				compatible = "maxim,max20751";
470ef797b53SMichal Simek				reg = <0x72>;
471ef797b53SMichal Simek			};
472ef797b53SMichal Simek			max20751@73 { /* u96 */
473ef797b53SMichal Simek				compatible = "maxim,max20751";
474ef797b53SMichal Simek				reg = <0x73>;
475ef797b53SMichal Simek			};
476ef797b53SMichal Simek		};
477ef797b53SMichal Simek		/* Bus 3 is not connected */
478ef797b53SMichal Simek	};
479ef797b53SMichal Simek};
480ef797b53SMichal Simek
481ef797b53SMichal Simek&i2c1 {
482ef797b53SMichal Simek	status = "okay";
483ef797b53SMichal Simek	clock-frequency = <400000>;
484c821045fSMichal Simek	pinctrl-names = "default", "gpio";
485c821045fSMichal Simek	pinctrl-0 = <&pinctrl_i2c1_default>;
486c821045fSMichal Simek	pinctrl-1 = <&pinctrl_i2c1_gpio>;
487c821045fSMichal Simek	scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
488c821045fSMichal Simek	sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
489ef797b53SMichal Simek
490ef797b53SMichal Simek	/* PL i2c via PCA9306 - u45 */
491ef797b53SMichal Simek	i2c-mux@74 { /* u34 */
492ef797b53SMichal Simek		compatible = "nxp,pca9548";
493ef797b53SMichal Simek		#address-cells = <1>;
494ef797b53SMichal Simek		#size-cells = <0>;
495ef797b53SMichal Simek		reg = <0x74>;
496ef797b53SMichal Simek		i2c@0 {
497ef797b53SMichal Simek			#address-cells = <1>;
498ef797b53SMichal Simek			#size-cells = <0>;
499ef797b53SMichal Simek			reg = <0>;
500ef797b53SMichal Simek			/*
501ef797b53SMichal Simek			 * IIC_EEPROM 1kB memory which uses 256B blocks
502ef797b53SMichal Simek			 * where every block has different address.
503ef797b53SMichal Simek			 *    0 - 256B address 0x54
504ef797b53SMichal Simek			 * 256B - 512B address 0x55
505ef797b53SMichal Simek			 * 512B - 768B address 0x56
506ef797b53SMichal Simek			 * 768B - 1024B address 0x57
507ef797b53SMichal Simek			 */
508ef797b53SMichal Simek			eeprom: eeprom@54 { /* u23 */
509ef797b53SMichal Simek				compatible = "atmel,24c08";
510ef797b53SMichal Simek				reg = <0x54>;
511ef797b53SMichal Simek			};
512ef797b53SMichal Simek		};
513ef797b53SMichal Simek		i2c@1 {
514ef797b53SMichal Simek			#address-cells = <1>;
515ef797b53SMichal Simek			#size-cells = <0>;
516ef797b53SMichal Simek			reg = <1>;
517ef797b53SMichal Simek			si5341: clock-generator@36 { /* SI5341 - u69 */
518928a5747SMichal Simek				compatible = "silabs,si5341";
519ef797b53SMichal Simek				reg = <0x36>;
520928a5747SMichal Simek				#clock-cells = <2>;
521928a5747SMichal Simek				#address-cells = <1>;
522928a5747SMichal Simek				#size-cells = <0>;
523928a5747SMichal Simek				clocks = <&ref48>;
524928a5747SMichal Simek				clock-names = "xtal";
525928a5747SMichal Simek				clock-output-names = "si5341";
526ef797b53SMichal Simek
527928a5747SMichal Simek				si5341_0: out@0 {
528928a5747SMichal Simek					/* refclk0 for PS-GT, used for DP */
529928a5747SMichal Simek					reg = <0>;
530928a5747SMichal Simek					always-on;
531928a5747SMichal Simek				};
532928a5747SMichal Simek				si5341_2: out@2 {
533928a5747SMichal Simek					/* refclk2 for PS-GT, used for USB3 */
534928a5747SMichal Simek					reg = <2>;
535928a5747SMichal Simek					always-on;
536928a5747SMichal Simek				};
537928a5747SMichal Simek				si5341_3: out@3 {
538928a5747SMichal Simek					/* refclk3 for PS-GT, used for SATA */
539928a5747SMichal Simek					reg = <3>;
540928a5747SMichal Simek					always-on;
541928a5747SMichal Simek				};
542928a5747SMichal Simek				si5341_4: out@4 {
543928a5747SMichal Simek					/* refclk4 for PS-GT, used for PCIE slot */
544928a5747SMichal Simek					reg = <4>;
545928a5747SMichal Simek					always-on;
546928a5747SMichal Simek				};
547928a5747SMichal Simek				si5341_5: out@5 {
548928a5747SMichal Simek					/* refclk5 for PS-GT, used for PCIE */
549928a5747SMichal Simek					reg = <5>;
550928a5747SMichal Simek					always-on;
551928a5747SMichal Simek				};
552928a5747SMichal Simek				si5341_6: out@6 {
553928a5747SMichal Simek					/* refclk6 PL CLK125 */
554928a5747SMichal Simek					reg = <6>;
555928a5747SMichal Simek					always-on;
556928a5747SMichal Simek				};
557928a5747SMichal Simek				si5341_7: out@7 {
558928a5747SMichal Simek					/* refclk7 PL CLK74 */
559928a5747SMichal Simek					reg = <7>;
560928a5747SMichal Simek					always-on;
561928a5747SMichal Simek				};
562928a5747SMichal Simek				si5341_9: out@9 {
563928a5747SMichal Simek					/* refclk9 used for PS_REF_CLK 33.3 MHz */
564928a5747SMichal Simek					reg = <9>;
565928a5747SMichal Simek					always-on;
566928a5747SMichal Simek				};
567928a5747SMichal Simek			};
568ef797b53SMichal Simek		};
569ef797b53SMichal Simek		i2c@2 {
570ef797b53SMichal Simek			#address-cells = <1>;
571ef797b53SMichal Simek			#size-cells = <0>;
572ef797b53SMichal Simek			reg = <2>;
573ef797b53SMichal Simek			si570_1: clock-generator@5d { /* USER SI570 - u42 */
574ef797b53SMichal Simek				#clock-cells = <0>;
575ef797b53SMichal Simek				compatible = "silabs,si570";
576ef797b53SMichal Simek				reg = <0x5d>;
577ef797b53SMichal Simek				temperature-stability = <50>;
578ef797b53SMichal Simek				factory-fout = <300000000>;
579ef797b53SMichal Simek				clock-frequency = <300000000>;
58048b44b90SMichal Simek				clock-output-names = "si570_user";
581ef797b53SMichal Simek			};
582ef797b53SMichal Simek		};
583ef797b53SMichal Simek		i2c@3 {
584ef797b53SMichal Simek			#address-cells = <1>;
585ef797b53SMichal Simek			#size-cells = <0>;
586ef797b53SMichal Simek			reg = <3>;
587ef797b53SMichal Simek			si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */
588ef797b53SMichal Simek				#clock-cells = <0>;
589ef797b53SMichal Simek				compatible = "silabs,si570";
590ef797b53SMichal Simek				reg = <0x5d>;
591ef797b53SMichal Simek				temperature-stability = <50>; /* copy from zc702 */
592ef797b53SMichal Simek				factory-fout = <156250000>;
593ef797b53SMichal Simek				clock-frequency = <148500000>;
59448b44b90SMichal Simek				clock-output-names = "si570_mgt";
595ef797b53SMichal Simek			};
596ef797b53SMichal Simek		};
597ef797b53SMichal Simek		i2c@4 {
598ef797b53SMichal Simek			#address-cells = <1>;
599ef797b53SMichal Simek			#size-cells = <0>;
600ef797b53SMichal Simek			reg = <4>;
60173d677e9SQuanyang Wang			/* SI5328 - u20 */
602ef797b53SMichal Simek		};
603ef797b53SMichal Simek		/* 5 - 7 unconnected */
604ef797b53SMichal Simek	};
605ef797b53SMichal Simek
606ef797b53SMichal Simek	i2c-mux@75 {
607ef797b53SMichal Simek		compatible = "nxp,pca9548"; /* u135 */
608ef797b53SMichal Simek		#address-cells = <1>;
609ef797b53SMichal Simek		#size-cells = <0>;
610ef797b53SMichal Simek		reg = <0x75>;
611ef797b53SMichal Simek
612ef797b53SMichal Simek		i2c@0 {
613ef797b53SMichal Simek			#address-cells = <1>;
614ef797b53SMichal Simek			#size-cells = <0>;
615ef797b53SMichal Simek			reg = <0>;
616ef797b53SMichal Simek			/* HPC0_IIC */
617ef797b53SMichal Simek		};
618ef797b53SMichal Simek		i2c@1 {
619ef797b53SMichal Simek			#address-cells = <1>;
620ef797b53SMichal Simek			#size-cells = <0>;
621ef797b53SMichal Simek			reg = <1>;
622ef797b53SMichal Simek			/* HPC1_IIC */
623ef797b53SMichal Simek		};
624ef797b53SMichal Simek		i2c@2 {
625ef797b53SMichal Simek			#address-cells = <1>;
626ef797b53SMichal Simek			#size-cells = <0>;
627ef797b53SMichal Simek			reg = <2>;
628ef797b53SMichal Simek			/* SYSMON */
629ef797b53SMichal Simek		};
630ef797b53SMichal Simek		i2c@3 {
631ef797b53SMichal Simek			#address-cells = <1>;
632ef797b53SMichal Simek			#size-cells = <0>;
633ef797b53SMichal Simek			reg = <3>;
634ef797b53SMichal Simek			/* DDR4 SODIMM */
635ef797b53SMichal Simek		};
636ef797b53SMichal Simek		i2c@4 {
637ef797b53SMichal Simek			#address-cells = <1>;
638ef797b53SMichal Simek			#size-cells = <0>;
639ef797b53SMichal Simek			reg = <4>;
640ef797b53SMichal Simek			/* SEP 3 */
641ef797b53SMichal Simek		};
642ef797b53SMichal Simek		i2c@5 {
643ef797b53SMichal Simek			#address-cells = <1>;
644ef797b53SMichal Simek			#size-cells = <0>;
645ef797b53SMichal Simek			reg = <5>;
646ef797b53SMichal Simek			/* SEP 2 */
647ef797b53SMichal Simek		};
648ef797b53SMichal Simek		i2c@6 {
649ef797b53SMichal Simek			#address-cells = <1>;
650ef797b53SMichal Simek			#size-cells = <0>;
651ef797b53SMichal Simek			reg = <6>;
652ef797b53SMichal Simek			/* SEP 1 */
653ef797b53SMichal Simek		};
654ef797b53SMichal Simek		i2c@7 {
655ef797b53SMichal Simek			#address-cells = <1>;
656ef797b53SMichal Simek			#size-cells = <0>;
657ef797b53SMichal Simek			reg = <7>;
658ef797b53SMichal Simek			/* SEP 0 */
659ef797b53SMichal Simek		};
660ef797b53SMichal Simek	};
661ef797b53SMichal Simek};
662ef797b53SMichal Simek
663c821045fSMichal Simek&pinctrl0 {
664c821045fSMichal Simek	status = "okay";
665c821045fSMichal Simek	pinctrl_i2c0_default: i2c0-default {
666c821045fSMichal Simek		mux {
667c821045fSMichal Simek			groups = "i2c0_3_grp";
668c821045fSMichal Simek			function = "i2c0";
669c821045fSMichal Simek		};
670c821045fSMichal Simek
671c821045fSMichal Simek		conf {
672c821045fSMichal Simek			groups = "i2c0_3_grp";
673c821045fSMichal Simek			bias-pull-up;
674c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
675c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
676c821045fSMichal Simek		};
677c821045fSMichal Simek	};
678c821045fSMichal Simek
679c821045fSMichal Simek	pinctrl_i2c0_gpio: i2c0-gpio {
680c821045fSMichal Simek		mux {
681c821045fSMichal Simek			groups = "gpio0_14_grp", "gpio0_15_grp";
682c821045fSMichal Simek			function = "gpio0";
683c821045fSMichal Simek		};
684c821045fSMichal Simek
685c821045fSMichal Simek		conf {
686c821045fSMichal Simek			groups = "gpio0_14_grp", "gpio0_15_grp";
687c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
688c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
689c821045fSMichal Simek		};
690c821045fSMichal Simek	};
691c821045fSMichal Simek
692c821045fSMichal Simek	pinctrl_i2c1_default: i2c1-default {
693c821045fSMichal Simek		mux {
694c821045fSMichal Simek			groups = "i2c1_4_grp";
695c821045fSMichal Simek			function = "i2c1";
696c821045fSMichal Simek		};
697c821045fSMichal Simek
698c821045fSMichal Simek		conf {
699c821045fSMichal Simek			groups = "i2c1_4_grp";
700c821045fSMichal Simek			bias-pull-up;
701c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
702c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
703c821045fSMichal Simek		};
704c821045fSMichal Simek	};
705c821045fSMichal Simek
706c821045fSMichal Simek	pinctrl_i2c1_gpio: i2c1-gpio {
707c821045fSMichal Simek		mux {
708c821045fSMichal Simek			groups = "gpio0_16_grp", "gpio0_17_grp";
709c821045fSMichal Simek			function = "gpio0";
710c821045fSMichal Simek		};
711c821045fSMichal Simek
712c821045fSMichal Simek		conf {
713c821045fSMichal Simek			groups = "gpio0_16_grp", "gpio0_17_grp";
714c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
715c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
716c821045fSMichal Simek		};
717c821045fSMichal Simek	};
718c821045fSMichal Simek
719c821045fSMichal Simek	pinctrl_uart0_default: uart0-default {
720c821045fSMichal Simek		mux {
721c821045fSMichal Simek			groups = "uart0_4_grp";
722c821045fSMichal Simek			function = "uart0";
723c821045fSMichal Simek		};
724c821045fSMichal Simek
725c821045fSMichal Simek		conf {
726c821045fSMichal Simek			groups = "uart0_4_grp";
727c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
728c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
729c821045fSMichal Simek		};
730c821045fSMichal Simek
731c821045fSMichal Simek		conf-rx {
732c821045fSMichal Simek			pins = "MIO18";
733c821045fSMichal Simek			bias-high-impedance;
734c821045fSMichal Simek		};
735c821045fSMichal Simek
736c821045fSMichal Simek		conf-tx {
737c821045fSMichal Simek			pins = "MIO19";
738c821045fSMichal Simek			bias-disable;
739c821045fSMichal Simek		};
740c821045fSMichal Simek	};
741c821045fSMichal Simek
742c821045fSMichal Simek	pinctrl_uart1_default: uart1-default {
743c821045fSMichal Simek		mux {
744c821045fSMichal Simek			groups = "uart1_5_grp";
745c821045fSMichal Simek			function = "uart1";
746c821045fSMichal Simek		};
747c821045fSMichal Simek
748c821045fSMichal Simek		conf {
749c821045fSMichal Simek			groups = "uart1_5_grp";
750c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
751c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
752c821045fSMichal Simek		};
753c821045fSMichal Simek
754c821045fSMichal Simek		conf-rx {
755c821045fSMichal Simek			pins = "MIO21";
756c821045fSMichal Simek			bias-high-impedance;
757c821045fSMichal Simek		};
758c821045fSMichal Simek
759c821045fSMichal Simek		conf-tx {
760c821045fSMichal Simek			pins = "MIO20";
761c821045fSMichal Simek			bias-disable;
762c821045fSMichal Simek		};
763c821045fSMichal Simek	};
764c821045fSMichal Simek
765c821045fSMichal Simek	pinctrl_usb0_default: usb0-default {
766c821045fSMichal Simek		mux {
767c821045fSMichal Simek			groups = "usb0_0_grp";
768c821045fSMichal Simek			function = "usb0";
769c821045fSMichal Simek		};
770c821045fSMichal Simek
771c821045fSMichal Simek		conf {
772c821045fSMichal Simek			groups = "usb0_0_grp";
773c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
774c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
775c821045fSMichal Simek		};
776c821045fSMichal Simek
777c821045fSMichal Simek		conf-rx {
778c821045fSMichal Simek			pins = "MIO52", "MIO53", "MIO55";
779c821045fSMichal Simek			bias-high-impedance;
780c821045fSMichal Simek		};
781c821045fSMichal Simek
782c821045fSMichal Simek		conf-tx {
783c821045fSMichal Simek			pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
784c821045fSMichal Simek			       "MIO60", "MIO61", "MIO62", "MIO63";
785c821045fSMichal Simek			bias-disable;
786c821045fSMichal Simek		};
787c821045fSMichal Simek	};
788c821045fSMichal Simek
789c821045fSMichal Simek	pinctrl_gem3_default: gem3-default {
790c821045fSMichal Simek		mux {
791c821045fSMichal Simek			function = "ethernet3";
792c821045fSMichal Simek			groups = "ethernet3_0_grp";
793c821045fSMichal Simek		};
794c821045fSMichal Simek
795c821045fSMichal Simek		conf {
796c821045fSMichal Simek			groups = "ethernet3_0_grp";
797c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
798c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
799c821045fSMichal Simek		};
800c821045fSMichal Simek
801c821045fSMichal Simek		conf-rx {
802c821045fSMichal Simek			pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
803c821045fSMichal Simek									"MIO75";
804c821045fSMichal Simek			bias-high-impedance;
805c821045fSMichal Simek			low-power-disable;
806c821045fSMichal Simek		};
807c821045fSMichal Simek
808c821045fSMichal Simek		conf-tx {
809c821045fSMichal Simek			pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
810c821045fSMichal Simek									"MIO69";
811c821045fSMichal Simek			bias-disable;
812c821045fSMichal Simek			low-power-enable;
813c821045fSMichal Simek		};
814c821045fSMichal Simek
815c821045fSMichal Simek		mux-mdio {
816c821045fSMichal Simek			function = "mdio3";
817c821045fSMichal Simek			groups = "mdio3_0_grp";
818c821045fSMichal Simek		};
819c821045fSMichal Simek
820c821045fSMichal Simek		conf-mdio {
821c821045fSMichal Simek			groups = "mdio3_0_grp";
822c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
823c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
824c821045fSMichal Simek			bias-disable;
825c821045fSMichal Simek		};
826c821045fSMichal Simek	};
827c821045fSMichal Simek
828c821045fSMichal Simek	pinctrl_can1_default: can1-default {
829c821045fSMichal Simek		mux {
830c821045fSMichal Simek			function = "can1";
831c821045fSMichal Simek			groups = "can1_6_grp";
832c821045fSMichal Simek		};
833c821045fSMichal Simek
834c821045fSMichal Simek		conf {
835c821045fSMichal Simek			groups = "can1_6_grp";
836c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
837c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
838c821045fSMichal Simek		};
839c821045fSMichal Simek
840c821045fSMichal Simek		conf-rx {
841c821045fSMichal Simek			pins = "MIO25";
842c821045fSMichal Simek			bias-high-impedance;
843c821045fSMichal Simek		};
844c821045fSMichal Simek
845c821045fSMichal Simek		conf-tx {
846c821045fSMichal Simek			pins = "MIO24";
847c821045fSMichal Simek			bias-disable;
848c821045fSMichal Simek		};
849c821045fSMichal Simek	};
850c821045fSMichal Simek
851c821045fSMichal Simek	pinctrl_sdhci1_default: sdhci1-default {
852c821045fSMichal Simek		mux {
853c821045fSMichal Simek			groups = "sdio1_0_grp";
854c821045fSMichal Simek			function = "sdio1";
855c821045fSMichal Simek		};
856c821045fSMichal Simek
857c821045fSMichal Simek		conf {
858c821045fSMichal Simek			groups = "sdio1_0_grp";
859c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
860c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
861c821045fSMichal Simek			bias-disable;
862c821045fSMichal Simek		};
863c821045fSMichal Simek
864c821045fSMichal Simek		mux-cd {
865c821045fSMichal Simek			groups = "sdio1_cd_0_grp";
866c821045fSMichal Simek			function = "sdio1_cd";
867c821045fSMichal Simek		};
868c821045fSMichal Simek
869c821045fSMichal Simek		conf-cd {
870c821045fSMichal Simek			groups = "sdio1_cd_0_grp";
871c821045fSMichal Simek			bias-high-impedance;
872c821045fSMichal Simek			bias-pull-up;
873c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
874c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
875c821045fSMichal Simek		};
876c821045fSMichal Simek
877c821045fSMichal Simek		mux-wp {
878c821045fSMichal Simek			groups = "sdio1_wp_0_grp";
879c821045fSMichal Simek			function = "sdio1_wp";
880c821045fSMichal Simek		};
881c821045fSMichal Simek
882c821045fSMichal Simek		conf-wp {
883c821045fSMichal Simek			groups = "sdio1_wp_0_grp";
884c821045fSMichal Simek			bias-high-impedance;
885c821045fSMichal Simek			bias-pull-up;
886c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
887c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
888c821045fSMichal Simek		};
889c821045fSMichal Simek	};
890c821045fSMichal Simek
891c821045fSMichal Simek	pinctrl_gpio_default: gpio-default {
892c821045fSMichal Simek		mux-sw {
893c821045fSMichal Simek			function = "gpio0";
894c821045fSMichal Simek			groups = "gpio0_22_grp", "gpio0_23_grp";
895c821045fSMichal Simek		};
896c821045fSMichal Simek
897c821045fSMichal Simek		conf-sw {
898c821045fSMichal Simek			groups = "gpio0_22_grp", "gpio0_23_grp";
899c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
900c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
901c821045fSMichal Simek		};
902c821045fSMichal Simek
903c821045fSMichal Simek		mux-msp {
904c821045fSMichal Simek			function = "gpio0";
905c821045fSMichal Simek			groups = "gpio0_13_grp", "gpio0_38_grp";
906c821045fSMichal Simek		};
907c821045fSMichal Simek
908c821045fSMichal Simek		conf-msp {
909c821045fSMichal Simek			groups = "gpio0_13_grp", "gpio0_38_grp";
910c821045fSMichal Simek			slew-rate = <SLEW_RATE_SLOW>;
911c821045fSMichal Simek			power-source = <IO_STANDARD_LVCMOS18>;
912c821045fSMichal Simek		};
913c821045fSMichal Simek
914c821045fSMichal Simek		conf-pull-up {
915c821045fSMichal Simek			pins = "MIO22", "MIO23";
916c821045fSMichal Simek			bias-pull-up;
917c821045fSMichal Simek		};
918c821045fSMichal Simek
919c821045fSMichal Simek		conf-pull-none {
920c821045fSMichal Simek			pins = "MIO13", "MIO38";
921c821045fSMichal Simek			bias-disable;
922c821045fSMichal Simek		};
923c821045fSMichal Simek	};
924c821045fSMichal Simek};
925c821045fSMichal Simek
926ef797b53SMichal Simek&pcie {
927ef797b53SMichal Simek	status = "okay";
928ef797b53SMichal Simek};
929ef797b53SMichal Simek
93051733f16SMichal Simek&psgtr {
93151733f16SMichal Simek	status = "okay";
93251733f16SMichal Simek	/* pcie, sata, usb3, dp */
93351733f16SMichal Simek	clocks = <&si5341 0 5>, <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>;
93451733f16SMichal Simek	clock-names = "ref0", "ref1", "ref2", "ref3";
93551733f16SMichal Simek};
93651733f16SMichal Simek
937ef797b53SMichal Simek&rtc {
938ef797b53SMichal Simek	status = "okay";
939ef797b53SMichal Simek};
940ef797b53SMichal Simek
941ef797b53SMichal Simek&sata {
942ef797b53SMichal Simek	status = "okay";
943ef797b53SMichal Simek	/* SATA OOB timing settings */
944ef797b53SMichal Simek	ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
945ef797b53SMichal Simek	ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
946ef797b53SMichal Simek	ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
947ef797b53SMichal Simek	ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
948ef797b53SMichal Simek	ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
949ef797b53SMichal Simek	ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
950ef797b53SMichal Simek	ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
951ef797b53SMichal Simek	ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
95251733f16SMichal Simek	phy-names = "sata-phy";
95351733f16SMichal Simek	phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
954ef797b53SMichal Simek};
955ef797b53SMichal Simek
956ef797b53SMichal Simek/* SD1 with level shifter */
957ef797b53SMichal Simek&sdhci1 {
958ef797b53SMichal Simek	status = "okay";
959*1d4bd118SMichal Simek	/*
960*1d4bd118SMichal Simek	 * 1.0 revision has level shifter and this property should be
961*1d4bd118SMichal Simek	 * removed for supporting UHS mode
962*1d4bd118SMichal Simek	 */
963ef797b53SMichal Simek	no-1-8-v;
964c821045fSMichal Simek	pinctrl-names = "default";
965c821045fSMichal Simek	pinctrl-0 = <&pinctrl_sdhci1_default>;
96663481699SMichal Simek	xlnx,mio-bank = <1>;
967ef797b53SMichal Simek};
968ef797b53SMichal Simek
969ef797b53SMichal Simek&uart0 {
970ef797b53SMichal Simek	status = "okay";
971c821045fSMichal Simek	pinctrl-names = "default";
972c821045fSMichal Simek	pinctrl-0 = <&pinctrl_uart0_default>;
973ef797b53SMichal Simek};
974ef797b53SMichal Simek
975ef797b53SMichal Simek&uart1 {
976ef797b53SMichal Simek	status = "okay";
977c821045fSMichal Simek	pinctrl-names = "default";
978c821045fSMichal Simek	pinctrl-0 = <&pinctrl_uart1_default>;
979ef797b53SMichal Simek};
980ef797b53SMichal Simek
981ef797b53SMichal Simek/* ULPI SMSC USB3320 */
982ef797b53SMichal Simek&usb0 {
983ef797b53SMichal Simek	status = "okay";
984c821045fSMichal Simek	pinctrl-names = "default";
985c821045fSMichal Simek	pinctrl-0 = <&pinctrl_usb0_default>;
986df906cf5SAnurag Kumar Vulisha	dr_mode = "host";
9878b698f1bSMichal Simek	phy-names = "usb3-phy";
9888b698f1bSMichal Simek	phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
9898b698f1bSMichal Simek	maximum-speed = "super-speed";
990ef797b53SMichal Simek};
991ef797b53SMichal Simek
992ef797b53SMichal Simek&watchdog0 {
993ef797b53SMichal Simek	status = "okay";
994ef797b53SMichal Simek};
99555563399SLaurent Pinchart
99655563399SLaurent Pinchart&zynqmp_dpdma {
99755563399SLaurent Pinchart	status = "okay";
99855563399SLaurent Pinchart};
99955563399SLaurent Pinchart
100055563399SLaurent Pinchart&zynqmp_dpsub {
100155563399SLaurent Pinchart	status = "okay";
100255563399SLaurent Pinchart	phy-names = "dp-phy0";
100355563399SLaurent Pinchart	phys = <&psgtr 1 PHY_TYPE_DP 0 3>;
100455563399SLaurent Pinchart};
1005