1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU104
5 * (C) Copyright 2017 - 2021, Xilinx, Inc.
7 * Michal Simek <michal.simek@xilinx.com>
12 #include "zynqmp.dtsi"
13 #include "zynqmp-clk-ccf.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
16 #include <dt-bindings/phy/phy.h>
19 model = "ZynqMP ZCU104 RevA";
20 compatible = "xlnx,zynqmp-zcu104-revA", "xlnx,zynqmp-zcu104", "xlnx,zynqmp";
36 bootargs = "earlycon";
37 stdout-path = "serial0:115200n8";
41 device_type = "memory";
42 reg = <0x0 0x0 0x0 0x80000000>;
45 clock_8t49n287_5: clk125 {
46 compatible = "fixed-clock";
48 clock-frequency = <125000000>;
51 clock_8t49n287_2: clk26 {
52 compatible = "fixed-clock";
54 clock-frequency = <26000000>;
57 clock_8t49n287_3: clk27 {
58 compatible = "fixed-clock";
60 clock-frequency = <27000000>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&pinctrl_can1_default>;
108 phy-handle = <&phy0>;
109 phy-mode = "rgmii-id";
110 pinctrl-names = "default";
111 pinctrl-0 = <&pinctrl_gem3_default>;
112 phy0: ethernet-phy@c {
114 ti,rx-internal-delay = <0x8>;
115 ti,tx-internal-delay = <0xa>;
116 ti,fifo-depth = <0x1>;
117 ti,dp83867-rxctrl-strap-quirk;
131 clock-frequency = <400000>;
132 pinctrl-names = "default", "gpio";
133 pinctrl-0 = <&pinctrl_i2c1_default>;
134 pinctrl-1 = <&pinctrl_i2c1_gpio>;
135 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
136 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
138 /* Another connection to this bus via PL i2c via PCA9306 - u45 */
139 i2c-mux@74 { /* u34 */
140 compatible = "nxp,pca9548";
141 #address-cells = <1>;
145 #address-cells = <1>;
149 * IIC_EEPROM 1kB memory which uses 256B blocks
150 * where every block has different address.
151 * 0 - 256B address 0x54
152 * 256B - 512B address 0x55
153 * 512B - 768B address 0x56
154 * 768B - 1024B address 0x57
156 eeprom: eeprom@54 { /* u23 */
157 compatible = "atmel,24c08";
159 #address-cells = <1>;
165 #address-cells = <1>;
168 /* 8T49N287 - u182 */
172 #address-cells = <1>;
175 irps5401_43: irps5401@43 { /* IRPS5401 - u175 */
176 compatible = "infineon,irps5401";
177 reg = <0x43>; /* pmbus / i2c 0x13 */
179 irps5401_44: irps5401@44 { /* IRPS5401 - u180 */
180 compatible = "infineon,irps5401";
181 reg = <0x44>; /* pmbus / i2c 0x14 */
186 #address-cells = <1>;
189 tca6416_u97: gpio@20 {
190 compatible = "ti,tca6416";
197 * 0 - IRPS5401_ALERT_B
198 * 1 - HDMI_8T49N241_INT_ALM
200 * 3 - MAX6643_FANFAIL_B
201 * 5 - IIC_MUX_RESET_B
202 * 6 - GEM3_EXP_RESET_B
203 * 7 - FMC_LPC_PRSNT_M2C_B
204 * 4, 10 - 17 - not connected
210 #address-cells = <1>;
216 #address-cells = <1>;
221 /* 3, 6 not connected */
228 pinctrl_can1_default: can1-default {
231 groups = "can1_6_grp";
235 groups = "can1_6_grp";
236 slew-rate = <SLEW_RATE_SLOW>;
237 power-source = <IO_STANDARD_LVCMOS18>;
238 drive-strength = <12>;
252 pinctrl_i2c1_default: i2c1-default {
254 groups = "i2c1_4_grp";
259 groups = "i2c1_4_grp";
261 slew-rate = <SLEW_RATE_SLOW>;
262 power-source = <IO_STANDARD_LVCMOS18>;
263 drive-strength = <12>;
267 pinctrl_i2c1_gpio: i2c1-gpio {
269 groups = "gpio0_16_grp", "gpio0_17_grp";
274 groups = "gpio0_16_grp", "gpio0_17_grp";
275 slew-rate = <SLEW_RATE_SLOW>;
276 power-source = <IO_STANDARD_LVCMOS18>;
277 drive-strength = <12>;
281 pinctrl_gem3_default: gem3-default {
283 function = "ethernet3";
284 groups = "ethernet3_0_grp";
288 groups = "ethernet3_0_grp";
289 slew-rate = <SLEW_RATE_SLOW>;
290 power-source = <IO_STANDARD_LVCMOS18>;
291 drive-strength = <12>;
295 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
302 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
310 groups = "mdio3_0_grp";
314 groups = "mdio3_0_grp";
315 slew-rate = <SLEW_RATE_SLOW>;
316 power-source = <IO_STANDARD_LVCMOS18>;
321 pinctrl_sdhci1_default: sdhci1-default {
323 groups = "sdio1_0_grp";
328 groups = "sdio1_0_grp";
329 slew-rate = <SLEW_RATE_SLOW>;
330 power-source = <IO_STANDARD_LVCMOS18>;
332 drive-strength = <12>;
336 groups = "sdio1_cd_0_grp";
337 function = "sdio1_cd";
341 groups = "sdio1_cd_0_grp";
344 slew-rate = <SLEW_RATE_SLOW>;
345 power-source = <IO_STANDARD_LVCMOS18>;
349 pinctrl_uart0_default: uart0-default {
351 groups = "uart0_4_grp";
356 groups = "uart0_4_grp";
357 slew-rate = <SLEW_RATE_SLOW>;
358 power-source = <IO_STANDARD_LVCMOS18>;
359 drive-strength = <12>;
373 pinctrl_uart1_default: uart1-default {
375 groups = "uart1_5_grp";
380 groups = "uart1_5_grp";
381 slew-rate = <SLEW_RATE_SLOW>;
382 power-source = <IO_STANDARD_LVCMOS18>;
383 drive-strength = <12>;
397 pinctrl_usb0_default: usb0-default {
399 groups = "usb0_0_grp";
404 groups = "usb0_0_grp";
405 slew-rate = <SLEW_RATE_SLOW>;
406 power-source = <IO_STANDARD_LVCMOS18>;
407 drive-strength = <12>;
411 pins = "MIO52", "MIO53", "MIO55";
416 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
417 "MIO60", "MIO61", "MIO62", "MIO63";
425 /* nc, sata, usb3, dp */
426 clocks = <&clock_8t49n287_5>, <&clock_8t49n287_2>, <&clock_8t49n287_3>;
427 clock-names = "ref1", "ref2", "ref3";
433 compatible = "m25p80", "jedec,spi-nor"; /* n25q512a 128MiB */
434 #address-cells = <1>;
437 spi-tx-bus-width = <1>;
438 spi-rx-bus-width = <4>;
439 spi-max-frequency = <108000000>; /* Based on DC1 spec */
440 partition@0 { /* for testing purpose */
441 label = "qspi-fsbl-uboot";
442 reg = <0x0 0x100000>;
444 partition@100000 { /* for testing purpose */
445 label = "qspi-linux";
446 reg = <0x100000 0x500000>;
448 partition@600000 { /* for testing purpose */
449 label = "qspi-device-tree";
450 reg = <0x600000 0x20000>;
452 partition@620000 { /* for testing purpose */
453 label = "qspi-rootfs";
454 reg = <0x620000 0x5E0000>;
465 /* SATA OOB timing settings */
466 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
467 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
468 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
469 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
470 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
471 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
472 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
473 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
474 phy-names = "sata-phy";
475 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
478 /* SD1 with level shifter */
482 pinctrl-names = "default";
483 pinctrl-0 = <&pinctrl_sdhci1_default>;
490 pinctrl-names = "default";
491 pinctrl-0 = <&pinctrl_uart0_default>;
496 pinctrl-names = "default";
497 pinctrl-0 = <&pinctrl_uart1_default>;
500 /* ULPI SMSC USB3320 */
503 pinctrl-names = "default";
504 pinctrl-0 = <&pinctrl_usb0_default>;
510 snps,usb3_lpm_capable;
511 phy-names = "usb3-phy";
512 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
513 maximum-speed = "super-speed";
538 phy-names = "dp-phy0", "dp-phy1";
539 phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
540 <&psgtr 0 PHY_TYPE_DP 1 3>;