1 // SPDX-License-Identifier: GPL-2.0
3 * dts file for Xilinx Versal a2197 RevA System Controller
5 * (C) Copyright 2019, Xilinx, Inc.
7 * Michal Simek <michal.simek@xilinx.com>
11 #include "zynqmp.dtsi"
12 #include "zynqmp-clk-ccf.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/phy/phy.h>
17 model = "Versal System Controller on a2197 Eval board RevA"; /* VCK190/VMK180 */
18 compatible = "xlnx,zynqmp-e-a2197-00-revA", "xlnx,zynqmp-a2197-revA",
19 "xlnx,zynqmp-a2197", "xlnx,zynqmp";
33 bootargs = "earlycon";
34 stdout-path = "serial0:115200n8";
35 xlnx,eeprom = <&eeprom>;
39 device_type = "memory";
40 reg = <0x0 0x0 0x0 0x80000000>;
44 compatible = "iio-hwmon";
45 io-channels = <&vccint 0>, <&vccint 1>, <&vccint 2>, <&vccint 3>;
48 compatible = "iio-hwmon";
49 io-channels = <&vcc_soc 0>, <&vcc_soc 1>, <&vcc_soc 2>, <&vcc_soc 3>;
52 compatible = "iio-hwmon";
53 io-channels = <&vcc_pmc 0>, <&vcc_pmc 1>, <&vcc_pmc 2>, <&vcc_pmc 3>;
56 compatible = "iio-hwmon";
57 io-channels = <&vcc_ram 0>, <&vcc_ram 1>, <&vcc_ram 2>, <&vcc_ram 3>;
60 compatible = "iio-hwmon";
61 io-channels = <&vcc_pslp 0>, <&vcc_pslp 1>, <&vcc_pslp 2>, <&vcc_pslp 3>;
64 compatible = "iio-hwmon";
65 io-channels = <&vcc_psfp 0>, <&vcc_psfp 1>, <&vcc_psfp 2>, <&vcc_psfp 3>;
68 compatible = "iio-hwmon";
69 io-channels = <&vccaux 0>, <&vccaux 1>, <&vccaux 2>, <&vccaux 3>;
72 compatible = "iio-hwmon";
73 io-channels = <&vccaux_pmc 0>, <&vccaux_pmc 1>, <&vccaux_pmc 2>, <&vccaux_pmc 3>;
76 compatible = "iio-hwmon";
77 io-channels = <&vcco_500 0>, <&vcco_500 1>, <&vcco_500 2>, <&vcco_500 3>;
80 compatible = "iio-hwmon";
81 io-channels = <&vcco_501 0>, <&vcco_501 1>, <&vcco_501 2>, <&vcco_501 3>;
84 compatible = "iio-hwmon";
85 io-channels = <&vcco_502 0>, <&vcco_502 1>, <&vcco_502 2>, <&vcco_502 3>;
88 compatible = "iio-hwmon";
89 io-channels = <&vcco_503 0>, <&vcco_503 1>, <&vcco_503 2>, <&vcco_503 3>;
92 compatible = "iio-hwmon";
93 io-channels = <&vcc_1v8 0>, <&vcc_1v8 1>, <&vcc_1v8 2>, <&vcc_1v8 3>;
96 compatible = "iio-hwmon";
97 io-channels = <&vcc_3v3 0>, <&vcc_3v3 1>, <&vcc_3v3 2>, <&vcc_3v3 3>;
100 compatible = "iio-hwmon";
101 io-channels = <&vcc_1v2_ddr4 0>, <&vcc_1v2_ddr4 1>, <&vcc_1v2_ddr4 2>, <&vcc_1v2_ddr4 3>;
104 compatible = "iio-hwmon";
105 io-channels = <&vcc1v1_lp4 0>, <&vcc1v1_lp4 1>, <&vcc1v1_lp4 2>, <&vcc1v1_lp4 3>;
108 compatible = "iio-hwmon";
109 io-channels = <&vadj_fmc 0>, <&vadj_fmc 1>, <&vadj_fmc 2>, <&vadj_fmc 3>;
112 compatible = "iio-hwmon";
113 io-channels = <&mgtyavcc 0>, <&mgtyavcc 1>, <&mgtyavcc 2>, <&mgtyavcc 3>;
116 compatible = "iio-hwmon";
117 io-channels = <&mgtyavtt 0>, <&mgtyavtt 1>, <&mgtyavtt 2>, <&mgtyavtt 3>;
120 compatible = "iio-hwmon";
121 io-channels = <&mgtyvccaux 0>, <&mgtyvccaux 1>, <&mgtyvccaux 2>, <&mgtyvccaux 3>;
125 &uart0 { /* uart0 MIO38-39 */
130 &sdhci1 { /* sd1 MIO45-51 cd in place */
139 phy-handle = <&phy0>;
142 phy0: ethernet-phy@0 { /* u131 M88E1512 */
149 gpio-line-names = "", "", "", "", "", /* 0 - 4 */
150 "", "", "DC_SYS_CTRL0", "DC_SYS_CTRL1", "DC_SYS_CTRL2", /* 5 - 9 */
151 "DC_SYS_CTRL3", "ZU4_TRIGGER", "SYSCTLR_PB", "", "", /* 10 - 14 */
152 "", "", "", "", "", /* 15 - 19 */
153 "", "", "", "", "", /* 20 - 24 */
154 "", "", "", "", "", /* 25 - 29 */
155 "", "", "", "", "LP_I2C0_PMC_SCL", /* 30 - 34 */
156 "LP_I2C0_PMC_SDA", "LP_I2C1_SCL", "LP_I2C1_SDA", "UART0_RXD_IN", "UART0_TXD_OUT", /* 35 - 39 */
157 "", "", "ETH_RESET_B", "", "", /* 40 - 44 */
158 "SD1_CD_B", "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3", /* 45 - 49 */
159 "SD1_CMD", "SD1_CLK", "", "", "", /* 50 - 54 */
160 "", "", "", "", "", /* 55 - 59 */
161 "", "", "", "", "", /* 60 - 64 */
162 "", "", "", "", "", /* 65 - 69 */
163 "", "", "", "", "", /* 70 - 74 */
164 "", "ETH_MDC", "ETH_MDIO", /* 75 - 77, MIO end and EMIO start */
165 "", "", /* 78 - 79 */
166 "", "", "", "", "", /* 80 - 84 */
167 "", "", "", "", "", /* 85 -89 */
168 "", "", "", "", "", /* 90 - 94 */
169 "", "", "", "", "", /* 95 - 99 */
170 "", "", "", "", "", /* 100 - 104 */
171 "", "", "", "", "", /* 105 - 109 */
172 "", "", "", "", "", /* 110 - 114 */
173 "", "", "", "", "", /* 115 - 119 */
174 "", "", "", "", "", /* 120 - 124 */
175 "", "", "", "", "", /* 125 - 129 */
176 "", "", "", "", "", /* 130 - 134 */
177 "", "", "", "", "", /* 135 - 139 */
178 "", "", "", "", "", /* 140 - 144 */
179 "", "", "", "", "", /* 145 - 149 */
180 "", "", "", "", "", /* 150 - 154 */
181 "", "", "", "", "", /* 155 - 159 */
182 "", "", "", "", "", /* 160 - 164 */
183 "", "", "", "", "", /* 165 - 169 */
184 "", "", "", ""; /* 170 - 174 */
187 &i2c0 { /* MIO 34-35 - can't stay here */
189 clock-frequency = <400000>;
190 i2c-mux@74 { /* u33 */
191 compatible = "nxp,pca9548";
192 #address-cells = <1>;
195 /* reset-gpios = <&gpio SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */
197 #address-cells = <1>;
200 /* u152 IR35215 0x16/0x46 vcc_soc */
201 /* u160 IRPS5401 0x17/0x47 */
202 /* u167 IRPS5401 0x1c/0x4c */
203 /* u175 IRPS5401 0x1d/0x4d */
204 /* u179 ir38164 0x19/0x49 vcco_500 */
205 /* u181 ir38164 0x1a/0x4a vcco_501 */
206 /* u183 ir38164 0x1b/0x4b vcco_502 */
207 /* u185 ir38164 0x1e/0x4e vadj_fmc */
208 /* u187 ir38164 0x1F/0x4f mgtyavcc */
209 /* u189 ir38164 0x20/0x50 mgtyavtt */
210 /* u194 ir38164 0x13/0x43 vdd1_1v8_lp4 */
211 /* u195 ir38164 0x14/0x44 vdd2_1v8_lp4 */
213 i2c@1 { /* PMBUS1_INA226 */
214 #address-cells = <1>;
217 /* FIXME check alerts coming to SC */
218 vccint: ina226@40 { /* u65 */
219 compatible = "ti,ina226";
220 #io-channel-cells = <1>;
221 label = "ina226-vccint";
223 shunt-resistor = <5000>; /* R440 */
224 /* 0.78V @ 32A 1 of 6 Phases*/
226 vcc_soc: ina226@41 { /* u161 */
227 compatible = "ti,ina226";
228 #io-channel-cells = <1>;
229 label = "ina226-vcc-soc";
231 shunt-resistor = <2000>; /* R1186 */
234 vcc_pmc: ina226@42 { /* u163 */
235 compatible = "ti,ina226";
236 #io-channel-cells = <1>;
237 label = "ina226-vcc-pmc";
239 shunt-resistor = <5000>; /* R1214 */
242 vcc_ram: ina226@43 { /* u162 */
243 compatible = "ti,ina226";
244 #io-channel-cells = <1>;
245 label = "ina226-vcc-ram";
247 shunt-resistor = <5000>; /* r1221 */
250 vcc_pslp: ina226@44 { /* u165 */
251 compatible = "ti,ina226";
252 #io-channel-cells = <1>;
253 label = "ina226-vcc-pslp";
255 shunt-resistor = <5000>; /* R1216 */
258 vcc_psfp: ina226@45 { /* u164 */
259 compatible = "ti,ina226";
260 #io-channel-cells = <1>;
261 label = "ina226-vcc-psfp";
263 shunt-resistor = <5000>; /* R1219 */
267 i2c@2 { /* PCIE_CLK */
268 #address-cells = <1>;
271 clock_8t49n287: clock-generator@d8 { /* u39 8T49N240 */
272 #clock-cells = <1>; /* author David Cater <david.cater@idt.com>*/
273 compatible = "idt,8t49n240", "idt,8t49n241"; /* FIXME no driver for 240 */
275 /* Documentation/devicetree/bindings/clock/idt,idt8t49n24x.txt */
276 /* FIXME there input via J241 Samtec CLK1 and CLK0 from U38 - selection PIN */
279 i2c@3 { /* PMBUS2_INA226 */
280 #address-cells = <1>;
283 /* FIXME check alerts coming to SC */
284 vccaux: ina226@40 { /* u166 */
285 compatible = "ti,ina226";
286 #io-channel-cells = <1>;
287 label = "ina226-vccaux";
289 shunt-resistor = <5000>; /* R382 */
292 vccaux_pmc: ina226@41 { /* u168 */
293 compatible = "ti,ina226";
294 #io-channel-cells = <1>;
295 label = "ina226-vccaux-pmc";
297 shunt-resistor = <5000>; /* R1246 */
300 vcco_500: ina226@42 { /* u178 */
301 compatible = "ti,ina226";
302 #io-channel-cells = <1>;
303 label = "ina226-vcco-500";
305 shunt-resistor = <2000>; /* R1300 */
308 vcco_501: ina226@43 { /* u180 */
309 compatible = "ti,ina226";
310 #io-channel-cells = <1>;
311 label = "ina226-vcco-501";
313 shunt-resistor = <2000>; /* R1313 */
316 vcco_502: ina226@44 { /* u182 */
317 compatible = "ti,ina226";
318 #io-channel-cells = <1>;
319 label = "ina226-vcco-502";
321 shunt-resistor = <2000>; /* R1330 */
324 vcco_503: ina226@45 { /* u172 */
325 compatible = "ti,ina226";
326 #io-channel-cells = <1>;
327 label = "ina226-vcco-503";
329 shunt-resistor = <5000>; /* R1229 */
332 vcc_1v8: ina226@46 { /* u173 */
333 compatible = "ti,ina226";
334 #io-channel-cells = <1>;
335 label = "ina226-vcc-1v8";
337 shunt-resistor = <5000>; /* R400 */
340 vcc_3v3: ina226@47 { /* u174 */
341 compatible = "ti,ina226";
342 #io-channel-cells = <1>;
343 label = "ina226-vcc-3v3";
345 shunt-resistor = <5000>; /* R1232 */
348 vcc_1v2_ddr4: ina226@48 { /* u176 */
349 compatible = "ti,ina226";
350 #io-channel-cells = <1>;
351 label = "ina226-vcc-1v2-ddr4";
353 shunt-resistor = <5000>; /* R1275 */
356 vcc1v1_lp4: ina226@49 { /* u177 */
357 compatible = "ti,ina226";
358 #io-channel-cells = <1>;
359 label = "ina226-vcc1v1-lp4";
361 shunt-resistor = <5000>; /* R1286 */
364 vadj_fmc: ina226@4a { /* u184 */
365 compatible = "ti,ina226";
366 #io-channel-cells = <1>;
367 label = "ina226-vadj-fmc";
369 shunt-resistor = <2000>; /* R1350 */
372 mgtyavcc: ina226@4b { /* u186 */
373 compatible = "ti,ina226";
374 #io-channel-cells = <1>;
375 label = "ina226-mgtyavcc";
377 shunt-resistor = <2000>; /* R1367 */
380 mgtyavtt: ina226@4c { /* u188 */
381 compatible = "ti,ina226";
382 #io-channel-cells = <1>;
383 label = "ina226-mgtyavtt";
385 shunt-resistor = <2000>; /* R1384 */
388 mgtyvccaux: ina226@4d { /* u234 */
389 compatible = "ti,ina226";
390 #io-channel-cells = <1>;
391 label = "ina226-mgtyvccaux";
393 shunt-resistor = <5000>; /* r1679 */
397 i2c@4 { /* LP_I2C_SM */
398 #address-cells = <1>;
401 /* FIXME wires ready but chip is missing */
403 i2c@5 { /* zSFP_SI570 */
404 #address-cells = <1>;
407 si570_zsfp: clock-generator@5d { /* u192 */
409 compatible = "silabs,si570";
411 temperature-stability = <50>;
412 factory-fout = <156250000>;
413 clock-frequency = <156250000>;
414 clock-output-names = "si570_hsdp_clk";
417 i2c@6 { /* USER_SI570_1 */
418 #address-cells = <1>;
421 si570_user1_clk: clock-generator@5d { /* u205 */
423 compatible = "silabs,si570";
425 temperature-stability = <50>;
426 factory-fout = <100000000>;
427 clock-frequency = <100000000>;
428 clock-output-names = "si570_user1";
432 i2c@7 { /* USER_SI570_2 */
433 #address-cells = <1>;
436 /* FIXME wires ready but chip is missing */
441 &i2c1 { /* i2c1 MIO 36-37 */
443 clock-frequency = <400000>;
445 i2c-mux@74 { /* u35 */
446 compatible = "nxp,pca9548";
447 #address-cells = <1>;
450 /* reset-gpios = <&gpio SYSCTLR_IIC_MUX1_RESET_B GPIO_ACTIVE_HIGH>; */
451 dc_i2c: i2c@0 { /* DC_I2C */
452 #address-cells = <1>;
455 /* Use for storing information about SC board */
456 eeprom: eeprom@54 { /* u34 - m24128 16kB */
457 compatible = "st,24c128", "atmel,24c128";
458 reg = <0x54>; /* 0x5c too */
460 si570_ref_clk: clock-generator@5d { /* u32 */
462 compatible = "silabs,si570";
464 temperature-stability = <50>;
465 factory-fout = <33333333>;
466 clock-frequency = <33333333>;
467 clock-output-names = "ref_clk";
469 /* and connector J212D */
471 fmc1: i2c@1 { /* FMCP1_IIC */
472 #address-cells = <1>;
475 /* FIXME connection to Samtec J51C */
476 /* expected eeprom 0x50 FMC cards */
478 fmc2: i2c@2 { /* FMCP2_IIC */
479 #address-cells = <1>;
482 /* FIXME connection to Samtec J53C */
483 /* expected eeprom 0x50 FMC cards */
485 i2c@3 { /* DDR4_DIMM1 */
486 #address-cells = <1>;
489 si570_ddr_dimm1: clock-generator@60 { /* u2 */
491 compatible = "silabs,si570";
493 temperature-stability = <50>;
494 factory-fout = <200000000>;
495 clock-frequency = <200000000>;
496 clock-output-names = "si570_ddrdimm1_clk";
499 i2c@4 { /* LPDDR4_SI570_CLK2 */
500 #address-cells = <1>;
503 si570_ddr_dimm2: clock-generator@60 { /* u3 */
505 compatible = "silabs,si570";
507 temperature-stability = <50>;
508 factory-fout = <200000000>;
509 clock-frequency = <200000000>;
510 clock-output-names = "si570_lpddr4_clk2";
513 i2c@5 { /* LPDDR4_SI570_CLK1 */
514 #address-cells = <1>;
517 si570_lpddr4: clock-generator@60 { /* u4 */
519 compatible = "silabs,si570";
521 temperature-stability = <50>;
522 factory-fout = <200000000>;
523 clock-frequency = <200000000>;
524 clock-output-names = "si570_lpddr4_clk1";
527 i2c@6 { /* HSDP_SI570 */
528 #address-cells = <1>;
531 si570_hsdp: clock-generator@5d { /* u5 */
533 compatible = "silabs,si570";
535 temperature-stability = <50>;
536 factory-fout = <156250000>;
537 clock-frequency = <156250000>;
538 clock-output-names = "si570_hsdp_clk";
541 i2c@7 { /* 8A34001 - U219B and J310 connector */
542 #address-cells = <1>;