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 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>;
117 phy0: ethernet-phy@c {
119 ti,rx-internal-delay = <0x8>;
120 ti,tx-internal-delay = <0xa>;
121 ti,fifo-depth = <0x1>;
122 ti,dp83867-rxctrl-strap-quirk;
132 clock-frequency = <400000>;
133 pinctrl-names = "default", "gpio";
134 pinctrl-0 = <&pinctrl_i2c1_default>;
135 pinctrl-1 = <&pinctrl_i2c1_gpio>;
136 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
137 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
139 tca6416_u97: gpio@20 {
140 compatible = "ti,tca6416";
147 * 0 - IRPS5401_ALERT_B
148 * 1 - HDMI_8T49N241_INT_ALM
150 * 3 - MAX6643_FANFAIL_B
151 * 5 - IIC_MUX_RESET_B
152 * 6 - GEM3_EXP_RESET_B
153 * 7 - FMC_LPC_PRSNT_M2C_B
154 * 4, 10 - 17 - not connected
158 /* Another connection to this bus via PL i2c via PCA9306 - u45 */
159 i2c-mux@74 { /* u34 */
160 compatible = "nxp,pca9548";
161 #address-cells = <1>;
165 #address-cells = <1>;
169 * IIC_EEPROM 1kB memory which uses 256B blocks
170 * where every block has different address.
171 * 0 - 256B address 0x54
172 * 256B - 512B address 0x55
173 * 512B - 768B address 0x56
174 * 768B - 1024B address 0x57
176 eeprom: eeprom@54 { /* u23 */
177 compatible = "atmel,24c08";
179 #address-cells = <1>;
185 #address-cells = <1>;
188 /* 8T49N287 - u182 */
192 #address-cells = <1>;
195 irps5401_43: irps5401@43 { /* IRPS5401 - u175 */
196 compatible = "infineon,irps5401";
197 reg = <0x43>; /* pmbus / i2c 0x13 */
199 irps5401_44: irps5401@44 { /* IRPS5401 - u180 */
200 compatible = "infineon,irps5401";
201 reg = <0x44>; /* pmbus / i2c 0x14 */
206 #address-cells = <1>;
209 u183: ina226@40 { /* u183 */
210 compatible = "ti,ina226";
211 #io-channel-cells = <1>;
213 shunt-resistor = <5000>;
218 #address-cells = <1>;
224 #address-cells = <1>;
229 /* 4, 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 slew-rate = <SLEW_RATE_SLOW>;
414 power-source = <IO_STANDARD_LVCMOS18>;
415 drive-strength = <12>;
419 pins = "MIO52", "MIO53", "MIO55";
424 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
425 "MIO60", "MIO61", "MIO62", "MIO63";
433 /* nc, sata, usb3, dp */
434 clocks = <&clock_8t49n287_5>, <&clock_8t49n287_2>, <&clock_8t49n287_3>;
435 clock-names = "ref1", "ref2", "ref3";
441 compatible = "m25p80", "jedec,spi-nor"; /* n25q512a 128MiB */
442 #address-cells = <1>;
445 spi-tx-bus-width = <1>;
446 spi-rx-bus-width = <4>;
447 spi-max-frequency = <108000000>; /* Based on DC1 spec */
457 /* SATA OOB timing settings */
458 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
459 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
460 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
461 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
462 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
463 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
464 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
465 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
466 phy-names = "sata-phy";
467 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
470 /* SD1 with level shifter */
474 pinctrl-names = "default";
475 pinctrl-0 = <&pinctrl_sdhci1_default>;
482 pinctrl-names = "default";
483 pinctrl-0 = <&pinctrl_uart0_default>;
488 pinctrl-names = "default";
489 pinctrl-0 = <&pinctrl_uart1_default>;
492 /* ULPI SMSC USB3320 */
495 pinctrl-names = "default";
496 pinctrl-0 = <&pinctrl_usb0_default>;
497 phy-names = "usb3-phy";
498 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
504 snps,usb3_lpm_capable;
505 maximum-speed = "super-speed";
518 phy-names = "dp-phy0", "dp-phy1";
519 phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
520 <&psgtr 0 PHY_TYPE_DP 1 3>;