Debian Codegraph @

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts

raw
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 // Copyright 2025 Facebook Inc.
3
4 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
8
9 / {
10 model = "Facebook Santabarbara BMC";
11 compatible = "facebook,santabarbara-bmc", "aspeed,ast2600";
12
13 aliases {
14 serial0 = &uart1;
15 serial2 = &uart3;
16 serial3 = &uart4;
17 serial4 = &uart5;
18 i2c16 = &i2c4mux0ch0;
19 i2c17 = &i2c4mux0ch1;
20 i2c18 = &i2c4mux0ch2;
21 i2c19 = &i2c4mux0ch3;
22 i2c20 = &i2c4mux0ch4;
23 i2c21 = &i2c4mux0ch5;
24 i2c22 = &i2c4mux0ch6;
25 i2c23 = &i2c4mux0ch7;
26 i2c24 = &i2c5mux0ch0;
27 i2c25 = &i2c5mux0ch1;
28 i2c26 = &i2c5mux0ch2;
29 i2c27 = &i2c5mux0ch3;
30 i2c28 = &i2c5mux1ch0;
31 i2c29 = &i2c5mux1ch1;
32 i2c30 = &i2c5mux1ch2;
33 i2c31 = &i2c5mux1ch3;
34 i2c32 = &i2c12mux0ch0;
35 i2c33 = &i2c12mux0ch1;
36 i2c34 = &i2c12mux0ch2;
37 i2c35 = &i2c12mux0ch3;
38 i2c36 = &i2c12mux0ch4;
39 i2c37 = &i2c12mux0ch5;
40 i2c38 = &i2c12mux0ch6;
41 i2c39 = &i2c12mux0ch7;
42 i2c48 = &i2c6mux0ch0;
43 i2c49 = &i2c6mux0ch1;
44 i2c50 = &i2c6mux0ch2;
45 i2c51 = &i2c6mux0ch3;
46 i2c52 = &i2c8mux0ch0;
47 i2c53 = &i2c8mux0ch1;
48 i2c54 = &i2c8mux0ch2;
49 i2c55 = &i2c8mux0ch3;
50 i2c56 = &i2c10mux0ch0;
51 i2c57 = &i2c10mux0ch1;
52 i2c58 = &i2c10mux0ch2;
53 i2c59 = &i2c10mux0ch3;
54 i2c60 = &i2c13mux0ch0;
55 i2c61 = &i2c13mux0ch1;
56 i2c62 = &i2c13mux0ch2;
57 i2c63 = &i2c13mux0ch3;
58 i2c64 = &i2c6mux1ch0;
59 i2c65 = &i2c6mux1ch1;
60 i2c66 = &i2c6mux1ch2;
61 i2c67 = &i2c6mux1ch3;
62 i2c68 = &i2c8mux1ch0;
63 i2c69 = &i2c8mux1ch1;
64 i2c70 = &i2c8mux1ch2;
65 i2c71 = &i2c8mux1ch3;
66 i2c72 = &i2c10mux1ch0;
67 i2c73 = &i2c10mux1ch1;
68 i2c74 = &i2c10mux1ch2;
69 i2c75 = &i2c10mux1ch3;
70 i2c76 = &i2c13mux1ch0;
71 i2c77 = &i2c13mux1ch1;
72 i2c78 = &i2c13mux1ch2;
73 i2c79 = &i2c13mux1ch3;
74 };
75
76 chosen {
77 stdout-path = "serial4:57600n8";
78 };
79
80 iio-hwmon {
81 compatible = "iio-hwmon";
82 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
83 <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
84 <&adc1 2>;
85 };
86
87 leds {
88 compatible = "gpio-leds";
89
90 led-0 {
91 label = "bmc_heartbeat_amber";
92 gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
93 linux,default-trigger = "heartbeat";
94 };
95
96 led-1 {
97 label = "fp_id_amber";
98 default-state = "off";
99 gpios = <&gpio0 ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>;
100 };
101
102 led-2 {
103 label = "power_blue";
104 default-state = "off";
105 gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>;
106 };
107
108 led-3 {
109 label = "bmc_ready_noled";
110 gpios = <&gpio0 ASPEED_GPIO(B, 3) (GPIO_ACTIVE_HIGH|GPIO_TRANSITORY)>;
111 };
112 };
113
114 memory@80000000 {
115 device_type = "memory";
116 reg = <0x80000000 0x80000000>;
117 };
118
119 p3v3_bmc_aux: regulator-p3v3-bmc-aux {
120 compatible = "regulator-fixed";
121 regulator-name = "p3v3_bmc_aux";
122 regulator-min-microvolt = <3300000>;
123 regulator-max-microvolt = <3300000>;
124 regulator-always-on;
125 };
126
127 spi_gpio: spi {
128 compatible = "spi-gpio";
129 #address-cells = <1>;
130 #size-cells = <0>;
131
132 sck-gpios = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
133 mosi-gpios = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
134 miso-gpios = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
135 num-chipselects = <1>;
136 cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
137 status = "okay";
138
139 tpm@0 {
140 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
141 spi-max-frequency = <33000000>;
142 reg = <0>;
143 };
144 };
145 };
146
147 &adc0 {
148 aspeed,int-vref-microvolt = <2500000>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
151 &pinctrl_adc2_default &pinctrl_adc3_default
152 &pinctrl_adc4_default &pinctrl_adc5_default
153 &pinctrl_adc6_default &pinctrl_adc7_default>;
154 status = "okay";
155 };
156
157 &adc1 {
158 aspeed,int-vref-microvolt = <2500000>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_adc10_default>;
161 status = "okay";
162 };
163
164 &ehci0 {
165 status = "okay";
166 };
167
168 &ehci1 {
169 status = "okay";
170 };
171
172 &fmc {
173 status = "okay";
174
175 flash@0 {
176 status = "okay";
177 m25p,fast-read;
178 label = "bmc";
179 spi-max-frequency = <50000000>;
180 #include "openbmc-flash-layout-128.dtsi"
181 };
182
183 flash@1 {
184 status = "okay";
185 m25p,fast-read;
186 label = "alt-bmc";
187 spi-max-frequency = <50000000>;
188 };
189 };
190
191 &gpio0 {
192 gpio-line-names =
193 /*A0-A7*/ "","","","","","","","",
194 /*B0-B7*/ "rtc-battery-voltage-read-enable","","","BMC_READY",
195 "","led-identify","","",
196 /*C0-C7*/ "","","","","","","","",
197 /*D0-D7*/ "","","","","","","","",
198 /*E0-E7*/ "","","","","","","","",
199 /*F0-F7*/ "","","","","","","","",
200 /*G0-G7*/ "FM_MUX1_SEL_R","","","","","","","",
201 /*H0-H7*/ "","","","","","","","",
202 /*I0-I7*/ "","","","","","","","",
203 /*J0-J7*/ "","","","","","","","",
204 /*K0-K7*/ "","","","","","","","",
205 /*L0-L7*/ "","","","","","","","",
206 /*M0-M7*/ "","","","","","","","",
207 /*N0-N7*/ "led-postcode-0","led-postcode-1",
208 "led-postcode-2","led-postcode-3",
209 "led-postcode-4","led-postcode-5",
210 "led-postcode-6","led-postcode-7",
211 /*O0-O7*/ "","","","","","","","debug-card-mux",
212 /*P0-P7*/ "power-button","","reset-button","",
213 "led-power","","","",
214 /*Q0-Q7*/ "","","","","","","","",
215 /*R0-R7*/ "","","","","","","","",
216 /*S0-S7*/ "","","power-host-control","","","","","",
217 /*T0-T7*/ "","","","","","","","",
218 /*U0-U7*/ "","","","","","","","",
219 /*V0-V7*/ "","","","","","","","",
220 /*W0-W7*/ "","","","","","","","",
221 /*X0-X7*/ "","","","","","","","",
222 /*Y0-Y7*/ "","","","","","","","",
223 /*Z0-Z7*/ "","","","","","","","";
224 };
225
226 &gpio1 {
227 gpio-line-names =
228 /*18A0-18A7*/ "","","","","","","","",
229 /*18B0-18B7*/ "","","","",
230 "FM_BOARD_BMC_REV_ID0","FM_BOARD_BMC_REV_ID1",
231 "FM_BOARD_BMC_REV_ID2","",
232 /*18C0-18C7*/ "SPI_BMC_BIOS_ROM_IRQ0_R_N","","","","","","","",
233 /*18D0-18D7*/ "","","","","","","","",
234 /*18E0-18E3*/ "FM_BMC_PROT_LS_EN","AC_PWR_BMC_BTN_R_N","","";
235 };
236
237 &i2c0 {
238 status = "okay";
239
240 // MB FRU
241 eeprom@53 {
242 compatible = "atmel,24c128";
243 reg = <0x53>;
244 };
245
246 rtc@68 {
247 compatible = "dallas,ds1339";
248 reg = <0x68>;
249 };
250 };
251
252 &i2c1 {
253 status = "okay";
254
255 gpio@20 {
256 compatible = "nxp,pca9555";
257 reg = <0x20>;
258 gpio-controller;
259 #gpio-cells = <2>;
260 interrupt-parent = <&sgpiom0>;
261 interrupts = <112 IRQ_TYPE_LEVEL_LOW>;
262 gpio-line-names =
263 "FM_NIC_PPS_IN_OE_N","FM_NIC_PPS_OUT_OE_N",
264 "FM_CPU0_TRIGGERTSC_OE_N","FM_NIC_PPS_IN_MUX_OE_N",
265 "FM_CPU0_CORETYPE0","FM_CPU0_CORETYPE1",
266 "FM_CPU0_CORETYPE2","FM_NIC_PPS_OUT_MUX_OE",
267 "CLKMUX_INPUT_LOSS_U45_R_N","FM_CPU0_SP7R1",
268 "FM_CPU0_SP7R2","FM_CPU0_SP7R3",
269 "FM_CPU0_SP7R4","",
270 "FM_NIC_PPS_IN_S0_R","FM_NIC_PPS_IN_S1_R";
271 };
272
273 fan-controller@21 {
274 compatible = "maxim,max31790";
275 reg = <0x21>;
276 };
277
278 gpio@22 {
279 compatible = "nxp,pca9555";
280 reg = <0x22>;
281 gpio-controller;
282 #gpio-cells = <2>;
283 interrupt-parent = <&sgpiom0>;
284 interrupts = <116 IRQ_TYPE_LEVEL_LOW>;
285 gpio-line-names =
286 "FM_CBL_PRSNT_0A_N","FM_CBL_PRSNT_0B_N",
287 "FM_CBL_PRSNT_1A_N","FM_CBL_PRSNT_1B_N",
288 "FM_MODULE_PWRGD_0A","FM_MODULE_PWRGD_0B",
289 "CLKMUX_INPUT_LOSS_U88_R_N","FM_MODULE_PWRGD_1B",
290 "","",
291 "CLKMUX_INPUT_LOSS_U83_R_N","CLKMUX_INPUT_LOSS_U84_R_N",
292 "FM_P3V3_E1S_0_FAULT_R_N","FM_P3V3_E1S_1_FAULT_R_N",
293 "E1S_0_P12V_ADC_R_ALERT","E1S_1_P12V_ADC_R_ALERT";
294 };
295
296 gpio@24 {
297 compatible = "nxp,pca9555";
298 reg = <0x24>;
299 gpio-controller;
300 #gpio-cells = <2>;
301 interrupt-parent = <&sgpiom0>;
302 interrupts = <114 IRQ_TYPE_LEVEL_LOW>;
303 gpio-line-names =
304 "FM_CBL_PRSNT_2A_N","FM_CBL_PRSNT_2B_N",
305 "FM_CBL_PRSNT_3A_N","FM_CBL_PRSNT_3B_N",
306 "FM_CBL_PRSNT_4A_N","FM_CBL_PRSNT_4B_N",
307 "FM_P3V3_NIC_400G_FAULT_R_N","FM_MODULE_PWRGD_2B",
308 "OCP_SFF_P12V_ADC_R_ALERT","FM_MODULE_PWRGD_3B",
309 "FM_THERMAL_ALERT_R_N","FM_MODULE_PWRGD_4B",
310 "FM_CBL_PRSNT_OSFP_A_N","FM_CBL_PRSNT_OSFP_B_N",
311 "FM_JTAG_MCIO_MUX_S0","FM_JTAG_MCIO_MUX_S1";
312 };
313
314 gpio@26 {
315 compatible = "nxp,pca9555";
316 reg = <0x26>;
317 gpio-controller;
318 #gpio-cells = <2>;
319 interrupt-parent = <&sgpiom0>;
320 interrupts = <118 IRQ_TYPE_LEVEL_LOW>;
321 gpio-line-names =
322 "FAN_0_PRSNT_R1_N","FAN_1_PRSNT_R1_N",
323 "FAN_2_PRSNT_R1_N","FAN_3_PRSNT_R1_N",
324 "P12V_FAN_0_ADC_ALERT","P12V_FAN_1_ADC_ALERT",
325 "P12V_FAN_2_ADC_ALERT","P12V_FAN_3_ADC_ALERT",
326 "P12V_FAN0_PWRGD_R","P12V_FAN1_PWRGD_R",
327 "P12V_FAN2_PWRGD_R","P12V_FAN3_PWRGD_R",
328 "","","","";
329 };
330 };
331
332 &i2c3 {
333 status = "okay";
334
335 sbrmi@3c {
336 compatible = "amd,sbrmi";
337 reg = <0x3c>;
338 };
339
340 sbtsi@4c {
341 compatible = "amd,sbtsi";
342 reg = <0x4c>;
343 };
344 };
345
346 &i2c4 {
347 status = "okay";
348
349 i2c-mux@70 {
350 compatible = "nxp,pca9548";
351 reg = <0x70>;
352 #address-cells = <1>;
353 #size-cells = <0>;
354 i2c-mux-idle-disconnect;
355
356 i2c4mux0ch0: i2c@0 {
357 reg = <0>;
358 #address-cells = <1>;
359 #size-cells = <0>;
360
361 // HPM Board ID EEPROM
362 eeprom@51 {
363 compatible = "atmel,24c128";
364 reg = <0x51>;
365 };
366
367 // SCM Board ID EEPROM
368 eeprom@53 {
369 compatible = "atmel,24c128";
370 reg = <0x53>;
371 };
372 };
373
374 i2c4mux0ch1: i2c@1 {
375 reg = <1>;
376 #address-cells = <1>;
377 #size-cells = <0>;
378 };
379
380 i2c4mux0ch2: i2c@2 {
381 reg = <2>;
382 #address-cells = <1>;
383 #size-cells = <0>;
384 };
385
386 i2c4mux0ch3: i2c@3 {
387 reg = <3>;
388 #address-cells = <1>;
389 #size-cells = <0>;
390
391 power-monitor@40 {
392 compatible = "ti,ina230";
393 reg = <0x40>;
394 shunt-resistor = <2000>;
395 };
396
397 power-monitor@42 {
398 compatible = "ti,ina230";
399 reg = <0x42>;
400 shunt-resistor = <2000>;
401 };
402
403 power-monitor@44 {
404 compatible = "ti,ina230";
405 reg = <0x44>;
406 shunt-resistor = <2000>;
407 };
408
409 power-monitor@46 {
410 compatible = "ti,ina230";
411 reg = <0x46>;
412 shunt-resistor = <2000>;
413 };
414
415 voltage-sensor@48 {
416 compatible = "ti,ads7830";
417 reg = <0x48>;
418 vref-supply = <&p3v3_bmc_aux>;
419 };
420
421 voltage-sensor@4a {
422 compatible = "ti,ads7830";
423 reg = <0x4a>;
424 vref-supply = <&p3v3_bmc_aux>;
425 };
426
427 temperature-sensor@4c {
428 compatible = "ti,tmp75";
429 reg = <0x4c>;
430 };
431
432 temperature-sensor@4e {
433 compatible = "ti,tmp75";
434 reg = <0x4e>;
435 };
436 };
437
438 i2c4mux0ch4: i2c@4 {
439 reg = <4>;
440 #address-cells = <1>;
441 #size-cells = <0>;
442 };
443
444 i2c4mux0ch5: i2c@5 {
445 reg = <5>;
446 #address-cells = <1>;
447 #size-cells = <0>;
448 };
449
450 i2c4mux0ch6: i2c@6 {
451 reg = <6>;
452 #address-cells = <1>;
453 #size-cells = <0>;
454
455 power-monitor@40 {
456 compatible = "ti,ina230";
457 reg = <0x40>;
458 shunt-resistor = <2000>;
459 };
460
461 power-monitor@42 {
462 compatible = "ti,ina230";
463 reg = <0x42>;
464 shunt-resistor = <2000>;
465 };
466
467 power-monitor@44 {
468 compatible = "ti,ina230";
469 reg = <0x44>;
470 shunt-resistor = <2000>;
471 };
472
473 power-monitor@46 {
474 compatible = "ti,ina230";
475 reg = <0x46>;
476 shunt-resistor = <2000>;
477 };
478
479 voltage-sensor@48 {
480 compatible = "ti,ads7830";
481 reg = <0x48>;
482 };
483 };
484
485 i2c4mux0ch7: i2c@7 {
486 reg = <7>;
487 #address-cells = <1>;
488 #size-cells = <0>;
489
490 temperature-sensor@4b {
491 compatible = "ti,tmp75";
492 reg = <0x4b>;
493 };
494
495 temperature-sensor@4f {
496 compatible = "ti,tmp75";
497 reg = <0x4f>;
498 };
499
500 // FIO FRU
501 eeprom@53 {
502 compatible = "atmel,24c512";
503 reg = <0x53>;
504 };
505 };
506 };
507 };
508
509 &i2c5 {
510 status = "okay";
511
512 // E1S BP FRU
513 eeprom@52 {
514 compatible = "atmel,24c64";
515 reg = <0x52>;
516 };
517
518 i2c-mux@71 {
519 compatible = "nxp,pca9546";
520 reg = <0x71>;
521 #address-cells = <1>;
522 #size-cells = <0>;
523 i2c-mux-idle-disconnect;
524
525 i2c5mux0ch0: i2c@0 {
526 reg = <0>;
527 #address-cells = <1>;
528 #size-cells = <0>;
529 };
530
531 i2c5mux0ch1: i2c@1 {
532 reg = <1>;
533 #address-cells = <1>;
534 #size-cells = <0>;
535 };
536
537 i2c5mux0ch2: i2c@2 {
538 reg = <2>;
539 #address-cells = <1>;
540 #size-cells = <0>;
541 };
542
543 i2c5mux0ch3: i2c@3 {
544 reg = <3>;
545 #address-cells = <1>;
546 #size-cells = <0>;
547 };
548 };
549
550 i2c-mux@72 {
551 compatible = "nxp,pca9546";
552 reg = <0x72>;
553 #address-cells = <1>;
554 #size-cells = <0>;
555 i2c-mux-idle-disconnect;
556
557 i2c5mux1ch0: i2c@0 {
558 reg = <0>;
559 #address-cells = <1>;
560 #size-cells = <0>;
561
562 voltage-sensor@48 {
563 compatible = "ti,ads7830";
564 reg = <0x48>;
565 };
566 };
567
568 i2c5mux1ch1: i2c@1 {
569 reg = <1>;
570 #address-cells = <1>;
571 #size-cells = <0>;
572
573 temperature-sensor@48 {
574 compatible = "ti,tmp75";
575 reg = <0x48>;
576 };
577 };
578
579 i2c5mux1ch2: i2c@2 {
580 reg = <2>;
581 #address-cells = <1>;
582 #size-cells = <0>;
583
584 power-monitor@40 {
585 compatible = "ti,ina230";
586 reg = <0x40>;
587 shunt-resistor = <2000>;
588 };
589
590 power-monitor@41 {
591 compatible = "ti,ina230";
592 reg = <0x41>;
593 shunt-resistor = <2000>;
594 };
595
596 power-monitor@44 {
597 compatible = "ti,ina230";
598 reg = <0x44>;
599 shunt-resistor = <2000>;
600 };
601
602 power-monitor@45 {
603 compatible = "ti,ina230";
604 reg = <0x45>;
605 shunt-resistor = <2000>;
606 };
607 };
608
609 i2c5mux1ch3: i2c@3 {
610 reg = <3>;
611 #address-cells = <1>;
612 #size-cells = <0>;
613
614 gpio@74 {
615 compatible = "nxp,pca9539";
616 reg = <0x74>;
617 gpio-controller;
618 #gpio-cells = <2>;
619 gpio-line-names =
620 "P12V_E1S_ADC_ALERT","BUFF0_100M_LOSB_PLD",
621 "E1S_BP_SKU_ID0","E1S_BP_SKU_ID1",
622 "E1S_BP_SKU_ID2","E1S_BP_REV_ID0",
623 "E1S_BP_REV_ID1","E1S_BP_REV_ID2",
624 "P3V3_E1S_1_FAULT_R_N","P3V3_E1S_2_FAULT_R_N",
625 "P3V3_E1S_3_FAULT_R_N","P3V3_E1S_4_FAULT_R_N",
626 "P12V_E1S_1_FAULT_R_N","P12V_E1S_2_FAULT_R_N",
627 "P12V_E1S_3_FAULT_R_N","P12V_E1S_4_FAULT_R_N";
628 };
629 };
630 };
631 };
632
633 &i2c6 {
634 status = "okay";
635
636 // Rainbow0 FRU
637 eeprom@52 {
638 compatible = "atmel,24c256";
639 reg = <0x52>;
640 };
641
642 i2c-mux@71 {
643 compatible = "nxp,pca9546";
644 reg = <0x71>;
645 #address-cells = <1>;
646 #size-cells = <0>;
647 i2c-mux-idle-disconnect;
648
649 i2c6mux0ch0: i2c@0 {
650 reg = <0>;
651 #address-cells = <1>;
652 #size-cells = <0>;
653
654 temperature-sensor@64 {
655 compatible = "microchip,mcp9600";
656 reg = <0x64>;
657 };
658
659 temperature-sensor@65 {
660 compatible = "microchip,mcp9600";
661 reg = <0x65>;
662 };
663
664 temperature-sensor@67 {
665 compatible = "microchip,mcp9600";
666 reg = <0x67>;
667 };
668
669 i2c-mux@72 {
670 compatible = "nxp,pca9546";
671 reg = <0x72>;
672 #address-cells = <1>;
673 #size-cells = <0>;
674 i2c-mux-idle-disconnect;
675
676 i2c6mux1ch0: i2c@0 {
677 reg = <0>;
678 #address-cells = <1>;
679 #size-cells = <0>;
680 };
681
682 i2c6mux1ch1: i2c@1 {
683 reg = <1>;
684 #address-cells = <1>;
685 #size-cells = <0>;
686
687 voltage-sensor@48 {
688 compatible = "ti,ads7830";
689 reg = <0x48>;
690 };
691
692 voltage-sensor@49 {
693 compatible = "ti,ads7830";
694 reg = <0x49>;
695 };
696
697 temperature-sensor@4a {
698 compatible = "ti,tmp175";
699 reg = <0x4a>;
700 };
701
702 temperature-sensor@4b {
703 compatible = "ti,tmp175";
704 reg = <0x4b>;
705 };
706
707 eeprom@56 {
708 compatible = "atmel,24c256";
709 reg = <0x56>;
710 };
711 };
712
713 i2c6mux1ch2: i2c@2 {
714 reg = <2>;
715 #address-cells = <1>;
716 #size-cells = <0>;
717 };
718
719 i2c6mux1ch3: i2c@3 {
720 reg = <3>;
721 #address-cells = <1>;
722 #size-cells = <0>;
723 };
724 };
725 };
726
727 i2c6mux0ch1: i2c@1 {
728 reg = <1>;
729 #address-cells = <1>;
730 #size-cells = <0>;
731
732 potentiometer@2c {
733 compatible = "adi,ad5272-020";
734 reg = <0x2c>;
735 };
736
737 potentiometer@2e {
738 compatible = "adi,ad5272-020";
739 reg = <0x2e>;
740 };
741
742 potentiometer@2f {
743 compatible = "adi,ad5272-020";
744 reg = <0x2f>;
745 };
746
747 power-monitor@40 {
748 compatible = "ti,ina238";
749 reg = <0x40>;
750 shunt-resistor = <1000>;
751 };
752
753 power-monitor@44 {
754 compatible = "ti,ina238";
755 reg = <0x44>;
756 shunt-resistor = <1000>;
757 };
758
759 power-monitor@45 {
760 compatible = "ti,ina238";
761 reg = <0x45>;
762 shunt-resistor = <1000>;
763 };
764 };
765
766 i2c6mux0ch2: i2c@2 {
767 reg = <2>;
768 #address-cells = <1>;
769 #size-cells = <0>;
770
771 potentiometer@2c {
772 compatible = "adi,ad5272-020";
773 reg = <0x2c>;
774 };
775
776 potentiometer@2e {
777 compatible = "adi,ad5272-020";
778 reg = <0x2e>;
779 };
780
781 potentiometer@2f {
782 compatible = "adi,ad5272-020";
783 reg = <0x2f>;
784 };
785
786 power-monitor@40 {
787 compatible = "ti,ina238";
788 reg = <0x40>;
789 shunt-resistor = <1000>;
790 };
791
792 power-monitor@44 {
793 compatible = "ti,ina238";
794 reg = <0x44>;
795 shunt-resistor = <1000>;
796 };
797
798 power-monitor@45 {
799 compatible = "ti,ina238";
800 reg = <0x45>;
801 shunt-resistor = <1000>;
802 };
803 };
804
805 i2c6mux0ch3: i2c@3 {
806 reg = <3>;
807 #address-cells = <1>;
808 #size-cells = <0>;
809
810 voltage-sensor@1d {
811 compatible = "ti,adc128d818";
812 reg = <0x1d>;
813 ti,mode = /bits/ 8 <1>;
814 };
815
816 voltage-sensor@37 {
817 compatible = "ti,adc128d818";
818 reg = <0x37>;
819 ti,mode = /bits/ 8 <1>;
820 };
821
822 power-monitor@40 {
823 compatible = "ti,ina238";
824 reg = <0x40>;
825 shunt-resistor = <1000>;
826 };
827
828 power-monitor@45 {
829 compatible = "ti,ina238";
830 reg = <0x45>;
831 shunt-resistor = <1000>;
832 };
833
834 temperature-sensor@48 {
835 compatible = "ti,tmp175";
836 reg = <0x48>;
837 };
838
839 temperature-sensor@49 {
840 compatible = "ti,tmp175";
841 reg = <0x49>;
842 };
843 };
844 };
845 };
846
847 &i2c7 {
848 multi-master;
849 status = "okay";
850
851 ipmb@10 {
852 compatible = "ipmb-dev";
853 reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
854 i2c-protocol;
855 };
856 };
857
858 &i2c8 {
859 status = "okay";
860
861 // Rainbow2 FRU
862 eeprom@52 {
863 compatible = "atmel,24c256";
864 reg = <0x52>;
865 };
866
867 i2c-mux@71 {
868 compatible = "nxp,pca9546";
869 reg = <0x71>;
870 #address-cells = <1>;
871 #size-cells = <0>;
872 i2c-mux-idle-disconnect;
873
874 i2c8mux0ch0: i2c@0 {
875 reg = <0>;
876 #address-cells = <1>;
877 #size-cells = <0>;
878
879 temperature-sensor@64 {
880 compatible = "microchip,mcp9600";
881 reg = <0x64>;
882 };
883
884 temperature-sensor@65 {
885 compatible = "microchip,mcp9600";
886 reg = <0x65>;
887 };
888
889 temperature-sensor@67 {
890 compatible = "microchip,mcp9600";
891 reg = <0x67>;
892 };
893
894 i2c-mux@72 {
895 compatible = "nxp,pca9546";
896 reg = <0x72>;
897 #address-cells = <1>;
898 #size-cells = <0>;
899 i2c-mux-idle-disconnect;
900
901 i2c8mux1ch0: i2c@0 {
902 reg = <0>;
903 #address-cells = <1>;
904 #size-cells = <0>;
905 };
906
907 i2c8mux1ch1: i2c@1 {
908 reg = <1>;
909 #address-cells = <1>;
910 #size-cells = <0>;
911
912 voltage-sensor@48 {
913 compatible = "ti,ads7830";
914 reg = <0x48>;
915 };
916
917 voltage-sensor@49 {
918 compatible = "ti,ads7830";
919 reg = <0x49>;
920 };
921
922 temperature-sensor@4a {
923 compatible = "ti,tmp175";
924 reg = <0x4a>;
925 };
926
927 temperature-sensor@4b {
928 compatible = "ti,tmp175";
929 reg = <0x4b>;
930 };
931
932 eeprom@56 {
933 compatible = "atmel,24c256";
934 reg = <0x56>;
935 };
936 };
937
938 i2c8mux1ch2: i2c@2 {
939 reg = <2>;
940 #address-cells = <1>;
941 #size-cells = <0>;
942 };
943
944 i2c8mux1ch3: i2c@3 {
945 reg = <3>;
946 #address-cells = <1>;
947 #size-cells = <0>;
948 };
949 };
950 };
951
952 i2c8mux0ch1: i2c@1 {
953 reg = <1>;
954 #address-cells = <1>;
955 #size-cells = <0>;
956
957 potentiometer@2c {
958 compatible = "adi,ad5272-020";
959 reg = <0x2c>;
960 };
961
962 potentiometer@2e {
963 compatible = "adi,ad5272-020";
964 reg = <0x2e>;
965 };
966
967 potentiometer@2f {
968 compatible = "adi,ad5272-020";
969 reg = <0x2f>;
970 };
971
972 power-monitor@40 {
973 compatible = "ti,ina238";
974 reg = <0x40>;
975 shunt-resistor = <1000>;
976 };
977
978 power-monitor@44 {
979 compatible = "ti,ina238";
980 reg = <0x44>;
981 shunt-resistor = <1000>;
982 };
983
984 power-monitor@45 {
985 compatible = "ti,ina238";
986 reg = <0x45>;
987 shunt-resistor = <1000>;
988 };
989 };
990
991 i2c8mux0ch2: i2c@2 {
992 reg = <2>;
993 #address-cells = <1>;
994 #size-cells = <0>;
995
996 potentiometer@2c {
997 compatible = "adi,ad5272-020";
998 reg = <0x2c>;
999 };
1000
1001 potentiometer@2e {
1002 compatible = "adi,ad5272-020";
1003 reg = <0x2e>;
1004 };
1005
1006 potentiometer@2f {
1007 compatible = "adi,ad5272-020";
1008 reg = <0x2f>;
1009 };
1010
1011 power-monitor@40 {
1012 compatible = "ti,ina238";
1013 reg = <0x40>;
1014 shunt-resistor = <1000>;
1015 };
1016
1017 power-monitor@44 {
1018 compatible = "ti,ina238";
1019 reg = <0x44>;
1020 shunt-resistor = <1000>;
1021 };
1022
1023 power-monitor@45 {
1024 compatible = "ti,ina238";
1025 reg = <0x45>;
1026 shunt-resistor = <1000>;
1027 };
1028 };
1029
1030 i2c8mux0ch3: i2c@3 {
1031 reg = <3>;
1032 #address-cells = <1>;
1033 #size-cells = <0>;
1034
1035 voltage-sensor@1d {
1036 compatible = "ti,adc128d818";
1037 reg = <0x1d>;
1038 ti,mode = /bits/ 8 <1>;
1039 };
1040
1041 voltage-sensor@37 {
1042 compatible = "ti,adc128d818";
1043 reg = <0x37>;
1044 ti,mode = /bits/ 8 <1>;
1045 };
1046
1047 power-monitor@40 {
1048 compatible = "ti,ina238";
1049 reg = <0x40>;
1050 shunt-resistor = <1000>;
1051 };
1052
1053 power-monitor@45 {
1054 compatible = "ti,ina238";
1055 reg = <0x45>;
1056 shunt-resistor = <1000>;
1057 };
1058
1059 temperature-sensor@48 {
1060 compatible = "ti,tmp175";
1061 reg = <0x48>;
1062 };
1063
1064 temperature-sensor@49 {
1065 compatible = "ti,tmp175";
1066 reg = <0x49>;
1067 };
1068 };
1069 };
1070 };
1071
1072 &i2c9 {
1073 status = "okay";
1074
1075 temperature-sensor@4b {
1076 compatible = "ti,tmp75";
1077 reg = <0x4b>;
1078 };
1079
1080 // SCM FRU
1081 eeprom@50 {
1082 compatible = "atmel,24c128";
1083 reg = <0x50>;
1084 };
1085
1086 eeprom@51 {
1087 compatible = "atmel,24c128";
1088 reg = <0x51>;
1089 };
1090
1091 // BSM FRU
1092 eeprom@56 {
1093 compatible = "atmel,24c64";
1094 reg = <0x56>;
1095 };
1096 };
1097
1098 &i2c10 {
1099 status = "okay";
1100
1101 // Rainbow3 FRU
1102 eeprom@52 {
1103 compatible = "atmel,24c256";
1104 reg = <0x52>;
1105 };
1106
1107 i2c-mux@71 {
1108 compatible = "nxp,pca9546";
1109 reg = <0x71>;
1110 #address-cells = <1>;
1111 #size-cells = <0>;
1112 i2c-mux-idle-disconnect;
1113
1114 i2c10mux0ch0: i2c@0 {
1115 reg = <0>;
1116 #address-cells = <1>;
1117 #size-cells = <0>;
1118
1119 temperature-sensor@64 {
1120 compatible = "microchip,mcp9600";
1121 reg = <0x64>;
1122 };
1123
1124 temperature-sensor@65 {
1125 compatible = "microchip,mcp9600";
1126 reg = <0x65>;
1127 };
1128
1129 temperature-sensor@67 {
1130 compatible = "microchip,mcp9600";
1131 reg = <0x67>;
1132 };
1133
1134 i2c-mux@72 {
1135 compatible = "nxp,pca9546";
1136 reg = <0x72>;
1137 #address-cells = <1>;
1138 #size-cells = <0>;
1139 i2c-mux-idle-disconnect;
1140
1141 i2c10mux1ch0: i2c@0 {
1142 reg = <0>;
1143 #address-cells = <1>;
1144 #size-cells = <0>;
1145 };
1146
1147 i2c10mux1ch1: i2c@1 {
1148 reg = <1>;
1149 #address-cells = <1>;
1150 #size-cells = <0>;
1151
1152 voltage-sensor@48 {
1153 compatible = "ti,ads7830";
1154 reg = <0x48>;
1155 };
1156
1157 voltage-sensor@49 {
1158 compatible = "ti,ads7830";
1159 reg = <0x49>;
1160 };
1161
1162 temperature-sensor@4a {
1163 compatible = "ti,tmp175";
1164 reg = <0x4a>;
1165 };
1166
1167 temperature-sensor@4b {
1168 compatible = "ti,tmp175";
1169 reg = <0x4b>;
1170 };
1171
1172 eeprom@56 {
1173 compatible = "atmel,24c256";
1174 reg = <0x56>;
1175 };
1176 };
1177
1178 i2c10mux1ch2: i2c@2 {
1179 reg = <2>;
1180 #address-cells = <1>;
1181 #size-cells = <0>;
1182 };
1183
1184 i2c10mux1ch3: i2c@3 {
1185 reg = <3>;
1186 #address-cells = <1>;
1187 #size-cells = <0>;
1188 };
1189 };
1190 };
1191
1192 i2c10mux0ch1: i2c@1 {
1193 reg = <1>;
1194 #address-cells = <1>;
1195 #size-cells = <0>;
1196
1197 potentiometer@2c {
1198 compatible = "adi,ad5272-020";
1199 reg = <0x2c>;
1200 };
1201
1202 potentiometer@2e {
1203 compatible = "adi,ad5272-020";
1204 reg = <0x2e>;
1205 };
1206
1207 potentiometer@2f {
1208 compatible = "adi,ad5272-020";
1209 reg = <0x2f>;
1210 };
1211
1212 power-monitor@40 {
1213 compatible = "ti,ina238";
1214 reg = <0x40>;
1215 shunt-resistor = <1000>;
1216 };
1217
1218 power-monitor@44 {
1219 compatible = "ti,ina238";
1220 reg = <0x44>;
1221 shunt-resistor = <1000>;
1222 };
1223
1224 power-monitor@45 {
1225 compatible = "ti,ina238";
1226 reg = <0x45>;
1227 shunt-resistor = <1000>;
1228 };
1229 };
1230
1231 i2c10mux0ch2: i2c@2 {
1232 reg = <2>;
1233 #address-cells = <1>;
1234 #size-cells = <0>;
1235
1236 potentiometer@2c {
1237 compatible = "adi,ad5272-020";
1238 reg = <0x2c>;
1239 };
1240
1241 potentiometer@2e {
1242 compatible = "adi,ad5272-020";
1243 reg = <0x2e>;
1244 };
1245
1246 potentiometer@2f {
1247 compatible = "adi,ad5272-020";
1248 reg = <0x2f>;
1249 };
1250
1251 power-monitor@40 {
1252 compatible = "ti,ina238";
1253 reg = <0x40>;
1254 shunt-resistor = <1000>;
1255 };
1256
1257 power-monitor@44 {
1258 compatible = "ti,ina238";
1259 reg = <0x44>;
1260 shunt-resistor = <1000>;
1261 };
1262
1263 power-monitor@45 {
1264 compatible = "ti,ina238";
1265 reg = <0x45>;
1266 shunt-resistor = <1000>;
1267 };
1268 };
1269
1270 i2c10mux0ch3: i2c@3 {
1271 reg = <3>;
1272 #address-cells = <1>;
1273 #size-cells = <0>;
1274
1275 voltage-sensor@1d {
1276 compatible = "ti,adc128d818";
1277 reg = <0x1d>;
1278 ti,mode = /bits/ 8 <1>;
1279 };
1280
1281 voltage-sensor@37 {
1282 compatible = "ti,adc128d818";
1283 reg = <0x37>;
1284 ti,mode = /bits/ 8 <1>;
1285 };
1286
1287 power-monitor@40 {
1288 compatible = "ti,ina238";
1289 reg = <0x40>;
1290 shunt-resistor = <1000>;
1291 };
1292
1293 power-monitor@45 {
1294 compatible = "ti,ina238";
1295 reg = <0x45>;
1296 shunt-resistor = <1000>;
1297 };
1298
1299 temperature-sensor@48 {
1300 compatible = "ti,tmp175";
1301 reg = <0x48>;
1302 };
1303
1304 temperature-sensor@49 {
1305 compatible = "ti,tmp175";
1306 reg = <0x49>;
1307 };
1308 };
1309 };
1310 };
1311
1312 &i2c11 {
1313 multi-master;
1314 mctp-controller;
1315 status = "okay";
1316
1317 mctp@10 {
1318 compatible = "mctp-i2c-controller";
1319 reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
1320 };
1321
1322 // OCP NIC TEMP
1323 temperature-sensor@1f {
1324 compatible = "ti,tmp421";
1325 reg = <0x1f>;
1326 };
1327
1328 // OCP NIC FRU
1329 eeprom@50 {
1330 compatible = "atmel,24c64";
1331 reg = <0x50>;
1332 };
1333 };
1334
1335 &i2c12 {
1336 status = "okay";
1337
1338 gpio@27 {
1339 compatible = "nxp,pca9555";
1340 reg = <0x27>;
1341 gpio-controller;
1342 #gpio-cells = <2>;
1343 gpio-line-names =
1344 "PEX0_MODE_SEL1_R","PEX0_MODE_SEL2_R",
1345 "PEX0_MODE_SEL3_R","PEX0_MODE_SEL4_R",
1346 "","","","",
1347 "UART_MUX_SEL","RST_SMB_NIC_R_N",
1348 "RST_SMB_N","RST_CP2102N_N",
1349 "SPI_MUX_SEL","","","";
1350 };
1351
1352 // SWB FRU
1353 eeprom@52 {
1354 compatible = "atmel,24c64";
1355 reg = <0x52>;
1356 };
1357
1358 i2c-mux@72 {
1359 compatible = "nxp,pca9548";
1360 reg = <0x72>;
1361 #address-cells = <1>;
1362 #size-cells = <0>;
1363 i2c-mux-idle-disconnect;
1364
1365 i2c12mux0ch0: i2c@0 {
1366 reg = <0>;
1367 #address-cells = <1>;
1368 #size-cells = <0>;
1369
1370 temperature-sensor@48 {
1371 compatible = "ti,tmp75";
1372 reg = <0x48>;
1373 };
1374 };
1375
1376 i2c12mux0ch1: i2c@1 {
1377 reg = <1>;
1378 #address-cells = <1>;
1379 #size-cells = <0>;
1380
1381 power-monitor@42 {
1382 compatible = "mps,mp2971";
1383 reg = <0x42>;
1384 };
1385
1386 power-monitor@43 {
1387 compatible = "mps,mp2971";
1388 reg = <0x43>;
1389 };
1390 };
1391
1392 i2c12mux0ch2: i2c@2 {
1393 reg = <2>;
1394 #address-cells = <1>;
1395 #size-cells = <0>;
1396
1397 power-monitor@40 {
1398 compatible = "ti,ina230";
1399 reg = <0x40>;
1400 shunt-resistor = <2000>;
1401 };
1402
1403 power-monitor@41 {
1404 compatible = "ti,ina230";
1405 reg = <0x41>;
1406 shunt-resistor = <2000>;
1407 };
1408 };
1409
1410 i2c12mux0ch3: i2c@3 {
1411 reg = <3>;
1412 #address-cells = <1>;
1413 #size-cells = <0>;
1414
1415 power-monitor@44 {
1416 compatible = "ti,ina230";
1417 reg = <0x44>;
1418 shunt-resistor = <2000>;
1419 };
1420
1421 power-monitor@45 {
1422 compatible = "ti,ina230";
1423 reg = <0x45>;
1424 shunt-resistor = <2000>;
1425 };
1426 };
1427
1428 i2c12mux0ch4: i2c@4 {
1429 reg = <4>;
1430 #address-cells = <1>;
1431 #size-cells = <0>;
1432
1433 voltage-sensor@49 {
1434 compatible = "ti,ads7830";
1435 reg = <0x49>;
1436 };
1437 };
1438
1439 i2c12mux0ch5: i2c@5 {
1440 reg = <5>;
1441 #address-cells = <1>;
1442 #size-cells = <0>;
1443 };
1444
1445 i2c12mux0ch6: i2c@6 {
1446 reg = <6>;
1447 #address-cells = <1>;
1448 #size-cells = <0>;
1449 };
1450
1451 i2c12mux0ch7: i2c@7 {
1452 reg = <7>;
1453 #address-cells = <1>;
1454 #size-cells = <0>;
1455 };
1456 };
1457 };
1458
1459 &i2c13 {
1460 status = "okay";
1461
1462 // Rainbow1 FRU
1463 eeprom@52 {
1464 compatible = "atmel,24c256";
1465 reg = <0x52>;
1466 };
1467
1468 i2c-mux@71 {
1469 compatible = "nxp,pca9546";
1470 reg = <0x71>;
1471 #address-cells = <1>;
1472 #size-cells = <0>;
1473 i2c-mux-idle-disconnect;
1474
1475 i2c13mux0ch0: i2c@0 {
1476 reg = <0>;
1477 #address-cells = <1>;
1478 #size-cells = <0>;
1479
1480 temperature-sensor@64 {
1481 compatible = "microchip,mcp9600";
1482 reg = <0x64>;
1483 };
1484
1485 temperature-sensor@65 {
1486 compatible = "microchip,mcp9600";
1487 reg = <0x65>;
1488 };
1489
1490 temperature-sensor@67 {
1491 compatible = "microchip,mcp9600";
1492 reg = <0x67>;
1493 };
1494
1495 i2c-mux@72 {
1496 compatible = "nxp,pca9546";
1497 reg = <0x72>;
1498 #address-cells = <1>;
1499 #size-cells = <0>;
1500 i2c-mux-idle-disconnect;
1501
1502 i2c13mux1ch0: i2c@0 {
1503 reg = <0>;
1504 #address-cells = <1>;
1505 #size-cells = <0>;
1506 };
1507
1508 i2c13mux1ch1: i2c@1 {
1509 reg = <1>;
1510 #address-cells = <1>;
1511 #size-cells = <0>;
1512
1513 voltage-sensor@48 {
1514 compatible = "ti,ads7830";
1515 reg = <0x48>;
1516 };
1517
1518 voltage-sensor@49 {
1519 compatible = "ti,ads7830";
1520 reg = <0x49>;
1521 };
1522
1523 temperature-sensor@4a {
1524 compatible = "ti,tmp175";
1525 reg = <0x4a>;
1526 };
1527
1528 temperature-sensor@4b {
1529 compatible = "ti,tmp175";
1530 reg = <0x4b>;
1531 };
1532
1533 eeprom@56 {
1534 compatible = "atmel,24c256";
1535 reg = <0x56>;
1536 };
1537 };
1538
1539 i2c13mux1ch2: i2c@2 {
1540 reg = <2>;
1541 #address-cells = <1>;
1542 #size-cells = <0>;
1543 };
1544
1545 i2c13mux1ch3: i2c@3 {
1546 reg = <3>;
1547 #address-cells = <1>;
1548 #size-cells = <0>;
1549 };
1550 };
1551 };
1552
1553 i2c13mux0ch1: i2c@1 {
1554 reg = <1>;
1555 #address-cells = <1>;
1556 #size-cells = <0>;
1557
1558 potentiometer@2c {
1559 compatible = "adi,ad5272-020";
1560 reg = <0x2c>;
1561 };
1562
1563 potentiometer@2e {
1564 compatible = "adi,ad5272-020";
1565 reg = <0x2e>;
1566 };
1567
1568 potentiometer@2f {
1569 compatible = "adi,ad5272-020";
1570 reg = <0x2f>;
1571 };
1572
1573 power-monitor@40 {
1574 compatible = "ti,ina238";
1575 reg = <0x40>;
1576 shunt-resistor = <1000>;
1577 };
1578
1579 power-monitor@44 {
1580 compatible = "ti,ina238";
1581 reg = <0x44>;
1582 shunt-resistor = <1000>;
1583 };
1584
1585 power-monitor@45 {
1586 compatible = "ti,ina238";
1587 reg = <0x45>;
1588 shunt-resistor = <1000>;
1589 };
1590 };
1591
1592 i2c13mux0ch2: i2c@2 {
1593 reg = <2>;
1594 #address-cells = <1>;
1595 #size-cells = <0>;
1596
1597 potentiometer@2c {
1598 compatible = "adi,ad5272-020";
1599 reg = <0x2c>;
1600 };
1601
1602 potentiometer@2e {
1603 compatible = "adi,ad5272-020";
1604 reg = <0x2e>;
1605 };
1606
1607 potentiometer@2f {
1608 compatible = "adi,ad5272-020";
1609 reg = <0x2f>;
1610 };
1611
1612 power-monitor@40 {
1613 compatible = "ti,ina238";
1614 reg = <0x40>;
1615 shunt-resistor = <1000>;
1616 };
1617
1618 power-monitor@44 {
1619 compatible = "ti,ina238";
1620 reg = <0x44>;
1621 shunt-resistor = <1000>;
1622 };
1623
1624 power-monitor@45 {
1625 compatible = "ti,ina238";
1626 reg = <0x45>;
1627 shunt-resistor = <1000>;
1628 };
1629 };
1630
1631 i2c13mux0ch3: i2c@3 {
1632 reg = <3>;
1633 #address-cells = <1>;
1634 #size-cells = <0>;
1635
1636 voltage-sensor@1d {
1637 compatible = "ti,adc128d818";
1638 reg = <0x1d>;
1639 ti,mode = /bits/ 8 <1>;
1640 };
1641
1642 voltage-sensor@37 {
1643 compatible = "ti,adc128d818";
1644 reg = <0x37>;
1645 ti,mode = /bits/ 8 <1>;
1646 };
1647
1648 power-monitor@40 {
1649 compatible = "ti,ina238";
1650 reg = <0x40>;
1651 shunt-resistor = <1000>;
1652 };
1653
1654 power-monitor@45 {
1655 compatible = "ti,ina238";
1656 reg = <0x45>;
1657 shunt-resistor = <1000>;
1658 };
1659
1660 temperature-sensor@48 {
1661 compatible = "ti,tmp175";
1662 reg = <0x48>;
1663 };
1664
1665 temperature-sensor@49 {
1666 compatible = "ti,tmp175";
1667 reg = <0x49>;
1668 };
1669 };
1670 };
1671 };
1672
1673 &i2c14 {
1674 status = "okay";
1675 };
1676
1677 &i2c15 {
1678 status = "okay";
1679 };
1680
1681 &kcs2 {
1682 aspeed,lpc-io-reg = <0xca8>;
1683 status = "okay";
1684 };
1685
1686 &kcs3 {
1687 aspeed,lpc-io-reg = <0xca2>;
1688 status = "okay";
1689 };
1690
1691 &mac2 {
1692 pinctrl-names = "default";
1693 pinctrl-0 = <&pinctrl_rmii3_default>;
1694 use-ncsi;
1695 status = "okay";
1696 };
1697
1698 &mac3 {
1699 pinctrl-names = "default";
1700 pinctrl-0 = <&pinctrl_rmii4_default>;
1701 use-ncsi;
1702 status = "okay";
1703 };
1704
1705 &sgpiom0 {
1706 ngpios = <128>;
1707 bus-frequency = <2000000>;
1708 gpio-line-names =
1709 /*in - out - in - out */
1710 /*A0-A3 line 0-7*/
1711 "PDB1_HSC_PWR_OK","power-chassis-control",
1712 "PDB2_HSC_PWR_OK","FM_MODULE_PWRGD_0A_OUT",
1713 "PWRGD_P12V_MEM","FM_MODULE_PWRGD_0B_OUT",
1714 "PWRGD_P12V_SCM","FM_MODULE_PWRGD_1B_OUT",
1715 /*A4-A7 line 8-15*/
1716 "PWRGD_P12V_FAN","FM_MODULE_PWRGD_2B_OUT",
1717 "PWRGD_P5V_AUX","FM_MODULE_PWRGD_3B_OUT",
1718 "power-chassis-good","FM_MODULE_PWRGD_4B_OUT",
1719 "PWRGD_P1V8_LDO","FM_CBL_PRSNT_0A_N_OUT",
1720 /*B0-B3 line 16-23*/
1721 "PWRGD_P1V_LDO","FM_CBL_PRSNT_0B_N_OUT",
1722 "PWRGD_PVDD33_S5","FM_CBL_PRSNT_1A_N_OUT",
1723 "PWRGD_PVDD18_S5_P0","FM_CBL_PRSNT_1B_N_OUT",
1724 "CPU0_SLP_S5_N","FM_CBL_PRSNT_2A_N_OUT",
1725 /*B4-B7 line 24-31*/
1726 "PWRGD_PVDDIO_MEM_S3_P0","FM_CBL_PRSNT_2B_N_OUT",
1727 "CPU0_SLP_S3_N","FM_CBL_PRSNT_3A_N_OUT",
1728 "FM_MODULE_PWRGD_1B","FM_CBL_PRSNT_3B_N_OUT",
1729 "FM_MODULE_PWRGD_2B","FM_CBL_PRSNT_4A_N_OUT",
1730 /*C0-C3 line 32-39*/
1731 "FM_MODULE_PWRGD_3B","FM_CBL_PRSNT_4B_N_OUT",
1732 "FM_MODULE_PWRGD_4B","P12V_FAN0_PWRGD_OUT",
1733 "FM_MODULE_PWRGD_0B","P12V_FAN1_PWRGD_OUT",
1734 "PWRGD_PVDDIO_P0","P12V_FAN2_PWRGD_OUT",
1735 /*C4-C7 line 40-47*/
1736 "PWRGD_PVDDCR_SOC_P0","P12V_FAN3_PWRGD_OUT",
1737 "PWRGD_PVDDCR_CPU0_P0","P12V_FAN4_PWRGD_OUT",
1738 "PWRGD_PVDDCR_CPU1_P0","P12V_FAN5_PWRGD_OUT",
1739 "FM_CPU0_PWR_GOOD","P12V_FAN6_PWRGD_OUT",
1740 /*D0-D3 line 48-55*/
1741 "host0-ready","P12V_FAN7_PWRGD_OUT",
1742 "FM_PWRGD_CPU0_PWROK","FAN_0_PRSNT_R1_N_OUT",
1743 "FM_RST_CPU0_RESETL_N","FAN_1_PRSNT_R1_N_OUT",
1744 "RST_CPU0_PERST0_R_N","FAN_2_PRSNT_R1_N_OUT",
1745 /*D4-D7 line 56-63*/
1746 "RST_CPU0_PERST1_R_N","FAN_3_PRSNT_R1_N_OUT",
1747 "BIOS_POST_CMPLT","FAN_4_PRSNT_R1_N_OUT",
1748 "","FAN_5_PRSNT_R1_N_OUT",
1749 "","FAN_6_PRSNT_R1_N_OUT",
1750 /*E0-E3 line 64-71*/
1751 "FM_PWRGD_CHAD_CPU0","FAN_7_PRSNT_R1_N_OUT",
1752 "FM_PWRGD_CHEH_CPU0","TRAY_SLOT_ID0_OUT",
1753 "FM_PWRGD_CHIL_CPU0","TRAY_SLOT_ID1_OUT",
1754 "FM_PWRGD_CHMP_CPU0","TRAY_SLOT_ID2_OUT",
1755 /*E4-E7 line 72-79*/
1756 "P12V_E1S_0_PWRGD","TRAY_SLOT_ID3_OUT",
1757 "P12V_E1S_1_PWRGD","TRAY_SLOT_ID4_OUT",
1758 "P3V3_E1S_0_PWRGD","SCM_JTAG_MUX_S0_R",
1759 "P3V3_E1S_1_PWRGD","SCM_JTAG_MUX_S1_R",
1760 /*F0-F3 line 80-87*/
1761 "FM_MODULE_PWRGD_0A","BMC_SGPIO_READY",
1762 "OCP_V3_1_P3V3_PLD_R_PWRGD","CPU0_SYS_RESET_N",
1763 "P12V_OCP_V3_1_PLD_PWRGD","RST_CPU0_KBRST_N",
1764 "PWRGD_OCP_SFF_PWR_GOOD","BIOS_DEBUG_MODE",
1765 /*F4-F7 line 88-95*/
1766 "","CLR_CMOS",
1767 "","I3C_SPD_MUX_FORCE_SEL",
1768 "","FM_JTAG_HOST_SEL",
1769 "","TRAY_PRESENT_N",
1770 /*G0-G3 line 96-103*/
1771 "MB_REV_ID_0","UART_BMC_SEL0",
1772 "MB_REV_ID_1","UART_BMC_SEL1",
1773 "MB_REV_ID_2","SCM_USB_SEL",
1774 "MB_SKU_ID_0","FORCE_ALL_PWRON",
1775 /*G4-G7 line 104-111*/
1776 "MB_SKU_ID_1","PASSWORD_CLEAR",
1777 "MB_SKU_ID_2","",
1778 "MB_SKU_ID_3","",
1779 "","BIOS_DEBUG_MODE",
1780 /*H0-H3 line 112-119*/
1781 "FM_IOEXP_U538_INT_N","",
1782 "FM_IOEXP_U539_INT_N","FM_MODULE_PWR_EN_N_1B",
1783 "FM_IOEXP_U540_INT_N","FM_MODULE_PWR_EN_N_2B",
1784 "FM_IOEXP_U541_INT_N","FM_MODULE_PWR_EN_N_3B",
1785 /*H4-H7 line 120-127*/
1786 "FM_IOEXP_PDB2_U1003_INT_N","FM_MODULE_PWR_EN_N_4B",
1787 "","",
1788 "","",
1789 "FM_MAIN_PWREN_RMC_EN_ISO_R","",
1790 /*I0-I3 line 128-135*/
1791 "","","","",
1792 "PDB_IRQ_PMBUS_ALERT_ISO_R_N","",
1793 "PDB_UV_ALERT_ISO_R_N","",
1794 /*I4-I7 line 136-143*/
1795 "P12V_SCM_ADC_ALERT","",
1796 "CPU0_REGS_I2C_ALERT_N","",
1797 "FM_RTC_ALERT_N","",
1798 "P0_I3C_APML_ALERT_L","",
1799 /*J0-J3 line 144-151*/
1800 "SMB_RJ45_FIO_TMP_ALERT","",
1801 "FM_SMB_ALERT_MCIO_0A_N","",
1802 "I3C_MCIO_0B_ALERT_ISO_R_N","",
1803 "FM_SMB_ALERT_MCIO_1A_N","",
1804 /*J4-J7 line 152-159*/
1805 "I3C_MCIO_1B_ALERT_ISO_R_N","",
1806 "FM_SMB_ALERT_MCIO_2A_N","",
1807 "I3C_MCIO_2B_ALERT_ISO_R_N","",
1808 "FM_SMB_ALERT_MCIO_3A_N","",
1809 /*K0-K3 line 160-167*/
1810 "I3C_MCIO_3B_ALERT_ISO_R_N","",
1811 "FM_SMB_ALERT_MCIO_4A_N","",
1812 "I3C_MCIO_4B_ALERT_ISO_R_N","",
1813 "","",
1814 /*K4-K7 line 168-175*/
1815 "","","","","","","","",
1816 /*L0-L3 line 176-183*/
1817 "FM_CPU0_THERMTRIP_N","",
1818 "FM_CPU0_PROCHOT_N","",
1819 "FM_CPU0_SMERR_N","",
1820 "FM_PVDDCR_CPU0_P0_OCP_N","",
1821 /*L4-L7 line 184-191*/
1822 "FM_PVDDCR_CPU1_P0_OCP_N","",
1823 "FM_PVDDCR_SOC_P0_OCP_N","",
1824 "FM_OCP_PWRBRK_R_N","",
1825 "PMIC_ERROR_N","",
1826 /*M0-M3 line 192-199*/
1827 "","","","","","","","",
1828 /*M4-M7 line 200-207*/
1829 "","","","","","","","",
1830 /*N0-N3 line 208-215*/
1831 "FM_PRSNT_CPU0_N","",
1832 "OCP_SFF_PRSNT_N","",
1833 "E1S_0_PRSNT_R_N","",
1834 "E1S_BP_0_PRSNT_R_N","",
1835 /*N4-N7 line 216-223*/
1836 "E1S_BP_1_PRSNT_R_N","",
1837 "E1S_BP_2_PRSNT_R_N","",
1838 "E1S_BP_3_PRSNT_R_N","",
1839 "PDB_PRSNT_J311_N","",
1840 /*O0-O3 line 224-231*/
1841 "PDB_PRSNT_J312_N","",
1842 "PDB_PRSNT_J313_N","",
1843 "PDB_PRSNT_J314_N","",
1844 "PRSNT_RJ45_FIO_N_R","",
1845 /*O4-O7 line 232-239*/
1846 "PRSNT_LEAK_CABLE_1_R_N","",
1847 "PRSNT_LEAK_CABLE_2_R_N","",
1848 "PRSNT_HDT_N","",
1849 "LEAK_SWB_COLDPLATE","",
1850 /*P0-P3 line 240-247*/
1851 "LEAK_R3_COLDPLATE","",
1852 "LEAK_R2_COLDPLATE","",
1853 "LEAK_R1_COLDPLATE","",
1854 "LEAK_R0_COLDPLATE","",
1855 /*P4-P7 line 248-255*/
1856 "LEAK_MB_COLDPLATE","",
1857 "LEAK_PDB1_RIGHT_MANIFOLD","",
1858 "LEAK_PDB1_LEFT_MANIFOLD","",
1859 "LEAK_MB_MANIFOLD","";
1860 status = "okay";
1861 };
1862
1863 // BIOS Flash
1864 &spi2 {
1865 pinctrl-names = "default";
1866 pinctrl-0 = <&pinctrl_spi2_default>;
1867 status = "okay";
1868
1869 flash@0 {
1870 m25p,fast-read;
1871 label = "pnor";
1872 spi-max-frequency = <12000000>;
1873 spi-tx-bus-width = <2>;
1874 spi-rx-bus-width = <2>;
1875 status = "okay";
1876 };
1877 };
1878
1879 // HOST BIOS Debug
1880 &uart1 {
1881 status = "okay";
1882 };
1883
1884 &uart3 {
1885 status = "okay";
1886 };
1887
1888 &uart4 {
1889 status = "okay";
1890 };
1891
1892 // BMC Debug Console
1893 &uart5 {
1894 status = "okay";
1895 };
1896
1897 &uart_routing {
1898 status = "okay";
1899 };
1900
1901 &wdt1 {
1902 pinctrl-names = "default";
1903 pinctrl-0 = <&pinctrl_wdtrst1_default>;
1904 aspeed,reset-type = "soc";
1905 aspeed,external-signal;
1906 aspeed,ext-push-pull;
1907 aspeed,ext-active-high;
1908 aspeed,ext-pulse-duration = <256>;
1909 status = "okay";
1910 };