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>;
224 clock-frequency = <400000>;
225 pinctrl-names = "default", "gpio";
226 pinctrl-0 = <&pinctrl_i2c0_default>;
227 pinctrl-1 = <&pinctrl_i2c0_gpio>;
228 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
229 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
231 tca6416_u97: gpio@20 {
232 compatible = "ti,tca6416";
234 gpio-controller; /* interrupt not connected */
239 * 0 - SFP_SI5328_INT_ALM
240 * 1 - HDMI_SI5328_INT_ALM
241 * 5 - IIC_MUX_RESET_B
242 * 6 - GEM3_EXP_RESET_B
243 * 10 - FMC_HPC0_PRSNT_M2C_B
244 * 11 - FMC_HPC1_PRSNT_M2C_B
245 * 2-4, 7, 12-17 - not connected
249 tca6416_u61: gpio@21 {
250 compatible = "ti,tca6416";
261 * 4 - MIO26_PMU_INPUT_LS
264 * 7 - MAXIM_PMBUS_ALERT
265 * 10 - PL_DDR4_VTERM_EN
266 * 11 - PL_DDR4_VPP_2V5_EN
267 * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
268 * 13 - PS_DIMM_SUSPEND_EN
269 * 14 - PS_DDR4_VTERM_EN
270 * 15 - PS_DDR4_VPP_2V5_EN
271 * 16 - 17 - not connected
275 i2c-mux@75 { /* u60 */
276 compatible = "nxp,pca9544";
277 #address-cells = <1>;
281 #address-cells = <1>;
285 u76: ina226@40 { /* u76 */
286 compatible = "ti,ina226";
287 #io-channel-cells = <1>;
288 label = "ina226-u76";
290 shunt-resistor = <5000>;
292 u77: ina226@41 { /* u77 */
293 compatible = "ti,ina226";
294 #io-channel-cells = <1>;
295 label = "ina226-u77";
297 shunt-resistor = <5000>;
299 u78: ina226@42 { /* u78 */
300 compatible = "ti,ina226";
301 #io-channel-cells = <1>;
302 label = "ina226-u78";
304 shunt-resistor = <5000>;
306 u87: ina226@43 { /* u87 */
307 compatible = "ti,ina226";
308 #io-channel-cells = <1>;
309 label = "ina226-u87";
311 shunt-resistor = <5000>;
313 u85: ina226@44 { /* u85 */
314 compatible = "ti,ina226";
315 #io-channel-cells = <1>;
316 label = "ina226-u85";
318 shunt-resistor = <5000>;
320 u86: ina226@45 { /* u86 */
321 compatible = "ti,ina226";
322 #io-channel-cells = <1>;
323 label = "ina226-u86";
325 shunt-resistor = <5000>;
327 u93: ina226@46 { /* u93 */
328 compatible = "ti,ina226";
329 #io-channel-cells = <1>;
330 label = "ina226-u93";
332 shunt-resistor = <5000>;
334 u88: ina226@47 { /* u88 */
335 compatible = "ti,ina226";
336 #io-channel-cells = <1>;
337 label = "ina226-u88";
339 shunt-resistor = <5000>;
341 u15: ina226@4a { /* u15 */
342 compatible = "ti,ina226";
343 #io-channel-cells = <1>;
344 label = "ina226-u15";
346 shunt-resistor = <5000>;
348 u92: ina226@4b { /* u92 */
349 compatible = "ti,ina226";
350 #io-channel-cells = <1>;
351 label = "ina226-u92";
353 shunt-resistor = <5000>;
357 #address-cells = <1>;
361 u79: ina226@40 { /* u79 */
362 compatible = "ti,ina226";
363 #io-channel-cells = <1>;
364 label = "ina226-u79";
366 shunt-resistor = <2000>;
368 u81: ina226@41 { /* u81 */
369 compatible = "ti,ina226";
370 #io-channel-cells = <1>;
371 label = "ina226-u81";
373 shunt-resistor = <5000>;
375 u80: ina226@42 { /* u80 */
376 compatible = "ti,ina226";
377 #io-channel-cells = <1>;
378 label = "ina226-u80";
380 shunt-resistor = <5000>;
382 u84: ina226@43 { /* u84 */
383 compatible = "ti,ina226";
384 #io-channel-cells = <1>;
385 label = "ina226-u84";
387 shunt-resistor = <5000>;
389 u16: ina226@44 { /* u16 */
390 compatible = "ti,ina226";
391 #io-channel-cells = <1>;
392 label = "ina226-u16";
394 shunt-resistor = <5000>;
396 u65: ina226@45 { /* u65 */
397 compatible = "ti,ina226";
398 #io-channel-cells = <1>;
399 label = "ina226-u65";
401 shunt-resistor = <5000>;
403 u74: ina226@46 { /* u74 */
404 compatible = "ti,ina226";
405 #io-channel-cells = <1>;
406 label = "ina226-u74";
408 shunt-resistor = <5000>;
410 u75: ina226@47 { /* u75 */
411 compatible = "ti,ina226";
412 #io-channel-cells = <1>;
413 label = "ina226-u75";
415 shunt-resistor = <5000>;
419 #address-cells = <1>;
422 /* MAXIM_PMBUS - 00 */
423 max15301@a { /* u46 */
424 compatible = "maxim,max15301";
427 max15303@b { /* u4 */
428 compatible = "maxim,max15303";
431 max15303@10 { /* u13 */
432 compatible = "maxim,max15303";
435 max15301@13 { /* u47 */
436 compatible = "maxim,max15301";
439 max15303@14 { /* u7 */
440 compatible = "maxim,max15303";
443 max15303@15 { /* u6 */
444 compatible = "maxim,max15303";
447 max15303@16 { /* u10 */
448 compatible = "maxim,max15303";
451 max15303@17 { /* u9 */
452 compatible = "maxim,max15303";
455 max15301@18 { /* u63 */
456 compatible = "maxim,max15301";
459 max15303@1a { /* u49 */
460 compatible = "maxim,max15303";
463 max15303@1b { /* u8 */
464 compatible = "maxim,max15303";
467 max15303@1d { /* u18 */
468 compatible = "maxim,max15303";
472 max20751@72 { /* u95 */
473 compatible = "maxim,max20751";
476 max20751@73 { /* u96 */
477 compatible = "maxim,max20751";
481 /* Bus 3 is not connected */
487 clock-frequency = <400000>;
488 pinctrl-names = "default", "gpio";
489 pinctrl-0 = <&pinctrl_i2c1_default>;
490 pinctrl-1 = <&pinctrl_i2c1_gpio>;
491 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
492 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
494 /* PL i2c via PCA9306 - u45 */
495 i2c-mux@74 { /* u34 */
496 compatible = "nxp,pca9548";
497 #address-cells = <1>;
501 #address-cells = <1>;
505 * IIC_EEPROM 1kB memory which uses 256B blocks
506 * where every block has different address.
507 * 0 - 256B address 0x54
508 * 256B - 512B address 0x55
509 * 512B - 768B address 0x56
510 * 768B - 1024B address 0x57
512 eeprom: eeprom@54 { /* u23 */
513 compatible = "atmel,24c08";
518 #address-cells = <1>;
521 si5341: clock-generator@36 { /* SI5341 - u69 */
522 compatible = "silabs,si5341";
525 #address-cells = <1>;
528 clock-names = "xtal";
529 clock-output-names = "si5341";
532 /* refclk0 for PS-GT, used for DP */
537 /* refclk2 for PS-GT, used for USB3 */
542 /* refclk3 for PS-GT, used for SATA */
547 /* refclk6 PL CLK125 */
552 /* refclk7 PL CLK74 */
557 /* refclk9 used for PS_REF_CLK 33.3 MHz */
565 #address-cells = <1>;
568 si570_1: clock-generator@5d { /* USER SI570 - u42 */
570 compatible = "silabs,si570";
572 temperature-stability = <50>;
573 factory-fout = <300000000>;
574 clock-frequency = <300000000>;
575 clock-output-names = "si570_user";
579 #address-cells = <1>;
582 si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */
584 compatible = "silabs,si570";
586 temperature-stability = <50>; /* copy from zc702 */
587 factory-fout = <156250000>;
588 clock-frequency = <148500000>;
589 clock-output-names = "si570_mgt";
593 #address-cells = <1>;
599 #address-cells = <1>;
601 reg = <5>; /* FAN controller */
602 temp@4c {/* lm96163 - u128 */
603 compatible = "national,lm96163";
607 /* 6 - 7 unconnected */
611 compatible = "nxp,pca9548"; /* u135 */
612 #address-cells = <1>;
617 #address-cells = <1>;
623 #address-cells = <1>;
629 #address-cells = <1>;
635 #address-cells = <1>;
641 #address-cells = <1>;
647 #address-cells = <1>;
653 #address-cells = <1>;
659 #address-cells = <1>;
669 pinctrl_i2c0_default: i2c0-default {
671 groups = "i2c0_3_grp";
676 groups = "i2c0_3_grp";
678 slew-rate = <SLEW_RATE_SLOW>;
679 power-source = <IO_STANDARD_LVCMOS18>;
683 pinctrl_i2c0_gpio: i2c0-gpio {
685 groups = "gpio0_14_grp", "gpio0_15_grp";
690 groups = "gpio0_14_grp", "gpio0_15_grp";
691 slew-rate = <SLEW_RATE_SLOW>;
692 power-source = <IO_STANDARD_LVCMOS18>;
696 pinctrl_i2c1_default: i2c1-default {
698 groups = "i2c1_4_grp";
703 groups = "i2c1_4_grp";
705 slew-rate = <SLEW_RATE_SLOW>;
706 power-source = <IO_STANDARD_LVCMOS18>;
710 pinctrl_i2c1_gpio: i2c1-gpio {
712 groups = "gpio0_16_grp", "gpio0_17_grp";
717 groups = "gpio0_16_grp", "gpio0_17_grp";
718 slew-rate = <SLEW_RATE_SLOW>;
719 power-source = <IO_STANDARD_LVCMOS18>;
723 pinctrl_uart0_default: uart0-default {
725 groups = "uart0_4_grp";
730 groups = "uart0_4_grp";
731 slew-rate = <SLEW_RATE_SLOW>;
732 power-source = <IO_STANDARD_LVCMOS18>;
746 pinctrl_uart1_default: uart1-default {
748 groups = "uart1_5_grp";
753 groups = "uart1_5_grp";
754 slew-rate = <SLEW_RATE_SLOW>;
755 power-source = <IO_STANDARD_LVCMOS18>;
769 pinctrl_usb0_default: usb0-default {
771 groups = "usb0_0_grp";
776 groups = "usb0_0_grp";
777 slew-rate = <SLEW_RATE_SLOW>;
778 power-source = <IO_STANDARD_LVCMOS18>;
782 pins = "MIO52", "MIO53", "MIO55";
787 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
788 "MIO60", "MIO61", "MIO62", "MIO63";
793 pinctrl_gem3_default: gem3-default {
795 function = "ethernet3";
796 groups = "ethernet3_0_grp";
800 groups = "ethernet3_0_grp";
801 slew-rate = <SLEW_RATE_SLOW>;
802 power-source = <IO_STANDARD_LVCMOS18>;
806 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
813 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
821 groups = "mdio3_0_grp";
825 groups = "mdio3_0_grp";
826 slew-rate = <SLEW_RATE_SLOW>;
827 power-source = <IO_STANDARD_LVCMOS18>;
832 pinctrl_can1_default: can1-default {
835 groups = "can1_6_grp";
839 groups = "can1_6_grp";
840 slew-rate = <SLEW_RATE_SLOW>;
841 power-source = <IO_STANDARD_LVCMOS18>;
855 pinctrl_sdhci1_default: sdhci1-default {
857 groups = "sdio1_0_grp";
862 groups = "sdio1_0_grp";
863 slew-rate = <SLEW_RATE_SLOW>;
864 power-source = <IO_STANDARD_LVCMOS18>;
869 groups = "sdio1_cd_0_grp";
870 function = "sdio1_cd";
874 groups = "sdio1_cd_0_grp";
877 slew-rate = <SLEW_RATE_SLOW>;
878 power-source = <IO_STANDARD_LVCMOS18>;
882 groups = "sdio1_wp_0_grp";
883 function = "sdio1_wp";
887 groups = "sdio1_wp_0_grp";
890 slew-rate = <SLEW_RATE_SLOW>;
891 power-source = <IO_STANDARD_LVCMOS18>;
895 pinctrl_gpio_default: gpio-default {
898 groups = "gpio0_22_grp", "gpio0_23_grp";
902 groups = "gpio0_22_grp", "gpio0_23_grp";
903 slew-rate = <SLEW_RATE_SLOW>;
904 power-source = <IO_STANDARD_LVCMOS18>;
909 groups = "gpio0_13_grp", "gpio0_38_grp";
913 groups = "gpio0_13_grp", "gpio0_38_grp";
914 slew-rate = <SLEW_RATE_SLOW>;
915 power-source = <IO_STANDARD_LVCMOS18>;
924 pins = "MIO13", "MIO23", "MIO38";
932 /* nc, sata, usb3, dp */
933 clocks = <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>;
934 clock-names = "ref1", "ref2", "ref3";
941 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
942 #address-cells = <1>;
945 spi-tx-bus-width = <1>;
946 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
947 spi-max-frequency = <108000000>; /* Based on DC1 spec */
948 partition@0 { /* for testing purpose */
949 label = "qspi-fsbl-uboot";
950 reg = <0x0 0x100000>;
952 partition@100000 { /* for testing purpose */
953 label = "qspi-linux";
954 reg = <0x100000 0x500000>;
956 partition@600000 { /* for testing purpose */
957 label = "qspi-device-tree";
958 reg = <0x600000 0x20000>;
960 partition@620000 { /* for testing purpose */
961 label = "qspi-rootfs";
962 reg = <0x620000 0x5E0000>;
973 /* SATA OOB timing settings */
974 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
975 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
976 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
977 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
978 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
979 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
980 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
981 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
982 phy-names = "sata-phy";
983 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
986 /* SD1 with level shifter */
990 * This property should be removed for supporting UHS mode
993 pinctrl-names = "default";
994 pinctrl-0 = <&pinctrl_sdhci1_default>;
1000 pinctrl-names = "default";
1001 pinctrl-0 = <&pinctrl_uart0_default>;
1006 pinctrl-names = "default";
1007 pinctrl-0 = <&pinctrl_uart1_default>;
1010 /* ULPI SMSC USB3320 */
1013 pinctrl-names = "default";
1014 pinctrl-0 = <&pinctrl_usb0_default>;
1020 snps,usb3_lpm_capable;
1021 phy-names = "usb3-phy";
1022 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
1023 maximum-speed = "super-speed";
1036 phy-names = "dp-phy0", "dp-phy1";
1037 phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
1038 <&psgtr 0 PHY_TYPE_DP 1 3>;