1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU104
5 * (C) Copyright 2017 - 2022, Xilinx, Inc.
6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
8 * Michal Simek <michal.simek@amd.com>
13 #include "zynqmp.dtsi"
14 #include "zynqmp-clk-ccf.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
17 #include <dt-bindings/phy/phy.h>
20 model = "ZynqMP ZCU104 RevA";
21 compatible = "xlnx,zynqmp-zcu104-revA", "xlnx,zynqmp-zcu104", "xlnx,zynqmp";
37 bootargs = "earlycon";
38 stdout-path = "serial0:115200n8";
42 device_type = "memory";
43 reg = <0x0 0x0 0x0 0x80000000>;
46 clock_8t49n287_5: clk125 {
47 compatible = "fixed-clock";
49 clock-frequency = <125000000>;
52 clock_8t49n287_2: clk26 {
53 compatible = "fixed-clock";
55 clock-frequency = <26000000>;
58 clock_8t49n287_3: clk27 {
59 compatible = "fixed-clock";
61 clock-frequency = <27000000>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_can1_default>;
109 phy-handle = <&phy0>;
110 phy-mode = "rgmii-id";
111 pinctrl-names = "default";
112 pinctrl-0 = <&pinctrl_gem3_default>;
114 #address-cells = <1>;
116 phy0: ethernet-phy@c {
118 compatible = "ethernet-phy-id2000.a231";
120 ti,rx-internal-delay = <0x8>;
121 ti,tx-internal-delay = <0xa>;
122 ti,fifo-depth = <0x1>;
123 ti,dp83867-rxctrl-strap-quirk;
124 reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>;
139 clock-frequency = <400000>;
140 pinctrl-names = "default", "gpio";
141 pinctrl-0 = <&pinctrl_i2c1_default>;
142 pinctrl-1 = <&pinctrl_i2c1_gpio>;
143 scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
144 sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
146 /* Another connection to this bus via PL i2c via PCA9306 - u45 */
147 i2c-mux@74 { /* u34 */
148 compatible = "nxp,pca9548";
149 #address-cells = <1>;
153 #address-cells = <1>;
157 * IIC_EEPROM 1kB memory which uses 256B blocks
158 * where every block has different address.
159 * 0 - 256B address 0x54
160 * 256B - 512B address 0x55
161 * 512B - 768B address 0x56
162 * 768B - 1024B address 0x57
164 eeprom: eeprom@54 { /* u23 */
165 compatible = "atmel,24c08";
167 #address-cells = <1>;
173 #address-cells = <1>;
176 /* 8T49N287 - u182 */
180 #address-cells = <1>;
183 irps5401_43: irps5401@43 { /* IRPS5401 - u175 */
184 compatible = "infineon,irps5401";
185 reg = <0x43>; /* pmbus / i2c 0x13 */
187 irps5401_44: irps5401@44 { /* IRPS5401 - u180 */
188 compatible = "infineon,irps5401";
189 reg = <0x44>; /* pmbus / i2c 0x14 */
194 #address-cells = <1>;
197 tca6416_u97: gpio@20 {
198 compatible = "ti,tca6416";
205 * 0 - IRPS5401_ALERT_B
206 * 1 - HDMI_8T49N241_INT_ALM
208 * 3 - MAX6643_FANFAIL_B
209 * 5 - IIC_MUX_RESET_B
210 * 6 - GEM3_EXP_RESET_B
211 * 7 - FMC_LPC_PRSNT_M2C_B
212 * 4, 10 - 17 - not connected
218 #address-cells = <1>;
224 #address-cells = <1>;
229 /* 3, 6 not connected */
236 pinctrl_can1_default: can1-default {
239 groups = "can1_6_grp";
243 groups = "can1_6_grp";
244 slew-rate = <SLEW_RATE_SLOW>;
245 power-source = <IO_STANDARD_LVCMOS18>;
246 drive-strength = <12>;
260 pinctrl_i2c1_default: i2c1-default {
262 groups = "i2c1_4_grp";
267 groups = "i2c1_4_grp";
269 slew-rate = <SLEW_RATE_SLOW>;
270 power-source = <IO_STANDARD_LVCMOS18>;
271 drive-strength = <12>;
275 pinctrl_i2c1_gpio: i2c1-gpio {
277 groups = "gpio0_16_grp", "gpio0_17_grp";
282 groups = "gpio0_16_grp", "gpio0_17_grp";
283 slew-rate = <SLEW_RATE_SLOW>;
284 power-source = <IO_STANDARD_LVCMOS18>;
285 drive-strength = <12>;
289 pinctrl_gem3_default: gem3-default {
291 function = "ethernet3";
292 groups = "ethernet3_0_grp";
296 groups = "ethernet3_0_grp";
297 slew-rate = <SLEW_RATE_SLOW>;
298 power-source = <IO_STANDARD_LVCMOS18>;
299 drive-strength = <12>;
303 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
310 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
318 groups = "mdio3_0_grp";
322 groups = "mdio3_0_grp";
323 slew-rate = <SLEW_RATE_SLOW>;
324 power-source = <IO_STANDARD_LVCMOS18>;
329 pinctrl_sdhci1_default: sdhci1-default {
331 groups = "sdio1_0_grp";
336 groups = "sdio1_0_grp";
337 slew-rate = <SLEW_RATE_SLOW>;
338 power-source = <IO_STANDARD_LVCMOS18>;
340 drive-strength = <12>;
344 groups = "sdio1_cd_0_grp";
345 function = "sdio1_cd";
349 groups = "sdio1_cd_0_grp";
352 slew-rate = <SLEW_RATE_SLOW>;
353 power-source = <IO_STANDARD_LVCMOS18>;
357 pinctrl_uart0_default: uart0-default {
359 groups = "uart0_4_grp";
364 groups = "uart0_4_grp";
365 slew-rate = <SLEW_RATE_SLOW>;
366 power-source = <IO_STANDARD_LVCMOS18>;
367 drive-strength = <12>;
381 pinctrl_uart1_default: uart1-default {
383 groups = "uart1_5_grp";
388 groups = "uart1_5_grp";
389 slew-rate = <SLEW_RATE_SLOW>;
390 power-source = <IO_STANDARD_LVCMOS18>;
391 drive-strength = <12>;
405 pinctrl_usb0_default: usb0-default {
407 groups = "usb0_0_grp";
412 groups = "usb0_0_grp";
413 power-source = <IO_STANDARD_LVCMOS18>;
417 pins = "MIO52", "MIO53", "MIO55";
419 drive-strength = <12>;
420 slew-rate = <SLEW_RATE_FAST>;
424 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
425 "MIO60", "MIO61", "MIO62", "MIO63";
427 drive-strength = <4>;
428 slew-rate = <SLEW_RATE_SLOW>;
435 /* nc, sata, usb3, dp */
436 clocks = <&clock_8t49n287_5>, <&clock_8t49n287_2>, <&clock_8t49n287_3>;
437 clock-names = "ref1", "ref2", "ref3";
443 compatible = "m25p80", "jedec,spi-nor"; /* n25q512a 128MiB */
444 #address-cells = <1>;
447 spi-tx-bus-width = <4>;
448 spi-rx-bus-width = <4>;
449 spi-max-frequency = <108000000>; /* Based on DC1 spec */
459 /* SATA OOB timing settings */
460 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
461 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
462 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
463 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
464 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
465 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
466 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
467 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
468 phy-names = "sata-phy";
469 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
472 /* SD1 with level shifter */
476 pinctrl-names = "default";
477 pinctrl-0 = <&pinctrl_sdhci1_default>;
484 pinctrl-names = "default";
485 pinctrl-0 = <&pinctrl_uart0_default>;
490 pinctrl-names = "default";
491 pinctrl-0 = <&pinctrl_uart1_default>;
494 /* ULPI SMSC USB3320 */
497 pinctrl-names = "default";
498 pinctrl-0 = <&pinctrl_usb0_default>;
499 phy-names = "usb3-phy";
500 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
506 snps,usb3_lpm_capable;
507 maximum-speed = "super-speed";
532 phy-names = "dp-phy0", "dp-phy1";
533 phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
534 <&psgtr 0 PHY_TYPE_DP 1 3>;