2 * dts file for Xilinx ZynqMP ZCU102 RevA
4 * (C) Copyright 2015, Xilinx, Inc.
6 * Michal Simek <michal.simek@xilinx.com>
8 * SPDX-License-Identifier: GPL-2.0+
13 #include "zynqmp.dtsi"
14 #include "zynqmp-clk.dtsi"
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";
54 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
55 linux,code = <108>; /* down */
62 compatible = "gpio-leds";
65 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
66 linux,default-trigger = "heartbeat";
73 pinctrl-names = "default";
74 pinctrl-0 = <&pinctrl_can1_default>;
81 /* fpd_dma clk 667MHz, lpd_dma 500MHz */
84 xlnx,include-sg; /* for testing purpose */
85 xlnx,overfetch; /* for testing purpose */
86 xlnx,ratectrl = <0>; /* for testing purpose */
87 xlnx,src-issue = <31>;
92 xlnx,ratectrl = <100>; /* for testing purpose */
93 xlnx,src-issue = <4>; /* for testing purpose */
102 xlnx,include-sg; /* for testing purpose */
111 xlnx,include-sg; /* for testing purpose */
120 xlnx,include-sg; /* for testing purpose */
125 phy-handle = <&phy0>;
126 phy-mode = "rgmii-id";
127 pinctrl-names = "default";
128 pinctrl-0 = <&pinctrl_gem3_default>;
131 ti,rx-internal-delay = <0x8>;
132 ti,tx-internal-delay = <0xa>;
133 ti,fifo-depth = <0x1>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_gpio_default>;
149 clock-frequency = <400000>;
150 pinctrl-names = "default", "gpio";
151 pinctrl-0 = <&pinctrl_i2c0_default>;
152 pinctrl-1 = <&pinctrl_i2c0_gpio>;
153 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
154 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
156 tca6416_u97: gpio@20 {
158 * Enable all GTs to out from U-Boot
159 * i2c mw 20 6 0 - setup IO to output
160 * i2c mw 20 2 ef - setup output values on pins 0-7
161 * i2c mw 20 3 ff - setup output values on pins 10-17
163 compatible = "ti,tca6416";
170 * 0 - PS_GTR_LAN_SEL0
171 * 1 - PS_GTR_LAN_SEL1
172 * 2 - PS_GTR_LAN_SEL2
173 * 3 - PS_GTR_LAN_SEL3
174 * 4 - PCI_CLK_DIR_SEL
175 * 5 - IIC_MUX_RESET_B
176 * 6 - GEM3_EXP_RESET_B
177 * 7, 10 - 17 - not connected
183 output-low; /* PCIE = 0, DP = 1 */
189 output-high; /* PCIE = 0, DP = 1 */
195 output-high; /* PCIE = 0, USB0 = 1 */
201 output-high; /* PCIE = 0, SATA = 1 */
206 tca6416_u61: gpio@21 { /* FIXME enable it by i2c mw 21 6 0 */
207 compatible = "ti,tca6416";
218 * 4 - MIO26_PMU_INPUT_LS
221 * 7 - MAXIM_PMBUS_ALERT
222 * 10 - PL_DDR4_VTERM_EN
223 * 11 - PL_DDR4_VPP_2V5_EN
224 * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
225 * 13 - PS_DIMM_SUSPEND_EN
226 * 14 - PS_DDR4_VTERM_EN
227 * 15 - PS_DDR4_VPP_2V5_EN
228 * 16 - 17 - not connected
232 i2cswitch@75 { /* u60 */
233 compatible = "nxp,pca9544";
234 #address-cells = <1>;
237 i2c@0 { /* i2c mw 75 0 1 */
238 #address-cells = <1>;
242 ina226@40 { /* u76 */
243 compatible = "ti,ina226";
245 shunt-resistor = <5000>;
247 ina226@41 { /* u77 */
248 compatible = "ti,ina226";
250 shunt-resistor = <5000>;
252 ina226@42 { /* u78 */
253 compatible = "ti,ina226";
255 shunt-resistor = <5000>;
257 ina226@43 { /* u87 */
258 compatible = "ti,ina226";
260 shunt-resistor = <5000>;
262 ina226@44 { /* u85 */
263 compatible = "ti,ina226";
265 shunt-resistor = <5000>;
267 ina226@45 { /* u86 */
268 compatible = "ti,ina226";
270 shunt-resistor = <5000>;
272 ina226@46 { /* u93 */
273 compatible = "ti,ina226";
275 shunt-resistor = <5000>;
277 ina226@47 { /* u88 */
278 compatible = "ti,ina226";
280 shunt-resistor = <5000>;
282 ina226@4a { /* u15 */
283 compatible = "ti,ina226";
285 shunt-resistor = <5000>;
287 ina226@4b { /* u92 */
288 compatible = "ti,ina226";
290 shunt-resistor = <5000>;
293 i2c@1 { /* i2c mw 75 0 1 */
294 #address-cells = <1>;
298 ina226@40 { /* u79 */
299 compatible = "ti,ina226";
301 shunt-resistor = <2000>;
303 ina226@41 { /* u81 */
304 compatible = "ti,ina226";
306 shunt-resistor = <5000>;
308 ina226@42 { /* u80 */
309 compatible = "ti,ina226";
311 shunt-resistor = <5000>;
313 ina226@43 { /* u84 */
314 compatible = "ti,ina226";
316 shunt-resistor = <5000>;
318 ina226@44 { /* u16 */
319 compatible = "ti,ina226";
321 shunt-resistor = <5000>;
323 ina226@45 { /* u65 */
324 compatible = "ti,ina226";
326 shunt-resistor = <5000>;
328 ina226@46 { /* u74 */
329 compatible = "ti,ina226";
331 shunt-resistor = <5000>;
333 ina226@47 { /* u75 */
334 compatible = "ti,ina226";
336 shunt-resistor = <5000>;
339 i2c@2 { /* i2c mw 75 0 1 */
340 #address-cells = <1>;
343 /* MAXIM_PMBUS - 00 */
344 max15301@a { /* u46 */
345 compatible = "max15301";
348 max15303@b { /* u4 */
349 compatible = "max15303";
352 max15303@10 { /* u13 */
353 compatible = "max15303";
356 max15301@13 { /* u47 */
357 compatible = "max15301";
360 max15303@14 { /* u7 */
361 compatible = "max15303";
364 max15303@15 { /* u6 */
365 compatible = "max15303";
368 max15303@16 { /* u10 */
369 compatible = "max15303";
372 max15303@17 { /* u9 */
373 compatible = "max15303";
376 max15301@18 { /* u63 */
377 compatible = "max15301";
380 max15303@1a { /* u49 */
381 compatible = "max15303";
384 max15303@1d { /* u18 */
385 compatible = "max15303";
388 max15303@20 { /* u8 */
389 compatible = "max15303";
390 status = "disabled"; /* unreachable */
394 /* drivers/hwmon/pmbus/Kconfig:86: be called max20751.
395 drivers/hwmon/pmbus/Makefile:11:obj-$(CONFIG_SENSORS_MAX20751) += max20751.o
397 max20751@72 { /* u95 FIXME - not detected */
398 compatible = "max20751";
401 max20751@73 { /* u96 FIXME - not detected */
402 compatible = "max20751";
406 /* Bus 3 is not connected */
409 /* FIXME PMOD - j160 */
410 /* FIXME MSP430F - u41 - not detected */
415 clock-frequency = <400000>;
416 pinctrl-names = "default", "gpio";
417 pinctrl-0 = <&pinctrl_i2c1_default>;
418 pinctrl-1 = <&pinctrl_i2c1_gpio>;
419 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
420 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
422 /* FIXME PL i2c via PCA9306 - u45 */
423 /* FIXME MSP430 - u41 - not detected */
424 i2cswitch@74 { /* u34 */
425 compatible = "nxp,pca9548";
426 #address-cells = <1>;
429 i2c@0 { /* i2c mw 74 0 1 */
430 #address-cells = <1>;
434 * IIC_EEPROM 1kB memory which uses 256B blocks
435 * where every block has different address.
436 * 0 - 256B address 0x54
437 * 256B - 512B address 0x55
438 * 512B - 768B address 0x56
439 * 768B - 1024B address 0x57
441 eeprom: eeprom@54 { /* u23 */
442 compatible = "at,24c08";
446 i2c@1 { /* i2c mw 74 0 2 */
447 #address-cells = <1>;
450 si5341: clock-generator1@36 { /* SI5341 - u69 */
451 compatible = "si5341";
456 i2c@2 { /* i2c mw 74 0 4 */
457 #address-cells = <1>;
460 si570_1: clock-generator2@5d { /* USER SI570 - u42 */
462 compatible = "silabs,si570";
464 temperature-stability = <50>;
465 factory-fout = <300000000>;
466 clock-frequency = <300000000>;
469 i2c@3 { /* i2c mw 74 0 8 */
470 #address-cells = <1>;
473 si570_2: clock-generator3@5d { /* USER MGT SI570 - u56 */
475 compatible = "silabs,si570";
477 temperature-stability = <50>; /* copy from zc702 */
478 factory-fout = <156250000>;
479 clock-frequency = <148500000>;
482 i2c@4 { /* i2c mw 74 0 10 */
483 #address-cells = <1>;
486 si5328: clock-generator4@69 {/* SI5328 - u20 */
487 compatible = "silabs,si5328";
490 * Chip has interrupt present connected to PL
491 * interrupt-parent = <&>;
496 /* 5 - 7 unconnected */
500 compatible = "nxp,pca9548"; /* u135 */
501 #address-cells = <1>;
506 #address-cells = <1>;
512 #address-cells = <1>;
518 #address-cells = <1>;
523 i2c@3 { /* i2c mw 75 0 8 */
524 #address-cells = <1>;
528 dev@19 { /* u-boot detection */
532 dev@30 { /* u-boot detection */
536 dev@35 { /* u-boot detection */
540 dev@36 { /* u-boot detection */
544 dev@51 { /* u-boot detection - maybe SPD */
550 #address-cells = <1>;
556 #address-cells = <1>;
562 #address-cells = <1>;
568 #address-cells = <1>;
578 pinctrl_i2c0_default: i2c0-default {
580 groups = "i2c0_3_grp";
585 groups = "i2c0_3_grp";
587 slew-rate = <SLEW_RATE_SLOW>;
588 io-standard = <IO_STANDARD_LVCMOS18>;
592 pinctrl_i2c0_gpio: i2c0-gpio {
594 groups = "gpio0_14_grp", "gpio0_15_grp";
599 groups = "gpio0_14_grp", "gpio0_15_grp";
600 slew-rate = <SLEW_RATE_SLOW>;
601 io-standard = <IO_STANDARD_LVCMOS18>;
605 pinctrl_i2c1_default: i2c1-default {
607 groups = "i2c1_4_grp";
612 groups = "i2c1_4_grp";
614 slew-rate = <SLEW_RATE_SLOW>;
615 io-standard = <IO_STANDARD_LVCMOS18>;
619 pinctrl_i2c1_gpio: i2c1-gpio {
621 groups = "gpio0_16_grp", "gpio0_17_grp";
626 groups = "gpio0_16_grp", "gpio0_17_grp";
627 slew-rate = <SLEW_RATE_SLOW>;
628 io-standard = <IO_STANDARD_LVCMOS18>;
632 pinctrl_uart0_default: uart0-default {
634 groups = "uart0_4_grp";
639 groups = "uart0_4_grp";
640 slew-rate = <SLEW_RATE_SLOW>;
641 io-standard = <IO_STANDARD_LVCMOS18>;
655 pinctrl_uart1_default: uart1-default {
657 groups = "uart1_5_grp";
662 groups = "uart1_5_grp";
663 slew-rate = <SLEW_RATE_SLOW>;
664 io-standard = <IO_STANDARD_LVCMOS18>;
678 pinctrl_usb0_default: usb0-default {
680 groups = "usb0_0_grp";
685 groups = "usb0_0_grp";
686 slew-rate = <SLEW_RATE_SLOW>;
687 io-standard = <IO_STANDARD_LVCMOS18>;
691 pins = "MIO52", "MIO53", "MIO55";
696 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
697 "MIO60", "MIO61", "MIO62", "MIO63";
702 pinctrl_gem3_default: gem3-default {
704 function = "ethernet3";
705 groups = "ethernet3_0_grp";
709 groups = "ethernet3_0_grp";
710 slew-rate = <SLEW_RATE_SLOW>;
711 io-standard = <IO_STANDARD_LVCMOS18>;
715 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
722 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
730 groups = "mdio3_0_grp";
734 groups = "mdio3_0_grp";
735 slew-rate = <SLEW_RATE_SLOW>;
736 io-standard = <IO_STANDARD_LVCMOS18>;
741 pinctrl_can1_default: can1-default {
744 groups = "can1_6_grp";
748 groups = "can1_6_grp";
749 slew-rate = <SLEW_RATE_SLOW>;
750 io-standard = <IO_STANDARD_LVCMOS18>;
764 pinctrl_sdhci1_default: sdhci1-default {
766 groups = "sdio1_0_grp";
771 groups = "sdio1_0_grp";
772 slew-rate = <SLEW_RATE_SLOW>;
773 io-standard = <IO_STANDARD_LVCMOS18>;
778 groups = "sdio1_0_cd_grp";
779 function = "sdio1_cd";
783 groups = "sdio1_0_cd_grp";
786 slew-rate = <SLEW_RATE_SLOW>;
787 io-standard = <IO_STANDARD_LVCMOS18>;
791 groups = "sdio1_0_wp_grp";
792 function = "sdio1_wp";
796 groups = "sdio1_0_wp_grp";
799 slew-rate = <SLEW_RATE_SLOW>;
800 io-standard = <IO_STANDARD_LVCMOS18>;
804 pinctrl_gpio_default: gpio-default {
807 groups = "gpio0_22_grp", "gpio0_23_grp";
811 groups = "gpio0_22_grp", "gpio0_23_grp";
812 slew-rate = <SLEW_RATE_SLOW>;
813 io-standard = <IO_STANDARD_LVCMOS18>;
818 groups = "gpio0_13_grp", "gpio0_38_grp";
822 groups = "gpio0_13_grp", "gpio0_38_grp";
823 slew-rate = <SLEW_RATE_SLOW>;
824 io-standard = <IO_STANDARD_LVCMOS18>;
828 pins = "MIO22", "MIO23";
833 pins = "MIO13", "MIO38";
847 compatible = "m25p80"; /* 32MB */
848 #address-cells = <1>;
851 spi-tx-bus-width = <1>;
852 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
853 spi-max-frequency = <108000000>; /* Based on DC1 spec */
854 partition@qspi-fsbl-uboot { /* for testing purpose */
855 label = "qspi-fsbl-uboot";
856 reg = <0x0 0x100000>;
858 partition@qspi-linux { /* for testing purpose */
859 label = "qspi-linux";
860 reg = <0x100000 0x500000>;
862 partition@qspi-device-tree { /* for testing purpose */
863 label = "qspi-device-tree";
864 reg = <0x600000 0x20000>;
866 partition@qspi-rootfs { /* for testing purpose */
867 label = "qspi-rootfs";
868 reg = <0x620000 0x5E0000>;
879 /* SATA OOB timing settings */
880 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
881 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
882 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
883 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
884 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
885 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
886 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
887 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
888 phy-names = "sata-phy";
889 phys = <&lane3 PHY_TYPE_SATA 1 1 125000000>;
892 /* SD1 with level shifter */
895 pinctrl-names = "default";
896 pinctrl-0 = <&pinctrl_sdhci1_default>;
897 no-1-8-v; /* for 1.0 silicon */
907 pinctrl-names = "default";
908 pinctrl-0 = <&pinctrl_uart0_default>;
913 pinctrl-names = "default";
914 pinctrl-0 = <&pinctrl_uart1_default>;
917 /* ULPI SMSC USB3320 */
920 pinctrl-names = "default";
921 pinctrl-0 = <&pinctrl_usb0_default>;
927 snps,usb3_lpm_capable;
928 phy-names = "usb3-phy";
929 phys = <&lane2 PHY_TYPE_USB3 0 2 26000000>;
930 maximum-speed = "super-speed";
975 &xlnx_dp_snd_codec0 {