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@amd.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 RevC";
20 compatible = "xlnx,zynqmp-zcu104-revC", "xlnx,zynqmp-zcu104", "xlnx,zynqmp";
36 bootargs = "earlycon";
37 stdout-path = "serial0:115200n8";
41 device_type = "memory";
42 reg = <0x0 0x0 0x0 0x80000000>;
46 compatible = "iio-hwmon";
47 io-channels = <&u183 0>, <&u183 1>, <&u183 2>, <&u183 3>;
50 clock_8t49n287_5: clk125 {
51 compatible = "fixed-clock";
53 clock-frequency = <125000000>;
56 clock_8t49n287_2: clk26 {
57 compatible = "fixed-clock";
59 clock-frequency = <26000000>;
62 clock_8t49n287_3: clk27 {
63 compatible = "fixed-clock";
65 clock-frequency = <27000000>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&pinctrl_can1_default>;
113 phy-handle = <&phy0>;
114 phy-mode = "rgmii-id";
115 pinctrl-names = "default";
116 pinctrl-0 = <&pinctrl_gem3_default>;
118 #address-cells = <1>;
120 phy0: ethernet-phy@c {
122 compatible = "ethernet-phy-id2000.a231";
124 ti,rx-internal-delay = <0x8>;
125 ti,tx-internal-delay = <0xa>;
126 ti,fifo-depth = <0x1>;
127 ti,dp83867-rxctrl-strap-quirk;
128 reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>;
143 clock-frequency = <400000>;
144 pinctrl-names = "default", "gpio";
145 pinctrl-0 = <&pinctrl_i2c1_default>;
146 pinctrl-1 = <&pinctrl_i2c1_gpio>;
147 scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
148 sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
150 tca6416_u97: gpio@20 {
151 compatible = "ti,tca6416";
158 * 0 - IRPS5401_ALERT_B
159 * 1 - HDMI_8T49N241_INT_ALM
161 * 3 - MAX6643_FANFAIL_B
162 * 5 - IIC_MUX_RESET_B
163 * 6 - GEM3_EXP_RESET_B
164 * 7 - FMC_LPC_PRSNT_M2C_B
165 * 4, 10 - 17 - not connected
169 /* Another connection to this bus via PL i2c via PCA9306 - u45 */
170 i2c-mux@74 { /* u34 */
171 compatible = "nxp,pca9548";
172 #address-cells = <1>;
176 #address-cells = <1>;
180 * IIC_EEPROM 1kB memory which uses 256B blocks
181 * where every block has different address.
182 * 0 - 256B address 0x54
183 * 256B - 512B address 0x55
184 * 512B - 768B address 0x56
185 * 768B - 1024B address 0x57
187 eeprom: eeprom@54 { /* u23 */
188 compatible = "atmel,24c08";
190 #address-cells = <1>;
196 #address-cells = <1>;
199 /* 8T49N287 - u182 */
203 #address-cells = <1>;
206 irps5401_43: irps5401@43 { /* IRPS5401 - u175 */
207 compatible = "infineon,irps5401";
208 reg = <0x43>; /* pmbus / i2c 0x13 */
210 irps5401_44: irps5401@44 { /* IRPS5401 - u180 */
211 compatible = "infineon,irps5401";
212 reg = <0x44>; /* pmbus / i2c 0x14 */
217 #address-cells = <1>;
220 u183: ina226@40 { /* u183 */
221 compatible = "ti,ina226";
222 #io-channel-cells = <1>;
224 shunt-resistor = <5000>;
229 #address-cells = <1>;
235 #address-cells = <1>;
240 /* 4, 6 not connected */
247 pinctrl_can1_default: can1-default {
250 groups = "can1_6_grp";
254 groups = "can1_6_grp";
255 slew-rate = <SLEW_RATE_SLOW>;
256 power-source = <IO_STANDARD_LVCMOS18>;
257 drive-strength = <12>;
271 pinctrl_i2c1_default: i2c1-default {
273 groups = "i2c1_4_grp";
278 groups = "i2c1_4_grp";
280 slew-rate = <SLEW_RATE_SLOW>;
281 power-source = <IO_STANDARD_LVCMOS18>;
282 drive-strength = <12>;
286 pinctrl_i2c1_gpio: i2c1-gpio {
288 groups = "gpio0_16_grp", "gpio0_17_grp";
293 groups = "gpio0_16_grp", "gpio0_17_grp";
294 slew-rate = <SLEW_RATE_SLOW>;
295 power-source = <IO_STANDARD_LVCMOS18>;
296 drive-strength = <12>;
300 pinctrl_gem3_default: gem3-default {
302 function = "ethernet3";
303 groups = "ethernet3_0_grp";
307 groups = "ethernet3_0_grp";
308 slew-rate = <SLEW_RATE_SLOW>;
309 power-source = <IO_STANDARD_LVCMOS18>;
310 drive-strength = <12>;
314 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
321 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
329 groups = "mdio3_0_grp";
333 groups = "mdio3_0_grp";
334 slew-rate = <SLEW_RATE_SLOW>;
335 power-source = <IO_STANDARD_LVCMOS18>;
340 pinctrl_sdhci1_default: sdhci1-default {
342 groups = "sdio1_0_grp";
347 groups = "sdio1_0_grp";
348 slew-rate = <SLEW_RATE_SLOW>;
349 power-source = <IO_STANDARD_LVCMOS18>;
351 drive-strength = <12>;
355 groups = "sdio1_cd_0_grp";
356 function = "sdio1_cd";
360 groups = "sdio1_cd_0_grp";
363 slew-rate = <SLEW_RATE_SLOW>;
364 power-source = <IO_STANDARD_LVCMOS18>;
368 pinctrl_uart0_default: uart0-default {
370 groups = "uart0_4_grp";
375 groups = "uart0_4_grp";
376 slew-rate = <SLEW_RATE_SLOW>;
377 power-source = <IO_STANDARD_LVCMOS18>;
378 drive-strength = <12>;
392 pinctrl_uart1_default: uart1-default {
394 groups = "uart1_5_grp";
399 groups = "uart1_5_grp";
400 slew-rate = <SLEW_RATE_SLOW>;
401 power-source = <IO_STANDARD_LVCMOS18>;
402 drive-strength = <12>;
416 pinctrl_usb0_default: usb0-default {
418 groups = "usb0_0_grp";
423 groups = "usb0_0_grp";
424 power-source = <IO_STANDARD_LVCMOS18>;
428 pins = "MIO52", "MIO53", "MIO55";
430 drive-strength = <12>;
431 slew-rate = <SLEW_RATE_FAST>;
435 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
436 "MIO60", "MIO61", "MIO62", "MIO63";
438 drive-strength = <4>;
439 slew-rate = <SLEW_RATE_SLOW>;
446 /* nc, sata, usb3, dp */
447 clocks = <&clock_8t49n287_5>, <&clock_8t49n287_2>, <&clock_8t49n287_3>;
448 clock-names = "ref1", "ref2", "ref3";
454 compatible = "m25p80", "jedec,spi-nor"; /* n25q512a 128MiB */
455 #address-cells = <1>;
458 spi-tx-bus-width = <4>;
459 spi-rx-bus-width = <4>;
460 spi-max-frequency = <108000000>; /* Based on DC1 spec */
461 partition@0 { /* for testing purpose */
462 label = "qspi-fsbl-uboot";
463 reg = <0x0 0x100000>;
465 partition@100000 { /* for testing purpose */
466 label = "qspi-linux";
467 reg = <0x100000 0x500000>;
469 partition@600000 { /* for testing purpose */
470 label = "qspi-device-tree";
471 reg = <0x600000 0x20000>;
473 partition@620000 { /* for testing purpose */
474 label = "qspi-rootfs";
475 reg = <0x620000 0x5E0000>;
486 /* SATA OOB timing settings */
487 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
488 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
489 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
490 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
491 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
492 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
493 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
494 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
495 phy-names = "sata-phy";
496 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
499 /* SD1 with level shifter */
503 pinctrl-names = "default";
504 pinctrl-0 = <&pinctrl_sdhci1_default>;
511 pinctrl-names = "default";
512 pinctrl-0 = <&pinctrl_uart0_default>;
517 pinctrl-names = "default";
518 pinctrl-0 = <&pinctrl_uart1_default>;
521 /* ULPI SMSC USB3320 */
524 pinctrl-names = "default";
525 pinctrl-0 = <&pinctrl_usb0_default>;
526 phy-names = "usb3-phy";
527 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
533 snps,usb3_lpm_capable;
534 maximum-speed = "super-speed";
559 phy-names = "dp-phy0", "dp-phy1";
560 phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
561 <&psgtr 0 PHY_TYPE_DP 1 3>;