1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU102 RevA
5 * (C) Copyright 2015 - 2018, Xilinx, Inc.
7 * Michal Simek <michal.simek@xilinx.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";
54 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
55 linux,code = <KEY_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>;
115 phy-handle = <&phy0>;
116 phy-mode = "rgmii-id";
117 pinctrl-names = "default";
118 pinctrl-0 = <&pinctrl_gem3_default>;
121 ti,rx-internal-delay = <0x8>;
122 ti,tx-internal-delay = <0xa>;
123 ti,fifo-depth = <0x1>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_gpio_default>;
139 clock-frequency = <400000>;
140 pinctrl-names = "default", "gpio";
141 pinctrl-0 = <&pinctrl_i2c0_default>;
142 pinctrl-1 = <&pinctrl_i2c0_gpio>;
143 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
144 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
146 tca6416_u97: gpio@20 {
147 compatible = "ti,tca6416";
154 * 0 - PS_GTR_LAN_SEL0
155 * 1 - PS_GTR_LAN_SEL1
156 * 2 - PS_GTR_LAN_SEL2
157 * 3 - PS_GTR_LAN_SEL3
158 * 4 - PCI_CLK_DIR_SEL
159 * 5 - IIC_MUX_RESET_B
160 * 6 - GEM3_EXP_RESET_B
161 * 7, 10 - 17 - not connected
167 output-low; /* PCIE = 0, DP = 1 */
173 output-high; /* PCIE = 0, DP = 1 */
179 output-high; /* PCIE = 0, USB0 = 1 */
185 output-high; /* PCIE = 0, SATA = 1 */
190 tca6416_u61: gpio@21 {
191 compatible = "ti,tca6416";
202 * 4 - MIO26_PMU_INPUT_LS
205 * 7 - MAXIM_PMBUS_ALERT
206 * 10 - PL_DDR4_VTERM_EN
207 * 11 - PL_DDR4_VPP_2V5_EN
208 * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
209 * 13 - PS_DIMM_SUSPEND_EN
210 * 14 - PS_DDR4_VTERM_EN
211 * 15 - PS_DDR4_VPP_2V5_EN
212 * 16 - 17 - not connected
216 i2c-mux@75 { /* u60 */
217 compatible = "nxp,pca9544";
218 #address-cells = <1>;
222 #address-cells = <1>;
226 ina226@40 { /* u76 */
227 compatible = "ti,ina226";
229 shunt-resistor = <5000>;
231 ina226@41 { /* u77 */
232 compatible = "ti,ina226";
234 shunt-resistor = <5000>;
236 ina226@42 { /* u78 */
237 compatible = "ti,ina226";
239 shunt-resistor = <5000>;
241 ina226@43 { /* u87 */
242 compatible = "ti,ina226";
244 shunt-resistor = <5000>;
246 ina226@44 { /* u85 */
247 compatible = "ti,ina226";
249 shunt-resistor = <5000>;
251 ina226@45 { /* u86 */
252 compatible = "ti,ina226";
254 shunt-resistor = <5000>;
256 ina226@46 { /* u93 */
257 compatible = "ti,ina226";
259 shunt-resistor = <5000>;
261 ina226@47 { /* u88 */
262 compatible = "ti,ina226";
264 shunt-resistor = <5000>;
266 ina226@4a { /* u15 */
267 compatible = "ti,ina226";
269 shunt-resistor = <5000>;
271 ina226@4b { /* u92 */
272 compatible = "ti,ina226";
274 shunt-resistor = <5000>;
278 #address-cells = <1>;
282 ina226@40 { /* u79 */
283 compatible = "ti,ina226";
285 shunt-resistor = <2000>;
287 ina226@41 { /* u81 */
288 compatible = "ti,ina226";
290 shunt-resistor = <5000>;
292 ina226@42 { /* u80 */
293 compatible = "ti,ina226";
295 shunt-resistor = <5000>;
297 ina226@43 { /* u84 */
298 compatible = "ti,ina226";
300 shunt-resistor = <5000>;
302 ina226@44 { /* u16 */
303 compatible = "ti,ina226";
305 shunt-resistor = <5000>;
307 ina226@45 { /* u65 */
308 compatible = "ti,ina226";
310 shunt-resistor = <5000>;
312 ina226@46 { /* u74 */
313 compatible = "ti,ina226";
315 shunt-resistor = <5000>;
317 ina226@47 { /* u75 */
318 compatible = "ti,ina226";
320 shunt-resistor = <5000>;
324 #address-cells = <1>;
327 /* MAXIM_PMBUS - 00 */
328 max15301@a { /* u46 */
329 compatible = "maxim,max15301";
332 max15303@b { /* u4 */
333 compatible = "maxim,max15303";
336 max15303@10 { /* u13 */
337 compatible = "maxim,max15303";
340 max15301@13 { /* u47 */
341 compatible = "maxim,max15301";
344 max15303@14 { /* u7 */
345 compatible = "maxim,max15303";
348 max15303@15 { /* u6 */
349 compatible = "maxim,max15303";
352 max15303@16 { /* u10 */
353 compatible = "maxim,max15303";
356 max15303@17 { /* u9 */
357 compatible = "maxim,max15303";
360 max15301@18 { /* u63 */
361 compatible = "maxim,max15301";
364 max15303@1a { /* u49 */
365 compatible = "maxim,max15303";
368 max15303@1d { /* u18 */
369 compatible = "maxim,max15303";
372 max15303@20 { /* u8 */
373 compatible = "maxim,max15303";
374 status = "disabled"; /* unreachable */
378 max20751@72 { /* u95 */
379 compatible = "maxim,max20751";
382 max20751@73 { /* u96 */
383 compatible = "maxim,max20751";
387 /* Bus 3 is not connected */
393 clock-frequency = <400000>;
394 pinctrl-names = "default", "gpio";
395 pinctrl-0 = <&pinctrl_i2c1_default>;
396 pinctrl-1 = <&pinctrl_i2c1_gpio>;
397 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
398 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
400 /* PL i2c via PCA9306 - u45 */
401 i2c-mux@74 { /* u34 */
402 compatible = "nxp,pca9548";
403 #address-cells = <1>;
407 #address-cells = <1>;
411 * IIC_EEPROM 1kB memory which uses 256B blocks
412 * where every block has different address.
413 * 0 - 256B address 0x54
414 * 256B - 512B address 0x55
415 * 512B - 768B address 0x56
416 * 768B - 1024B address 0x57
418 eeprom: eeprom@54 { /* u23 */
419 compatible = "atmel,24c08";
424 #address-cells = <1>;
427 si5341: clock-generator@36 { /* SI5341 - u69 */
428 compatible = "si5341";
434 #address-cells = <1>;
437 si570_1: clock-generator@5d { /* USER SI570 - u42 */
439 compatible = "silabs,si570";
441 temperature-stability = <50>;
442 factory-fout = <300000000>;
443 clock-frequency = <300000000>;
447 #address-cells = <1>;
450 si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */
452 compatible = "silabs,si570";
454 temperature-stability = <50>; /* copy from zc702 */
455 factory-fout = <156250000>;
456 clock-frequency = <148500000>;
460 #address-cells = <1>;
463 si5328: clock-generator@69 {/* SI5328 - u20 */
464 compatible = "silabs,si5328";
467 * Chip has interrupt present connected to PL
468 * interrupt-parent = <&>;
473 /* 5 - 7 unconnected */
477 compatible = "nxp,pca9548"; /* u135 */
478 #address-cells = <1>;
483 #address-cells = <1>;
489 #address-cells = <1>;
495 #address-cells = <1>;
501 #address-cells = <1>;
522 #address-cells = <1>;
528 #address-cells = <1>;
534 #address-cells = <1>;
540 #address-cells = <1>;
550 pinctrl_i2c0_default: i2c0-default {
552 groups = "i2c0_3_grp";
557 groups = "i2c0_3_grp";
559 slew-rate = <SLEW_RATE_SLOW>;
560 io-standard = <IO_STANDARD_LVCMOS18>;
564 pinctrl_i2c0_gpio: i2c0-gpio {
566 groups = "gpio0_14_grp", "gpio0_15_grp";
571 groups = "gpio0_14_grp", "gpio0_15_grp";
572 slew-rate = <SLEW_RATE_SLOW>;
573 io-standard = <IO_STANDARD_LVCMOS18>;
577 pinctrl_i2c1_default: i2c1-default {
579 groups = "i2c1_4_grp";
584 groups = "i2c1_4_grp";
586 slew-rate = <SLEW_RATE_SLOW>;
587 io-standard = <IO_STANDARD_LVCMOS18>;
591 pinctrl_i2c1_gpio: i2c1-gpio {
593 groups = "gpio0_16_grp", "gpio0_17_grp";
598 groups = "gpio0_16_grp", "gpio0_17_grp";
599 slew-rate = <SLEW_RATE_SLOW>;
600 io-standard = <IO_STANDARD_LVCMOS18>;
604 pinctrl_uart0_default: uart0-default {
606 groups = "uart0_4_grp";
611 groups = "uart0_4_grp";
612 slew-rate = <SLEW_RATE_SLOW>;
613 io-standard = <IO_STANDARD_LVCMOS18>;
627 pinctrl_uart1_default: uart1-default {
629 groups = "uart1_5_grp";
634 groups = "uart1_5_grp";
635 slew-rate = <SLEW_RATE_SLOW>;
636 io-standard = <IO_STANDARD_LVCMOS18>;
650 pinctrl_usb0_default: usb0-default {
652 groups = "usb0_0_grp";
657 groups = "usb0_0_grp";
658 slew-rate = <SLEW_RATE_SLOW>;
659 io-standard = <IO_STANDARD_LVCMOS18>;
663 pins = "MIO52", "MIO53", "MIO55";
668 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
669 "MIO60", "MIO61", "MIO62", "MIO63";
674 pinctrl_gem3_default: gem3-default {
676 function = "ethernet3";
677 groups = "ethernet3_0_grp";
681 groups = "ethernet3_0_grp";
682 slew-rate = <SLEW_RATE_SLOW>;
683 io-standard = <IO_STANDARD_LVCMOS18>;
687 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
694 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
702 groups = "mdio3_0_grp";
706 groups = "mdio3_0_grp";
707 slew-rate = <SLEW_RATE_SLOW>;
708 io-standard = <IO_STANDARD_LVCMOS18>;
713 pinctrl_can1_default: can1-default {
716 groups = "can1_6_grp";
720 groups = "can1_6_grp";
721 slew-rate = <SLEW_RATE_SLOW>;
722 io-standard = <IO_STANDARD_LVCMOS18>;
736 pinctrl_sdhci1_default: sdhci1-default {
738 groups = "sdio1_0_grp";
743 groups = "sdio1_0_grp";
744 slew-rate = <SLEW_RATE_SLOW>;
745 io-standard = <IO_STANDARD_LVCMOS18>;
750 groups = "sdio1_0_cd_grp";
751 function = "sdio1_cd";
755 groups = "sdio1_0_cd_grp";
758 slew-rate = <SLEW_RATE_SLOW>;
759 io-standard = <IO_STANDARD_LVCMOS18>;
763 groups = "sdio1_0_wp_grp";
764 function = "sdio1_wp";
768 groups = "sdio1_0_wp_grp";
771 slew-rate = <SLEW_RATE_SLOW>;
772 io-standard = <IO_STANDARD_LVCMOS18>;
776 pinctrl_gpio_default: gpio-default {
779 groups = "gpio0_22_grp", "gpio0_23_grp";
783 groups = "gpio0_22_grp", "gpio0_23_grp";
784 slew-rate = <SLEW_RATE_SLOW>;
785 io-standard = <IO_STANDARD_LVCMOS18>;
790 groups = "gpio0_13_grp", "gpio0_38_grp";
794 groups = "gpio0_13_grp", "gpio0_38_grp";
795 slew-rate = <SLEW_RATE_SLOW>;
796 io-standard = <IO_STANDARD_LVCMOS18>;
800 pins = "MIO22", "MIO23";
805 pins = "MIO13", "MIO38";
819 compatible = "m25p80"; /* 32MB */
820 #address-cells = <1>;
823 spi-tx-bus-width = <1>;
824 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
825 spi-max-frequency = <108000000>; /* Based on DC1 spec */
826 partition@qspi-fsbl-uboot { /* for testing purpose */
827 label = "qspi-fsbl-uboot";
828 reg = <0x0 0x100000>;
830 partition@qspi-linux { /* for testing purpose */
831 label = "qspi-linux";
832 reg = <0x100000 0x500000>;
834 partition@qspi-device-tree { /* for testing purpose */
835 label = "qspi-device-tree";
836 reg = <0x600000 0x20000>;
838 partition@qspi-rootfs { /* for testing purpose */
839 label = "qspi-rootfs";
840 reg = <0x620000 0x5E0000>;
851 /* SATA OOB timing settings */
852 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
853 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
854 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
855 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
856 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
857 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
858 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
859 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
860 phy-names = "sata-phy";
861 phys = <&lane3 PHY_TYPE_SATA 1 1 125000000>;
864 /* SD1 with level shifter */
867 pinctrl-names = "default";
868 pinctrl-0 = <&pinctrl_sdhci1_default>;
869 no-1-8-v; /* for 1.0 silicon */
879 pinctrl-names = "default";
880 pinctrl-0 = <&pinctrl_uart0_default>;
885 pinctrl-names = "default";
886 pinctrl-0 = <&pinctrl_uart1_default>;
889 /* ULPI SMSC USB3320 */
892 pinctrl-names = "default";
893 pinctrl-0 = <&pinctrl_usb0_default>;
899 snps,usb3_lpm_capable;
900 phy-names = "usb3-phy";
901 phys = <&lane2 PHY_TYPE_USB3 0 2 26000000>;
902 maximum-speed = "super-speed";
947 &xlnx_dp_snd_codec0 {