blob: c9ff99f8a830182baca1241b225d5f0356dd5460 [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 *
Michal Simeka8c94362023-07-10 14:35:49 +02007 * Michal Simek <michal.simek@amd.com>
Michal Simek7531f862018-03-28 15:55:27 +02008 */
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;
Michal Simek192d4ae2022-12-09 13:56:40 +010050 switch-19 {
Michal Simek7531f862018-03-28 15:55:27 +020051 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 Simeka4224f22022-09-09 13:05:48 +0200175 mdio: mdio {
176 #address-cells = <1>;
177 #size-cells = <0>;
178 phy0: ethernet-phy@c {
179 #phy-cells = <1>;
180 compatible = "ethernet-phy-id2000.a231";
181 reg = <0xc>;
182 ti,rx-internal-delay = <0x8>;
183 ti,tx-internal-delay = <0xa>;
184 ti,fifo-depth = <0x1>;
185 ti,dp83867-rxctrl-strap-quirk;
Michal Simekf7a45b82022-09-09 13:05:49 +0200186 reset-gpios = <&tca6416_u22 6 GPIO_ACTIVE_LOW>;
Michal Simeka4224f22022-09-09 13:05:48 +0200187 };
Michal Simek7531f862018-03-28 15:55:27 +0200188 };
189};
190
191&gpio {
192 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200193 pinctrl-names = "default";
194 pinctrl-0 = <&pinctrl_gpio_default>;
Michal Simek7531f862018-03-28 15:55:27 +0200195};
196
197&gpu {
198 status = "okay";
199};
200
201&i2c0 {
202 status = "okay";
203 clock-frequency = <400000>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200204 pinctrl-names = "default", "gpio";
205 pinctrl-0 = <&pinctrl_i2c0_default>;
206 pinctrl-1 = <&pinctrl_i2c0_gpio>;
Manikanta Guntupallicc45c9c2023-07-10 14:37:28 +0200207 scl-gpios = <&gpio 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
208 sda-gpios = <&gpio 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Michal Simek7531f862018-03-28 15:55:27 +0200209
210 tca6416_u22: gpio@20 {
211 compatible = "ti,tca6416";
212 reg = <0x20>;
213 gpio-controller; /* interrupt not connected */
214 #gpio-cells = <2>;
215 /*
216 * IRQ not connected
217 * Lines:
218 * 0 - MAX6643_OT_B
219 * 1 - MAX6643_FANFAIL_B
220 * 2 - MIO26_PMU_INPUT_LS
221 * 4 - SFP_SI5382_INT_ALM
222 * 5 - IIC_MUX_RESET_B
223 * 6 - GEM3_EXP_RESET_B
224 * 10 - FMCP_HSPC_PRSNT_M2C_B
225 * 11 - CLK_SPI_MUX_SEL0
226 * 12 - CLK_SPI_MUX_SEL1
227 * 16 - IRPS5401_ALERT_B
228 * 17 - INA226_PMBUS_ALERT
229 * 3, 7, 13-15 - not connected
230 */
231 };
232
233 i2c-mux@75 { /* u23 */
234 compatible = "nxp,pca9544";
235 #address-cells = <1>;
236 #size-cells = <0>;
237 reg = <0x75>;
238 i2c@0 {
239 #address-cells = <1>;
240 #size-cells = <0>;
241 reg = <0>;
242 /* PS_PMBUS */
243 /* PMBUS_ALERT done via pca9544 */
Michal Simek923ab2b2019-08-26 09:45:03 +0200244 u67: ina226@40 { /* u67 */
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-u67";
Michal Simek7531f862018-03-28 15:55:27 +0200248 reg = <0x40>;
249 shunt-resistor = <2000>;
250 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200251 u59: ina226@41 { /* u59 */
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-u59";
Michal Simek7531f862018-03-28 15:55:27 +0200255 reg = <0x41>;
256 shunt-resistor = <5000>;
257 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200258 u61: ina226@42 { /* u61 */
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-u61";
Michal Simek7531f862018-03-28 15:55:27 +0200262 reg = <0x42>;
263 shunt-resistor = <5000>;
264 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200265 u60: ina226@43 { /* u60 */
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-u60";
Michal Simek7531f862018-03-28 15:55:27 +0200269 reg = <0x43>;
270 shunt-resistor = <5000>;
271 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200272 u64: ina226@45 { /* u64 */
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-u64";
Michal Simek7531f862018-03-28 15:55:27 +0200276 reg = <0x45>;
277 shunt-resistor = <5000>;
278 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200279 u69: ina226@46 { /* u69 */
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-u69";
Michal Simek7531f862018-03-28 15:55:27 +0200283 reg = <0x46>;
284 shunt-resistor = <2000>;
285 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200286 u66: ina226@47 { /* u66 */
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-u66";
Michal Simek7531f862018-03-28 15:55:27 +0200290 reg = <0x47>;
291 shunt-resistor = <5000>;
292 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200293 u65: ina226@48 { /* u65 */
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-u65";
Michal Simek7531f862018-03-28 15:55:27 +0200297 reg = <0x48>;
298 shunt-resistor = <5000>;
299 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200300 u63: ina226@49 { /* u63 */
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-u63";
Michal Simek7531f862018-03-28 15:55:27 +0200304 reg = <0x49>;
305 shunt-resistor = <5000>;
306 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200307 u3: ina226@4a { /* u3 */
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-u3";
Michal Simek7531f862018-03-28 15:55:27 +0200311 reg = <0x4a>;
312 shunt-resistor = <5000>;
313 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200314 u71: ina226@4b { /* u71 */
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-u71";
Michal Simek7531f862018-03-28 15:55:27 +0200318 reg = <0x4b>;
319 shunt-resistor = <5000>;
320 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200321 u77: ina226@4c { /* u77 */
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-u77";
Michal Simek7531f862018-03-28 15:55:27 +0200325 reg = <0x4c>;
326 shunt-resistor = <5000>;
327 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200328 u73: ina226@4d { /* u73 */
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-u73";
Michal Simek7531f862018-03-28 15:55:27 +0200332 reg = <0x4d>;
333 shunt-resistor = <5000>;
334 };
Michal Simek923ab2b2019-08-26 09:45:03 +0200335 u79: ina226@4e { /* u79 */
Michal Simek7531f862018-03-28 15:55:27 +0200336 compatible = "ti,ina226";
Michal Simek923ab2b2019-08-26 09:45:03 +0200337 #io-channel-cells = <1>;
Michal Simek11068892019-08-26 10:00:26 +0200338 label = "ina226-u79";
Michal Simek7531f862018-03-28 15:55:27 +0200339 reg = <0x4e>;
340 shunt-resistor = <5000>;
341 };
342 };
343 i2c@1 {
344 #address-cells = <1>;
345 #size-cells = <0>;
346 reg = <1>;
347 /* NC */
348 };
349 i2c@2 {
350 #address-cells = <1>;
351 #size-cells = <0>;
352 reg = <2>;
Michal Simek3514e4e2020-03-30 11:35:38 +0200353 irps5401_43: irps5401@43 { /* IRPS5401 - u53 check these */
Michal Simek7531f862018-03-28 15:55:27 +0200354 compatible = "infineon,irps5401";
355 reg = <0x43>;
356 };
Michal Simek3514e4e2020-03-30 11:35:38 +0200357 irps5401_44: irps5401@44 { /* IRPS5401 - u55 */
Michal Simek7531f862018-03-28 15:55:27 +0200358 compatible = "infineon,irps5401";
359 reg = <0x44>;
360 };
Michal Simek3514e4e2020-03-30 11:35:38 +0200361 irps5401_45: irps5401@45 { /* IRPS5401 - u57 */
Michal Simek7531f862018-03-28 15:55:27 +0200362 compatible = "infineon,irps5401";
363 reg = <0x45>;
364 };
365 /* u68 IR38064 +0 */
366 /* u70 IR38060 +1 */
367 /* u74 IR38060 +2 */
368 /* u75 IR38060 +6 */
369 /* J19 header too */
370
371 };
372 i2c@3 {
373 #address-cells = <1>;
374 #size-cells = <0>;
375 reg = <3>;
376 /* SYSMON */
377 };
378 };
379};
380
381&i2c1 {
382 status = "okay";
383 clock-frequency = <400000>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200384 pinctrl-names = "default", "gpio";
385 pinctrl-0 = <&pinctrl_i2c1_default>;
386 pinctrl-1 = <&pinctrl_i2c1_gpio>;
Manikanta Guntupallicc45c9c2023-07-10 14:37:28 +0200387 scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
388 sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Michal Simek7531f862018-03-28 15:55:27 +0200389
390 i2c-mux@74 { /* u26 */
391 compatible = "nxp,pca9548";
392 #address-cells = <1>;
393 #size-cells = <0>;
394 reg = <0x74>;
395 i2c@0 {
396 #address-cells = <1>;
397 #size-cells = <0>;
398 reg = <0>;
399 /*
400 * IIC_EEPROM 1kB memory which uses 256B blocks
401 * where every block has different address.
402 * 0 - 256B address 0x54
403 * 256B - 512B address 0x55
404 * 512B - 768B address 0x56
405 * 768B - 1024B address 0x57
406 */
407 eeprom: eeprom@54 { /* u88 */
408 compatible = "atmel,24c08";
409 reg = <0x54>;
410 };
411 };
412 i2c@1 {
413 #address-cells = <1>;
414 #size-cells = <0>;
415 reg = <1>;
416 si5341: clock-generator@36 { /* SI5341 - u46 */
Michal Simek958c0e92020-11-26 14:25:02 +0100417 compatible = "silabs,si5341";
Michal Simek7531f862018-03-28 15:55:27 +0200418 reg = <0x36>;
Michal Simek958c0e92020-11-26 14:25:02 +0100419 #clock-cells = <2>;
420 #address-cells = <1>;
421 #size-cells = <0>;
422 clocks = <&ref48>;
423 clock-names = "xtal";
424 clock-output-names = "si5341";
Michal Simek7531f862018-03-28 15:55:27 +0200425
Michal Simek958c0e92020-11-26 14:25:02 +0100426 si5341_0: out@0 {
427 /* refclk0 for PS-GT, used for DP */
428 reg = <0>;
429 always-on;
430 };
431 si5341_2: out@2 {
432 /* refclk2 for PS-GT, used for USB3 */
433 reg = <2>;
434 always-on;
435 };
436 si5341_3: out@3 {
437 /* refclk3 for PS-GT, used for SATA */
438 reg = <3>;
439 always-on;
440 };
441 si5341_5: out@5 {
442 /* refclk5 PL CLK100 */
443 reg = <5>;
444 always-on;
445 };
446 si5341_6: out@6 {
447 /* refclk6 PL CLK125 */
448 reg = <6>;
449 always-on;
450 };
451 si5341_9: out@9 {
452 /* refclk9 used for PS_REF_CLK 33.3 MHz */
453 reg = <9>;
454 always-on;
455 };
456 };
Michal Simek7531f862018-03-28 15:55:27 +0200457 };
458 i2c@2 {
459 #address-cells = <1>;
460 #size-cells = <0>;
461 reg = <2>;
462 si570_1: clock-generator@5d { /* USER SI570 - u47 */
463 #clock-cells = <0>;
464 compatible = "silabs,si570";
465 reg = <0x5d>;
466 temperature-stability = <50>;
467 factory-fout = <300000000>;
468 clock-frequency = <300000000>;
Michal Simek3cf07bf2018-07-18 12:10:02 +0200469 clock-output-names = "si570_user";
Michal Simek7531f862018-03-28 15:55:27 +0200470 };
471 };
472 i2c@3 {
473 #address-cells = <1>;
474 #size-cells = <0>;
475 reg = <3>;
476 si570_2: clock-generator@5d { /* USER MGT SI570 - u49 */
477 #clock-cells = <0>;
478 compatible = "silabs,si570";
479 reg = <0x5d>;
480 temperature-stability = <50>;
481 factory-fout = <156250000>;
Venkatesh Yadav Abbarapue55126a2019-09-05 08:30:38 +0530482 clock-frequency = <156250000>;
Michal Simek3cf07bf2018-07-18 12:10:02 +0200483 clock-output-names = "si570_mgt";
Michal Simek7531f862018-03-28 15:55:27 +0200484 };
485 };
486 i2c@4 {
487 #address-cells = <1>;
488 #size-cells = <0>;
489 reg = <4>;
Michal Simek2add7442021-06-03 11:58:08 +0200490 /* SI5382 - u48 */
Michal Simek7531f862018-03-28 15:55:27 +0200491 };
492 i2c@5 {
493 #address-cells = <1>;
494 #size-cells = <0>;
495 reg = <5>;
496 sc18is603@2f { /* sc18is602 - u93 */
497 compatible = "nxp,sc18is603";
498 reg = <0x2f>;
499 /* 4 gpios for CS not handled by driver */
500 /*
501 * USB2ANY cable or
502 * LMK04208 - u90 or
503 * LMX2594 - u102 or
504 * LMX2594 - u103 or
505 * LMX2594 - u104
506 */
507 };
508 };
509 i2c@6 {
510 #address-cells = <1>;
511 #size-cells = <0>;
512 reg = <6>;
513 /* FMC connector */
514 };
515 /* 7 NC */
516 };
517
518 i2c-mux@75 {
519 compatible = "nxp,pca9548"; /* u27 */
520 #address-cells = <1>;
521 #size-cells = <0>;
522 reg = <0x75>;
523
524 i2c@0 {
525 #address-cells = <1>;
526 #size-cells = <0>;
527 reg = <0>;
528 /* FMCP_HSPC_IIC */
529 };
530 i2c@1 {
531 #address-cells = <1>;
532 #size-cells = <0>;
533 reg = <1>;
534 /* NC */
535 };
536 i2c@2 {
537 #address-cells = <1>;
538 #size-cells = <0>;
539 reg = <2>;
540 /* SYSMON */
541 };
542 i2c@3 {
543 #address-cells = <1>;
544 #size-cells = <0>;
545 reg = <3>;
546 /* DDR4 SODIMM */
Michal Simek7531f862018-03-28 15:55:27 +0200547 };
548 i2c@4 {
549 #address-cells = <1>;
550 #size-cells = <0>;
551 reg = <4>;
552 /* SFP3 */
553 };
554 i2c@5 {
555 #address-cells = <1>;
556 #size-cells = <0>;
557 reg = <5>;
558 /* SFP2 */
559 };
560 i2c@6 {
561 #address-cells = <1>;
562 #size-cells = <0>;
563 reg = <6>;
564 /* SFP1 */
565 };
566 i2c@7 {
567 #address-cells = <1>;
568 #size-cells = <0>;
569 reg = <7>;
570 /* SFP0 */
571 };
572 };
573};
574
Michal Simekf7b922a2021-05-10 13:14:02 +0200575&pinctrl0 {
576 status = "okay";
577 pinctrl_i2c0_default: i2c0-default {
578 mux {
579 groups = "i2c0_3_grp";
580 function = "i2c0";
581 };
582
583 conf {
584 groups = "i2c0_3_grp";
585 bias-pull-up;
586 slew-rate = <SLEW_RATE_SLOW>;
587 power-source = <IO_STANDARD_LVCMOS18>;
588 };
589 };
590
591 pinctrl_i2c0_gpio: i2c0-gpio {
592 mux {
593 groups = "gpio0_14_grp", "gpio0_15_grp";
594 function = "gpio0";
595 };
596
597 conf {
598 groups = "gpio0_14_grp", "gpio0_15_grp";
599 slew-rate = <SLEW_RATE_SLOW>;
600 power-source = <IO_STANDARD_LVCMOS18>;
601 };
602 };
603
604 pinctrl_i2c1_default: i2c1-default {
605 mux {
606 groups = "i2c1_4_grp";
607 function = "i2c1";
608 };
609
610 conf {
611 groups = "i2c1_4_grp";
612 bias-pull-up;
613 slew-rate = <SLEW_RATE_SLOW>;
614 power-source = <IO_STANDARD_LVCMOS18>;
615 };
616 };
617
618 pinctrl_i2c1_gpio: i2c1-gpio {
619 mux {
620 groups = "gpio0_16_grp", "gpio0_17_grp";
621 function = "gpio0";
622 };
623
624 conf {
625 groups = "gpio0_16_grp", "gpio0_17_grp";
626 slew-rate = <SLEW_RATE_SLOW>;
627 power-source = <IO_STANDARD_LVCMOS18>;
628 };
629 };
630
631 pinctrl_uart0_default: uart0-default {
632 mux {
633 groups = "uart0_4_grp";
634 function = "uart0";
635 };
636
637 conf {
638 groups = "uart0_4_grp";
639 slew-rate = <SLEW_RATE_SLOW>;
640 power-source = <IO_STANDARD_LVCMOS18>;
641 };
642
643 conf-rx {
644 pins = "MIO18";
645 bias-high-impedance;
646 };
647
648 conf-tx {
649 pins = "MIO19";
650 bias-disable;
651 };
652 };
653
654 pinctrl_usb0_default: usb0-default {
655 mux {
656 groups = "usb0_0_grp";
657 function = "usb0";
658 };
659
660 conf {
661 groups = "usb0_0_grp";
Michal Simekf7b922a2021-05-10 13:14:02 +0200662 power-source = <IO_STANDARD_LVCMOS18>;
663 };
664
665 conf-rx {
666 pins = "MIO52", "MIO53", "MIO55";
667 bias-high-impedance;
Ashok Reddy Soma4d0ecf62022-06-15 12:16:13 +0200668 drive-strength = <12>;
669 slew-rate = <SLEW_RATE_FAST>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200670 };
671
672 conf-tx {
673 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
674 "MIO60", "MIO61", "MIO62", "MIO63";
675 bias-disable;
Ashok Reddy Soma4d0ecf62022-06-15 12:16:13 +0200676 drive-strength = <4>;
677 slew-rate = <SLEW_RATE_SLOW>;
Michal Simekf7b922a2021-05-10 13:14:02 +0200678 };
679 };
680
681 pinctrl_gem3_default: gem3-default {
682 mux {
683 function = "ethernet3";
684 groups = "ethernet3_0_grp";
685 };
686
687 conf {
688 groups = "ethernet3_0_grp";
689 slew-rate = <SLEW_RATE_SLOW>;
690 power-source = <IO_STANDARD_LVCMOS18>;
691 };
692
693 conf-rx {
694 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
695 "MIO75";
696 bias-high-impedance;
697 low-power-disable;
698 };
699
700 conf-tx {
701 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
702 "MIO69";
703 bias-disable;
704 low-power-enable;
705 };
706
707 mux-mdio {
708 function = "mdio3";
709 groups = "mdio3_0_grp";
710 };
711
712 conf-mdio {
713 groups = "mdio3_0_grp";
714 slew-rate = <SLEW_RATE_SLOW>;
715 power-source = <IO_STANDARD_LVCMOS18>;
716 bias-disable;
717 };
718 };
719
720 pinctrl_sdhci1_default: sdhci1-default {
721 mux {
722 groups = "sdio1_0_grp";
723 function = "sdio1";
724 };
725
726 conf {
727 groups = "sdio1_0_grp";
728 slew-rate = <SLEW_RATE_SLOW>;
729 power-source = <IO_STANDARD_LVCMOS18>;
730 bias-disable;
731 };
732
733 mux-cd {
734 groups = "sdio1_cd_0_grp";
735 function = "sdio1_cd";
736 };
737
738 conf-cd {
739 groups = "sdio1_cd_0_grp";
740 bias-high-impedance;
741 bias-pull-up;
742 slew-rate = <SLEW_RATE_SLOW>;
743 power-source = <IO_STANDARD_LVCMOS18>;
744 };
745 };
746
747 pinctrl_gpio_default: gpio-default {
748 mux {
749 function = "gpio0";
750 groups = "gpio0_22_grp", "gpio0_23_grp";
751 };
752
753 conf {
754 groups = "gpio0_22_grp", "gpio0_23_grp";
755 slew-rate = <SLEW_RATE_SLOW>;
756 power-source = <IO_STANDARD_LVCMOS18>;
757 };
758
759 mux-msp {
760 function = "gpio0";
761 groups = "gpio0_13_grp", "gpio0_38_grp";
762 };
763
764 conf-msp {
765 groups = "gpio0_13_grp", "gpio0_38_grp";
766 slew-rate = <SLEW_RATE_SLOW>;
767 power-source = <IO_STANDARD_LVCMOS18>;
768 };
769
770 conf-pull-up {
771 pins = "MIO22";
772 bias-pull-up;
773 };
774
775 conf-pull-none {
776 pins = "MIO13", "MIO23", "MIO38";
777 bias-disable;
778 };
779 };
780};
781
Michal Simekae7230c2021-06-03 15:18:04 +0200782&psgtr {
783 status = "okay";
784 /* nc, dp, usb3, sata */
785 clocks = <&si5341 0 0>, <&si5341 0 2>, <&si5341 0 3>;
786 clock-names = "ref1", "ref2", "ref3";
787};
788
Michal Simek7531f862018-03-28 15:55:27 +0200789&qspi {
790 status = "okay";
791 is-dual = <1>;
792 flash@0 {
Neil Armstronga009fa72019-02-10 10:16:20 +0000793 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
Michal Simek7531f862018-03-28 15:55:27 +0200794 #address-cells = <1>;
795 #size-cells = <1>;
796 reg = <0x0>;
Amit Kumar Mahapatraa02408b2022-05-10 16:33:01 +0200797 spi-tx-bus-width = <4>;
Michal Simek7531f862018-03-28 15:55:27 +0200798 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
799 spi-max-frequency = <108000000>; /* Based on DC1 spec */
Michal Simek70fafdf2020-02-14 14:19:56 +0100800 partition@0 { /* for testing purpose */
Michal Simek7531f862018-03-28 15:55:27 +0200801 label = "qspi-fsbl-uboot";
802 reg = <0x0 0x100000>;
803 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100804 partition@100000 { /* for testing purpose */
Michal Simek7531f862018-03-28 15:55:27 +0200805 label = "qspi-linux";
806 reg = <0x100000 0x500000>;
807 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100808 partition@600000 { /* for testing purpose */
Michal Simek7531f862018-03-28 15:55:27 +0200809 label = "qspi-device-tree";
810 reg = <0x600000 0x20000>;
811 };
Michal Simek70fafdf2020-02-14 14:19:56 +0100812 partition@620000 { /* for testing purpose */
Michal Simek7531f862018-03-28 15:55:27 +0200813 label = "qspi-rootfs";
814 reg = <0x620000 0x5E0000>;
815 };
816 };
817};
818
819&rtc {
820 status = "okay";
821};
822
823&sata {
824 status = "okay";
825 /* SATA OOB timing settings */
826 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
827 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
828 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
829 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
830 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
831 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
832 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
833 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
834 phy-names = "sata-phy";
Michal Simekfe8cb0c2021-05-10 14:55:34 +0200835 phys = <&psgtr 3 PHY_TYPE_SATA 1 3>;
Michal Simek7531f862018-03-28 15:55:27 +0200836};
837
838/* SD1 with level shifter */
839&sdhci1 {
840 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200841 pinctrl-names = "default";
842 pinctrl-0 = <&pinctrl_sdhci1_default>;
Michal Simek259fb212018-04-04 14:08:24 +0200843 disable-wp;
Manish Naranie2ba0932020-02-13 23:37:30 -0700844 /*
845 * This property should be removed for supporting UHS mode
846 */
847 no-1-8-v;
Michal Simek3b662642020-07-22 17:42:43 +0200848 xlnx,mio-bank = <1>;
Michal Simek7531f862018-03-28 15:55:27 +0200849};
850
Michal Simek7531f862018-03-28 15:55:27 +0200851&uart0 {
852 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200853 pinctrl-names = "default";
854 pinctrl-0 = <&pinctrl_uart0_default>;
Michal Simek7531f862018-03-28 15:55:27 +0200855};
856
857/* ULPI SMSC USB3320 */
858&usb0 {
859 status = "okay";
Michal Simekf7b922a2021-05-10 13:14:02 +0200860 pinctrl-names = "default";
861 pinctrl-0 = <&pinctrl_usb0_default>;
Manish Naranif3c63382021-07-14 06:17:19 -0600862 phy-names = "usb3-phy";
863 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
Michal Simekfe8cb0c2021-05-10 14:55:34 +0200864};
865
866&dwc3_0 {
867 status = "okay";
Michal Simek958c0e92020-11-26 14:25:02 +0100868 dr_mode = "host";
Michal Simekfe8cb0c2021-05-10 14:55:34 +0200869 snps,usb3_lpm_capable;
Michal Simekeb4b55c2021-05-31 17:51:58 +0200870 maximum-speed = "super-speed";
Michal Simek7531f862018-03-28 15:55:27 +0200871};
872
Michal Simek958c0e92020-11-26 14:25:02 +0100873&zynqmp_dpdma {
Michal Simek7531f862018-03-28 15:55:27 +0200874 status = "okay";
Michal Simek958c0e92020-11-26 14:25:02 +0100875};
876
877&zynqmp_dpsub {
878 status = "okay";
879 phy-names = "dp-phy0", "dp-phy1";
880 phys = <&psgtr 1 PHY_TYPE_DP 0 1>,
881 <&psgtr 0 PHY_TYPE_DP 1 1>;
Michal Simek7531f862018-03-28 15:55:27 +0200882};