1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU106
5 * (C) Copyright 2016, Xilinx, Inc.
7 * Michal Simek <michal.simek@xilinx.com>
12 #include "zynqmp.dtsi"
13 #include "zynqmp-clk-ccf.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
16 #include <dt-bindings/phy/phy.h>
19 model = "ZynqMP ZCU106 RevA";
20 compatible = "xlnx,zynqmp-zcu106-revA", "xlnx,zynqmp-zcu106", "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 */
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>;
124 ti,rxctrl-strap-worka;
130 pinctrl-names = "default";
131 pinctrl-0 = <&pinctrl_gpio_default>;
140 clock-frequency = <400000>;
141 pinctrl-names = "default", "gpio";
142 pinctrl-0 = <&pinctrl_i2c0_default>;
143 pinctrl-1 = <&pinctrl_i2c0_gpio>;
144 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
145 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
147 tca6416_u97: gpio@20 {
149 * Enable all GTs to out from U-Boot
150 * i2c mw 20 6 0 - setup IO to output
151 * i2c mw 20 2 ef - setup output values on pins 0-7
152 * i2c mw 20 3 ff - setup output values on pins 10-17
154 compatible = "ti,tca6416";
156 gpio-controller; /* interrupt not connected */
161 * 0 - SFP_SI5328_INT_ALM
162 * 1 - HDMI_SI5328_INT_ALM
163 * 5 - IIC_MUX_RESET_B
164 * 6 - GEM3_EXP_RESET_B
165 * 10 - FMC_HPC0_PRSNT_M2C_B
166 * 11 - FMC_HPC1_PRSNT_M2C_B
167 * 2-4, 7, 12-17 - not connected
171 tca6416_u61: gpio@21 { /* FIXME enable it by i2c mw 21 6 0 */
172 compatible = "ti,tca6416";
183 * 4 - MIO26_PMU_INPUT_LS
186 * 7 - MAXIM_PMBUS_ALERT
187 * 10 - PL_DDR4_VTERM_EN
188 * 11 - PL_DDR4_VPP_2V5_EN
189 * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
190 * 13 - PS_DIMM_SUSPEND_EN
191 * 14 - PS_DDR4_VTERM_EN
192 * 15 - PS_DDR4_VPP_2V5_EN
193 * 16 - 17 - not connected
197 i2cswitch@75 { /* u60 */
198 compatible = "nxp,pca9544";
199 #address-cells = <1>;
202 i2c@0 { /* i2c mw 75 0 1 */
203 #address-cells = <1>;
207 ina226@40 { /* u76 */
208 compatible = "ti,ina226";
210 shunt-resistor = <5000>;
212 ina226@41 { /* u77 */
213 compatible = "ti,ina226";
215 shunt-resistor = <5000>;
217 ina226@42 { /* u78 */
218 compatible = "ti,ina226";
220 shunt-resistor = <5000>;
222 ina226@43 { /* u87 */
223 compatible = "ti,ina226";
225 shunt-resistor = <5000>;
227 ina226@44 { /* u85 */
228 compatible = "ti,ina226";
230 shunt-resistor = <5000>;
232 ina226@45 { /* u86 */
233 compatible = "ti,ina226";
235 shunt-resistor = <5000>;
237 ina226@46 { /* u93 */
238 compatible = "ti,ina226";
240 shunt-resistor = <5000>;
242 ina226@47 { /* u88 */
243 compatible = "ti,ina226";
245 shunt-resistor = <5000>;
247 ina226@4a { /* u15 */
248 compatible = "ti,ina226";
250 shunt-resistor = <5000>;
252 ina226@4b { /* u92 */
253 compatible = "ti,ina226";
255 shunt-resistor = <5000>;
258 i2c@1 { /* i2c mw 75 0 1 */
259 #address-cells = <1>;
263 ina226@40 { /* u79 */
264 compatible = "ti,ina226";
266 shunt-resistor = <2000>;
268 ina226@41 { /* u81 */
269 compatible = "ti,ina226";
271 shunt-resistor = <5000>;
273 ina226@42 { /* u80 */
274 compatible = "ti,ina226";
276 shunt-resistor = <5000>;
278 ina226@43 { /* u84 */
279 compatible = "ti,ina226";
281 shunt-resistor = <5000>;
283 ina226@44 { /* u16 */
284 compatible = "ti,ina226";
286 shunt-resistor = <5000>;
288 ina226@45 { /* u65 */
289 compatible = "ti,ina226";
291 shunt-resistor = <5000>;
293 ina226@46 { /* u74 */
294 compatible = "ti,ina226";
296 shunt-resistor = <5000>;
298 ina226@47 { /* u75 */
299 compatible = "ti,ina226";
301 shunt-resistor = <5000>;
304 i2c@2 { /* i2c mw 75 0 1 */
305 #address-cells = <1>;
308 /* MAXIM_PMBUS - 00 */
309 max15301@a { /* u46 */
310 compatible = "max15301";
313 max15303@b { /* u4 */
314 compatible = "max15303";
317 max15303@10 { /* u13 */
318 compatible = "max15303";
321 max15301@13 { /* u47 */
322 compatible = "max15301";
325 max15303@14 { /* u7 */
326 compatible = "max15303";
329 max15303@15 { /* u6 */
330 compatible = "max15303";
333 max15303@16 { /* u10 */
334 compatible = "max15303";
337 max15303@17 { /* u9 */
338 compatible = "max15303";
341 max15301@18 { /* u63 */
342 compatible = "max15301";
345 max15303@1a { /* u49 */
346 compatible = "max15303";
349 max15303@1b { /* u8 */
350 compatible = "max15303";
353 max15303@1d { /* u18 */
354 compatible = "max15303";
358 max20751@72 { /* u95 */
359 compatible = "max20751";
362 max20751@73 { /* u96 */
363 compatible = "max20751";
367 /* Bus 3 is not connected */
370 /* FIXME PMOD - j160 */
371 /* FIXME MSP430F - u41 - not detected */
376 clock-frequency = <400000>;
377 pinctrl-names = "default", "gpio";
378 pinctrl-0 = <&pinctrl_i2c1_default>;
379 pinctrl-1 = <&pinctrl_i2c1_gpio>;
380 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
381 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
383 /* FIXME PL i2c via PCA9306 - u45 */
384 /* FIXME MSP430 - u41 - not detected */
385 i2cswitch@74 { /* u34 */
386 compatible = "nxp,pca9548";
387 #address-cells = <1>;
390 i2c@0 { /* i2c mw 74 0 1 */
391 #address-cells = <1>;
395 * IIC_EEPROM 1kB memory which uses 256B blocks
396 * where every block has different address.
397 * 0 - 256B address 0x54
398 * 256B - 512B address 0x55
399 * 512B - 768B address 0x56
400 * 768B - 1024B address 0x57
402 eeprom@54 { /* u23 */
403 compatible = "at,24c08";
407 i2c@1 { /* i2c mw 74 0 2 */
408 #address-cells = <1>;
411 si5341: clock-generator1@36 { /* SI5341 - u69 */
412 compatible = "si5341";
417 i2c@2 { /* i2c mw 74 0 4 */
418 #address-cells = <1>;
421 si570_1: clock-generator2@5d { /* USER SI570 - u42 */
423 compatible = "silabs,si570";
425 temperature-stability = <50>;
426 factory-fout = <300000000>;
427 clock-frequency = <300000000>;
430 i2c@3 { /* i2c mw 74 0 8 */
431 #address-cells = <1>;
434 si570_2: clock-generator3@5d { /* USER MGT SI570 - u56 */
436 compatible = "silabs,si570";
438 temperature-stability = <50>; /* copy from zc702 */
439 factory-fout = <156250000>;
440 clock-frequency = <148500000>;
443 i2c@4 { /* i2c mw 74 0 10 */
444 #address-cells = <1>;
447 si5328: clock-generator4@69 {/* SI5328 - u20 */
448 compatible = "silabs,si5328";
452 i2c@5 { /* i2c mw 74 0 11 */
453 #address-cells = <1>;
455 reg = <5>; /* FAN controller */
456 temp@4c {/* lm96163 - u128 */
457 compatible = "national,lm96163";
458 reg = <0x4c>; /* FIXME */
461 /* 6 - 7 unconnected */
465 compatible = "nxp,pca9548"; /* u135 */
466 #address-cells = <1>;
471 #address-cells = <1>;
477 #address-cells = <1>;
483 #address-cells = <1>;
488 i2c@3 { /* i2c mw 75 0 8 */
489 #address-cells = <1>;
493 dev@19 { /* u-boot detection */
497 dev@30 { /* u-boot detection */
501 dev@35 { /* u-boot detection */
505 dev@36 { /* u-boot detection */
509 dev@51 { /* u-boot detection - maybe SPD */
515 #address-cells = <1>;
521 #address-cells = <1>;
527 #address-cells = <1>;
533 #address-cells = <1>;
543 pinctrl_i2c0_default: i2c0-default {
545 groups = "i2c0_3_grp";
550 groups = "i2c0_3_grp";
552 slew-rate = <SLEW_RATE_SLOW>;
553 io-standard = <IO_STANDARD_LVCMOS18>;
557 pinctrl_i2c0_gpio: i2c0-gpio {
559 groups = "gpio0_14_grp", "gpio0_15_grp";
564 groups = "gpio0_14_grp", "gpio0_15_grp";
565 slew-rate = <SLEW_RATE_SLOW>;
566 io-standard = <IO_STANDARD_LVCMOS18>;
570 pinctrl_i2c1_default: i2c1-default {
572 groups = "i2c1_4_grp";
577 groups = "i2c1_4_grp";
579 slew-rate = <SLEW_RATE_SLOW>;
580 io-standard = <IO_STANDARD_LVCMOS18>;
584 pinctrl_i2c1_gpio: i2c1-gpio {
586 groups = "gpio0_16_grp", "gpio0_17_grp";
591 groups = "gpio0_16_grp", "gpio0_17_grp";
592 slew-rate = <SLEW_RATE_SLOW>;
593 io-standard = <IO_STANDARD_LVCMOS18>;
597 pinctrl_uart0_default: uart0-default {
599 groups = "uart0_4_grp";
604 groups = "uart0_4_grp";
605 slew-rate = <SLEW_RATE_SLOW>;
606 io-standard = <IO_STANDARD_LVCMOS18>;
620 pinctrl_uart1_default: uart1-default {
622 groups = "uart1_5_grp";
627 groups = "uart1_5_grp";
628 slew-rate = <SLEW_RATE_SLOW>;
629 io-standard = <IO_STANDARD_LVCMOS18>;
643 pinctrl_usb0_default: usb0-default {
645 groups = "usb0_0_grp";
650 groups = "usb0_0_grp";
651 slew-rate = <SLEW_RATE_SLOW>;
652 io-standard = <IO_STANDARD_LVCMOS18>;
656 pins = "MIO52", "MIO53", "MIO55";
661 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
662 "MIO60", "MIO61", "MIO62", "MIO63";
667 pinctrl_gem3_default: gem3-default {
669 function = "ethernet3";
670 groups = "ethernet3_0_grp";
674 groups = "ethernet3_0_grp";
675 slew-rate = <SLEW_RATE_SLOW>;
676 io-standard = <IO_STANDARD_LVCMOS18>;
680 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
687 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
695 groups = "mdio3_0_grp";
699 groups = "mdio3_0_grp";
700 slew-rate = <SLEW_RATE_SLOW>;
701 io-standard = <IO_STANDARD_LVCMOS18>;
706 pinctrl_can1_default: can1-default {
709 groups = "can1_6_grp";
713 groups = "can1_6_grp";
714 slew-rate = <SLEW_RATE_SLOW>;
715 io-standard = <IO_STANDARD_LVCMOS18>;
729 pinctrl_sdhci1_default: sdhci1-default {
731 groups = "sdio1_0_grp";
736 groups = "sdio1_0_grp";
737 slew-rate = <SLEW_RATE_SLOW>;
738 io-standard = <IO_STANDARD_LVCMOS18>;
743 groups = "sdio1_cd_0_grp";
744 function = "sdio1_cd";
748 groups = "sdio1_cd_0_grp";
751 slew-rate = <SLEW_RATE_SLOW>;
752 io-standard = <IO_STANDARD_LVCMOS18>;
756 groups = "sdio1_wp_0_grp";
757 function = "sdio1_wp";
761 groups = "sdio1_wp_0_grp";
764 slew-rate = <SLEW_RATE_SLOW>;
765 io-standard = <IO_STANDARD_LVCMOS18>;
769 pinctrl_gpio_default: gpio-default {
772 groups = "gpio0_22_grp", "gpio0_23_grp";
776 groups = "gpio0_22_grp", "gpio0_23_grp";
777 slew-rate = <SLEW_RATE_SLOW>;
778 io-standard = <IO_STANDARD_LVCMOS18>;
783 groups = "gpio0_13_grp", "gpio0_38_grp";
787 groups = "gpio0_13_grp", "gpio0_38_grp";
788 slew-rate = <SLEW_RATE_SLOW>;
789 io-standard = <IO_STANDARD_LVCMOS18>;
798 pins = "MIO13", "MIO23", "MIO38";
808 compatible = "m25p80"; /* 32MB */
809 #address-cells = <1>;
812 spi-tx-bus-width = <1>;
813 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
814 spi-max-frequency = <108000000>; /* Based on DC1 spec */
815 partition@qspi-fsbl-uboot { /* for testing purpose */
816 label = "qspi-fsbl-uboot";
817 reg = <0x0 0x100000>;
819 partition@qspi-linux { /* for testing purpose */
820 label = "qspi-linux";
821 reg = <0x100000 0x500000>;
823 partition@qspi-device-tree { /* for testing purpose */
824 label = "qspi-device-tree";
825 reg = <0x600000 0x20000>;
827 partition@qspi-rootfs { /* for testing purpose */
828 label = "qspi-rootfs";
829 reg = <0x620000 0x5E0000>;
840 /* SATA OOB timing settings */
841 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
842 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
843 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
844 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
845 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
846 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
847 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
848 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
849 phy-names = "sata-phy";
850 phys = <&lane3 PHY_TYPE_SATA 1 1 125000000>;
853 /* SD1 with level shifter */
856 pinctrl-names = "default";
857 pinctrl-0 = <&pinctrl_sdhci1_default>;
868 pinctrl-names = "default";
869 pinctrl-0 = <&pinctrl_uart0_default>;
874 pinctrl-names = "default";
875 pinctrl-0 = <&pinctrl_uart1_default>;
878 /* ULPI SMSC USB3320 */
881 pinctrl-names = "default";
882 pinctrl-0 = <&pinctrl_usb0_default>;
888 snps,usb3_lpm_capable;
889 phy-names = "usb3-phy";
890 phys = <&lane2 PHY_TYPE_USB3 0 2 26000000>;
895 phy-names = "dp-phy0", "dp-phy1";
896 phys = <&lane1 PHY_TYPE_DP 0 3 27000000>, <&lane0 PHY_TYPE_DP 1 3 27000000>;
899 &zynqmp_dp_snd_pcm0 {
903 &zynqmp_dp_snd_pcm1 {
907 &zynqmp_dp_snd_card0 {
911 &zynqmp_dp_snd_codec0 {