blob: 9e47008542ae3c18573acc372e34db19d6c8f74e [file] [log] [blame]
Michal Simekf190eaf2018-03-28 15:55:27 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * dts file for Xilinx ZynqMP ZCU111
4 *
Michal Simekd31f1c92020-02-18 08:38:06 +01005 * (C) Copyright 2017 - 2020, Xilinx, Inc.
Michal Simekf190eaf2018-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>
16#include <dt-bindings/phy/phy.h>
17
18/ {
19 model = "ZynqMP ZCU111 RevA";
20 compatible = "xlnx,zynqmp-zcu111-revA", "xlnx,zynqmp-zcu111", "xlnx,zynqmp";
21
22 aliases {
23 ethernet0 = &gem3;
24 gpio0 = &gpio;
25 i2c0 = &i2c0;
26 i2c1 = &i2c1;
27 mmc0 = &sdhci1;
28 rtc0 = &rtc;
29 serial0 = &uart0;
30 serial1 = &dcc;
31 spi0 = &qspi;
32 usb0 = &usb0;
33 };
34
35 chosen {
36 bootargs = "earlycon";
37 stdout-path = "serial0:115200n8";
Michal Simek8bdad432019-01-18 09:10:39 +010038 xlnx,eeprom = &eeprom;
Michal Simekf190eaf2018-03-28 15:55:27 +020039 };
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 Simekf190eaf2018-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 Hollaad967af2018-10-24 12:45:40 +010054 wakeup-source;
Michal Simekf190eaf2018-03-28 15:55:27 +020055 autorepeat;
56 };
57 };
58
59 leds {
60 compatible = "gpio-leds";
Michal Simek096d7f52018-11-08 10:06:53 +010061 heartbeat-led {
Michal Simekf190eaf2018-03-28 15:55:27 +020062 label = "heartbeat";
63 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
64 linux,default-trigger = "heartbeat";
65 };
66 };
Michal Simek65c4c372019-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 Simekce906542020-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 Simekf190eaf2018-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 Simek2975a422019-08-08 12:44:22 +0200173 phy0: ethernet-phy@c {
Michal Simekf190eaf2018-03-28 15:55:27 +0200174 reg = <0xc>;
175 ti,rx-internal-delay = <0x8>;
176 ti,tx-internal-delay = <0xa>;
177 ti,fifo-depth = <0x1>;
Harini Katakam631d9a92019-02-13 17:02:21 +0530178 ti,dp83867-rxctrl-strap-quirk;
Michal Simekf190eaf2018-03-28 15:55:27 +0200179 };
180};
181
182&gpio {
183 status = "okay";
184};
185
186&gpu {
187 status = "okay";
188};
189
190&i2c0 {
191 status = "okay";
192 clock-frequency = <400000>;
193
194 tca6416_u22: gpio@20 {
195 compatible = "ti,tca6416";
196 reg = <0x20>;
197 gpio-controller; /* interrupt not connected */
198 #gpio-cells = <2>;
199 /*
200 * IRQ not connected
201 * Lines:
202 * 0 - MAX6643_OT_B
203 * 1 - MAX6643_FANFAIL_B
204 * 2 - MIO26_PMU_INPUT_LS
205 * 4 - SFP_SI5382_INT_ALM
206 * 5 - IIC_MUX_RESET_B
207 * 6 - GEM3_EXP_RESET_B
208 * 10 - FMCP_HSPC_PRSNT_M2C_B
209 * 11 - CLK_SPI_MUX_SEL0
210 * 12 - CLK_SPI_MUX_SEL1
211 * 16 - IRPS5401_ALERT_B
212 * 17 - INA226_PMBUS_ALERT
213 * 3, 7, 13-15 - not connected
214 */
215 };
216
217 i2c-mux@75 { /* u23 */
218 compatible = "nxp,pca9544";
219 #address-cells = <1>;
220 #size-cells = <0>;
221 reg = <0x75>;
222 i2c@0 {
223 #address-cells = <1>;
224 #size-cells = <0>;
225 reg = <0>;
226 /* PS_PMBUS */
227 /* PMBUS_ALERT done via pca9544 */
Michal Simek65c4c372019-08-26 09:45:03 +0200228 u67: ina226@40 { /* u67 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200229 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200230 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200231 label = "ina226-u67";
Michal Simekf190eaf2018-03-28 15:55:27 +0200232 reg = <0x40>;
233 shunt-resistor = <2000>;
234 };
Michal Simek65c4c372019-08-26 09:45:03 +0200235 u59: ina226@41 { /* u59 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200236 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200237 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200238 label = "ina226-u59";
Michal Simekf190eaf2018-03-28 15:55:27 +0200239 reg = <0x41>;
240 shunt-resistor = <5000>;
241 };
Michal Simek65c4c372019-08-26 09:45:03 +0200242 u61: ina226@42 { /* u61 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200243 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200244 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200245 label = "ina226-u61";
Michal Simekf190eaf2018-03-28 15:55:27 +0200246 reg = <0x42>;
247 shunt-resistor = <5000>;
248 };
Michal Simek65c4c372019-08-26 09:45:03 +0200249 u60: ina226@43 { /* u60 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200250 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200251 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200252 label = "ina226-u60";
Michal Simekf190eaf2018-03-28 15:55:27 +0200253 reg = <0x43>;
254 shunt-resistor = <5000>;
255 };
Michal Simek65c4c372019-08-26 09:45:03 +0200256 u64: ina226@45 { /* u64 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200257 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200258 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200259 label = "ina226-u64";
Michal Simekf190eaf2018-03-28 15:55:27 +0200260 reg = <0x45>;
261 shunt-resistor = <5000>;
262 };
Michal Simek65c4c372019-08-26 09:45:03 +0200263 u69: ina226@46 { /* u69 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200264 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200265 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200266 label = "ina226-u69";
Michal Simekf190eaf2018-03-28 15:55:27 +0200267 reg = <0x46>;
268 shunt-resistor = <2000>;
269 };
Michal Simek65c4c372019-08-26 09:45:03 +0200270 u66: ina226@47 { /* u66 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200271 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200272 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200273 label = "ina226-u66";
Michal Simekf190eaf2018-03-28 15:55:27 +0200274 reg = <0x47>;
275 shunt-resistor = <5000>;
276 };
Michal Simek65c4c372019-08-26 09:45:03 +0200277 u65: ina226@48 { /* u65 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200278 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200279 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200280 label = "ina226-u65";
Michal Simekf190eaf2018-03-28 15:55:27 +0200281 reg = <0x48>;
282 shunt-resistor = <5000>;
283 };
Michal Simek65c4c372019-08-26 09:45:03 +0200284 u63: ina226@49 { /* u63 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200285 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200286 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200287 label = "ina226-u63";
Michal Simekf190eaf2018-03-28 15:55:27 +0200288 reg = <0x49>;
289 shunt-resistor = <5000>;
290 };
Michal Simek65c4c372019-08-26 09:45:03 +0200291 u3: ina226@4a { /* u3 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200292 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200293 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200294 label = "ina226-u3";
Michal Simekf190eaf2018-03-28 15:55:27 +0200295 reg = <0x4a>;
296 shunt-resistor = <5000>;
297 };
Michal Simek65c4c372019-08-26 09:45:03 +0200298 u71: ina226@4b { /* u71 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200299 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200300 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200301 label = "ina226-u71";
Michal Simekf190eaf2018-03-28 15:55:27 +0200302 reg = <0x4b>;
303 shunt-resistor = <5000>;
304 };
Michal Simek65c4c372019-08-26 09:45:03 +0200305 u77: ina226@4c { /* u77 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200306 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200307 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200308 label = "ina226-u77";
Michal Simekf190eaf2018-03-28 15:55:27 +0200309 reg = <0x4c>;
310 shunt-resistor = <5000>;
311 };
Michal Simek65c4c372019-08-26 09:45:03 +0200312 u73: ina226@4d { /* u73 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200313 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200314 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200315 label = "ina226-u73";
Michal Simekf190eaf2018-03-28 15:55:27 +0200316 reg = <0x4d>;
317 shunt-resistor = <5000>;
318 };
Michal Simek65c4c372019-08-26 09:45:03 +0200319 u79: ina226@4e { /* u79 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200320 compatible = "ti,ina226";
Michal Simek65c4c372019-08-26 09:45:03 +0200321 #io-channel-cells = <1>;
Michal Simekb02ea932019-08-26 10:00:26 +0200322 label = "ina226-u79";
Michal Simekf190eaf2018-03-28 15:55:27 +0200323 reg = <0x4e>;
324 shunt-resistor = <5000>;
325 };
326 };
327 i2c@1 {
328 #address-cells = <1>;
329 #size-cells = <0>;
330 reg = <1>;
331 /* NC */
332 };
333 i2c@2 {
334 #address-cells = <1>;
335 #size-cells = <0>;
336 reg = <2>;
Michal Simek14c0fbb2020-03-30 11:35:38 +0200337 irps5401_43: irps5401@43 { /* IRPS5401 - u53 check these */
Michal Simekf190eaf2018-03-28 15:55:27 +0200338 compatible = "infineon,irps5401";
339 reg = <0x43>;
340 };
Michal Simek14c0fbb2020-03-30 11:35:38 +0200341 irps5401_44: irps5401@44 { /* IRPS5401 - u55 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200342 compatible = "infineon,irps5401";
343 reg = <0x44>;
344 };
Michal Simek14c0fbb2020-03-30 11:35:38 +0200345 irps5401_45: irps5401@45 { /* IRPS5401 - u57 */
Michal Simekf190eaf2018-03-28 15:55:27 +0200346 compatible = "infineon,irps5401";
347 reg = <0x45>;
348 };
349 /* u68 IR38064 +0 */
350 /* u70 IR38060 +1 */
351 /* u74 IR38060 +2 */
352 /* u75 IR38060 +6 */
353 /* J19 header too */
354
355 };
356 i2c@3 {
357 #address-cells = <1>;
358 #size-cells = <0>;
359 reg = <3>;
360 /* SYSMON */
361 };
362 };
363};
364
365&i2c1 {
366 status = "okay";
367 clock-frequency = <400000>;
368
369 i2c-mux@74 { /* u26 */
370 compatible = "nxp,pca9548";
371 #address-cells = <1>;
372 #size-cells = <0>;
373 reg = <0x74>;
374 i2c@0 {
375 #address-cells = <1>;
376 #size-cells = <0>;
377 reg = <0>;
378 /*
379 * IIC_EEPROM 1kB memory which uses 256B blocks
380 * where every block has different address.
381 * 0 - 256B address 0x54
382 * 256B - 512B address 0x55
383 * 512B - 768B address 0x56
384 * 768B - 1024B address 0x57
385 */
386 eeprom: eeprom@54 { /* u88 */
387 compatible = "atmel,24c08";
388 reg = <0x54>;
389 };
390 };
391 i2c@1 {
392 #address-cells = <1>;
393 #size-cells = <0>;
394 reg = <1>;
395 si5341: clock-generator@36 { /* SI5341 - u46 */
Michal Simekce906542020-11-26 14:25:02 +0100396 compatible = "silabs,si5341";
Michal Simekf190eaf2018-03-28 15:55:27 +0200397 reg = <0x36>;
Michal Simekce906542020-11-26 14:25:02 +0100398 #clock-cells = <2>;
399 #address-cells = <1>;
400 #size-cells = <0>;
401 clocks = <&ref48>;
402 clock-names = "xtal";
403 clock-output-names = "si5341";
Michal Simekf190eaf2018-03-28 15:55:27 +0200404
Michal Simekce906542020-11-26 14:25:02 +0100405 si5341_0: out@0 {
406 /* refclk0 for PS-GT, used for DP */
407 reg = <0>;
408 always-on;
409 };
410 si5341_2: out@2 {
411 /* refclk2 for PS-GT, used for USB3 */
412 reg = <2>;
413 always-on;
414 };
415 si5341_3: out@3 {
416 /* refclk3 for PS-GT, used for SATA */
417 reg = <3>;
418 always-on;
419 };
420 si5341_5: out@5 {
421 /* refclk5 PL CLK100 */
422 reg = <5>;
423 always-on;
424 };
425 si5341_6: out@6 {
426 /* refclk6 PL CLK125 */
427 reg = <6>;
428 always-on;
429 };
430 si5341_9: out@9 {
431 /* refclk9 used for PS_REF_CLK 33.3 MHz */
432 reg = <9>;
433 always-on;
434 };
435 };
Michal Simekf190eaf2018-03-28 15:55:27 +0200436 };
437 i2c@2 {
438 #address-cells = <1>;
439 #size-cells = <0>;
440 reg = <2>;
441 si570_1: clock-generator@5d { /* USER SI570 - u47 */
442 #clock-cells = <0>;
443 compatible = "silabs,si570";
444 reg = <0x5d>;
445 temperature-stability = <50>;
446 factory-fout = <300000000>;
447 clock-frequency = <300000000>;
Michal Simek6bd13ee2018-07-18 12:10:02 +0200448 clock-output-names = "si570_user";
Michal Simekf190eaf2018-03-28 15:55:27 +0200449 };
450 };
451 i2c@3 {
452 #address-cells = <1>;
453 #size-cells = <0>;
454 reg = <3>;
455 si570_2: clock-generator@5d { /* USER MGT SI570 - u49 */
456 #clock-cells = <0>;
457 compatible = "silabs,si570";
458 reg = <0x5d>;
459 temperature-stability = <50>;
460 factory-fout = <156250000>;
Venkatesh Yadav Abbarapu7e2bf382019-09-05 08:30:38 +0530461 clock-frequency = <156250000>;
Michal Simek6bd13ee2018-07-18 12:10:02 +0200462 clock-output-names = "si570_mgt";
Michal Simekf190eaf2018-03-28 15:55:27 +0200463 };
464 };
465 i2c@4 {
466 #address-cells = <1>;
467 #size-cells = <0>;
468 reg = <4>;
Michal Simekce906542020-11-26 14:25:02 +0100469 si5382: clock-generator@69 { /* SI5382 - u48 */
470 compatible = "silabs,si5382";
Michal Simekf190eaf2018-03-28 15:55:27 +0200471 reg = <0x69>;
472 };
473 };
474 i2c@5 {
475 #address-cells = <1>;
476 #size-cells = <0>;
477 reg = <5>;
478 sc18is603@2f { /* sc18is602 - u93 */
479 compatible = "nxp,sc18is603";
480 reg = <0x2f>;
481 /* 4 gpios for CS not handled by driver */
482 /*
483 * USB2ANY cable or
484 * LMK04208 - u90 or
485 * LMX2594 - u102 or
486 * LMX2594 - u103 or
487 * LMX2594 - u104
488 */
489 };
490 };
491 i2c@6 {
492 #address-cells = <1>;
493 #size-cells = <0>;
494 reg = <6>;
495 /* FMC connector */
496 };
497 /* 7 NC */
498 };
499
500 i2c-mux@75 {
501 compatible = "nxp,pca9548"; /* u27 */
502 #address-cells = <1>;
503 #size-cells = <0>;
504 reg = <0x75>;
505
506 i2c@0 {
507 #address-cells = <1>;
508 #size-cells = <0>;
509 reg = <0>;
510 /* FMCP_HSPC_IIC */
511 };
512 i2c@1 {
513 #address-cells = <1>;
514 #size-cells = <0>;
515 reg = <1>;
516 /* NC */
517 };
518 i2c@2 {
519 #address-cells = <1>;
520 #size-cells = <0>;
521 reg = <2>;
522 /* SYSMON */
523 };
524 i2c@3 {
525 #address-cells = <1>;
526 #size-cells = <0>;
527 reg = <3>;
528 /* DDR4 SODIMM */
Michal Simekf190eaf2018-03-28 15:55:27 +0200529 };
530 i2c@4 {
531 #address-cells = <1>;
532 #size-cells = <0>;
533 reg = <4>;
534 /* SFP3 */
535 };
536 i2c@5 {
537 #address-cells = <1>;
538 #size-cells = <0>;
539 reg = <5>;
540 /* SFP2 */
541 };
542 i2c@6 {
543 #address-cells = <1>;
544 #size-cells = <0>;
545 reg = <6>;
546 /* SFP1 */
547 };
548 i2c@7 {
549 #address-cells = <1>;
550 #size-cells = <0>;
551 reg = <7>;
552 /* SFP0 */
553 };
554 };
555};
556
Michal Simekce906542020-11-26 14:25:02 +0100557&psgtr {
558 status = "okay";
559 /* nc, sata, usb3, dp */
560 clocks = <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>;
561 clock-names = "ref1", "ref2", "ref3";
562};
563
Michal Simekf190eaf2018-03-28 15:55:27 +0200564&qspi {
565 status = "okay";
566 is-dual = <1>;
567 flash@0 {
Neil Armstrongffd4c7c2019-02-10 10:16:20 +0000568 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
Michal Simekf190eaf2018-03-28 15:55:27 +0200569 #address-cells = <1>;
570 #size-cells = <1>;
571 reg = <0x0>;
572 spi-tx-bus-width = <1>;
573 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
574 spi-max-frequency = <108000000>; /* Based on DC1 spec */
Michal Simek5df63a62020-02-14 14:19:56 +0100575 partition@0 { /* for testing purpose */
Michal Simekf190eaf2018-03-28 15:55:27 +0200576 label = "qspi-fsbl-uboot";
577 reg = <0x0 0x100000>;
578 };
Michal Simek5df63a62020-02-14 14:19:56 +0100579 partition@100000 { /* for testing purpose */
Michal Simekf190eaf2018-03-28 15:55:27 +0200580 label = "qspi-linux";
581 reg = <0x100000 0x500000>;
582 };
Michal Simek5df63a62020-02-14 14:19:56 +0100583 partition@600000 { /* for testing purpose */
Michal Simekf190eaf2018-03-28 15:55:27 +0200584 label = "qspi-device-tree";
585 reg = <0x600000 0x20000>;
586 };
Michal Simek5df63a62020-02-14 14:19:56 +0100587 partition@620000 { /* for testing purpose */
Michal Simekf190eaf2018-03-28 15:55:27 +0200588 label = "qspi-rootfs";
589 reg = <0x620000 0x5E0000>;
590 };
591 };
592};
593
594&rtc {
595 status = "okay";
596};
597
598&sata {
599 status = "okay";
600 /* SATA OOB timing settings */
601 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
602 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
603 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
604 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
605 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
606 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
607 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
608 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
609 phy-names = "sata-phy";
Michal Simekce906542020-11-26 14:25:02 +0100610 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
Michal Simekf190eaf2018-03-28 15:55:27 +0200611};
612
613/* SD1 with level shifter */
614&sdhci1 {
615 status = "okay";
Michal Simekf0d56142018-04-04 14:08:24 +0200616 disable-wp;
Manish Narani12ffe752020-02-13 23:37:30 -0700617 /*
618 * This property should be removed for supporting UHS mode
619 */
620 no-1-8-v;
Michal Simek01a6da12020-07-22 17:42:43 +0200621 xlnx,mio-bank = <1>;
Michal Simekf190eaf2018-03-28 15:55:27 +0200622};
623
Michal Simekf190eaf2018-03-28 15:55:27 +0200624&uart0 {
625 status = "okay";
626};
627
628/* ULPI SMSC USB3320 */
629&usb0 {
630 status = "okay";
Michal Simekce906542020-11-26 14:25:02 +0100631 dr_mode = "host";
Michal Simekf190eaf2018-03-28 15:55:27 +0200632};
633
Michal Simekce906542020-11-26 14:25:02 +0100634&zynqmp_dpdma {
Michal Simekf190eaf2018-03-28 15:55:27 +0200635 status = "okay";
Michal Simekce906542020-11-26 14:25:02 +0100636};
637
638&zynqmp_dpsub {
639 status = "okay";
640 phy-names = "dp-phy0", "dp-phy1";
641 phys = <&psgtr 1 PHY_TYPE_DP 0 1>,
642 <&psgtr 0 PHY_TYPE_DP 1 1>;
Michal Simekf190eaf2018-03-28 15:55:27 +0200643};