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";
490 /* 5 - 7 unconnected */
494 compatible = "nxp,pca9548"; /* u135 */
495 #address-cells = <1>;
500 #address-cells = <1>;
506 #address-cells = <1>;
512 #address-cells = <1>;
517 i2c@3 { /* i2c mw 75 0 8 */
518 #address-cells = <1>;
522 dev@19 { /* u-boot detection */
526 dev@30 { /* u-boot detection */
530 dev@35 { /* u-boot detection */
534 dev@36 { /* u-boot detection */
538 dev@51 { /* u-boot detection - maybe SPD */
544 #address-cells = <1>;
550 #address-cells = <1>;
556 #address-cells = <1>;
562 #address-cells = <1>;
572 pinctrl_i2c0_default: i2c0-default {
574 groups = "i2c0_3_grp";
579 groups = "i2c0_3_grp";
581 slew-rate = <SLEW_RATE_SLOW>;
582 io-standard = <IO_STANDARD_LVCMOS18>;
586 pinctrl_i2c0_gpio: i2c0-gpio {
588 groups = "gpio0_14_grp", "gpio0_15_grp";
593 groups = "gpio0_14_grp", "gpio0_15_grp";
594 slew-rate = <SLEW_RATE_SLOW>;
595 io-standard = <IO_STANDARD_LVCMOS18>;
599 pinctrl_i2c1_default: i2c1-default {
601 groups = "i2c1_4_grp";
606 groups = "i2c1_4_grp";
608 slew-rate = <SLEW_RATE_SLOW>;
609 io-standard = <IO_STANDARD_LVCMOS18>;
613 pinctrl_i2c1_gpio: i2c1-gpio {
615 groups = "gpio0_16_grp", "gpio0_17_grp";
620 groups = "gpio0_16_grp", "gpio0_17_grp";
621 slew-rate = <SLEW_RATE_SLOW>;
622 io-standard = <IO_STANDARD_LVCMOS18>;
626 pinctrl_uart0_default: uart0-default {
628 groups = "uart0_4_grp";
633 groups = "uart0_4_grp";
634 slew-rate = <SLEW_RATE_SLOW>;
635 io-standard = <IO_STANDARD_LVCMOS18>;
649 pinctrl_uart1_default: uart1-default {
651 groups = "uart1_5_grp";
656 groups = "uart1_5_grp";
657 slew-rate = <SLEW_RATE_SLOW>;
658 io-standard = <IO_STANDARD_LVCMOS18>;
672 pinctrl_usb0_default: usb0-default {
674 groups = "usb0_0_grp";
679 groups = "usb0_0_grp";
680 slew-rate = <SLEW_RATE_SLOW>;
681 io-standard = <IO_STANDARD_LVCMOS18>;
685 pins = "MIO52", "MIO53", "MIO55";
690 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
691 "MIO60", "MIO61", "MIO62", "MIO63";
696 pinctrl_gem3_default: gem3-default {
698 function = "ethernet3";
699 groups = "ethernet3_0_grp";
703 groups = "ethernet3_0_grp";
704 slew-rate = <SLEW_RATE_SLOW>;
705 io-standard = <IO_STANDARD_LVCMOS18>;
709 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
716 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
724 groups = "mdio3_0_grp";
728 groups = "mdio3_0_grp";
729 slew-rate = <SLEW_RATE_SLOW>;
730 io-standard = <IO_STANDARD_LVCMOS18>;
735 pinctrl_can1_default: can1-default {
738 groups = "can1_6_grp";
742 groups = "can1_6_grp";
743 slew-rate = <SLEW_RATE_SLOW>;
744 io-standard = <IO_STANDARD_LVCMOS18>;
758 pinctrl_sdhci1_default: sdhci1-default {
760 groups = "sdio1_0_grp";
765 groups = "sdio1_0_grp";
766 slew-rate = <SLEW_RATE_SLOW>;
767 io-standard = <IO_STANDARD_LVCMOS18>;
772 groups = "sdio1_0_cd_grp";
773 function = "sdio1_cd";
777 groups = "sdio1_0_cd_grp";
780 slew-rate = <SLEW_RATE_SLOW>;
781 io-standard = <IO_STANDARD_LVCMOS18>;
785 groups = "sdio1_0_wp_grp";
786 function = "sdio1_wp";
790 groups = "sdio1_0_wp_grp";
793 slew-rate = <SLEW_RATE_SLOW>;
794 io-standard = <IO_STANDARD_LVCMOS18>;
798 pinctrl_gpio_default: gpio-default {
801 groups = "gpio0_22_grp", "gpio0_23_grp";
805 groups = "gpio0_22_grp", "gpio0_23_grp";
806 slew-rate = <SLEW_RATE_SLOW>;
807 io-standard = <IO_STANDARD_LVCMOS18>;
812 groups = "gpio0_13_grp", "gpio0_38_grp";
816 groups = "gpio0_13_grp", "gpio0_38_grp";
817 slew-rate = <SLEW_RATE_SLOW>;
818 io-standard = <IO_STANDARD_LVCMOS18>;
822 pins = "MIO22", "MIO23";
827 pins = "MIO13", "MIO38";
841 compatible = "m25p80"; /* 32MB */
842 #address-cells = <1>;
845 spi-tx-bus-width = <1>;
846 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
847 spi-max-frequency = <108000000>; /* Based on DC1 spec */
848 partition@qspi-fsbl-uboot { /* for testing purpose */
849 label = "qspi-fsbl-uboot";
850 reg = <0x0 0x100000>;
852 partition@qspi-linux { /* for testing purpose */
853 label = "qspi-linux";
854 reg = <0x100000 0x500000>;
856 partition@qspi-device-tree { /* for testing purpose */
857 label = "qspi-device-tree";
858 reg = <0x600000 0x20000>;
860 partition@qspi-rootfs { /* for testing purpose */
861 label = "qspi-rootfs";
862 reg = <0x620000 0x5E0000>;
873 /* SATA OOB timing settings */
874 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
875 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
876 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
877 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
878 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
879 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
880 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
881 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
884 /* SD1 with level shifter */
887 pinctrl-names = "default";
888 pinctrl-0 = <&pinctrl_sdhci1_default>;
889 no-1-8-v; /* for 1.0 silicon */
895 pinctrl-names = "default";
896 pinctrl-0 = <&pinctrl_uart0_default>;
901 pinctrl-names = "default";
902 pinctrl-0 = <&pinctrl_uart1_default>;
905 /* ULPI SMSC USB3320 */
908 pinctrl-names = "default";
909 pinctrl-0 = <&pinctrl_usb0_default>;
943 &xlnx_dp_snd_codec0 {