1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU106
5 * (C) Copyright 2016 - 2021, Xilinx, Inc.
7 * Michal Simek <michal.simek@xilinx.com>
12 #include "zynqmp.dtsi"
13 #include "zynqmp-clk-ccf.dtsi"
14 #include <dt-bindings/input/input.h>
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 ZCU106 RevA";
21 compatible = "xlnx,zynqmp-zcu106-revA", "xlnx,zynqmp-zcu106", "xlnx,zynqmp";
38 bootargs = "earlycon";
39 stdout-path = "serial0:115200n8";
43 device_type = "memory";
44 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
48 compatible = "gpio-keys";
52 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
53 linux,code = <KEY_DOWN>;
60 compatible = "gpio-leds";
63 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
64 linux,default-trigger = "heartbeat";
69 compatible = "iio-hwmon";
70 io-channels = <&u76 0>, <&u76 1>, <&u76 2>, <&u76 3>;
73 compatible = "iio-hwmon";
74 io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>;
77 compatible = "iio-hwmon";
78 io-channels = <&u78 0>, <&u78 1>, <&u78 2>, <&u78 3>;
81 compatible = "iio-hwmon";
82 io-channels = <&u87 0>, <&u87 1>, <&u87 2>, <&u87 3>;
85 compatible = "iio-hwmon";
86 io-channels = <&u85 0>, <&u85 1>, <&u85 2>, <&u85 3>;
89 compatible = "iio-hwmon";
90 io-channels = <&u86 0>, <&u86 1>, <&u86 2>, <&u86 3>;
93 compatible = "iio-hwmon";
94 io-channels = <&u93 0>, <&u93 1>, <&u93 2>, <&u93 3>;
97 compatible = "iio-hwmon";
98 io-channels = <&u88 0>, <&u88 1>, <&u88 2>, <&u88 3>;
101 compatible = "iio-hwmon";
102 io-channels = <&u15 0>, <&u15 1>, <&u15 2>, <&u15 3>;
105 compatible = "iio-hwmon";
106 io-channels = <&u92 0>, <&u92 1>, <&u92 2>, <&u92 3>;
109 compatible = "iio-hwmon";
110 io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>;
113 compatible = "iio-hwmon";
114 io-channels = <&u81 0>, <&u81 1>, <&u81 2>, <&u81 3>;
117 compatible = "iio-hwmon";
118 io-channels = <&u80 0>, <&u80 1>, <&u80 2>, <&u80 3>;
121 compatible = "iio-hwmon";
122 io-channels = <&u84 0>, <&u84 1>, <&u84 2>, <&u84 3>;
125 compatible = "iio-hwmon";
126 io-channels = <&u16 0>, <&u16 1>, <&u16 2>, <&u16 3>;
129 compatible = "iio-hwmon";
130 io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>;
133 compatible = "iio-hwmon";
134 io-channels = <&u74 0>, <&u74 1>, <&u74 2>, <&u74 3>;
137 compatible = "iio-hwmon";
138 io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>;
141 /* 48MHz reference crystal */
143 compatible = "fixed-clock";
145 clock-frequency = <48000000>;
149 compatible = "fixed-clock";
151 clock-frequency = <114285000>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_can1_default>;
199 phy-handle = <&phy0>;
200 phy-mode = "rgmii-id";
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_gem3_default>;
203 phy0: ethernet-phy@c {
205 ti,rx-internal-delay = <0x8>;
206 ti,tx-internal-delay = <0xa>;
207 ti,fifo-depth = <0x1>;
208 ti,dp83867-rxctrl-strap-quirk;
214 pinctrl-names = "default";
215 pinctrl-0 = <&pinctrl_gpio_default>;
220 clock-frequency = <400000>;
221 pinctrl-names = "default", "gpio";
222 pinctrl-0 = <&pinctrl_i2c0_default>;
223 pinctrl-1 = <&pinctrl_i2c0_gpio>;
224 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
225 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
227 tca6416_u97: gpio@20 {
228 compatible = "ti,tca6416";
230 gpio-controller; /* interrupt not connected */
235 * 0 - SFP_SI5328_INT_ALM
236 * 1 - HDMI_SI5328_INT_ALM
237 * 5 - IIC_MUX_RESET_B
238 * 6 - GEM3_EXP_RESET_B
239 * 10 - FMC_HPC0_PRSNT_M2C_B
240 * 11 - FMC_HPC1_PRSNT_M2C_B
241 * 2-4, 7, 12-17 - not connected
245 tca6416_u61: gpio@21 {
246 compatible = "ti,tca6416";
257 * 4 - MIO26_PMU_INPUT_LS
260 * 7 - MAXIM_PMBUS_ALERT
261 * 10 - PL_DDR4_VTERM_EN
262 * 11 - PL_DDR4_VPP_2V5_EN
263 * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
264 * 13 - PS_DIMM_SUSPEND_EN
265 * 14 - PS_DDR4_VTERM_EN
266 * 15 - PS_DDR4_VPP_2V5_EN
267 * 16 - 17 - not connected
271 i2c-mux@75 { /* u60 */
272 compatible = "nxp,pca9544";
273 #address-cells = <1>;
277 #address-cells = <1>;
281 u76: ina226@40 { /* u76 */
282 compatible = "ti,ina226";
283 #io-channel-cells = <1>;
284 label = "ina226-u76";
286 shunt-resistor = <5000>;
288 u77: ina226@41 { /* u77 */
289 compatible = "ti,ina226";
290 #io-channel-cells = <1>;
291 label = "ina226-u77";
293 shunt-resistor = <5000>;
295 u78: ina226@42 { /* u78 */
296 compatible = "ti,ina226";
297 #io-channel-cells = <1>;
298 label = "ina226-u78";
300 shunt-resistor = <5000>;
302 u87: ina226@43 { /* u87 */
303 compatible = "ti,ina226";
304 #io-channel-cells = <1>;
305 label = "ina226-u87";
307 shunt-resistor = <5000>;
309 u85: ina226@44 { /* u85 */
310 compatible = "ti,ina226";
311 #io-channel-cells = <1>;
312 label = "ina226-u85";
314 shunt-resistor = <5000>;
316 u86: ina226@45 { /* u86 */
317 compatible = "ti,ina226";
318 #io-channel-cells = <1>;
319 label = "ina226-u86";
321 shunt-resistor = <5000>;
323 u93: ina226@46 { /* u93 */
324 compatible = "ti,ina226";
325 #io-channel-cells = <1>;
326 label = "ina226-u93";
328 shunt-resistor = <5000>;
330 u88: ina226@47 { /* u88 */
331 compatible = "ti,ina226";
332 #io-channel-cells = <1>;
333 label = "ina226-u88";
335 shunt-resistor = <5000>;
337 u15: ina226@4a { /* u15 */
338 compatible = "ti,ina226";
339 #io-channel-cells = <1>;
340 label = "ina226-u15";
342 shunt-resistor = <5000>;
344 u92: ina226@4b { /* u92 */
345 compatible = "ti,ina226";
346 #io-channel-cells = <1>;
347 label = "ina226-u92";
349 shunt-resistor = <5000>;
353 #address-cells = <1>;
357 u79: ina226@40 { /* u79 */
358 compatible = "ti,ina226";
359 #io-channel-cells = <1>;
360 label = "ina226-u79";
362 shunt-resistor = <2000>;
364 u81: ina226@41 { /* u81 */
365 compatible = "ti,ina226";
366 #io-channel-cells = <1>;
367 label = "ina226-u81";
369 shunt-resistor = <5000>;
371 u80: ina226@42 { /* u80 */
372 compatible = "ti,ina226";
373 #io-channel-cells = <1>;
374 label = "ina226-u80";
376 shunt-resistor = <5000>;
378 u84: ina226@43 { /* u84 */
379 compatible = "ti,ina226";
380 #io-channel-cells = <1>;
381 label = "ina226-u84";
383 shunt-resistor = <5000>;
385 u16: ina226@44 { /* u16 */
386 compatible = "ti,ina226";
387 #io-channel-cells = <1>;
388 label = "ina226-u16";
390 shunt-resistor = <5000>;
392 u65: ina226@45 { /* u65 */
393 compatible = "ti,ina226";
394 #io-channel-cells = <1>;
395 label = "ina226-u65";
397 shunt-resistor = <5000>;
399 u74: ina226@46 { /* u74 */
400 compatible = "ti,ina226";
401 #io-channel-cells = <1>;
402 label = "ina226-u74";
404 shunt-resistor = <5000>;
406 u75: ina226@47 { /* u75 */
407 compatible = "ti,ina226";
408 #io-channel-cells = <1>;
409 label = "ina226-u75";
411 shunt-resistor = <5000>;
415 #address-cells = <1>;
418 /* MAXIM_PMBUS - 00 */
419 max15301@a { /* u46 */
420 compatible = "maxim,max15301";
423 max15303@b { /* u4 */
424 compatible = "maxim,max15303";
427 max15303@10 { /* u13 */
428 compatible = "maxim,max15303";
431 max15301@13 { /* u47 */
432 compatible = "maxim,max15301";
435 max15303@14 { /* u7 */
436 compatible = "maxim,max15303";
439 max15303@15 { /* u6 */
440 compatible = "maxim,max15303";
443 max15303@16 { /* u10 */
444 compatible = "maxim,max15303";
447 max15303@17 { /* u9 */
448 compatible = "maxim,max15303";
451 max15301@18 { /* u63 */
452 compatible = "maxim,max15301";
455 max15303@1a { /* u49 */
456 compatible = "maxim,max15303";
459 max15303@1b { /* u8 */
460 compatible = "maxim,max15303";
463 max15303@1d { /* u18 */
464 compatible = "maxim,max15303";
468 max20751@72 { /* u95 */
469 compatible = "maxim,max20751";
472 max20751@73 { /* u96 */
473 compatible = "maxim,max20751";
477 /* Bus 3 is not connected */
483 clock-frequency = <400000>;
484 pinctrl-names = "default", "gpio";
485 pinctrl-0 = <&pinctrl_i2c1_default>;
486 pinctrl-1 = <&pinctrl_i2c1_gpio>;
487 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
488 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
490 /* PL i2c via PCA9306 - u45 */
491 i2c-mux@74 { /* u34 */
492 compatible = "nxp,pca9548";
493 #address-cells = <1>;
497 #address-cells = <1>;
501 * IIC_EEPROM 1kB memory which uses 256B blocks
502 * where every block has different address.
503 * 0 - 256B address 0x54
504 * 256B - 512B address 0x55
505 * 512B - 768B address 0x56
506 * 768B - 1024B address 0x57
508 eeprom: eeprom@54 { /* u23 */
509 compatible = "atmel,24c08";
514 #address-cells = <1>;
517 si5341: clock-generator@36 { /* SI5341 - u69 */
518 compatible = "silabs,si5341";
521 #address-cells = <1>;
524 clock-names = "xtal";
525 clock-output-names = "si5341";
528 /* refclk0 for PS-GT, used for DP */
533 /* refclk2 for PS-GT, used for USB3 */
538 /* refclk3 for PS-GT, used for SATA */
543 /* refclk6 PL CLK125 */
548 /* refclk7 PL CLK74 */
553 /* refclk9 used for PS_REF_CLK 33.3 MHz */
561 #address-cells = <1>;
564 si570_1: clock-generator@5d { /* USER SI570 - u42 */
566 compatible = "silabs,si570";
568 temperature-stability = <50>;
569 factory-fout = <300000000>;
570 clock-frequency = <300000000>;
571 clock-output-names = "si570_user";
575 #address-cells = <1>;
578 si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */
580 compatible = "silabs,si570";
582 temperature-stability = <50>; /* copy from zc702 */
583 factory-fout = <156250000>;
584 clock-frequency = <148500000>;
585 clock-output-names = "si570_mgt";
589 #address-cells = <1>;
595 #address-cells = <1>;
597 reg = <5>; /* FAN controller */
598 temp@4c {/* lm96163 - u128 */
599 compatible = "national,lm96163";
603 /* 6 - 7 unconnected */
607 compatible = "nxp,pca9548"; /* u135 */
608 #address-cells = <1>;
613 #address-cells = <1>;
619 #address-cells = <1>;
625 #address-cells = <1>;
631 #address-cells = <1>;
637 #address-cells = <1>;
643 #address-cells = <1>;
649 #address-cells = <1>;
655 #address-cells = <1>;
665 pinctrl_i2c0_default: i2c0-default {
667 groups = "i2c0_3_grp";
672 groups = "i2c0_3_grp";
674 slew-rate = <SLEW_RATE_SLOW>;
675 power-source = <IO_STANDARD_LVCMOS18>;
679 pinctrl_i2c0_gpio: i2c0-gpio {
681 groups = "gpio0_14_grp", "gpio0_15_grp";
686 groups = "gpio0_14_grp", "gpio0_15_grp";
687 slew-rate = <SLEW_RATE_SLOW>;
688 power-source = <IO_STANDARD_LVCMOS18>;
692 pinctrl_i2c1_default: i2c1-default {
694 groups = "i2c1_4_grp";
699 groups = "i2c1_4_grp";
701 slew-rate = <SLEW_RATE_SLOW>;
702 power-source = <IO_STANDARD_LVCMOS18>;
706 pinctrl_i2c1_gpio: i2c1-gpio {
708 groups = "gpio0_16_grp", "gpio0_17_grp";
713 groups = "gpio0_16_grp", "gpio0_17_grp";
714 slew-rate = <SLEW_RATE_SLOW>;
715 power-source = <IO_STANDARD_LVCMOS18>;
719 pinctrl_uart0_default: uart0-default {
721 groups = "uart0_4_grp";
726 groups = "uart0_4_grp";
727 slew-rate = <SLEW_RATE_SLOW>;
728 power-source = <IO_STANDARD_LVCMOS18>;
742 pinctrl_uart1_default: uart1-default {
744 groups = "uart1_5_grp";
749 groups = "uart1_5_grp";
750 slew-rate = <SLEW_RATE_SLOW>;
751 power-source = <IO_STANDARD_LVCMOS18>;
765 pinctrl_usb0_default: usb0-default {
767 groups = "usb0_0_grp";
772 groups = "usb0_0_grp";
773 slew-rate = <SLEW_RATE_SLOW>;
774 power-source = <IO_STANDARD_LVCMOS18>;
778 pins = "MIO52", "MIO53", "MIO55";
783 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
784 "MIO60", "MIO61", "MIO62", "MIO63";
789 pinctrl_gem3_default: gem3-default {
791 function = "ethernet3";
792 groups = "ethernet3_0_grp";
796 groups = "ethernet3_0_grp";
797 slew-rate = <SLEW_RATE_SLOW>;
798 power-source = <IO_STANDARD_LVCMOS18>;
802 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
809 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
817 groups = "mdio3_0_grp";
821 groups = "mdio3_0_grp";
822 slew-rate = <SLEW_RATE_SLOW>;
823 power-source = <IO_STANDARD_LVCMOS18>;
828 pinctrl_can1_default: can1-default {
831 groups = "can1_6_grp";
835 groups = "can1_6_grp";
836 slew-rate = <SLEW_RATE_SLOW>;
837 power-source = <IO_STANDARD_LVCMOS18>;
851 pinctrl_sdhci1_default: sdhci1-default {
853 groups = "sdio1_0_grp";
858 groups = "sdio1_0_grp";
859 slew-rate = <SLEW_RATE_SLOW>;
860 power-source = <IO_STANDARD_LVCMOS18>;
865 groups = "sdio1_cd_0_grp";
866 function = "sdio1_cd";
870 groups = "sdio1_cd_0_grp";
873 slew-rate = <SLEW_RATE_SLOW>;
874 power-source = <IO_STANDARD_LVCMOS18>;
878 groups = "sdio1_wp_0_grp";
879 function = "sdio1_wp";
883 groups = "sdio1_wp_0_grp";
886 slew-rate = <SLEW_RATE_SLOW>;
887 power-source = <IO_STANDARD_LVCMOS18>;
891 pinctrl_gpio_default: gpio-default {
894 groups = "gpio0_22_grp", "gpio0_23_grp";
898 groups = "gpio0_22_grp", "gpio0_23_grp";
899 slew-rate = <SLEW_RATE_SLOW>;
900 power-source = <IO_STANDARD_LVCMOS18>;
905 groups = "gpio0_13_grp", "gpio0_38_grp";
909 groups = "gpio0_13_grp", "gpio0_38_grp";
910 slew-rate = <SLEW_RATE_SLOW>;
911 power-source = <IO_STANDARD_LVCMOS18>;
920 pins = "MIO13", "MIO23", "MIO38";
928 /* nc, sata, usb3, dp */
929 clocks = <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>;
930 clock-names = "ref1", "ref2", "ref3";
936 compatible = "m25p80", "jedec,spi-nor"; /* 16MB + 16MB */
937 #address-cells = <1>;
940 spi-tx-bus-width = <1>;
941 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
942 spi-max-frequency = <108000000>; /* Based on DC1 spec */
952 /* SATA OOB timing settings */
953 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
954 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
955 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
956 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
957 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
958 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
959 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
960 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
961 phy-names = "sata-phy";
962 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
965 /* SD1 with level shifter */
969 * This property should be removed for supporting UHS mode
972 pinctrl-names = "default";
973 pinctrl-0 = <&pinctrl_sdhci1_default>;
979 pinctrl-names = "default";
980 pinctrl-0 = <&pinctrl_uart0_default>;
985 pinctrl-names = "default";
986 pinctrl-0 = <&pinctrl_uart1_default>;
989 /* ULPI SMSC USB3320 */
992 pinctrl-names = "default";
993 pinctrl-0 = <&pinctrl_usb0_default>;
994 phy-names = "usb3-phy";
995 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
1001 snps,usb3_lpm_capable;
1002 maximum-speed = "super-speed";
1015 phy-names = "dp-phy0", "dp-phy1";
1016 phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
1017 <&psgtr 0 PHY_TYPE_DP 1 3>;