1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU102 RevA
5 * (C) Copyright 2015 - 2021, Xilinx, Inc.
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>;
203 phy0: ethernet-phy@21 {
205 ti,rx-internal-delay = <0x8>;
206 ti,tx-internal-delay = <0xa>;
207 ti,fifo-depth = <0x1>;
208 ti,dp83867-rxctrl-strap-quirk;
209 /* reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; */
215 pinctrl-names = "default";
216 pinctrl-0 = <&pinctrl_gpio_default>;
225 clock-frequency = <400000>;
226 pinctrl-names = "default", "gpio";
227 pinctrl-0 = <&pinctrl_i2c0_default>;
228 pinctrl-1 = <&pinctrl_i2c0_gpio>;
229 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
230 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
232 tca6416_u97: gpio@20 {
233 compatible = "ti,tca6416";
235 gpio-controller; /* IRQ not connected */
237 gpio-line-names = "PS_GTR_LAN_SEL0", "PS_GTR_LAN_SEL1", "PS_GTR_LAN_SEL2", "PS_GTR_LAN_SEL3",
238 "PCI_CLK_DIR_SEL", "IIC_MUX_RESET_B", "GEM3_EXP_RESET_B",
239 "", "", "", "", "", "", "", "", "";
243 output-low; /* PCIE = 0, DP = 1 */
249 output-high; /* PCIE = 0, DP = 1 */
255 output-high; /* PCIE = 0, USB0 = 1 */
261 output-high; /* PCIE = 0, SATA = 1 */
266 tca6416_u61: gpio@21 {
267 compatible = "ti,tca6416";
269 gpio-controller; /* IRQ not connected */
271 gpio-line-names = "VCCPSPLL_EN", "MGTRAVCC_EN", "MGTRAVTT_EN", "VCCPSDDRPLL_EN", "MIO26_PMU_INPUT_LS",
272 "PL_PMBUS_ALERT", "PS_PMBUS_ALERT", "MAXIM_PMBUS_ALERT", "PL_DDR4_VTERM_EN",
273 "PL_DDR4_VPP_2V5_EN", "PS_DIMM_VDDQ_TO_PSVCCO_ON", "PS_DIMM_SUSPEND_EN",
274 "PS_DDR4_VTERM_EN", "PS_DDR4_VPP_2V5_EN", "", "";
277 i2c-mux@75 { /* u60 */
278 compatible = "nxp,pca9544";
279 #address-cells = <1>;
283 #address-cells = <1>;
287 u76: ina226@40 { /* u76 */
288 compatible = "ti,ina226";
289 #io-channel-cells = <1>;
290 label = "ina226-u76";
292 shunt-resistor = <5000>;
294 u77: ina226@41 { /* u77 */
295 compatible = "ti,ina226";
296 #io-channel-cells = <1>;
297 label = "ina226-u77";
299 shunt-resistor = <5000>;
301 u78: ina226@42 { /* u78 */
302 compatible = "ti,ina226";
303 #io-channel-cells = <1>;
304 label = "ina226-u78";
306 shunt-resistor = <5000>;
308 u87: ina226@43 { /* u87 */
309 compatible = "ti,ina226";
310 #io-channel-cells = <1>;
311 label = "ina226-u87";
313 shunt-resistor = <5000>;
315 u85: ina226@44 { /* u85 */
316 compatible = "ti,ina226";
317 #io-channel-cells = <1>;
318 label = "ina226-u85";
320 shunt-resistor = <5000>;
322 u86: ina226@45 { /* u86 */
323 compatible = "ti,ina226";
324 #io-channel-cells = <1>;
325 label = "ina226-u86";
327 shunt-resistor = <5000>;
329 u93: ina226@46 { /* u93 */
330 compatible = "ti,ina226";
331 #io-channel-cells = <1>;
332 label = "ina226-u93";
334 shunt-resistor = <5000>;
336 u88: ina226@47 { /* u88 */
337 compatible = "ti,ina226";
338 #io-channel-cells = <1>;
339 label = "ina226-u88";
341 shunt-resistor = <5000>;
343 u15: ina226@4a { /* u15 */
344 compatible = "ti,ina226";
345 #io-channel-cells = <1>;
346 label = "ina226-u15";
348 shunt-resistor = <5000>;
350 u92: ina226@4b { /* u92 */
351 compatible = "ti,ina226";
352 #io-channel-cells = <1>;
353 label = "ina226-u92";
355 shunt-resistor = <5000>;
359 #address-cells = <1>;
363 u79: ina226@40 { /* u79 */
364 compatible = "ti,ina226";
365 #io-channel-cells = <1>;
366 label = "ina226-u79";
368 shunt-resistor = <2000>;
370 u81: ina226@41 { /* u81 */
371 compatible = "ti,ina226";
372 #io-channel-cells = <1>;
373 label = "ina226-u81";
375 shunt-resistor = <5000>;
377 u80: ina226@42 { /* u80 */
378 compatible = "ti,ina226";
379 #io-channel-cells = <1>;
380 label = "ina226-u80";
382 shunt-resistor = <5000>;
384 u84: ina226@43 { /* u84 */
385 compatible = "ti,ina226";
386 #io-channel-cells = <1>;
387 label = "ina226-u84";
389 shunt-resistor = <5000>;
391 u16: ina226@44 { /* u16 */
392 compatible = "ti,ina226";
393 #io-channel-cells = <1>;
394 label = "ina226-u16";
396 shunt-resistor = <5000>;
398 u65: ina226@45 { /* u65 */
399 compatible = "ti,ina226";
400 #io-channel-cells = <1>;
401 label = "ina226-u65";
403 shunt-resistor = <5000>;
405 u74: ina226@46 { /* u74 */
406 compatible = "ti,ina226";
407 #io-channel-cells = <1>;
408 label = "ina226-u74";
410 shunt-resistor = <5000>;
412 u75: ina226@47 { /* u75 */
413 compatible = "ti,ina226";
414 #io-channel-cells = <1>;
415 label = "ina226-u75";
417 shunt-resistor = <5000>;
421 #address-cells = <1>;
424 /* MAXIM_PMBUS - 00 */
425 max15301@a { /* u46 */
426 compatible = "maxim,max15301";
429 max15303@b { /* u4 */
430 compatible = "maxim,max15303";
433 max15303@10 { /* u13 */
434 compatible = "maxim,max15303";
437 max15301@13 { /* u47 */
438 compatible = "maxim,max15301";
441 max15303@14 { /* u7 */
442 compatible = "maxim,max15303";
445 max15303@15 { /* u6 */
446 compatible = "maxim,max15303";
449 max15303@16 { /* u10 */
450 compatible = "maxim,max15303";
453 max15303@17 { /* u9 */
454 compatible = "maxim,max15303";
457 max15301@18 { /* u63 */
458 compatible = "maxim,max15301";
461 max15303@1a { /* u49 */
462 compatible = "maxim,max15303";
465 max15303@1d { /* u18 */
466 compatible = "maxim,max15303";
469 max15303@20 { /* u8 */
470 compatible = "maxim,max15303";
471 status = "disabled"; /* unreachable */
474 max20751@72 { /* u95 */
475 compatible = "maxim,max20751";
478 max20751@73 { /* u96 */
479 compatible = "maxim,max20751";
483 /* Bus 3 is not connected */
489 clock-frequency = <400000>;
490 pinctrl-names = "default", "gpio";
491 pinctrl-0 = <&pinctrl_i2c1_default>;
492 pinctrl-1 = <&pinctrl_i2c1_gpio>;
493 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
494 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
496 /* PL i2c via PCA9306 - u45 */
497 i2c-mux@74 { /* u34 */
498 compatible = "nxp,pca9548";
499 #address-cells = <1>;
503 #address-cells = <1>;
507 * IIC_EEPROM 1kB memory which uses 256B blocks
508 * where every block has different address.
509 * 0 - 256B address 0x54
510 * 256B - 512B address 0x55
511 * 512B - 768B address 0x56
512 * 768B - 1024B address 0x57
514 eeprom: eeprom@54 { /* u23 */
515 compatible = "atmel,24c08";
520 #address-cells = <1>;
523 si5341: clock-generator@36 { /* SI5341 - u69 */
524 compatible = "silabs,si5341";
527 #address-cells = <1>;
530 clock-names = "xtal";
531 clock-output-names = "si5341";
534 /* refclk0 for PS-GT, used for DP */
539 /* refclk2 for PS-GT, used for USB3 */
544 /* refclk3 for PS-GT, used for SATA */
549 /* refclk4 for PS-GT, used for PCIE slot */
554 /* refclk5 for PS-GT, used for PCIE */
559 /* refclk6 PL CLK125 */
564 /* refclk7 PL CLK74 */
569 /* refclk9 used for PS_REF_CLK 33.3 MHz */
576 #address-cells = <1>;
579 si570_1: clock-generator@5d { /* USER SI570 - u42 */
581 compatible = "silabs,si570";
583 temperature-stability = <50>;
584 factory-fout = <300000000>;
585 clock-frequency = <300000000>;
586 clock-output-names = "si570_user";
590 #address-cells = <1>;
593 si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */
595 compatible = "silabs,si570";
597 temperature-stability = <50>; /* copy from zc702 */
598 factory-fout = <156250000>;
599 clock-frequency = <148500000>;
600 clock-output-names = "si570_mgt";
604 #address-cells = <1>;
609 /* 5 - 7 unconnected */
613 compatible = "nxp,pca9548"; /* u135 */
614 #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>;
661 #address-cells = <1>;
671 pinctrl_i2c0_default: i2c0-default {
673 groups = "i2c0_3_grp";
678 groups = "i2c0_3_grp";
680 slew-rate = <SLEW_RATE_SLOW>;
681 power-source = <IO_STANDARD_LVCMOS18>;
685 pinctrl_i2c0_gpio: i2c0-gpio {
687 groups = "gpio0_14_grp", "gpio0_15_grp";
692 groups = "gpio0_14_grp", "gpio0_15_grp";
693 slew-rate = <SLEW_RATE_SLOW>;
694 power-source = <IO_STANDARD_LVCMOS18>;
698 pinctrl_i2c1_default: i2c1-default {
700 groups = "i2c1_4_grp";
705 groups = "i2c1_4_grp";
707 slew-rate = <SLEW_RATE_SLOW>;
708 power-source = <IO_STANDARD_LVCMOS18>;
712 pinctrl_i2c1_gpio: i2c1-gpio {
714 groups = "gpio0_16_grp", "gpio0_17_grp";
719 groups = "gpio0_16_grp", "gpio0_17_grp";
720 slew-rate = <SLEW_RATE_SLOW>;
721 power-source = <IO_STANDARD_LVCMOS18>;
725 pinctrl_uart0_default: uart0-default {
727 groups = "uart0_4_grp";
732 groups = "uart0_4_grp";
733 slew-rate = <SLEW_RATE_SLOW>;
734 power-source = <IO_STANDARD_LVCMOS18>;
748 pinctrl_uart1_default: uart1-default {
750 groups = "uart1_5_grp";
755 groups = "uart1_5_grp";
756 slew-rate = <SLEW_RATE_SLOW>;
757 power-source = <IO_STANDARD_LVCMOS18>;
771 pinctrl_usb0_default: usb0-default {
773 groups = "usb0_0_grp";
778 groups = "usb0_0_grp";
779 slew-rate = <SLEW_RATE_SLOW>;
780 power-source = <IO_STANDARD_LVCMOS18>;
784 pins = "MIO52", "MIO53", "MIO55";
789 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
790 "MIO60", "MIO61", "MIO62", "MIO63";
795 pinctrl_gem3_default: gem3-default {
797 function = "ethernet3";
798 groups = "ethernet3_0_grp";
802 groups = "ethernet3_0_grp";
803 slew-rate = <SLEW_RATE_SLOW>;
804 power-source = <IO_STANDARD_LVCMOS18>;
808 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
815 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
823 groups = "mdio3_0_grp";
827 groups = "mdio3_0_grp";
828 slew-rate = <SLEW_RATE_SLOW>;
829 power-source = <IO_STANDARD_LVCMOS18>;
834 pinctrl_can1_default: can1-default {
837 groups = "can1_6_grp";
841 groups = "can1_6_grp";
842 slew-rate = <SLEW_RATE_SLOW>;
843 power-source = <IO_STANDARD_LVCMOS18>;
857 pinctrl_sdhci1_default: sdhci1-default {
859 groups = "sdio1_0_grp";
864 groups = "sdio1_0_grp";
865 slew-rate = <SLEW_RATE_SLOW>;
866 power-source = <IO_STANDARD_LVCMOS18>;
871 groups = "sdio1_cd_0_grp";
872 function = "sdio1_cd";
876 groups = "sdio1_cd_0_grp";
879 slew-rate = <SLEW_RATE_SLOW>;
880 power-source = <IO_STANDARD_LVCMOS18>;
884 groups = "sdio1_wp_0_grp";
885 function = "sdio1_wp";
889 groups = "sdio1_wp_0_grp";
892 slew-rate = <SLEW_RATE_SLOW>;
893 power-source = <IO_STANDARD_LVCMOS18>;
897 pinctrl_gpio_default: gpio-default {
900 groups = "gpio0_22_grp", "gpio0_23_grp";
904 groups = "gpio0_22_grp", "gpio0_23_grp";
905 slew-rate = <SLEW_RATE_SLOW>;
906 power-source = <IO_STANDARD_LVCMOS18>;
911 groups = "gpio0_13_grp", "gpio0_38_grp";
915 groups = "gpio0_13_grp", "gpio0_38_grp";
916 slew-rate = <SLEW_RATE_SLOW>;
917 power-source = <IO_STANDARD_LVCMOS18>;
921 pins = "MIO22", "MIO23";
926 pins = "MIO13", "MIO38";
938 /* pcie, sata, usb3, dp */
939 clocks = <&si5341 0 5>, <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>;
940 clock-names = "ref0", "ref1", "ref2", "ref3";
947 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
948 #address-cells = <1>;
951 spi-tx-bus-width = <1>;
952 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
953 spi-max-frequency = <108000000>; /* Based on DC1 spec */
954 partition@0 { /* for testing purpose */
955 label = "qspi-fsbl-uboot";
956 reg = <0x0 0x100000>;
958 partition@100000 { /* for testing purpose */
959 label = "qspi-linux";
960 reg = <0x100000 0x500000>;
962 partition@600000 { /* for testing purpose */
963 label = "qspi-device-tree";
964 reg = <0x600000 0x20000>;
966 partition@620000 { /* for testing purpose */
967 label = "qspi-rootfs";
968 reg = <0x620000 0x5E0000>;
979 /* SATA OOB timing settings */
980 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
981 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
982 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
983 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
984 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
985 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
986 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
987 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
988 phy-names = "sata-phy";
989 phys = <&psgtr 3 PHY_TYPE_SATA 1 1>;
992 /* SD1 with level shifter */
996 * 1.0 revision has level shifter and this property should be
997 * removed for supporting UHS mode
1000 pinctrl-names = "default";
1001 pinctrl-0 = <&pinctrl_sdhci1_default>;
1002 xlnx,mio-bank = <1>;
1007 pinctrl-names = "default";
1008 pinctrl-0 = <&pinctrl_uart0_default>;
1013 pinctrl-names = "default";
1014 pinctrl-0 = <&pinctrl_uart1_default>;
1017 /* ULPI SMSC USB3320 */
1020 pinctrl-names = "default";
1021 pinctrl-0 = <&pinctrl_usb0_default>;
1022 phy-names = "usb3-phy";
1023 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
1029 snps,usb3_lpm_capable;
1030 maximum-speed = "super-speed";
1055 phy-names = "dp-phy0";
1056 phys = <&psgtr 1 PHY_TYPE_DP 0 3>;