1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU102 RevA
5 * (C) Copyright 2015 - 2021, Xilinx, Inc.
7 * Michal Simek <michal.simek@amd.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 ZCU102 RevA";
21 compatible = "xlnx,zynqmp-zcu102-revA", "xlnx,zynqmp-zcu102", "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>;
204 #address-cells = <1>;
206 phy0: ethernet-phy@21 {
208 compatible = "ethernet-phy-id2000.a231";
210 ti,rx-internal-delay = <0x8>;
211 ti,tx-internal-delay = <0xa>;
212 ti,fifo-depth = <0x1>;
213 ti,dp83867-rxctrl-strap-quirk;
214 reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>;
221 pinctrl-names = "default";
222 pinctrl-0 = <&pinctrl_gpio_default>;
231 clock-frequency = <400000>;
232 pinctrl-names = "default", "gpio";
233 pinctrl-0 = <&pinctrl_i2c0_default>;
234 pinctrl-1 = <&pinctrl_i2c0_gpio>;
235 scl-gpios = <&gpio 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
236 sda-gpios = <&gpio 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
238 tca6416_u97: gpio@20 {
239 compatible = "ti,tca6416";
241 gpio-controller; /* IRQ not connected */
243 gpio-line-names = "PS_GTR_LAN_SEL0", "PS_GTR_LAN_SEL1", "PS_GTR_LAN_SEL2", "PS_GTR_LAN_SEL3",
244 "PCI_CLK_DIR_SEL", "IIC_MUX_RESET_B", "GEM3_EXP_RESET_B",
245 "", "", "", "", "", "", "", "", "";
249 output-low; /* PCIE = 0, DP = 1 */
255 output-high; /* PCIE = 0, DP = 1 */
261 output-high; /* PCIE = 0, USB0 = 1 */
267 output-high; /* PCIE = 0, SATA = 1 */
272 tca6416_u61: gpio@21 {
273 compatible = "ti,tca6416";
275 gpio-controller; /* IRQ not connected */
277 gpio-line-names = "VCCPSPLL_EN", "MGTRAVCC_EN", "MGTRAVTT_EN", "VCCPSDDRPLL_EN", "MIO26_PMU_INPUT_LS",
278 "PL_PMBUS_ALERT", "PS_PMBUS_ALERT", "MAXIM_PMBUS_ALERT", "PL_DDR4_VTERM_EN",
279 "PL_DDR4_VPP_2V5_EN", "PS_DIMM_VDDQ_TO_PSVCCO_ON", "PS_DIMM_SUSPEND_EN",
280 "PS_DDR4_VTERM_EN", "PS_DDR4_VPP_2V5_EN", "", "";
283 i2c-mux@75 { /* u60 */
284 compatible = "nxp,pca9544";
285 #address-cells = <1>;
289 #address-cells = <1>;
293 u76: ina226@40 { /* u76 */
294 compatible = "ti,ina226";
295 #io-channel-cells = <1>;
296 label = "ina226-u76";
298 shunt-resistor = <5000>;
300 u77: ina226@41 { /* u77 */
301 compatible = "ti,ina226";
302 #io-channel-cells = <1>;
303 label = "ina226-u77";
305 shunt-resistor = <5000>;
307 u78: ina226@42 { /* u78 */
308 compatible = "ti,ina226";
309 #io-channel-cells = <1>;
310 label = "ina226-u78";
312 shunt-resistor = <5000>;
314 u87: ina226@43 { /* u87 */
315 compatible = "ti,ina226";
316 #io-channel-cells = <1>;
317 label = "ina226-u87";
319 shunt-resistor = <5000>;
321 u85: ina226@44 { /* u85 */
322 compatible = "ti,ina226";
323 #io-channel-cells = <1>;
324 label = "ina226-u85";
326 shunt-resistor = <5000>;
328 u86: ina226@45 { /* u86 */
329 compatible = "ti,ina226";
330 #io-channel-cells = <1>;
331 label = "ina226-u86";
333 shunt-resistor = <5000>;
335 u93: ina226@46 { /* u93 */
336 compatible = "ti,ina226";
337 #io-channel-cells = <1>;
338 label = "ina226-u93";
340 shunt-resistor = <5000>;
342 u88: ina226@47 { /* u88 */
343 compatible = "ti,ina226";
344 #io-channel-cells = <1>;
345 label = "ina226-u88";
347 shunt-resistor = <5000>;
349 u15: ina226@4a { /* u15 */
350 compatible = "ti,ina226";
351 #io-channel-cells = <1>;
352 label = "ina226-u15";
354 shunt-resistor = <5000>;
356 u92: ina226@4b { /* u92 */
357 compatible = "ti,ina226";
358 #io-channel-cells = <1>;
359 label = "ina226-u92";
361 shunt-resistor = <5000>;
365 #address-cells = <1>;
369 u79: ina226@40 { /* u79 */
370 compatible = "ti,ina226";
371 #io-channel-cells = <1>;
372 label = "ina226-u79";
374 shunt-resistor = <2000>;
376 u81: ina226@41 { /* u81 */
377 compatible = "ti,ina226";
378 #io-channel-cells = <1>;
379 label = "ina226-u81";
381 shunt-resistor = <5000>;
383 u80: ina226@42 { /* u80 */
384 compatible = "ti,ina226";
385 #io-channel-cells = <1>;
386 label = "ina226-u80";
388 shunt-resistor = <5000>;
390 u84: ina226@43 { /* u84 */
391 compatible = "ti,ina226";
392 #io-channel-cells = <1>;
393 label = "ina226-u84";
395 shunt-resistor = <5000>;
397 u16: ina226@44 { /* u16 */
398 compatible = "ti,ina226";
399 #io-channel-cells = <1>;
400 label = "ina226-u16";
402 shunt-resistor = <5000>;
404 u65: ina226@45 { /* u65 */
405 compatible = "ti,ina226";
406 #io-channel-cells = <1>;
407 label = "ina226-u65";
409 shunt-resistor = <5000>;
411 u74: ina226@46 { /* u74 */
412 compatible = "ti,ina226";
413 #io-channel-cells = <1>;
414 label = "ina226-u74";
416 shunt-resistor = <5000>;
418 u75: ina226@47 { /* u75 */
419 compatible = "ti,ina226";
420 #io-channel-cells = <1>;
421 label = "ina226-u75";
423 shunt-resistor = <5000>;
427 #address-cells = <1>;
430 /* MAXIM_PMBUS - 00 */
431 max15301@a { /* u46 */
432 compatible = "maxim,max15301";
435 max15303@b { /* u4 */
436 compatible = "maxim,max15303";
439 max15303@10 { /* u13 */
440 compatible = "maxim,max15303";
443 max15301@13 { /* u47 */
444 compatible = "maxim,max15301";
447 max15303@14 { /* u7 */
448 compatible = "maxim,max15303";
451 max15303@15 { /* u6 */
452 compatible = "maxim,max15303";
455 max15303@16 { /* u10 */
456 compatible = "maxim,max15303";
459 max15303@17 { /* u9 */
460 compatible = "maxim,max15303";
463 max15301@18 { /* u63 */
464 compatible = "maxim,max15301";
467 max15303@1a { /* u49 */
468 compatible = "maxim,max15303";
471 max15303@1d { /* u18 */
472 compatible = "maxim,max15303";
475 max15303@20 { /* u8 */
476 compatible = "maxim,max15303";
477 status = "disabled"; /* unreachable */
480 max20751@72 { /* u95 */
481 compatible = "maxim,max20751";
484 max20751@73 { /* u96 */
485 compatible = "maxim,max20751";
489 /* Bus 3 is not connected */
495 clock-frequency = <400000>;
496 pinctrl-names = "default", "gpio";
497 pinctrl-0 = <&pinctrl_i2c1_default>;
498 pinctrl-1 = <&pinctrl_i2c1_gpio>;
499 scl-gpios = <&gpio 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
500 sda-gpios = <&gpio 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
502 /* PL i2c via PCA9306 - u45 */
503 i2c-mux@74 { /* u34 */
504 compatible = "nxp,pca9548";
505 #address-cells = <1>;
509 #address-cells = <1>;
513 * IIC_EEPROM 1kB memory which uses 256B blocks
514 * where every block has different address.
515 * 0 - 256B address 0x54
516 * 256B - 512B address 0x55
517 * 512B - 768B address 0x56
518 * 768B - 1024B address 0x57
520 eeprom: eeprom@54 { /* u23 */
521 compatible = "atmel,24c08";
526 #address-cells = <1>;
529 si5341: clock-generator@36 { /* SI5341 - u69 */
530 compatible = "silabs,si5341";
533 #address-cells = <1>;
536 clock-names = "xtal";
537 clock-output-names = "si5341";
540 /* refclk0 for PS-GT, used for DP */
545 /* refclk2 for PS-GT, used for USB3 */
550 /* refclk3 for PS-GT, used for SATA */
555 /* refclk4 for PS-GT, used for PCIE slot */
560 /* refclk5 for PS-GT, used for PCIE */
565 /* refclk6 PL CLK125 */
570 /* refclk7 PL CLK74 */
575 /* refclk9 used for PS_REF_CLK 33.3 MHz */
582 #address-cells = <1>;
585 si570_1: clock-generator@5d { /* USER SI570 - u42 */
587 compatible = "silabs,si570";
589 temperature-stability = <50>;
590 factory-fout = <300000000>;
591 clock-frequency = <300000000>;
592 clock-output-names = "si570_user";
596 #address-cells = <1>;
599 si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */
601 compatible = "silabs,si570";
603 temperature-stability = <50>; /* copy from zc702 */
604 factory-fout = <156250000>;
605 clock-frequency = <148500000>;
606 clock-output-names = "si570_mgt";
610 #address-cells = <1>;
613 si5328: clock-generator@69 {/* SI5328 - u20 */
614 compatible = "silabs,si5328";
617 * Chip has interrupt present connected to PL
618 * interrupt-parent = <&>;
621 #address-cells = <1>;
625 clock-names = "xtal";
626 clock-output-names = "si5328";
630 clock-frequency = <27000000>;
634 /* 5 - 7 unconnected */
638 compatible = "nxp,pca9548"; /* u135 */
639 #address-cells = <1>;
644 #address-cells = <1>;
650 #address-cells = <1>;
656 #address-cells = <1>;
662 #address-cells = <1>;
668 #address-cells = <1>;
674 #address-cells = <1>;
680 #address-cells = <1>;
686 #address-cells = <1>;
696 pinctrl_i2c0_default: i2c0-default {
698 groups = "i2c0_3_grp";
703 groups = "i2c0_3_grp";
705 slew-rate = <SLEW_RATE_SLOW>;
706 power-source = <IO_STANDARD_LVCMOS18>;
710 pinctrl_i2c0_gpio: i2c0-gpio {
712 groups = "gpio0_14_grp", "gpio0_15_grp";
717 groups = "gpio0_14_grp", "gpio0_15_grp";
718 slew-rate = <SLEW_RATE_SLOW>;
719 power-source = <IO_STANDARD_LVCMOS18>;
723 pinctrl_i2c1_default: i2c1-default {
725 groups = "i2c1_4_grp";
730 groups = "i2c1_4_grp";
732 slew-rate = <SLEW_RATE_SLOW>;
733 power-source = <IO_STANDARD_LVCMOS18>;
737 pinctrl_i2c1_gpio: i2c1-gpio {
739 groups = "gpio0_16_grp", "gpio0_17_grp";
744 groups = "gpio0_16_grp", "gpio0_17_grp";
745 slew-rate = <SLEW_RATE_SLOW>;
746 power-source = <IO_STANDARD_LVCMOS18>;
750 pinctrl_uart0_default: uart0-default {
752 groups = "uart0_4_grp";
757 groups = "uart0_4_grp";
758 slew-rate = <SLEW_RATE_SLOW>;
759 power-source = <IO_STANDARD_LVCMOS18>;
773 pinctrl_uart1_default: uart1-default {
775 groups = "uart1_5_grp";
780 groups = "uart1_5_grp";
781 slew-rate = <SLEW_RATE_SLOW>;
782 power-source = <IO_STANDARD_LVCMOS18>;
796 pinctrl_usb0_default: usb0-default {
798 groups = "usb0_0_grp";
803 groups = "usb0_0_grp";
804 power-source = <IO_STANDARD_LVCMOS18>;
808 pins = "MIO52", "MIO53", "MIO55";
810 drive-strength = <12>;
811 slew-rate = <SLEW_RATE_FAST>;
815 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
816 "MIO60", "MIO61", "MIO62", "MIO63";
818 drive-strength = <4>;
819 slew-rate = <SLEW_RATE_SLOW>;
823 pinctrl_gem3_default: gem3-default {
825 function = "ethernet3";
826 groups = "ethernet3_0_grp";
830 groups = "ethernet3_0_grp";
831 slew-rate = <SLEW_RATE_SLOW>;
832 power-source = <IO_STANDARD_LVCMOS18>;
836 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
843 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
851 groups = "mdio3_0_grp";
855 groups = "mdio3_0_grp";
856 slew-rate = <SLEW_RATE_SLOW>;
857 power-source = <IO_STANDARD_LVCMOS18>;
862 pinctrl_can1_default: can1-default {
865 groups = "can1_6_grp";
869 groups = "can1_6_grp";
870 slew-rate = <SLEW_RATE_SLOW>;
871 power-source = <IO_STANDARD_LVCMOS18>;
885 pinctrl_sdhci1_default: sdhci1-default {
887 groups = "sdio1_0_grp";
892 groups = "sdio1_0_grp";
893 slew-rate = <SLEW_RATE_SLOW>;
894 power-source = <IO_STANDARD_LVCMOS18>;
899 groups = "sdio1_cd_0_grp";
900 function = "sdio1_cd";
904 groups = "sdio1_cd_0_grp";
907 slew-rate = <SLEW_RATE_SLOW>;
908 power-source = <IO_STANDARD_LVCMOS18>;
912 groups = "sdio1_wp_0_grp";
913 function = "sdio1_wp";
917 groups = "sdio1_wp_0_grp";
920 slew-rate = <SLEW_RATE_SLOW>;
921 power-source = <IO_STANDARD_LVCMOS18>;
925 pinctrl_gpio_default: gpio-default {
928 groups = "gpio0_22_grp", "gpio0_23_grp";
932 groups = "gpio0_22_grp", "gpio0_23_grp";
933 slew-rate = <SLEW_RATE_SLOW>;
934 power-source = <IO_STANDARD_LVCMOS18>;
939 groups = "gpio0_13_grp", "gpio0_38_grp";
943 groups = "gpio0_13_grp", "gpio0_38_grp";
944 slew-rate = <SLEW_RATE_SLOW>;
945 power-source = <IO_STANDARD_LVCMOS18>;
949 pins = "MIO22", "MIO23";
954 pins = "MIO13", "MIO38";
966 /* pcie, sata, usb3, dp */
967 clocks = <&si5341 0 5>, <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>;
968 clock-names = "ref0", "ref1", "ref2", "ref3";
975 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
976 #address-cells = <1>;
979 spi-tx-bus-width = <4>;
980 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
981 spi-max-frequency = <108000000>; /* Based on DC1 spec */
982 partition@0 { /* for testing purpose */
983 label = "qspi-fsbl-uboot";
984 reg = <0x0 0x100000>;
986 partition@100000 { /* for testing purpose */
987 label = "qspi-linux";
988 reg = <0x100000 0x500000>;
990 partition@600000 { /* for testing purpose */
991 label = "qspi-device-tree";
992 reg = <0x600000 0x20000>;
994 partition@620000 { /* for testing purpose */
995 label = "qspi-rootfs";
996 reg = <0x620000 0x5E0000>;
1007 /* SATA OOB timing settings */
1008 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
1009 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
1010 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
1011 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
1012 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
1013 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
1014 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
1015 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
1016 phy-names = "sata-phy";
1017 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
1020 /* SD1 with level shifter */
1024 * 1.0 revision has level shifter and this property should be
1025 * removed for supporting UHS mode
1028 pinctrl-names = "default";
1029 pinctrl-0 = <&pinctrl_sdhci1_default>;
1030 xlnx,mio-bank = <1>;
1035 pinctrl-names = "default";
1036 pinctrl-0 = <&pinctrl_uart0_default>;
1041 pinctrl-names = "default";
1042 pinctrl-0 = <&pinctrl_uart1_default>;
1045 /* ULPI SMSC USB3320 */
1048 pinctrl-names = "default";
1049 pinctrl-0 = <&pinctrl_usb0_default>;
1050 phy-names = "usb3-phy";
1051 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
1057 snps,usb3_lpm_capable;
1058 maximum-speed = "super-speed";
1083 phy-names = "dp-phy0";
1084 phys = <&psgtr 1 PHY_TYPE_DP 0 3>;