1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU111
5 * (C) Copyright 2017 - 2021, 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 ZCU111 RevA";
21 compatible = "xlnx,zynqmp-zcu111-revA", "xlnx,zynqmp-zcu111", "xlnx,zynqmp";
37 bootargs = "earlycon";
38 stdout-path = "serial0:115200n8";
42 device_type = "memory";
43 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
44 /* Another 4GB connected to PL */
48 compatible = "gpio-keys";
52 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
53 linux,code = <KEY_DOWN>;
60 compatible = "gpio-leds";
63 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
64 linux,default-trigger = "heartbeat";
69 compatible = "iio-hwmon";
70 io-channels = <&u67 0>, <&u67 1>, <&u67 2>, <&u67 3>;
73 compatible = "iio-hwmon";
74 io-channels = <&u59 0>, <&u59 1>, <&u59 2>, <&u59 3>;
77 compatible = "iio-hwmon";
78 io-channels = <&u61 0>, <&u61 1>, <&u61 2>, <&u61 3>;
81 compatible = "iio-hwmon";
82 io-channels = <&u60 0>, <&u60 1>, <&u60 2>, <&u60 3>;
85 compatible = "iio-hwmon";
86 io-channels = <&u64 0>, <&u64 1>, <&u64 2>, <&u64 3>;
89 compatible = "iio-hwmon";
90 io-channels = <&u69 0>, <&u69 1>, <&u69 2>, <&u69 3>;
93 compatible = "iio-hwmon";
94 io-channels = <&u66 0>, <&u66 1>, <&u66 2>, <&u66 3>;
97 compatible = "iio-hwmon";
98 io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>;
101 compatible = "iio-hwmon";
102 io-channels = <&u63 0>, <&u63 1>, <&u63 2>, <&u63 3>;
105 compatible = "iio-hwmon";
106 io-channels = <&u3 0>, <&u3 1>, <&u3 2>, <&u3 3>;
109 compatible = "iio-hwmon";
110 io-channels = <&u71 0>, <&u71 1>, <&u71 2>, <&u71 3>;
113 compatible = "iio-hwmon";
114 io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>;
117 compatible = "iio-hwmon";
118 io-channels = <&u73 0>, <&u73 1>, <&u73 2>, <&u73 3>;
121 compatible = "iio-hwmon";
122 io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>;
125 /* 48MHz reference crystal */
127 compatible = "fixed-clock";
129 clock-frequency = <48000000>;
171 phy-handle = <&phy0>;
172 phy-mode = "rgmii-id";
173 pinctrl-names = "default";
174 pinctrl-0 = <&pinctrl_gem3_default>;
175 phy0: ethernet-phy@c {
177 ti,rx-internal-delay = <0x8>;
178 ti,tx-internal-delay = <0xa>;
179 ti,fifo-depth = <0x1>;
180 ti,dp83867-rxctrl-strap-quirk;
186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_gpio_default>;
192 clock-frequency = <400000>;
193 pinctrl-names = "default", "gpio";
194 pinctrl-0 = <&pinctrl_i2c0_default>;
195 pinctrl-1 = <&pinctrl_i2c0_gpio>;
196 scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
197 sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
199 tca6416_u22: gpio@20 {
200 compatible = "ti,tca6416";
202 gpio-controller; /* interrupt not connected */
208 * 1 - MAX6643_FANFAIL_B
209 * 2 - MIO26_PMU_INPUT_LS
210 * 4 - SFP_SI5382_INT_ALM
211 * 5 - IIC_MUX_RESET_B
212 * 6 - GEM3_EXP_RESET_B
213 * 10 - FMCP_HSPC_PRSNT_M2C_B
214 * 11 - CLK_SPI_MUX_SEL0
215 * 12 - CLK_SPI_MUX_SEL1
216 * 16 - IRPS5401_ALERT_B
217 * 17 - INA226_PMBUS_ALERT
218 * 3, 7, 13-15 - not connected
222 i2c-mux@75 { /* u23 */
223 compatible = "nxp,pca9544";
224 #address-cells = <1>;
228 #address-cells = <1>;
232 /* PMBUS_ALERT done via pca9544 */
233 u67: ina226@40 { /* u67 */
234 compatible = "ti,ina226";
235 #io-channel-cells = <1>;
236 label = "ina226-u67";
238 shunt-resistor = <2000>;
240 u59: ina226@41 { /* u59 */
241 compatible = "ti,ina226";
242 #io-channel-cells = <1>;
243 label = "ina226-u59";
245 shunt-resistor = <5000>;
247 u61: ina226@42 { /* u61 */
248 compatible = "ti,ina226";
249 #io-channel-cells = <1>;
250 label = "ina226-u61";
252 shunt-resistor = <5000>;
254 u60: ina226@43 { /* u60 */
255 compatible = "ti,ina226";
256 #io-channel-cells = <1>;
257 label = "ina226-u60";
259 shunt-resistor = <5000>;
261 u64: ina226@45 { /* u64 */
262 compatible = "ti,ina226";
263 #io-channel-cells = <1>;
264 label = "ina226-u64";
266 shunt-resistor = <5000>;
268 u69: ina226@46 { /* u69 */
269 compatible = "ti,ina226";
270 #io-channel-cells = <1>;
271 label = "ina226-u69";
273 shunt-resistor = <2000>;
275 u66: ina226@47 { /* u66 */
276 compatible = "ti,ina226";
277 #io-channel-cells = <1>;
278 label = "ina226-u66";
280 shunt-resistor = <5000>;
282 u65: ina226@48 { /* u65 */
283 compatible = "ti,ina226";
284 #io-channel-cells = <1>;
285 label = "ina226-u65";
287 shunt-resistor = <5000>;
289 u63: ina226@49 { /* u63 */
290 compatible = "ti,ina226";
291 #io-channel-cells = <1>;
292 label = "ina226-u63";
294 shunt-resistor = <5000>;
296 u3: ina226@4a { /* u3 */
297 compatible = "ti,ina226";
298 #io-channel-cells = <1>;
301 shunt-resistor = <5000>;
303 u71: ina226@4b { /* u71 */
304 compatible = "ti,ina226";
305 #io-channel-cells = <1>;
306 label = "ina226-u71";
308 shunt-resistor = <5000>;
310 u77: ina226@4c { /* u77 */
311 compatible = "ti,ina226";
312 #io-channel-cells = <1>;
313 label = "ina226-u77";
315 shunt-resistor = <5000>;
317 u73: ina226@4d { /* u73 */
318 compatible = "ti,ina226";
319 #io-channel-cells = <1>;
320 label = "ina226-u73";
322 shunt-resistor = <5000>;
324 u79: ina226@4e { /* u79 */
325 compatible = "ti,ina226";
326 #io-channel-cells = <1>;
327 label = "ina226-u79";
329 shunt-resistor = <5000>;
333 #address-cells = <1>;
339 #address-cells = <1>;
342 irps5401_43: irps5401@43 { /* IRPS5401 - u53 check these */
343 compatible = "infineon,irps5401";
346 irps5401_44: irps5401@44 { /* IRPS5401 - u55 */
347 compatible = "infineon,irps5401";
350 irps5401_45: irps5401@45 { /* IRPS5401 - u57 */
351 compatible = "infineon,irps5401";
362 #address-cells = <1>;
372 clock-frequency = <400000>;
373 pinctrl-names = "default", "gpio";
374 pinctrl-0 = <&pinctrl_i2c1_default>;
375 pinctrl-1 = <&pinctrl_i2c1_gpio>;
376 scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
377 sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
379 i2c-mux@74 { /* u26 */
380 compatible = "nxp,pca9548";
381 #address-cells = <1>;
385 #address-cells = <1>;
389 * IIC_EEPROM 1kB memory which uses 256B blocks
390 * where every block has different address.
391 * 0 - 256B address 0x54
392 * 256B - 512B address 0x55
393 * 512B - 768B address 0x56
394 * 768B - 1024B address 0x57
396 eeprom: eeprom@54 { /* u88 */
397 compatible = "atmel,24c08";
402 #address-cells = <1>;
405 si5341: clock-generator@36 { /* SI5341 - u46 */
406 compatible = "silabs,si5341";
409 #address-cells = <1>;
412 clock-names = "xtal";
413 clock-output-names = "si5341";
416 /* refclk0 for PS-GT, used for DP */
421 /* refclk2 for PS-GT, used for USB3 */
426 /* refclk3 for PS-GT, used for SATA */
431 /* refclk5 PL CLK100 */
436 /* refclk6 PL CLK125 */
441 /* refclk9 used for PS_REF_CLK 33.3 MHz */
448 #address-cells = <1>;
451 si570_1: clock-generator@5d { /* USER SI570 - u47 */
453 compatible = "silabs,si570";
455 temperature-stability = <50>;
456 factory-fout = <300000000>;
457 clock-frequency = <300000000>;
458 clock-output-names = "si570_user";
462 #address-cells = <1>;
465 si570_2: clock-generator@5d { /* USER MGT SI570 - u49 */
467 compatible = "silabs,si570";
469 temperature-stability = <50>;
470 factory-fout = <156250000>;
471 clock-frequency = <156250000>;
472 clock-output-names = "si570_mgt";
476 #address-cells = <1>;
482 #address-cells = <1>;
485 sc18is603@2f { /* sc18is602 - u93 */
486 compatible = "nxp,sc18is603";
488 /* 4 gpios for CS not handled by driver */
499 #address-cells = <1>;
508 compatible = "nxp,pca9548"; /* u27 */
509 #address-cells = <1>;
514 #address-cells = <1>;
520 #address-cells = <1>;
526 #address-cells = <1>;
532 #address-cells = <1>;
538 #address-cells = <1>;
544 #address-cells = <1>;
550 #address-cells = <1>;
556 #address-cells = <1>;
566 pinctrl_i2c0_default: i2c0-default {
568 groups = "i2c0_3_grp";
573 groups = "i2c0_3_grp";
575 slew-rate = <SLEW_RATE_SLOW>;
576 power-source = <IO_STANDARD_LVCMOS18>;
580 pinctrl_i2c0_gpio: i2c0-gpio {
582 groups = "gpio0_14_grp", "gpio0_15_grp";
587 groups = "gpio0_14_grp", "gpio0_15_grp";
588 slew-rate = <SLEW_RATE_SLOW>;
589 power-source = <IO_STANDARD_LVCMOS18>;
593 pinctrl_i2c1_default: i2c1-default {
595 groups = "i2c1_4_grp";
600 groups = "i2c1_4_grp";
602 slew-rate = <SLEW_RATE_SLOW>;
603 power-source = <IO_STANDARD_LVCMOS18>;
607 pinctrl_i2c1_gpio: i2c1-gpio {
609 groups = "gpio0_16_grp", "gpio0_17_grp";
614 groups = "gpio0_16_grp", "gpio0_17_grp";
615 slew-rate = <SLEW_RATE_SLOW>;
616 power-source = <IO_STANDARD_LVCMOS18>;
620 pinctrl_uart0_default: uart0-default {
622 groups = "uart0_4_grp";
627 groups = "uart0_4_grp";
628 slew-rate = <SLEW_RATE_SLOW>;
629 power-source = <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 power-source = <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 power-source = <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 power-source = <IO_STANDARD_LVCMOS18>;
706 pinctrl_sdhci1_default: sdhci1-default {
708 groups = "sdio1_0_grp";
713 groups = "sdio1_0_grp";
714 slew-rate = <SLEW_RATE_SLOW>;
715 power-source = <IO_STANDARD_LVCMOS18>;
720 groups = "sdio1_cd_0_grp";
721 function = "sdio1_cd";
725 groups = "sdio1_cd_0_grp";
728 slew-rate = <SLEW_RATE_SLOW>;
729 power-source = <IO_STANDARD_LVCMOS18>;
733 pinctrl_gpio_default: gpio-default {
736 groups = "gpio0_22_grp", "gpio0_23_grp";
740 groups = "gpio0_22_grp", "gpio0_23_grp";
741 slew-rate = <SLEW_RATE_SLOW>;
742 power-source = <IO_STANDARD_LVCMOS18>;
747 groups = "gpio0_13_grp", "gpio0_38_grp";
751 groups = "gpio0_13_grp", "gpio0_38_grp";
752 slew-rate = <SLEW_RATE_SLOW>;
753 power-source = <IO_STANDARD_LVCMOS18>;
762 pins = "MIO13", "MIO23", "MIO38";
770 /* nc, dp, usb3, sata */
771 clocks = <&si5341 0 0>, <&si5341 0 2>, <&si5341 0 3>;
772 clock-names = "ref1", "ref2", "ref3";
778 compatible = "m25p80", "jedec,spi-nor"; /* 16MB + 16MB */
779 #address-cells = <1>;
782 spi-tx-bus-width = <1>;
783 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
784 spi-max-frequency = <108000000>; /* Based on DC1 spec */
794 /* SATA OOB timing settings */
795 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
796 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
797 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
798 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
799 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
800 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
801 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
802 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
803 phy-names = "sata-phy";
804 phys = <&psgtr 3 PHY_TYPE_SATA 1 3>;
807 /* SD1 with level shifter */
810 pinctrl-names = "default";
811 pinctrl-0 = <&pinctrl_sdhci1_default>;
814 * This property should be removed for supporting UHS mode
822 pinctrl-names = "default";
823 pinctrl-0 = <&pinctrl_uart0_default>;
826 /* ULPI SMSC USB3320 */
829 pinctrl-names = "default";
830 pinctrl-0 = <&pinctrl_usb0_default>;
831 phy-names = "usb3-phy";
832 phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
838 snps,usb3_lpm_capable;
839 maximum-speed = "super-speed";
848 phy-names = "dp-phy0", "dp-phy1";
849 phys = <&psgtr 1 PHY_TYPE_DP 0 1>,
850 <&psgtr 0 PHY_TYPE_DP 1 1>;