1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU104
5 * (C) Copyright 2017 - 2018, 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>;
48 pinctrl-names = "default";
49 pinctrl-0 = <&pinctrl_can1_default>;
59 phy-mode = "rgmii-id";
60 pinctrl-names = "default";
61 pinctrl-0 = <&pinctrl_gem3_default>;
64 ti,rx-internal-delay = <0x8>;
65 ti,tx-internal-delay = <0xa>;
66 ti,fifo-depth = <0x1>;
67 ti,rxctrl-strap-worka;
81 clock-frequency = <400000>;
82 pinctrl-names = "default", "gpio";
83 pinctrl-0 = <&pinctrl_i2c1_default>;
84 pinctrl-1 = <&pinctrl_i2c1_gpio>;
85 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
86 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
88 tca6416_u97: gpio@21 {
89 compatible = "ti,tca6416";
96 * 0 - IRPS5401_ALERT_B
97 * 1 - HDMI_8T49N241_INT_ALM
99 * 3 - MAX6643_FANFAIL_B
100 * 5 - IIC_MUX_RESET_B
101 * 6 - GEM3_EXP_RESET_B
102 * 7 - FMC_LPC_PRSNT_M2C_B
103 * 4, 10 - 17 - not connected
107 /* Another connection to this bus via PL i2c via PCA9306 - u45 */
108 i2c-mux@74 { /* u34 */
109 compatible = "nxp,pca9548";
110 #address-cells = <1>;
114 #address-cells = <1>;
118 * IIC_EEPROM 1kB memory which uses 256B blocks
119 * where every block has different address.
120 * 0 - 256B address 0x54
121 * 256B - 512B address 0x55
122 * 512B - 768B address 0x56
123 * 768B - 1024B address 0x57
125 eeprom@54 { /* u23 */
126 compatible = "atmel,24c08";
128 #address-cells = <1>;
134 #address-cells = <1>;
137 clock_8t49n287: clock-generator@6c { /* 8T49N287 - u182 */
138 compatible = "idt,8t49n287";
144 #address-cells = <1>;
147 irps5401_43: irps54012@43 { /* IRPS5401 - u175 */
149 compatible = "infineon,irps5401";
152 irps5401_4d: irps54012@4d { /* IRPS5401 - u180 */
154 compatible = "infineon,irps5401";
160 #address-cells = <1>;
166 #address-cells = <1>;
172 #address-cells = <1>;
177 /* 3, 6 not connected */
184 pinctrl_can1_default: can1-default {
187 groups = "can1_6_grp";
191 groups = "can1_6_grp";
192 slew-rate = <SLEW_RATE_SLOW>;
193 io-standard = <IO_STANDARD_LVCMOS18>;
194 drive-strength = <12>;
208 pinctrl_i2c1_default: i2c1-default {
210 groups = "i2c1_4_grp";
215 groups = "i2c1_4_grp";
217 slew-rate = <SLEW_RATE_SLOW>;
218 io-standard = <IO_STANDARD_LVCMOS18>;
219 drive-strength = <12>;
223 pinctrl_i2c1_gpio: i2c1-gpio {
225 groups = "gpio0_16_grp", "gpio0_17_grp";
230 groups = "gpio0_16_grp", "gpio0_17_grp";
231 slew-rate = <SLEW_RATE_SLOW>;
232 io-standard = <IO_STANDARD_LVCMOS18>;
233 drive-strength = <12>;
237 pinctrl_gem3_default: gem3-default {
239 function = "ethernet3";
240 groups = "ethernet3_0_grp";
244 groups = "ethernet3_0_grp";
245 slew-rate = <SLEW_RATE_SLOW>;
246 io-standard = <IO_STANDARD_LVCMOS18>;
247 drive-strength = <12>;
251 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
258 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
266 groups = "mdio3_0_grp";
270 groups = "mdio3_0_grp";
271 slew-rate = <SLEW_RATE_SLOW>;
272 io-standard = <IO_STANDARD_LVCMOS18>;
277 pinctrl_sdhci1_default: sdhci1-default {
279 groups = "sdio1_0_grp";
284 groups = "sdio1_0_grp";
285 slew-rate = <SLEW_RATE_SLOW>;
286 io-standard = <IO_STANDARD_LVCMOS18>;
288 drive-strength = <12>;
292 groups = "sdio1_cd_0_grp";
293 function = "sdio1_cd";
297 groups = "sdio1_cd_0_grp";
300 slew-rate = <SLEW_RATE_SLOW>;
301 io-standard = <IO_STANDARD_LVCMOS18>;
305 pinctrl_uart0_default: uart0-default {
307 groups = "uart0_4_grp";
312 groups = "uart0_4_grp";
313 slew-rate = <SLEW_RATE_SLOW>;
314 io-standard = <IO_STANDARD_LVCMOS18>;
315 drive-strength = <12>;
329 pinctrl_uart1_default: uart1-default {
331 groups = "uart1_5_grp";
336 groups = "uart1_5_grp";
337 slew-rate = <SLEW_RATE_SLOW>;
338 io-standard = <IO_STANDARD_LVCMOS18>;
339 drive-strength = <12>;
353 pinctrl_usb0_default: usb0-default {
355 groups = "usb0_0_grp";
360 groups = "usb0_0_grp";
361 slew-rate = <SLEW_RATE_SLOW>;
362 io-standard = <IO_STANDARD_LVCMOS18>;
363 drive-strength = <12>;
367 pins = "MIO52", "MIO53", "MIO55";
372 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
373 "MIO60", "MIO61", "MIO62", "MIO63";
382 compatible = "m25p80"; /* n25q512a 128MiB */
383 #address-cells = <1>;
386 spi-tx-bus-width = <1>;
387 spi-rx-bus-width = <4>;
388 spi-max-frequency = <108000000>; /* Based on DC1 spec */
389 partition@qspi-fsbl-uboot { /* for testing purpose */
390 label = "qspi-fsbl-uboot";
391 reg = <0x0 0x100000>;
393 partition@qspi-linux { /* for testing purpose */
394 label = "qspi-linux";
395 reg = <0x100000 0x500000>;
397 partition@qspi-device-tree { /* for testing purpose */
398 label = "qspi-device-tree";
399 reg = <0x600000 0x20000>;
401 partition@qspi-rootfs { /* for testing purpose */
402 label = "qspi-rootfs";
403 reg = <0x620000 0x5E0000>;
414 /* SATA OOB timing settings */
415 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
416 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
417 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
418 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
419 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
420 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
421 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
422 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
423 phy-names = "sata-phy";
424 phys = <&lane3 PHY_TYPE_SATA 1 1 125000000>;
427 /* SD1 with level shifter */
431 pinctrl-names = "default";
432 pinctrl-0 = <&pinctrl_sdhci1_default>;
443 pinctrl-names = "default";
444 pinctrl-0 = <&pinctrl_uart0_default>;
449 pinctrl-names = "default";
450 pinctrl-0 = <&pinctrl_uart1_default>;
453 /* ULPI SMSC USB3320 */
456 pinctrl-names = "default";
457 pinctrl-0 = <&pinctrl_usb0_default>;
463 snps,usb3_lpm_capable;
464 phy-names = "usb3-phy";
465 phys = <&lane2 PHY_TYPE_USB3 0 2 26000000>;
466 maximum-speed = "super-speed";
487 phy-names = "dp-phy0", "dp-phy1";
488 phys = <&lane1 PHY_TYPE_DP 0 3 27000000>, <&lane0 PHY_TYPE_DP 1 3 27000000>;
491 &zynqmp_dp_snd_pcm0 {
495 &zynqmp_dp_snd_pcm1 {
499 &zynqmp_dp_snd_card0 {
503 &zynqmp_dp_snd_codec0 {