1 // SPDX-License-Identifier: GPL-2.0+
3 * dts file for Xilinx ZynqMP ZCU216
5 * (C) Copyright 2017 - 2019, 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/phy/phy.h>
19 model = "ZynqMP ZCU216 RevA";
20 compatible = "xlnx,zynqmp-zcu216-revA", "xlnx,zynqmp-zcu216", "xlnx,zynqmp";
36 bootargs = "earlycon";
37 stdout-path = "serial0:115200n8";
38 xlnx,eeprom = <&eeprom>;
42 device_type = "memory";
43 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
47 compatible = "gpio-keys";
51 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
52 linux,code = <KEY_DOWN>;
59 compatible = "gpio-leds";
62 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
63 linux,default-trigger = "heartbeat";
68 compatible = "iio-hwmon";
69 io-channels = <&vccint 0>, <&vccint 1>, <&vccint 2>, <&vccint 3>;
71 ina226-vccint-io-bram-ps {
72 compatible = "iio-hwmon";
73 io-channels = <&vccint_io_bram_ps 0>, <&vccint_io_bram_ps 1>, <&vccint_io_bram_ps 2>, <&vccint_io_bram_ps 3>;
76 compatible = "iio-hwmon";
77 io-channels = <&vcc1v8 0>, <&vcc1v8 1>, <&vcc1v8 2>, <&vcc1v8 3>;
80 compatible = "iio-hwmon";
81 io-channels = <&vcc1v2 0>, <&vcc1v2 1>, <&vcc1v2 2>, <&vcc1v2 3>;
84 compatible = "iio-hwmon";
85 io-channels = <&vadj_fmc 0>, <&vadj_fmc 1>, <&vadj_fmc 2>, <&vadj_fmc 3>;
88 compatible = "iio-hwmon";
89 io-channels = <&mgtavcc 0>, <&mgtavcc 1>, <&mgtavcc 2>, <&mgtavcc 3>;
92 compatible = "iio-hwmon";
93 io-channels = <&mgt1v2 0>, <&mgt1v2 1>, <&mgt1v2 2>, <&mgt1v2 3>;
96 compatible = "iio-hwmon";
97 io-channels = <&mgt1v8 0>, <&mgt1v8 1>, <&mgt1v8 2>, <&mgt1v8 3>;
100 compatible = "iio-hwmon";
101 io-channels = <&vccint_ams 0>, <&vccint_ams 1>, <&vccint_ams 2>, <&vccint_ams 3>;
104 compatible = "iio-hwmon";
105 io-channels = <&dac_avtt 0>, <&dac_avtt 1>, <&dac_avtt 2>, <&dac_avtt 3>;
108 compatible = "iio-hwmon";
109 io-channels = <&dac_avccaux 0>, <&dac_avccaux 1>, <&dac_avccaux 2>, <&dac_avccaux 3>;
112 compatible = "iio-hwmon";
113 io-channels = <&adc_avcc 0>, <&adc_avcc 1>, <&adc_avcc 2>, <&adc_avcc 3>;
116 compatible = "iio-hwmon";
117 io-channels = <&adc_avccaux 0>, <&adc_avccaux 1>, <&adc_avccaux 2>, <&adc_avccaux 3>;
120 compatible = "iio-hwmon";
121 io-channels = <&dac_avcc 0>, <&dac_avcc 1>, <&dac_avcc 2>, <&dac_avcc 3>;
163 phy-handle = <&phy0>;
164 phy-mode = "rgmii-id";
165 phy0: ethernet-phy@c {
167 ti,rx-internal-delay = <0x8>;
168 ti,tx-internal-delay = <0xa>;
169 ti,fifo-depth = <0x1>;
170 ti,dp83867-rxctrl-strap-quirk;
176 gpio-line-names = "QSPI_LWR_CLK", "QSPI_LWR_DQ1", "QSPI_LWR_DQ2", "QSPI_LWR_DQ3", "QSPI_LWR_DQ0", /* 0 - 4 */
177 "QSPI_LWR_CS_B", "", "QSPI_UPR_CS_B", "QSPI_UPR_DQ0", "QSPI_UPR_DQ1", /* 5 - 9 */
178 "QSPI_UPR_DQ2", "QSPI_UPR_DQ3", "QSPI_UPR_CLK", "PS_GPIO2", "I2C0_SCL", /* 10 - 14 */
179 "I2C0_SDA", "I2C1_SCL", "I2C1_SDA", "UART0_TXD", "UART0_RXD", /* 15 - 19 */
180 "", "", "BUTTON", "LED", "", /* 20 - 24 */
181 "", "PMU_INPUT", "", "", "", /* 25 - 29 */
182 "", "", "PMU_GPO0", "PMU_GPO1", "PMU_GPO2", /* 30 - 34 */
183 "PMU_GPO3", "PMU_GPO4", "PMU_GPO5", "PS_GPIO1", "SDIO_SEL", /* 35 - 39 */
184 "SDIO_DIR_CMD", "SDIO_DIR_DAT0", "SDIO_DIR_DAT1", "", "", /* 40 - 44 */
185 "SDIO_DETECT", "SDIO_DAT0", "SDIO_DAT1", "SDIO_DAT2", "SDIO_DAT3", /* 45 - 49 */
186 "SDIO_CMD", "SDIO_CLK", "USB_CLK", "USB_DIR", "USB_DATA2", /* 50 - 54 */
187 "USB_NXT", "USB_DATA0", "USB_DATA1", "USB_STP", "USB_DATA3", /* 55 - 59 */
188 "USB_DATA4", "USB_DATA5", "USB_DATA6", "USB_DATA7", "ENET_TX_CLK", /* 60 - 64 */
189 "ENET_TX_D0", "ENET_TX_D1", "ENET_TX_D2", "ENET_TX_D3", "ENET_TX_CTRL", /* 65 - 69 */
190 "ENET_RX_CLK", "ENET_RX_D0", "ENET_RX_D1", "ENET_RX_D2", "ENET_RX_D3", /* 70 - 74 */
191 "ENET_RX_CTRL", "ENET_MDC", "ENET_MDIO", /* 75 - 77, MIO end and EMIO start */
192 "", "", /* 78 - 79 */
193 "", "", "", "", "", /* 80 - 84 */
194 "", "", "", "", "", /* 85 -89 */
195 "", "", "", "", "", /* 90 - 94 */
196 "", "", "", "", "", /* 95 - 99 */
197 "", "", "", "", "", /* 100 - 104 */
198 "", "", "", "", "", /* 105 - 109 */
199 "", "", "", "", "", /* 110 - 114 */
200 "", "", "", "", "", /* 115 - 119 */
201 "", "", "", "", "", /* 120 - 124 */
202 "", "", "", "", "", /* 125 - 129 */
203 "", "", "", "", "", /* 130 - 134 */
204 "", "", "", "", "", /* 135 - 139 */
205 "", "", "", "", "", /* 140 - 144 */
206 "", "", "", "", "", /* 145 - 149 */
207 "", "", "", "", "", /* 150 - 154 */
208 "", "", "", "", "", /* 155 - 159 */
209 "", "", "", "", "", /* 160 - 164 */
210 "", "", "", "", "", /* 165 - 169 */
211 "", "", "", ""; /* 170 - 174 */
220 clock-frequency = <400000>;
222 tca6416_u15: gpio@20 { /* u15 */
223 compatible = "ti,tca6416";
225 gpio-controller; /* interrupt not connected */
227 gpio-line-names = "MAX6643_OT_B", "MAX6643_FANFAIL_B", "MIO26_PMU_INPUT_LS", "", /* 0 - 3 */
228 "", "IIC_MUX_RESET_B", "GEM3_EXP_RESET_B", "MAX6643_FULL_SPEED", /* 4 - 7 */
229 "FMCP_HSPC_PRSNT_M2C_B", "", "", "VCCINT_VRHOT_B", /* 10 - 13 */
230 "", "8A34001_EXP_RST_B", "IRPS5401_ALERT_B", "INA226_PMBUS_ALERT"; /* 14 - 17 */
233 i2c-mux@75 { /* u17 */
234 compatible = "nxp,pca9544";
235 #address-cells = <1>;
239 #address-cells = <1>;
243 /* PMBUS_ALERT done via pca9544 */
244 vccint: ina226@40 { /* u65 */
245 compatible = "ti,ina226";
246 #io-channel-cells = <1>;
247 label = "ina226-vccint";
249 shunt-resistor = <5000>;
251 vccint_io_bram_ps: ina226@41 { /* u57 */
252 compatible = "ti,ina226";
253 #io-channel-cells = <1>;
254 label = "ina226-vccint-io-bram-ps";
256 shunt-resistor = <2000>;
258 vcc1v8: ina226@42 { /* u60 */
259 compatible = "ti,ina226";
260 #io-channel-cells = <1>;
261 label = "ina226-vcc1v8";
263 shunt-resistor = <2000>;
265 vcc1v2: ina226@43 { /* u58 */
266 compatible = "ti,ina226";
267 #io-channel-cells = <1>;
268 label = "ina226-vcc1v2";
270 shunt-resistor = <5000>;
272 vadj_fmc: ina226@45 { /* u62 */
273 compatible = "ti,ina226";
274 #io-channel-cells = <1>;
275 label = "ina226-vadj-fmc";
277 shunt-resistor = <5000>;
279 mgtavcc: ina226@46 { /* u67 */
280 compatible = "ti,ina226";
281 #io-channel-cells = <1>;
282 label = "ina226-mgtavcc";
284 shunt-resistor = <2000>;
286 mgt1v2: ina226@47 { /* u63 */
287 compatible = "ti,ina226";
288 #io-channel-cells = <1>;
289 label = "ina226-mgt1v2";
291 shunt-resistor = <5000>;
293 mgt1v8: ina226@48 { /* u64 */
294 compatible = "ti,ina226";
295 #io-channel-cells = <1>;
296 label = "ina226-mgt1v8";
298 shunt-resistor = <5000>;
300 vccint_ams: ina226@49 { /* u61 */
301 compatible = "ti,ina226";
302 #io-channel-cells = <1>;
303 label = "ina226-vccint-ams";
305 shunt-resistor = <2000>;
307 dac_avtt: ina226@4a { /* u59 */
308 compatible = "ti,ina226";
309 #io-channel-cells = <1>;
310 label = "ina226-dac-avtt";
312 shunt-resistor = <5000>;
314 dac_avccaux: ina226@4b { /* u124 */
315 compatible = "ti,ina226";
316 #io-channel-cells = <1>;
317 label = "ina226-dac-avccaux";
319 shunt-resistor = <5000>;
321 adc_avcc: ina226@4c { /* u75 */
322 compatible = "ti,ina226";
323 #io-channel-cells = <1>;
324 label = "ina226-adc-avcc";
326 shunt-resistor = <5000>;
328 adc_avccaux: ina226@4d { /* u71 */
329 compatible = "ti,ina226";
330 #io-channel-cells = <1>;
331 label = "ina226-adc-avccaux";
333 shunt-resistor = <5000>;
335 dac_avcc: ina226@4e { /* u77 */
336 compatible = "ti,ina226";
337 #io-channel-cells = <1>;
338 label = "ina226-dac-avcc";
340 shunt-resistor = <5000>;
344 #address-cells = <1>;
350 #address-cells = <1>;
353 /* u104 - ir35215 0x10/0x40 */
354 /* u127 - ir38164 0x1b/0x4b */
355 /* u112 - ir38164 0x13/0x43 */
356 /* u123 - ir38164 0x1c/0x4c */
358 irps5401_44: irps54012@44 { /* IRPS5401 - u53 */
360 compatible = "infineon,irps5401";
361 reg = <0x44>; /* i2c addr 0x14 */
363 irps5401_45: irps54012@45 { /* IRPS5401 - u55 */
365 compatible = "infineon,irps5401";
366 reg = <0x45>; /* i2c addr 0x15 */
372 #address-cells = <1>;
383 clock-frequency = <400000>;
386 compatible = "nxp,pca9548"; /* u20 */
387 #address-cells = <1>;
390 /* FIXME reset-gpios = <&tca6416_u15 SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */
392 #address-cells = <1>;
396 * IIC_EEPROM 1kB memory which uses 256B blocks
397 * where every block has different address.
398 * 0 - 256B address 0x54
399 * 256B - 512B address 0x55
400 * 512B - 768B address 0x56
401 * 768B - 1024B address 0x57
403 eeprom: eeprom@54 { /* u21 */
404 compatible = "atmel,24c08";
409 #address-cells = <1>;
412 si5341: clock-generator@36 { /* SI5341 - u43 */
413 compatible = "si5341";
418 i2c_si570_user_c0: i2c@2 {
419 #address-cells = <1>;
422 si570_1: clock-generator@5d { /* USER C0 SI570 - u47 */
424 compatible = "silabs,si570";
426 temperature-stability = <50>;
427 factory-fout = <300000000>;
428 clock-frequency = <300000000>;
429 clock-output-names = "si570_user_c0";
432 i2c_si570_mgt: i2c@3 {
433 #address-cells = <1>;
436 si570_2: clock-generator@5d { /* USER MGT SI570 - u48 */
438 compatible = "silabs,si570";
440 temperature-stability = <50>;
441 factory-fout = <156250000>;
442 clock-frequency = <148500000>;
443 clock-output-names = "si570_mgt";
447 #address-cells = <1>;
450 /* U409B - 8a34001 */
453 #address-cells = <1>;
459 #address-cells = <1>;
462 /* RFMCP connector */
468 compatible = "nxp,pca9548"; /* u22 */
469 #address-cells = <1>;
472 /* FIXME reset-gpios = <&tca6416_u15 SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */
474 #address-cells = <1>;
479 i2c_si570_user_c1: i2c@1 {
480 #address-cells = <1>;
483 si570_3: clock-generator@5d { /* USER C1 SI570 - u130 */
485 compatible = "silabs,si570";
487 temperature-stability = <50>;
488 factory-fout = <300000000>;
489 clock-frequency = <300000000>;
490 clock-output-names = "si570_user_c1";
494 #address-cells = <1>;
500 #address-cells = <1>;
506 #address-cells = <1>;
512 #address-cells = <1>;
518 #address-cells = <1>;
524 #address-cells = <1>;
537 compatible = "m25p80", "jedec,spi-nor"; /* U11 and U12 MT25QU02GCBBE12 1Gb */
538 #address-cells = <1>;
541 spi-tx-bus-width = <1>;
542 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
543 spi-max-frequency = <108000000>; /* Based on DC1 spec */
553 /* SATA OOB timing settings */
554 ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
555 ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
556 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
557 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
558 ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
559 ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
560 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
561 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
562 phy-names = "sata-phy";
563 phys = <&lane3 PHY_TYPE_SATA 1 3 125000000>;
566 /* SD1 with level shifter */
581 /* ULPI SMSC USB3320 */
589 snps,usb3_lpm_capable;
590 phy-names = "usb3-phy";
591 phys = <&lane2 PHY_TYPE_USB3 0 2 26000000>;