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>
19 model = "ZynqMP ZCU102 RevA";
20 compatible = "xlnx,zynqmp-zcu102-revA", "xlnx,zynqmp-zcu102", "xlnx,zynqmp";
37 bootargs = "earlycon";
38 stdout-path = "serial0:115200n8";
42 device_type = "memory";
43 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
47 compatible = "gpio-keys";
53 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
54 linux,code = <108>; /* down */
61 compatible = "gpio-leds";
64 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
65 linux,default-trigger = "heartbeat";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_can1_default>;
80 /* fpd_dma clk 667MHz, lpd_dma 500MHz */
83 xlnx,include-sg; /* for testing purpose */
84 xlnx,overfetch; /* for testing purpose */
85 xlnx,ratectrl = <0>; /* for testing purpose */
86 xlnx,src-issue = <31>;
91 xlnx,ratectrl = <100>; /* for testing purpose */
92 xlnx,src-issue = <4>; /* for testing purpose */
101 xlnx,include-sg; /* for testing purpose */
110 xlnx,include-sg; /* for testing purpose */
119 xlnx,include-sg; /* for testing purpose */
124 phy-handle = <&phy0>;
125 phy-mode = "rgmii-id";
126 pinctrl-names = "default";
127 pinctrl-0 = <&pinctrl_gem3_default>;
130 ti,rx-internal-delay = <0x8>;
131 ti,tx-internal-delay = <0xa>;
132 ti,fifo-depth = <0x1>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pinctrl_gpio_default>;
148 clock-frequency = <400000>;
149 pinctrl-names = "default", "gpio";
150 pinctrl-0 = <&pinctrl_i2c0_default>;
151 pinctrl-1 = <&pinctrl_i2c0_gpio>;
152 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
153 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
155 tca6416_u97: gpio@20 {
157 * Enable all GTs to out from U-Boot
158 * i2c mw 20 6 0 - setup IO to output
159 * i2c mw 20 2 ef - setup output values on pins 0-7
160 * i2c mw 20 3 ff - setup output values on pins 10-17
162 compatible = "ti,tca6416";
169 * 0 - PS_GTR_LAN_SEL0
170 * 1 - PS_GTR_LAN_SEL1
171 * 2 - PS_GTR_LAN_SEL2
172 * 3 - PS_GTR_LAN_SEL3
173 * 4 - PCI_CLK_DIR_SEL
174 * 5 - IIC_MUX_RESET_B
175 * 6 - GEM3_EXP_RESET_B
176 * 7, 10 - 17 - not connected
182 output-low; /* PCIE = 0, DP = 1 */
188 output-high; /* PCIE = 0, DP = 1 */
194 output-high; /* PCIE = 0, USB0 = 1 */
200 output-high; /* PCIE = 0, SATA = 1 */
205 tca6416_u61: gpio@21 { /* FIXME enable it by i2c mw 21 6 0 */
206 compatible = "ti,tca6416";
217 * 4 - MIO26_PMU_INPUT_LS
220 * 7 - MAXIM_PMBUS_ALERT
221 * 10 - PL_DDR4_VTERM_EN
222 * 11 - PL_DDR4_VPP_2V5_EN
223 * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
224 * 13 - PS_DIMM_SUSPEND_EN
225 * 14 - PS_DDR4_VTERM_EN
226 * 15 - PS_DDR4_VPP_2V5_EN
227 * 16 - 17 - not connected
231 i2cswitch@75 { /* u60 */
232 compatible = "nxp,pca9544";
233 #address-cells = <1>;
236 i2c@0 { /* i2c mw 75 0 1 */
237 #address-cells = <1>;
241 ina226@40 { /* u76 */
242 compatible = "ti,ina226";
244 shunt-resistor = <5000>;
246 ina226@41 { /* u77 */
247 compatible = "ti,ina226";
249 shunt-resistor = <5000>;
251 ina226@42 { /* u78 */
252 compatible = "ti,ina226";
254 shunt-resistor = <5000>;
256 ina226@43 { /* u87 */
257 compatible = "ti,ina226";
259 shunt-resistor = <5000>;
261 ina226@44 { /* u85 */
262 compatible = "ti,ina226";
264 shunt-resistor = <5000>;
266 ina226@45 { /* u86 */
267 compatible = "ti,ina226";
269 shunt-resistor = <5000>;
271 ina226@46 { /* u93 */
272 compatible = "ti,ina226";
274 shunt-resistor = <5000>;
276 ina226@47 { /* u88 */
277 compatible = "ti,ina226";
279 shunt-resistor = <5000>;
281 ina226@4a { /* u15 */
282 compatible = "ti,ina226";
284 shunt-resistor = <5000>;
286 ina226@4b { /* u92 */
287 compatible = "ti,ina226";
289 shunt-resistor = <5000>;
292 i2c@1 { /* i2c mw 75 0 1 */
293 #address-cells = <1>;
297 ina226@40 { /* u79 */
298 compatible = "ti,ina226";
300 shunt-resistor = <2000>;
302 ina226@41 { /* u81 */
303 compatible = "ti,ina226";
305 shunt-resistor = <5000>;
307 ina226@42 { /* u80 */
308 compatible = "ti,ina226";
310 shunt-resistor = <5000>;
312 ina226@43 { /* u84 */
313 compatible = "ti,ina226";
315 shunt-resistor = <5000>;
317 ina226@44 { /* u16 */
318 compatible = "ti,ina226";
320 shunt-resistor = <5000>;
322 ina226@45 { /* u65 */
323 compatible = "ti,ina226";
325 shunt-resistor = <5000>;
327 ina226@46 { /* u74 */
328 compatible = "ti,ina226";
330 shunt-resistor = <5000>;
332 ina226@47 { /* u75 */
333 compatible = "ti,ina226";
335 shunt-resistor = <5000>;
338 i2c@2 { /* i2c mw 75 0 1 */
339 #address-cells = <1>;
342 /* MAXIM_PMBUS - 00 */
343 max15301@a { /* u46 */
344 compatible = "max15301";
347 max15303@b { /* u4 */
348 compatible = "max15303";
351 max15303@10 { /* u13 */
352 compatible = "max15303";
355 max15301@13 { /* u47 */
356 compatible = "max15301";
359 max15303@14 { /* u7 */
360 compatible = "max15303";
363 max15303@15 { /* u6 */
364 compatible = "max15303";
367 max15303@16 { /* u10 */
368 compatible = "max15303";
371 max15303@17 { /* u9 */
372 compatible = "max15303";
375 max15301@18 { /* u63 */
376 compatible = "max15301";
379 max15303@1a { /* u49 */
380 compatible = "max15303";
383 max15303@1d { /* u18 */
384 compatible = "max15303";
387 max15303@20 { /* u8 */
388 compatible = "max15303";
389 status = "disabled"; /* unreachable */
393 /* drivers/hwmon/pmbus/Kconfig:86: be called max20751.
394 drivers/hwmon/pmbus/Makefile:11:obj-$(CONFIG_SENSORS_MAX20751) += max20751.o
396 max20751@72 { /* u95 FIXME - not detected */
397 compatible = "max20751";
400 max20751@73 { /* u96 FIXME - not detected */
401 compatible = "max20751";
405 /* Bus 3 is not connected */
408 /* FIXME PMOD - j160 */
409 /* FIXME MSP430F - u41 - not detected */
414 clock-frequency = <400000>;
415 pinctrl-names = "default", "gpio";
416 pinctrl-0 = <&pinctrl_i2c1_default>;
417 pinctrl-1 = <&pinctrl_i2c1_gpio>;
418 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
419 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
421 /* FIXME PL i2c via PCA9306 - u45 */
422 /* FIXME MSP430 - u41 - not detected */
423 i2cswitch@74 { /* u34 */
424 compatible = "nxp,pca9548";
425 #address-cells = <1>;
428 i2c@0 { /* i2c mw 74 0 1 */
429 #address-cells = <1>;
433 * IIC_EEPROM 1kB memory which uses 256B blocks
434 * where every block has different address.
435 * 0 - 256B address 0x54
436 * 256B - 512B address 0x55
437 * 512B - 768B address 0x56
438 * 768B - 1024B address 0x57
440 eeprom: eeprom@54 { /* u23 */
441 compatible = "at,24c08";
445 i2c@1 { /* i2c mw 74 0 2 */
446 #address-cells = <1>;
449 si5341: clock-generator1@36 { /* SI5341 - u69 */
450 compatible = "si5341";
455 i2c@2 { /* i2c mw 74 0 4 */
456 #address-cells = <1>;
459 si570_1: clock-generator2@5d { /* USER SI570 - u42 */
461 compatible = "silabs,si570";
463 temperature-stability = <50>;
464 factory-fout = <300000000>;
465 clock-frequency = <300000000>;
468 i2c@3 { /* i2c mw 74 0 8 */
469 #address-cells = <1>;
472 si570_2: clock-generator3@5d { /* USER MGT SI570 - u56 */
474 compatible = "silabs,si570";
476 temperature-stability = <50>; /* copy from zc702 */
477 factory-fout = <156250000>;
478 clock-frequency = <148500000>;
481 i2c@4 { /* i2c mw 74 0 10 */
482 #address-cells = <1>;
485 si5328: clock-generator4@69 {/* SI5328 - u20 */
486 compatible = "silabs,si5328";
489 * Chip has interrupt present connected to PL
490 * interrupt-parent = <&>;
495 /* 5 - 7 unconnected */
499 compatible = "nxp,pca9548"; /* u135 */
500 #address-cells = <1>;
505 #address-cells = <1>;
511 #address-cells = <1>;
517 #address-cells = <1>;
522 i2c@3 { /* i2c mw 75 0 8 */
523 #address-cells = <1>;
527 dev@19 { /* u-boot detection */
531 dev@30 { /* u-boot detection */
535 dev@35 { /* u-boot detection */
539 dev@36 { /* u-boot detection */
543 dev@51 { /* u-boot detection - maybe SPD */
549 #address-cells = <1>;
555 #address-cells = <1>;
561 #address-cells = <1>;
567 #address-cells = <1>;
577 pinctrl_i2c0_default: i2c0-default {
579 groups = "i2c0_3_grp";
584 groups = "i2c0_3_grp";
586 slew-rate = <SLEW_RATE_SLOW>;
587 io-standard = <IO_STANDARD_LVCMOS18>;
591 pinctrl_i2c0_gpio: i2c0-gpio {
593 groups = "gpio0_14_grp", "gpio0_15_grp";
598 groups = "gpio0_14_grp", "gpio0_15_grp";
599 slew-rate = <SLEW_RATE_SLOW>;
600 io-standard = <IO_STANDARD_LVCMOS18>;
604 pinctrl_i2c1_default: i2c1-default {
606 groups = "i2c1_4_grp";
611 groups = "i2c1_4_grp";
613 slew-rate = <SLEW_RATE_SLOW>;
614 io-standard = <IO_STANDARD_LVCMOS18>;
618 pinctrl_i2c1_gpio: i2c1-gpio {
620 groups = "gpio0_16_grp", "gpio0_17_grp";
625 groups = "gpio0_16_grp", "gpio0_17_grp";
626 slew-rate = <SLEW_RATE_SLOW>;
627 io-standard = <IO_STANDARD_LVCMOS18>;
631 pinctrl_uart0_default: uart0-default {
633 groups = "uart0_4_grp";
638 groups = "uart0_4_grp";
639 slew-rate = <SLEW_RATE_SLOW>;
640 io-standard = <IO_STANDARD_LVCMOS18>;
654 pinctrl_uart1_default: uart1-default {
656 groups = "uart1_5_grp";
661 groups = "uart1_5_grp";
662 slew-rate = <SLEW_RATE_SLOW>;
663 io-standard = <IO_STANDARD_LVCMOS18>;
677 pinctrl_usb0_default: usb0-default {
679 groups = "usb0_0_grp";
684 groups = "usb0_0_grp";
685 slew-rate = <SLEW_RATE_SLOW>;
686 io-standard = <IO_STANDARD_LVCMOS18>;
690 pins = "MIO52", "MIO53", "MIO55";
695 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
696 "MIO60", "MIO61", "MIO62", "MIO63";
701 pinctrl_gem3_default: gem3-default {
703 function = "ethernet3";
704 groups = "ethernet3_0_grp";
708 groups = "ethernet3_0_grp";
709 slew-rate = <SLEW_RATE_SLOW>;
710 io-standard = <IO_STANDARD_LVCMOS18>;
714 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
721 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
729 groups = "mdio3_0_grp";
733 groups = "mdio3_0_grp";
734 slew-rate = <SLEW_RATE_SLOW>;
735 io-standard = <IO_STANDARD_LVCMOS18>;
740 pinctrl_can1_default: can1-default {
743 groups = "can1_6_grp";
747 groups = "can1_6_grp";
748 slew-rate = <SLEW_RATE_SLOW>;
749 io-standard = <IO_STANDARD_LVCMOS18>;
763 pinctrl_sdhci1_default: sdhci1-default {
765 groups = "sdio1_0_grp";
770 groups = "sdio1_0_grp";
771 slew-rate = <SLEW_RATE_SLOW>;
772 io-standard = <IO_STANDARD_LVCMOS18>;
777 groups = "sdio1_0_cd_grp";
778 function = "sdio1_cd";
782 groups = "sdio1_0_cd_grp";
785 slew-rate = <SLEW_RATE_SLOW>;
786 io-standard = <IO_STANDARD_LVCMOS18>;
790 groups = "sdio1_0_wp_grp";
791 function = "sdio1_wp";
795 groups = "sdio1_0_wp_grp";
798 slew-rate = <SLEW_RATE_SLOW>;
799 io-standard = <IO_STANDARD_LVCMOS18>;
803 pinctrl_gpio_default: gpio-default {
806 groups = "gpio0_22_grp", "gpio0_23_grp";
810 groups = "gpio0_22_grp", "gpio0_23_grp";
811 slew-rate = <SLEW_RATE_SLOW>;
812 io-standard = <IO_STANDARD_LVCMOS18>;
817 groups = "gpio0_13_grp", "gpio0_38_grp";
821 groups = "gpio0_13_grp", "gpio0_38_grp";
822 slew-rate = <SLEW_RATE_SLOW>;
823 io-standard = <IO_STANDARD_LVCMOS18>;
827 pins = "MIO22", "MIO23";
832 pins = "MIO13", "MIO38";
846 compatible = "m25p80"; /* 32MB */
847 #address-cells = <1>;
850 spi-tx-bus-width = <1>;
851 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
852 spi-max-frequency = <108000000>; /* Based on DC1 spec */
853 partition@qspi-fsbl-uboot { /* for testing purpose */
854 label = "qspi-fsbl-uboot";
855 reg = <0x0 0x100000>;
857 partition@qspi-linux { /* for testing purpose */
858 label = "qspi-linux";
859 reg = <0x100000 0x500000>;
861 partition@qspi-device-tree { /* for testing purpose */
862 label = "qspi-device-tree";
863 reg = <0x600000 0x20000>;
865 partition@qspi-rootfs { /* for testing purpose */
866 label = "qspi-rootfs";
867 reg = <0x620000 0x5E0000>;
878 /* SATA OOB timing settings */
879 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
880 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
881 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
882 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
883 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
884 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
885 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
886 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
889 /* SD1 with level shifter */
892 pinctrl-names = "default";
893 pinctrl-0 = <&pinctrl_sdhci1_default>;
894 no-1-8-v; /* for 1.0 silicon */
900 pinctrl-names = "default";
901 pinctrl-0 = <&pinctrl_uart0_default>;
906 pinctrl-names = "default";
907 pinctrl-0 = <&pinctrl_uart1_default>;
910 /* ULPI SMSC USB3320 */
913 pinctrl-names = "default";
914 pinctrl-0 = <&pinctrl_usb0_default>;
960 &xlnx_dp_snd_codec0 {