blob: e412992ff1bd45c352b8f2db7eb7afcf8e60cf47 [file] [log] [blame]
Michal Simek7531f862018-03-28 15:55:27 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * dts file for Xilinx ZynqMP ZCU111
4 *
Michal Simek821e32a2021-05-31 09:50:01 +02005 * (C) Copyright 2017 - 2021, Xilinx, Inc.
Michal Simek7531f862018-03-28 15:55:27 +02006 *
7 * Michal Simek <michal.simek@xilinx.com>
8 */
9
10/dts-v1/;
11
12#include "zynqmp.dtsi"
13#include "zynqmp-clk-ccf.dtsi"
14#include <dt-bindings/input/input.h>
15#include <dt-bindings/gpio/gpio.h>
Michal Simekf7b922a2021-05-10 13:14:02 +020016#include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
Michal Simek7531f862018-03-28 15:55:27 +020017#include <dt-bindings/phy/phy.h>
18
19/ {
20 model = "ZynqMP ZCU111 RevA";
21 compatible = "xlnx,zynqmp-zcu111-revA", "xlnx,zynqmp-zcu111", "xlnx,zynqmp";
22
23 aliases {
24 ethernet0 = &gem3;
Michal Simek7531f862018-03-28 15:55:27 +020025 i2c0 = &i2c0;
26 i2c1 = &i2c1;
27 mmc0 = &sdhci1;
Michal Simek53b145d2021-06-03 11:46:50 +020028 nvmem0 = &eeprom;
Michal Simek7531f862018-03-28 15:55:27 +020029 rtc0 = &rtc;
30 serial0 = &uart0;
31 serial1 = &dcc;
32 spi0 = &qspi;
33 usb0 = &usb0;
34 };
35
36 chosen {
37 bootargs = "earlycon";
38 stdout-path = "serial0:115200n8";
39 };
40
41 memory@0 {
42 device_type = "memory";
43 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
44 /* Another 4GB connected to PL */
45 };
46
47 gpio-keys {
48 compatible = "gpio-keys";
Michal Simek7531f862018-03-28 15:55:27 +020049 autorepeat;
50 sw19 {
51 label = "sw19";
52 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
53 linux,code = <KEY_DOWN>;
Sudeep Holla13104ce2018-10-24 12:45:40 +010054 wakeup-source;
Michal Simek7531f862018-03-28 15:55:27 +020055 autorepeat;
56 };
57 };
58
59 leds {
60 compatible = "gpio-leds";
Michal Simek2ef53362018-11-08 10:06:53 +010061 heartbeat-led {
Michal Simek7531f862018-03-28 15:55:27 +020062 label = "heartbeat";
63 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
64 linux,default-trigger = "heartbeat";
65 };
66 };
Michal Simek923ab2b2019-08-26 09:45:03 +020067
68 ina226-u67 {
69 compatible = "iio-hwmon";
70 io-channels = <&u67 0>, <&u67 1>, <&u67 2>, <&u67 3>;
71 };
72 ina226-u59 {
73 compatible = "iio-hwmon";
74 io-channels = <&u59 0>, <&u59 1>, <&u59 2>, <&u59 3>;
75 };
76 ina226-u61 {
77 compatible = "iio-hwmon";
78 io-channels = <&u61 0>, <&u61 1>, <&u61 2>, <&u61 3>;
79 };
80 ina226-u60 {
81 compatible = "iio-hwmon";
82 io-channels = <&u60 0>, <&u60 1>, <&u60 2>, <&u60 3>;
83 };
84 ina226-u64 {
85 compatible = "iio-hwmon";
86 io-channels = <&u64 0>, <&u64 1>, <&u64 2>, <&u64 3>;
87 };
88 ina226-u69 {
89 compatible = "iio-hwmon";
90 io-channels = <&u69 0>, <&u69 1>, <&u69 2>, <&u69 3>;
91 };
92 ina226-u66 {
93 compatible = "iio-hwmon";
94 io-channels = <&u66 0>, <&u66 1>, <&u66 2>, <&u66 3>;
95 };
96 ina226-u65 {
97 compatible = "iio-hwmon";
98 io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>;
99 };
100 ina226-u63 {
101 compatible = "iio-hwmon";
102 io-channels = <&u63 0>, <&u63 1>, <&u63 2>, <&u63 3>;
103 };
104 ina226-u3 {
105 compatible = "iio-hwmon";
106 io-channels = <&u3 0>, <&u3 1>, <&u3 2>, <&u3 3>;
107 };
108 ina226-u71 {
109 compatible = "iio-hwmon";
110 io-channels = <&u71 0>, <&u71 1>, <&u71 2>, <&u71 3>;
111 };
112 ina226-u77 {
113 compatible = "iio-hwmon";
114 io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>;
115 };
116 ina226-u73 {
117 compatible = "iio-hwmon";
118 io-channels = <&u73 0>, <&u73 1>, <&u73 2>, <&u73 3>;
119 };
120 ina226-u79 {
121 compatible = "iio-hwmon";
122 io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>;
123 };
Michal Simek958c0e92020-11-26 14:25:02 +0100124
125 /* 48MHz reference crystal */
126 ref48: ref48M {
127 compatible = "fixed-clock";
128 #clock-cells = <0>;
129 clock-frequency = <48000000>;
130 };
Michal Simek7531f862018-03-28 15:55:27 +0200131};
132
133&dcc {
134 status = "okay";
135};
136
137&fpd_dma_chan1 {
138 status = "okay";
139};
140
141&fpd_dma_chan2 {
142 status = "okay";
143};
144
145&fpd_dma_chan3 {
146 status = "okay";
147};
148
149&fpd_dma_chan4 {
150 status = "okay";
151};
152
153&fpd_dma_chan5 {
154 status = "okay";
155};
156
157&fpd_dma_chan6 {
158 status = "okay";
159};
160
161&fpd_dma_chan7 {
162 status = "okay";
163};
164
165&fpd_dma_chan8 {
166 status = "okay";
167};
168
169&gem3 {
170 status = "okay";
171 phy-handle = <&phy0>;
172 phy-mode = "rgmii-id";
Michal Simekf7b922a2021-05-10 13:14:02 +0200173 pinctrl-names = "default";
174 pinctrl-0 = <&pinctrl_gem3_default>;
Michal Simek393decf2019-08-08 12:44:22 +0200175 phy0: ethernet-phy@c {
Michal Simek7531f862018-03-28 15:55:27 +0200176 reg = <0xc>;
177 ti,rx-internal-delay = <0x8>;
178 ti,tx-internal-delay = <0xa>;
179 ti,fifo-depth = <0x1>;
Harini Katakam991a1612019-02-13 17:02:21 +0530180 ti,dp83867-rxctrl-strap-quirk;
Michal Simek7531f862018-03-28 15:55:27 +0200181 };
182};
183
184&gpio {
185 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_gpio_default>;
Michal Simek7531f862018-03-28 15:55:27 +0200188};
189
190&gpu {
191 status = "okay";
192};
193
194&i2c0 {
195 status = "okay";
196 clock-frequency = <400000>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200197 pinctrl-names = "default", "gpio";
198 pinctrl-0 = <&pinctrl_i2c0_default>;
199 pinctrl-1 = <&pinctrl_i2c0_gpio>;
200 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
201 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
Michal Simek7531f862018-03-28 15:55:27 +0200202
203 tca6416_u22: gpio@20 {
204 compatible = "ti,tca6416";
205 reg = <0x20>;
206 gpio-controller; /* interrupt not connected */
207 #gpio-cells = <2>;
208 /*
209 * IRQ not connected
210 * Lines:
211 * 0 - MAX6643_OT_B
212 * 1 - MAX6643_FANFAIL_B
213 * 2 - MIO26_PMU_INPUT_LS
214 * 4 - SFP_SI5382_INT_ALM
215 * 5 - IIC_MUX_RESET_B
216 * 6 - GEM3_EXP_RESET_B
217 * 10 - FMCP_HSPC_PRSNT_M2C_B
218 * 11 - CLK_SPI_MUX_SEL0
219 * 12 - CLK_SPI_MUX_SEL1
220 * 16 - IRPS5401_ALERT_B
221 * 17 - INA226_PMBUS_ALERT
222 * 3, 7, 13-15 - not connected
223 */
224 };
225
226 i2c-mux@75 { /* u23 */
227 compatible = "nxp,pca9544";
228 #address-cells = <1>;
229 #size-cells = <0>;
230 reg = <0x75>;
231 i2c@0 {
232 #address-cells = <1>;
233 #size-cells = <0>;
234 reg = <0>;
235 /* PS_PMBUS */
236 /* PMBUS_ALERT done via pca9544 */
Michal Simek923ab2b2019-08-26 09:45:03 +0200237 u67: ina226@40 { /* u67 */
Michal Simek7531f862018-03-28 15:55:27 +0200238 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200239 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200240 label = "ina226-u67";
Michal Simek7531f862018-03-28 15:55:27 +0200241 reg = <0x40>;
242 shunt-resistor = <2000>;
243 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200244 u59: ina226@41 { /* u59 */
Michal Simek7531f862018-03-28 15:55:27 +0200245 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200246 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200247 label = "ina226-u59";
Michal Simek7531f862018-03-28 15:55:27 +0200248 reg = <0x41>;
249 shunt-resistor = <5000>;
250 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200251 u61: ina226@42 { /* u61 */
Michal Simek7531f862018-03-28 15:55:27 +0200252 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200253 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200254 label = "ina226-u61";
Michal Simek7531f862018-03-28 15:55:27 +0200255 reg = <0x42>;
256 shunt-resistor = <5000>;
257 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200258 u60: ina226@43 { /* u60 */
Michal Simek7531f862018-03-28 15:55:27 +0200259 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200260 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200261 label = "ina226-u60";
Michal Simek7531f862018-03-28 15:55:27 +0200262 reg = <0x43>;
263 shunt-resistor = <5000>;
264 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200265 u64: ina226@45 { /* u64 */
Michal Simek7531f862018-03-28 15:55:27 +0200266 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200267 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200268 label = "ina226-u64";
Michal Simek7531f862018-03-28 15:55:27 +0200269 reg = <0x45>;
270 shunt-resistor = <5000>;
271 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200272 u69: ina226@46 { /* u69 */
Michal Simek7531f862018-03-28 15:55:27 +0200273 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200274 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200275 label = "ina226-u69";
Michal Simek7531f862018-03-28 15:55:27 +0200276 reg = <0x46>;
277 shunt-resistor = <2000>;
278 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200279 u66: ina226@47 { /* u66 */
Michal Simek7531f862018-03-28 15:55:27 +0200280 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200281 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200282 label = "ina226-u66";
Michal Simek7531f862018-03-28 15:55:27 +0200283 reg = <0x47>;
284 shunt-resistor = <5000>;
285 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200286 u65: ina226@48 { /* u65 */
Michal Simek7531f862018-03-28 15:55:27 +0200287 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200288 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200289 label = "ina226-u65";
Michal Simek7531f862018-03-28 15:55:27 +0200290 reg = <0x48>;
291 shunt-resistor = <5000>;
292 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200293 u63: ina226@49 { /* u63 */
Michal Simek7531f862018-03-28 15:55:27 +0200294 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200295 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200296 label = "ina226-u63";
Michal Simek7531f862018-03-28 15:55:27 +0200297 reg = <0x49>;
298 shunt-resistor = <5000>;
299 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200300 u3: ina226@4a { /* u3 */
Michal Simek7531f862018-03-28 15:55:27 +0200301 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200302 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200303 label = "ina226-u3";
Michal Simek7531f862018-03-28 15:55:27 +0200304 reg = <0x4a>;
305 shunt-resistor = <5000>;
306 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200307 u71: ina226@4b { /* u71 */
Michal Simek7531f862018-03-28 15:55:27 +0200308 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200309 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200310 label = "ina226-u71";
Michal Simek7531f862018-03-28 15:55:27 +0200311 reg = <0x4b>;
312 shunt-resistor = <5000>;
313 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200314 u77: ina226@4c { /* u77 */
Michal Simek7531f862018-03-28 15:55:27 +0200315 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200316 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200317 label = "ina226-u77";
Michal Simek7531f862018-03-28 15:55:27 +0200318 reg = <0x4c>;
319 shunt-resistor = <5000>;
320 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200321 u73: ina226@4d { /* u73 */
Michal Simek7531f862018-03-28 15:55:27 +0200322 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200323 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200324 label = "ina226-u73";
Michal Simek7531f862018-03-28 15:55:27 +0200325 reg = <0x4d>;
326 shunt-resistor = <5000>;
327 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200328 u79: ina226@4e { /* u79 */
Michal Simek7531f862018-03-28 15:55:27 +0200329 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200330 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200331 label = "ina226-u79";
Michal Simek7531f862018-03-28 15:55:27 +0200332 reg = <0x4e>;
333 shunt-resistor = <5000>;
334 };
335 };
336 i2c@1 {
337 #address-cells = <1>;
338 #size-cells = <0>;
339 reg = <1>;
340 /* NC */
341 };
342 i2c@2 {
343 #address-cells = <1>;
344 #size-cells = <0>;
345 reg = <2>;
Michal Simek3514e4e2020-03-30 11:35:38 +0200346 irps5401_43: irps5401@43 { /* IRPS5401 - u53 check these */
Michal Simek7531f862018-03-28 15:55:27 +0200347 compatible = "infineon,irps5401";
348 reg = <0x43>;
349 };
Michal Simek3514e4e2020-03-30 11:35:38 +0200350 irps5401_44: irps5401@44 { /* IRPS5401 - u55 */
Michal Simek7531f862018-03-28 15:55:27 +0200351 compatible = "infineon,irps5401";
352 reg = <0x44>;
353 };
Michal Simek3514e4e2020-03-30 11:35:38 +0200354 irps5401_45: irps5401@45 { /* IRPS5401 - u57 */
Michal Simek7531f862018-03-28 15:55:27 +0200355 compatible = "infineon,irps5401";
356 reg = <0x45>;
357 };
358 /* u68 IR38064 +0 */
359 /* u70 IR38060 +1 */
360 /* u74 IR38060 +2 */
361 /* u75 IR38060 +6 */
362 /* J19 header too */
363
364 };
365 i2c@3 {
366 #address-cells = <1>;
367 #size-cells = <0>;
368 reg = <3>;
369 /* SYSMON */
370 };
371 };
372};
373
374&i2c1 {
375 status = "okay";
376 clock-frequency = <400000>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200377 pinctrl-names = "default", "gpio";
378 pinctrl-0 = <&pinctrl_i2c1_default>;
379 pinctrl-1 = <&pinctrl_i2c1_gpio>;
380 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
381 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
Michal Simek7531f862018-03-28 15:55:27 +0200382
383 i2c-mux@74 { /* u26 */
384 compatible = "nxp,pca9548";
385 #address-cells = <1>;
386 #size-cells = <0>;
387 reg = <0x74>;
388 i2c@0 {
389 #address-cells = <1>;
390 #size-cells = <0>;
391 reg = <0>;
392 /*
393 * IIC_EEPROM 1kB memory which uses 256B blocks
394 * where every block has different address.
395 * 0 - 256B address 0x54
396 * 256B - 512B address 0x55
397 * 512B - 768B address 0x56
398 * 768B - 1024B address 0x57
399 */
400 eeprom: eeprom@54 { /* u88 */
401 compatible = "atmel,24c08";
402 reg = <0x54>;
403 };
404 };
405 i2c@1 {
406 #address-cells = <1>;
407 #size-cells = <0>;
408 reg = <1>;
409 si5341: clock-generator@36 { /* SI5341 - u46 */
Michal Simek958c0e92020-11-26 14:25:02 +0100410 compatible = "silabs,si5341";
Michal Simek7531f862018-03-28 15:55:27 +0200411 reg = <0x36>;
Michal Simek958c0e92020-11-26 14:25:02 +0100412 #clock-cells = <2>;
413 #address-cells = <1>;
414 #size-cells = <0>;
415 clocks = <&ref48>;
416 clock-names = "xtal";
417 clock-output-names = "si5341";
Michal Simek7531f862018-03-28 15:55:27 +0200418
Michal Simek958c0e92020-11-26 14:25:02 +0100419 si5341_0: out@0 {
420 /* refclk0 for PS-GT, used for DP */
421 reg = <0>;
422 always-on;
423 };
424 si5341_2: out@2 {
425 /* refclk2 for PS-GT, used for USB3 */
426 reg = <2>;
427 always-on;
428 };
429 si5341_3: out@3 {
430 /* refclk3 for PS-GT, used for SATA */
431 reg = <3>;
432 always-on;
433 };
434 si5341_5: out@5 {
435 /* refclk5 PL CLK100 */
436 reg = <5>;
437 always-on;
438 };
439 si5341_6: out@6 {
440 /* refclk6 PL CLK125 */
441 reg = <6>;
442 always-on;
443 };
444 si5341_9: out@9 {
445 /* refclk9 used for PS_REF_CLK 33.3 MHz */
446 reg = <9>;
447 always-on;
448 };
449 };
Michal Simek7531f862018-03-28 15:55:27 +0200450 };
451 i2c@2 {
452 #address-cells = <1>;
453 #size-cells = <0>;
454 reg = <2>;
455 si570_1: clock-generator@5d { /* USER SI570 - u47 */
456 #clock-cells = <0>;
457 compatible = "silabs,si570";
458 reg = <0x5d>;
459 temperature-stability = <50>;
460 factory-fout = <300000000>;
461 clock-frequency = <300000000>;
Michal Simek3cf07bf2018-07-18 12:10:02 +0200462 clock-output-names = "si570_user";
Michal Simek7531f862018-03-28 15:55:27 +0200463 };
464 };
465 i2c@3 {
466 #address-cells = <1>;
467 #size-cells = <0>;
468 reg = <3>;
469 si570_2: clock-generator@5d { /* USER MGT SI570 - u49 */
470 #clock-cells = <0>;
471 compatible = "silabs,si570";
472 reg = <0x5d>;
473 temperature-stability = <50>;
474 factory-fout = <156250000>;
Venkatesh Yadav Abbarapue55126a2019-09-05 08:30:38 +0530475 clock-frequency = <156250000>;
Michal Simek3cf07bf2018-07-18 12:10:02 +0200476 clock-output-names = "si570_mgt";
Michal Simek7531f862018-03-28 15:55:27 +0200477 };
478 };
479 i2c@4 {
480 #address-cells = <1>;
481 #size-cells = <0>;
482 reg = <4>;
Michal Simek2add7442021-06-03 11:58:08 +0200483 /* SI5382 - u48 */
Michal Simek7531f862018-03-28 15:55:27 +0200484 };
485 i2c@5 {
486 #address-cells = <1>;
487 #size-cells = <0>;
488 reg = <5>;
489 sc18is603@2f { /* sc18is602 - u93 */
490 compatible = "nxp,sc18is603";
491 reg = <0x2f>;
492 /* 4 gpios for CS not handled by driver */
493 /*
494 * USB2ANY cable or
495 * LMK04208 - u90 or
496 * LMX2594 - u102 or
497 * LMX2594 - u103 or
498 * LMX2594 - u104
499 */
500 };
501 };
502 i2c@6 {
503 #address-cells = <1>;
504 #size-cells = <0>;
505 reg = <6>;
506 /* FMC connector */
507 };
508 /* 7 NC */
509 };
510
511 i2c-mux@75 {
512 compatible = "nxp,pca9548"; /* u27 */
513 #address-cells = <1>;
514 #size-cells = <0>;
515 reg = <0x75>;
516
517 i2c@0 {
518 #address-cells = <1>;
519 #size-cells = <0>;
520 reg = <0>;
521 /* FMCP_HSPC_IIC */
522 };
523 i2c@1 {
524 #address-cells = <1>;
525 #size-cells = <0>;
526 reg = <1>;
527 /* NC */
528 };
529 i2c@2 {
530 #address-cells = <1>;
531 #size-cells = <0>;
532 reg = <2>;
533 /* SYSMON */
534 };
535 i2c@3 {
536 #address-cells = <1>;
537 #size-cells = <0>;
538 reg = <3>;
539 /* DDR4 SODIMM */
Michal Simek7531f862018-03-28 15:55:27 +0200540 };
541 i2c@4 {
542 #address-cells = <1>;
543 #size-cells = <0>;
544 reg = <4>;
545 /* SFP3 */
546 };
547 i2c@5 {
548 #address-cells = <1>;
549 #size-cells = <0>;
550 reg = <5>;
551 /* SFP2 */
552 };
553 i2c@6 {
554 #address-cells = <1>;
555 #size-cells = <0>;
556 reg = <6>;
557 /* SFP1 */
558 };
559 i2c@7 {
560 #address-cells = <1>;
561 #size-cells = <0>;
562 reg = <7>;
563 /* SFP0 */
564 };
565 };
566};
567
Michal Simekf7b922a2021-05-10 13:14:02 +0200568&pinctrl0 {
569 status = "okay";
570 pinctrl_i2c0_default: i2c0-default {
571 mux {
572 groups = "i2c0_3_grp";
573 function = "i2c0";
574 };
575
576 conf {
577 groups = "i2c0_3_grp";
578 bias-pull-up;
579 slew-rate = <SLEW_RATE_SLOW>;
580 power-source = <IO_STANDARD_LVCMOS18>;
581 };
582 };
583
584 pinctrl_i2c0_gpio: i2c0-gpio {
585 mux {
586 groups = "gpio0_14_grp", "gpio0_15_grp";
587 function = "gpio0";
588 };
589
590 conf {
591 groups = "gpio0_14_grp", "gpio0_15_grp";
592 slew-rate = <SLEW_RATE_SLOW>;
593 power-source = <IO_STANDARD_LVCMOS18>;
594 };
595 };
596
597 pinctrl_i2c1_default: i2c1-default {
598 mux {
599 groups = "i2c1_4_grp";
600 function = "i2c1";
601 };
602
603 conf {
604 groups = "i2c1_4_grp";
605 bias-pull-up;
606 slew-rate = <SLEW_RATE_SLOW>;
607 power-source = <IO_STANDARD_LVCMOS18>;
608 };
609 };
610
611 pinctrl_i2c1_gpio: i2c1-gpio {
612 mux {
613 groups = "gpio0_16_grp", "gpio0_17_grp";
614 function = "gpio0";
615 };
616
617 conf {
618 groups = "gpio0_16_grp", "gpio0_17_grp";
619 slew-rate = <SLEW_RATE_SLOW>;
620 power-source = <IO_STANDARD_LVCMOS18>;
621 };
622 };
623
624 pinctrl_uart0_default: uart0-default {
625 mux {
626 groups = "uart0_4_grp";
627 function = "uart0";
628 };
629
630 conf {
631 groups = "uart0_4_grp";
632 slew-rate = <SLEW_RATE_SLOW>;
633 power-source = <IO_STANDARD_LVCMOS18>;
634 };
635
636 conf-rx {
637 pins = "MIO18";
638 bias-high-impedance;
639 };
640
641 conf-tx {
642 pins = "MIO19";
643 bias-disable;
644 };
645 };
646
647 pinctrl_usb0_default: usb0-default {
648 mux {
649 groups = "usb0_0_grp";
650 function = "usb0";
651 };
652
653 conf {
654 groups = "usb0_0_grp";
Michal Simekf7b922a2021-05-10 13:14:02 +0200655 power-source = <IO_STANDARD_LVCMOS18>;
656 };
657
658 conf-rx {
659 pins = "MIO52", "MIO53", "MIO55";
660 bias-high-impedance;
Ashok Reddy Soma4d0ecf62022-06-15 12:16:13 +0200661 drive-strength = <12>;
662 slew-rate = <SLEW_RATE_FAST>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200663 };
664
665 conf-tx {
666 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
667 "MIO60", "MIO61", "MIO62", "MIO63";
668 bias-disable;
Ashok Reddy Soma4d0ecf62022-06-15 12:16:13 +0200669 drive-strength = <4>;
670 slew-rate = <SLEW_RATE_SLOW>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200671 };
672 };
673
674 pinctrl_gem3_default: gem3-default {
675 mux {
676 function = "ethernet3";
677 groups = "ethernet3_0_grp";
678 };
679
680 conf {
681 groups = "ethernet3_0_grp";
682 slew-rate = <SLEW_RATE_SLOW>;
683 power-source = <IO_STANDARD_LVCMOS18>;
684 };
685
686 conf-rx {
687 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
688 "MIO75";
689 bias-high-impedance;
690 low-power-disable;
691 };
692
693 conf-tx {
694 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
695 "MIO69";
696 bias-disable;
697 low-power-enable;
698 };
699
700 mux-mdio {
701 function = "mdio3";
702 groups = "mdio3_0_grp";
703 };
704
705 conf-mdio {
706 groups = "mdio3_0_grp";
707 slew-rate = <SLEW_RATE_SLOW>;
708 power-source = <IO_STANDARD_LVCMOS18>;
709 bias-disable;
710 };
711 };
712
713 pinctrl_sdhci1_default: sdhci1-default {
714 mux {
715 groups = "sdio1_0_grp";
716 function = "sdio1";
717 };
718
719 conf {
720 groups = "sdio1_0_grp";
721 slew-rate = <SLEW_RATE_SLOW>;
722 power-source = <IO_STANDARD_LVCMOS18>;
723 bias-disable;
724 };
725
726 mux-cd {
727 groups = "sdio1_cd_0_grp";
728 function = "sdio1_cd";
729 };
730
731 conf-cd {
732 groups = "sdio1_cd_0_grp";
733 bias-high-impedance;
734 bias-pull-up;
735 slew-rate = <SLEW_RATE_SLOW>;
736 power-source = <IO_STANDARD_LVCMOS18>;
737 };
738 };
739
740 pinctrl_gpio_default: gpio-default {
741 mux {
742 function = "gpio0";
743 groups = "gpio0_22_grp", "gpio0_23_grp";
744 };
745
746 conf {
747 groups = "gpio0_22_grp", "gpio0_23_grp";
748 slew-rate = <SLEW_RATE_SLOW>;
749 power-source = <IO_STANDARD_LVCMOS18>;
750 };
751
752 mux-msp {
753 function = "gpio0";
754 groups = "gpio0_13_grp", "gpio0_38_grp";
755 };
756
757 conf-msp {
758 groups = "gpio0_13_grp", "gpio0_38_grp";
759 slew-rate = <SLEW_RATE_SLOW>;
760 power-source = <IO_STANDARD_LVCMOS18>;
761 };
762
763 conf-pull-up {
764 pins = "MIO22";
765 bias-pull-up;
766 };
767
768 conf-pull-none {
769 pins = "MIO13", "MIO23", "MIO38";
770 bias-disable;
771 };
772 };
773};
774
Michal Simekae7230c2021-06-03 15:18:04 +0200775&psgtr {
776 status = "okay";
777 /* nc, dp, usb3, sata */
778 clocks = <&si5341 0 0>, <&si5341 0 2>, <&si5341 0 3>;
779 clock-names = "ref1", "ref2", "ref3";
780};
781
Michal Simek7531f862018-03-28 15:55:27 +0200782&qspi {
783 status = "okay";
784 is-dual = <1>;
785 flash@0 {
Neil Armstronga009fa72019-02-10 10:16:20 +0000786 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
Michal Simek7531f862018-03-28 15:55:27 +0200787 #address-cells = <1>;
788 #size-cells = <1>;
789 reg = <0x0>;
Amit Kumar Mahapatraa02408b2022-05-10 16:33:01 +0200790 spi-tx-bus-width = <4>;
Michal Simek7531f862018-03-28 15:55:27 +0200791 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
792 spi-max-frequency = <108000000>; /* Based on DC1 spec */
Michal Simek70fafdf2020-02-14 14:19:56 +0100793 partition@0 { /* for testing purpose */
Michal Simek7531f862018-03-28 15:55:27 +0200794 label = "qspi-fsbl-uboot";
795 reg = <0x0 0x100000>;
796 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100797 partition@100000 { /* for testing purpose */
Michal Simek7531f862018-03-28 15:55:27 +0200798 label = "qspi-linux";
799 reg = <0x100000 0x500000>;
800 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100801 partition@600000 { /* for testing purpose */
Michal Simek7531f862018-03-28 15:55:27 +0200802 label = "qspi-device-tree";
803 reg = <0x600000 0x20000>;
804 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100805 partition@620000 { /* for testing purpose */
Michal Simek7531f862018-03-28 15:55:27 +0200806 label = "qspi-rootfs";
807 reg = <0x620000 0x5E0000>;
808 };
809 };
810};
811
812&rtc {
813 status = "okay";
814};
815
816&sata {
817 status = "okay";
818 /* SATA OOB timing settings */
819 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
820 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
821 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
822 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
823 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
824 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
825 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
826 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
827 phy-names = "sata-phy";
Michal Simekfe8cb0c2021-05-10 14:55:34 +0200828 phys = <&psgtr 3 PHY_TYPE_SATA 1 3>;
Michal Simek7531f862018-03-28 15:55:27 +0200829};
830
831/* SD1 with level shifter */
832&sdhci1 {
833 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200834 pinctrl-names = "default";
835 pinctrl-0 = <&pinctrl_sdhci1_default>;
Michal Simek259fb212018-04-04 14:08:24 +0200836 disable-wp;
Manish Naranie2ba0932020-02-13 23:37:30 -0700837 /*
838 * This property should be removed for supporting UHS mode
839 */
840 no-1-8-v;
Michal Simek3b662642020-07-22 17:42:43 +0200841 xlnx,mio-bank = <1>;
Michal Simek7531f862018-03-28 15:55:27 +0200842};
843
Michal Simek7531f862018-03-28 15:55:27 +0200844&uart0 {
845 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200846 pinctrl-names = "default";
847 pinctrl-0 = <&pinctrl_uart0_default>;
Michal Simek7531f862018-03-28 15:55:27 +0200848};
849
850/* ULPI SMSC USB3320 */
851&usb0 {
852 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200853 pinctrl-names = "default";
854 pinctrl-0 = <&pinctrl_usb0_default>;
Manish Naranif3c63382021-07-14 06:17:19 -0600855 phy-names = "usb3-phy";
856 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
Michal Simekfe8cb0c2021-05-10 14:55:34 +0200857};
858
859&dwc3_0 {
860 status = "okay";
Michal Simek958c0e92020-11-26 14:25:02 +0100861 dr_mode = "host";
Michal Simekfe8cb0c2021-05-10 14:55:34 +0200862 snps,usb3_lpm_capable;
Michal Simekeb4b55c2021-05-31 17:51:58 +0200863 maximum-speed = "super-speed";
Michal Simek7531f862018-03-28 15:55:27 +0200864};
865
Michal Simek958c0e92020-11-26 14:25:02 +0100866&zynqmp_dpdma {
Michal Simek7531f862018-03-28 15:55:27 +0200867 status = "okay";
Michal Simek958c0e92020-11-26 14:25:02 +0100868};
869
870&zynqmp_dpsub {
871 status = "okay";
872 phy-names = "dp-phy0", "dp-phy1";
873 phys = <&psgtr 1 PHY_TYPE_DP 0 1>,
874 <&psgtr 0 PHY_TYPE_DP 1 1>;
Michal Simek7531f862018-03-28 15:55:27 +0200875};