1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2021 Facebook Inc.
3 /dts-v1/;
4
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/usb/pd.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10
11 / {
12 model = "Facebook Bletchley BMC";
13 compatible = "facebook,bletchley-bmc", "aspeed,ast2600";
14
15 aliases {
16 serial4 = &uart5;
17 };
18
19 chosen {
20 bootargs = "console=ttyS4,57600n8";
21 };
22
23 memory@80000000 {
24 device_type = "memory";
25 reg = <0x80000000 0x80000000>;
26 };
27
28 iio-hwmon {
29 compatible = "iio-hwmon";
30 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
31 <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
32 <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>,
33 <&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>;
34 };
35
36 spi1_gpio: spi1-gpio {
37 compatible = "spi-gpio";
38 #address-cells = <1>;
39 #size-cells = <0>;
40
41 gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
42 gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
43 gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
44 num-chipselects = <1>;
45 cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
46
47 tpmdev@0 {
48 compatible = "tcg,tpm_tis-spi";
49 spi-max-frequency = <33000000>;
50 reg = <0>;
51 };
52 };
53
54 switchphy: ethernet-phy@0 {
55 // Fixed link
56 };
57
58 front_gpio_leds {
59 compatible = "gpio-leds";
60 sys_log_id {
61 default-state = "off";
62 gpios = <&front_leds 0 GPIO_ACTIVE_HIGH>;
63 };
64 };
65
66 fan_gpio_leds {
67 compatible = "gpio-leds";
68 fan0_blue {
69 retain-state-shutdown;
70 default-state = "on";
71 gpios = <&fan_leds 8 GPIO_ACTIVE_HIGH>;
72 };
73 fan1_blue {
74 retain-state-shutdown;
75 default-state = "on";
76 gpios = <&fan_leds 9 GPIO_ACTIVE_HIGH>;
77 };
78 fan2_blue {
79 retain-state-shutdown;
80 default-state = "on";
81 gpios = <&fan_leds 10 GPIO_ACTIVE_HIGH>;
82 };
83 fan3_blue {
84 retain-state-shutdown;
85 default-state = "on";
86 gpios = <&fan_leds 11 GPIO_ACTIVE_HIGH>;
87 };
88 fan0_amber {
89 retain-state-shutdown;
90 default-state = "off";
91 gpios = <&fan_leds 12 GPIO_ACTIVE_HIGH>;
92 };
93 fan1_amber {
94 retain-state-shutdown;
95 default-state = "off";
96 gpios = <&fan_leds 13 GPIO_ACTIVE_HIGH>;
97 };
98 fan2_amber {
99 retain-state-shutdown;
100 default-state = "off";
101 gpios = <&fan_leds 14 GPIO_ACTIVE_HIGH>;
102 };
103 fan3_amber {
104 retain-state-shutdown;
105 default-state = "off";
106 gpios = <&fan_leds 15 GPIO_ACTIVE_HIGH>;
107 };
108 };
109
110 sled1_gpio_leds {
111 compatible = "gpio-leds";
112 sled1_amber {
113 retain-state-shutdown;
114 default-state = "keep";
115 gpios = <&sled1_leds 0 GPIO_ACTIVE_LOW>;
116 };
117 sled1_blue {
118 retain-state-shutdown;
119 default-state = "keep";
120 gpios = <&sled1_leds 1 GPIO_ACTIVE_LOW>;
121 };
122 };
123
124 sled2_gpio_leds {
125 compatible = "gpio-leds";
126 sled2_amber {
127 retain-state-shutdown;
128 default-state = "keep";
129 gpios = <&sled2_leds 0 GPIO_ACTIVE_LOW>;
130 };
131 sled2_blue {
132 retain-state-shutdown;
133 default-state = "keep";
134 gpios = <&sled2_leds 1 GPIO_ACTIVE_LOW>;
135 };
136 };
137
138 sled3_gpio_leds {
139 compatible = "gpio-leds";
140 sled3_amber {
141 retain-state-shutdown;
142 default-state = "keep";
143 gpios = <&sled3_leds 0 GPIO_ACTIVE_LOW>;
144 };
145 sled3_blue {
146 retain-state-shutdown;
147 default-state = "keep";
148 gpios = <&sled3_leds 1 GPIO_ACTIVE_LOW>;
149 };
150 };
151
152 sled4_gpio_leds {
153 compatible = "gpio-leds";
154 sled4_amber {
155 retain-state-shutdown;
156 default-state = "keep";
157 gpios = <&sled4_leds 0 GPIO_ACTIVE_LOW>;
158 };
159 sled4_blue {
160 retain-state-shutdown;
161 default-state = "keep";
162 gpios = <&sled4_leds 1 GPIO_ACTIVE_LOW>;
163 };
164 };
165
166 sled5_gpio_leds {
167 compatible = "gpio-leds";
168 sled5_amber {
169 retain-state-shutdown;
170 default-state = "keep";
171 gpios = <&sled5_leds 0 GPIO_ACTIVE_LOW>;
172 };
173 sled5_blue {
174 retain-state-shutdown;
175 default-state = "keep";
176 gpios = <&sled5_leds 1 GPIO_ACTIVE_LOW>;
177 };
178 };
179
180 sled6_gpio_leds {
181 compatible = "gpio-leds";
182 sled6_amber {
183 retain-state-shutdown;
184 default-state = "keep";
185 gpios = <&sled6_leds 0 GPIO_ACTIVE_LOW>;
186 };
187 sled6_blue {
188 retain-state-shutdown;
189 default-state = "keep";
190 gpios = <&sled6_leds 1 GPIO_ACTIVE_LOW>;
191 };
192 };
193 };
194
195 &mac2 {
196 status = "okay";
197 phy-mode = "rgmii";
198 phy-handle = <&switchphy>;
199 pinctrl-names = "default";
200 pinctrl-0 = <&pinctrl_rgmii3_default>;
201
202 fixed-link {
203 speed = <1000>;
204 full-duplex;
205 };
206 };
207
208 &fmc {
209 status = "okay";
210 flash@0 {
211 status = "okay";
212 m25p,fast-read;
213 label = "bmc";
214 spi-max-frequency = <50000000>;
215 #include "openbmc-flash-layout-128.dtsi"
216 };
217 flash@1 {
218 status = "okay";
219 m25p,fast-read;
220 label = "flash1";
221 spi-max-frequency = <50000000>;
222 };
223 };
224
225 &spi2 {
226 status = "okay";
227 pinctrl-names = "default";
228 pinctrl-0 = <&pinctrl_spi2_default>;
229
230 flash@0 {
231 status = "okay";
232 m25p,fast-read;
233 label = "pnor";
234 spi-max-frequency = <50000000>;
235 };
236 };
237
238 &i2c0 {
239 status = "okay";
240 ina230@45 {
241 compatible = "ti,ina230";
242 reg = <0x45>;
243 shunt-resistor = <2000>;
244 };
245
246 mp5023@40 {
247 compatible = "mps,mp5023";
248 reg = <0x40>;
249 };
250
251 tmp421@4f {
252 compatible = "ti,tmp421";
253 reg = <0x4f>;
254 };
255
256 sled1_ioexp41: pca9536@41 {
257 compatible = "nxp,pca9536";
258 reg = <0x41>;
259 gpio-controller;
260 #gpio-cells = <2>;
261
262 gpio-line-names =
263 "SLED1_SWD_MUX", "SLED1_XRES_SWD_N",
264 "SLED1_CLKREQ_N", "SLED1_PCIE_PWR_EN";
265 };
266
267 sled1_ioexp: pca9539@76 {
268 compatible = "nxp,pca9539";
269 reg = <0x76>;
270 #address-cells = <1>;
271 #size-cells = <0>;
272 gpio-controller;
273 #gpio-cells = <2>;
274
275 interrupt-parent = <&gpio0>;
276 interrupts = <ASPEED_GPIO(M, 0) IRQ_TYPE_LEVEL_LOW>;
277
278 gpio-line-names =
279 "SLED1_MS_DETECT1","SLED1_VBUS_BMC_EN","SLED1_INA230_ALERT","SLED1_P12V_STBY_ALERT",
280 "SLED1_SSD_ALERT","SLED1_MS_DETECT0","SLED1_RST_CCG5","SLED1_FUSB302_INT",
281 "SLED1_MD_STBY_RESET","SLED1_MD_IOEXP_EN_FAULT","SLED1_MD_DIR","SLED1_MD_DECAY",
282 "SLED1_MD_MODE1","SLED1_MD_MODE2","SLED1_MD_MODE3","power-host1";
283 };
284
285 sled1_leds: pca9552@67 {
286 compatible = "nxp,pca9552";
287 reg = <0x67>;
288 #address-cells = <1>;
289 #size-cells = <0>;
290 gpio-controller;
291 #gpio-cells = <2>;
292
293 gpio-line-names =
294 "led-sled1-amber","led-sled1-blue","SLED1_RST_IOEXP","SLED1_MD_REF_PWM",
295 "","","","",
296 "","","","",
297 "","","","";
298 };
299
300 sled1_fusb302: typec-portc@22 {
301 compatible = "fcs,fusb302";
302 reg = <0x22>;
303
304 connector {
305 compatible = "usb-c-connector";
306 label = "USB-C";
307 power-role = "dual";
308 try-power-role = "sink";
309 data-role = "dual";
310 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
311 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
312 PDO_VAR(3000, 12000, 3000)
313 PDO_PPS_APDO(3000, 11000, 3000)>;
314 op-sink-microwatt = <10000000>;
315 };
316 };
317
318 eeprom@54 {
319 compatible = "atmel,24c64";
320 reg = <0x54>;
321 };
322 };
323
324 &i2c1 {
325 status = "okay";
326 ina230@45 {
327 compatible = "ti,ina230";
328 reg = <0x45>;
329 shunt-resistor = <2000>;
330 };
331
332 mp5023@40 {
333 compatible = "mps,mp5023";
334 reg = <0x40>;
335 };
336
337 tmp421@4f {
338 compatible = "ti,tmp421";
339 reg = <0x4f>;
340 };
341
342 sled2_ioexp41: pca9536@41 {
343 compatible = "nxp,pca9536";
344 reg = <0x41>;
345 gpio-controller;
346 #gpio-cells = <2>;
347
348 gpio-line-names =
349 "SLED2_SWD_MUX", "SLED2_XRES_SWD_N",
350 "SLED2_CLKREQ_N", "SLED2_PCIE_PWR_EN";
351 };
352
353 sled2_ioexp: pca9539@76 {
354 compatible = "nxp,pca9539";
355 reg = <0x76>;
356 #address-cells = <1>;
357 #size-cells = <0>;
358 gpio-controller;
359 #gpio-cells = <2>;
360
361 interrupt-parent = <&gpio0>;
362 interrupts = <ASPEED_GPIO(M, 1) IRQ_TYPE_LEVEL_LOW>;
363
364 gpio-line-names =
365 "SLED2_MS_DETECT1","SLED2_VBUS_BMC_EN","SLED2_INA230_ALERT","SLED2_P12V_STBY_ALERT",
366 "SLED2_SSD_ALERT","SLED2_MS_DETECT0","SLED2_RST_CCG5","SLED2_FUSB302_INT",
367 "SLED2_MD_STBY_RESET","SLED2_MD_IOEXP_EN_FAULT","SLED2_MD_DIR","SLED2_MD_DECAY",
368 "SLED2_MD_MODE1","SLED2_MD_MODE2","SLED2_MD_MODE3","power-host2";
369 };
370
371 sled2_leds: pca9552@67 {
372 compatible = "nxp,pca9552";
373 reg = <0x67>;
374 #address-cells = <1>;
375 #size-cells = <0>;
376 gpio-controller;
377 #gpio-cells = <2>;
378
379 gpio-line-names =
380 "led-sled2-amber","led-sled2-blue","SLED2_RST_IOEXP","SLED2_MD_REF_PWM",
381 "","","","",
382 "","","","",
383 "","","","";
384 };
385
386 sled2_fusb302: typec-portc@22 {
387 compatible = "fcs,fusb302";
388 reg = <0x22>;
389
390 connector {
391 compatible = "usb-c-connector";
392 label = "USB-C";
393 power-role = "dual";
394 try-power-role = "sink";
395 data-role = "dual";
396 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
397 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
398 PDO_VAR(3000, 12000, 3000)
399 PDO_PPS_APDO(3000, 11000, 3000)>;
400 op-sink-microwatt = <10000000>;
401 };
402 };
403
404 eeprom@54 {
405 compatible = "atmel,24c64";
406 reg = <0x54>;
407 };
408 };
409
410 &i2c2 {
411 status = "okay";
412 ina230@45 {
413 compatible = "ti,ina230";
414 reg = <0x45>;
415 shunt-resistor = <2000>;
416 };
417
418 mp5023@40 {
419 compatible = "mps,mp5023";
420 reg = <0x40>;
421 };
422
423 tmp421@4f {
424 compatible = "ti,tmp421";
425 reg = <0x4f>;
426 };
427
428 sled3_ioexp41: pca9536@41 {
429 compatible = "nxp,pca9536";
430 reg = <0x41>;
431 gpio-controller;
432 #gpio-cells = <2>;
433
434 gpio-line-names =
435 "SLED3_SWD_MUX", "SLED3_XRES_SWD_N",
436 "SLED3_CLKREQ_N", "SLED3_PCIE_PWR_EN";
437 };
438
439 sled3_ioexp: pca9539@76 {
440 compatible = "nxp,pca9539";
441 reg = <0x76>;
442 #address-cells = <1>;
443 #size-cells = <0>;
444 gpio-controller;
445 #gpio-cells = <2>;
446
447 interrupt-parent = <&gpio0>;
448 interrupts = <ASPEED_GPIO(M, 2) IRQ_TYPE_LEVEL_LOW>;
449
450 gpio-line-names =
451 "SLED3_MS_DETECT1","SLED3_VBUS_BMC_EN","SLED3_INA230_ALERT","SLED3_P12V_STBY_ALERT",
452 "SLED3_SSD_ALERT","SLED3_MS_DETECT0","SLED3_RST_CCG5","SLED3_FUSB302_INT",
453 "SLED3_MD_STBY_RESET","SLED3_MD_IOEXP_EN_FAULT","SLED3_MD_DIR","SLED3_MD_DECAY",
454 "SLED3_MD_MODE1","SLED3_MD_MODE2","SLED3_MD_MODE3","power-host3";
455 };
456
457 sled3_leds: pca9552@67 {
458 compatible = "nxp,pca9552";
459 reg = <0x67>;
460 #address-cells = <1>;
461 #size-cells = <0>;
462 gpio-controller;
463 #gpio-cells = <2>;
464
465 gpio-line-names =
466 "led-sled3-amber","led-sled3-blue","SLED3_RST_IOEXP","SLED3_MD_REF_PWM",
467 "","","","",
468 "","","","",
469 "","","","";
470 };
471
472 sled3_fusb302: typec-portc@22 {
473 compatible = "fcs,fusb302";
474 reg = <0x22>;
475
476 connector {
477 compatible = "usb-c-connector";
478 label = "USB-C";
479 power-role = "dual";
480 try-power-role = "sink";
481 data-role = "dual";
482 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
483 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
484 PDO_VAR(3000, 12000, 3000)
485 PDO_PPS_APDO(3000, 11000, 3000)>;
486 op-sink-microwatt = <10000000>;
487 };
488 };
489
490 eeprom@54 {
491 compatible = "atmel,24c64";
492 reg = <0x54>;
493 };
494 };
495
496 &i2c3 {
497 status = "okay";
498 ina230@45 {
499 compatible = "ti,ina230";
500 reg = <0x45>;
501 shunt-resistor = <2000>;
502 };
503
504 mp5023@40 {
505 compatible = "mps,mp5023";
506 reg = <0x40>;
507 };
508
509 tmp421@4f {
510 compatible = "ti,tmp421";
511 reg = <0x4f>;
512 };
513
514 sled4_ioexp41: pca9536@41 {
515 compatible = "nxp,pca9536";
516 reg = <0x41>;
517 gpio-controller;
518 #gpio-cells = <2>;
519
520 gpio-line-names =
521 "SLED4_SWD_MUX", "SLED4_XRES_SWD_N",
522 "SLED4_CLKREQ_N", "SLED4_PCIE_PWR_EN";
523 };
524
525 sled4_ioexp: pca9539@76 {
526 compatible = "nxp,pca9539";
527 reg = <0x76>;
528 #address-cells = <1>;
529 #size-cells = <0>;
530 gpio-controller;
531 #gpio-cells = <2>;
532
533 interrupt-parent = <&gpio0>;
534 interrupts = <ASPEED_GPIO(M, 3) IRQ_TYPE_LEVEL_LOW>;
535
536 gpio-line-names =
537 "SLED4_MS_DETECT1","SLED4_VBUS_BMC_EN","SLED4_INA230_ALERT","SLED4_P12V_STBY_ALERT",
538 "SLED4_SSD_ALERT","SLED4_MS_DETECT0","SLED4_RST_CCG5","SLED4_FUSB302_INT",
539 "SLED4_MD_STBY_RESET","SLED4_MD_IOEXP_EN_FAULT","SLED4_MD_DIR","SLED4_MD_DECAY",
540 "SLED4_MD_MODE1","SLED4_MD_MODE2","SLED4_MD_MODE3","power-host4";
541 };
542
543 sled4_leds: pca9552@67 {
544 compatible = "nxp,pca9552";
545 reg = <0x67>;
546 #address-cells = <1>;
547 #size-cells = <0>;
548 gpio-controller;
549 #gpio-cells = <2>;
550
551 gpio-line-names =
552 "led-sled4-amber","led-sled4-blue","SLED4_RST_IOEXP","SLED4_MD_REF_PWM",
553 "","","","",
554 "","","","",
555 "","","","";
556 };
557
558 sled4_fusb302: typec-portc@22 {
559 compatible = "fcs,fusb302";
560 reg = <0x22>;
561
562 connector {
563 compatible = "usb-c-connector";
564 label = "USB-C";
565 power-role = "dual";
566 try-power-role = "sink";
567 data-role = "dual";
568 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
569 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
570 PDO_VAR(3000, 12000, 3000)
571 PDO_PPS_APDO(3000, 11000, 3000)>;
572 op-sink-microwatt = <10000000>;
573 };
574 };
575
576 eeprom@54 {
577 compatible = "atmel,24c64";
578 reg = <0x54>;
579 };
580 };
581
582 &i2c4 {
583 status = "okay";
584 ina230@45 {
585 compatible = "ti,ina230";
586 reg = <0x45>;
587 shunt-resistor = <2000>;
588 };
589
590 mp5023@40 {
591 compatible = "mps,mp5023";
592 reg = <0x40>;
593 };
594
595 tmp421@4f {
596 compatible = "ti,tmp421";
597 reg = <0x4f>;
598 };
599
600 sled5_ioexp41: pca9536@41 {
601 compatible = "nxp,pca9536";
602 reg = <0x41>;
603 gpio-controller;
604 #gpio-cells = <2>;
605
606 gpio-line-names =
607 "SLED5_SWD_MUX", "SLED5_XRES_SWD_N",
608 "SLED5_CLKREQ_N", "SLED5_PCIE_PWR_EN";
609 };
610
611 sled5_ioexp: pca9539@76 {
612 compatible = "nxp,pca9539";
613 reg = <0x76>;
614 #address-cells = <1>;
615 #size-cells = <0>;
616 gpio-controller;
617 #gpio-cells = <2>;
618
619 interrupt-parent = <&gpio0>;
620 interrupts = <ASPEED_GPIO(M, 4) IRQ_TYPE_LEVEL_LOW>;
621
622 gpio-line-names =
623 "SLED5_MS_DETECT1","SLED5_VBUS_BMC_EN","SLED5_INA230_ALERT","SLED5_P12V_STBY_ALERT",
624 "SLED5_SSD_ALERT","SLED5_MS_DETECT0","SLED5_RST_CCG5","SLED5_FUSB302_INT",
625 "SLED5_MD_STBY_RESET","SLED5_MD_IOEXP_EN_FAULT","SLED5_MD_DIR","SLED5_MD_DECAY",
626 "SLED5_MD_MODE1","SLED5_MD_MODE2","SLED5_MD_MODE3","power-host5";
627 };
628
629 sled5_leds: pca9552@67 {
630 compatible = "nxp,pca9552";
631 reg = <0x67>;
632 #address-cells = <1>;
633 #size-cells = <0>;
634 gpio-controller;
635 #gpio-cells = <2>;
636
637 gpio-line-names =
638 "led-sled5-amber","led-sled5-blue","SLED5_RST_IOEXP","SLED5_MD_REF_PWM",
639 "","","","",
640 "","","","",
641 "","","","";
642 };
643
644 sled5_fusb302: typec-portc@22 {
645 compatible = "fcs,fusb302";
646 reg = <0x22>;
647
648 connector {
649 compatible = "usb-c-connector";
650 label = "USB-C";
651 power-role = "dual";
652 try-power-role = "sink";
653 data-role = "dual";
654 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
655 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
656 PDO_VAR(3000, 12000, 3000)
657 PDO_PPS_APDO(3000, 11000, 3000)>;
658 op-sink-microwatt = <10000000>;
659 };
660 };
661
662 eeprom@54 {
663 compatible = "atmel,24c64";
664 reg = <0x54>;
665 };
666 };
667
668 &i2c5 {
669 status = "okay";
670 ina230@45 {
671 compatible = "ti,ina230";
672 reg = <0x45>;
673 shunt-resistor = <2000>;
674 };
675
676 mp5023@40 {
677 compatible = "mps,mp5023";
678 reg = <0x40>;
679 };
680
681 tmp421@4f {
682 compatible = "ti,tmp421";
683 reg = <0x4f>;
684 };
685
686 sled6_ioexp41: pca9536@41 {
687 compatible = "nxp,pca9536";
688 reg = <0x41>;
689 gpio-controller;
690 #gpio-cells = <2>;
691
692 gpio-line-names =
693 "SLED6_SWD_MUX", "SLED6_XRES_SWD_N",
694 "SLED6_CLKREQ_N", "SLED6_PCIE_PWR_EN";
695 };
696
697 sled6_ioexp: pca9539@76 {
698 compatible = "nxp,pca9539";
699 reg = <0x76>;
700 #address-cells = <1>;
701 #size-cells = <0>;
702 gpio-controller;
703 #gpio-cells = <2>;
704
705 interrupt-parent = <&gpio0>;
706 interrupts = <ASPEED_GPIO(M, 5) IRQ_TYPE_LEVEL_LOW>;
707
708 gpio-line-names =
709 "SLED6_MS_DETECT1","SLED6_VBUS_BMC_EN","SLED6_INA230_ALERT","SLED6_P12V_STBY_ALERT",
710 "SLED6_SSD_ALERT","SLED6_MS_DETECT0","SLED6_RST_CCG5","SLED6_FUSB302_INT",
711 "SLED6_MD_STBY_RESET","SLED6_MD_IOEXP_EN_FAULT","SLED6_MD_DIR","SLED6_MD_DECAY",
712 "SLED6_MD_MODE1","SLED6_MD_MODE2","SLED6_MD_MODE3","power-host6";
713 };
714
715 sled6_leds: pca9552@67 {
716 compatible = "nxp,pca9552";
717 reg = <0x67>;
718 #address-cells = <1>;
719 #size-cells = <0>;
720 gpio-controller;
721 #gpio-cells = <2>;
722
723 gpio-line-names =
724 "led-sled6-amber","led-sled6-blue","SLED6_RST_IOEXP","SLED6_MD_REF_PWM",
725 "","","","",
726 "","","","",
727 "","","","";
728 };
729
730 sled6_fusb302: typec-portc@22 {
731 compatible = "fcs,fusb302";
732 reg = <0x22>;
733
734 connector {
735 compatible = "usb-c-connector";
736 label = "USB-C";
737 power-role = "dual";
738 try-power-role = "sink";
739 data-role = "dual";
740 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
741 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
742 PDO_VAR(3000, 12000, 3000)
743 PDO_PPS_APDO(3000, 11000, 3000)>;
744 op-sink-microwatt = <10000000>;
745 };
746 };
747
748 eeprom@54 {
749 compatible = "atmel,24c64";
750 reg = <0x54>;
751 };
752 };
753
754 &i2c6 {
755 status = "okay";
756
757 eeprom@56 {
758 compatible = "atmel,24c64";
759 reg = <0x56>;
760 };
761
762 rtc@51 {
763 /* in-chip rtc disabled, use external rtc (battery-backed) */
764 compatible = "nxp,pcf85263";
765 reg = <0x51>;
766 };
767 };
768
769 &i2c7 {
770 status = "okay";
771
772 eeprom@54 {
773 compatible = "atmel,24c64";
774 reg = <0x54>;
775 };
776 };
777
778 &i2c9 {
779 status = "okay";
780
781 tmp421@4f {
782 compatible = "ti,tmp421";
783 reg = <0x4f>;
784 };
785 };
786
787 &i2c10 {
788 status = "okay";
789
790 tmp421@4f {
791 compatible = "ti,tmp421";
792 reg = <0x4f>;
793 };
794
795 hdc1080@40 {
796 compatible = "ti,hdc1080";
797 reg = <0x40>;
798 };
799
800 front_leds: pca9552@67 {
801 compatible = "nxp,pca9552";
802 reg = <0x67>;
803 #address-cells = <1>;
804 #size-cells = <0>;
805 gpio-controller;
806 #gpio-cells = <2>;
807
808 gpio-line-names =
809 "led-fault-identify","power-p5v-stby-good",
810 "power-p1v0-dvdd-good","power-p1v0-avdd-good",
811 "","","","",
812 "","","","",
813 "","","","";
814 };
815 };
816
817 &i2c12 {
818 status = "okay";
819
820 adm1278@11 {
821 compatible = "adi,adm1278";
822 reg = <0x11>;
823 shunt-resistor-micro-ohms = <300>;
824 adi,volt-curr-sample-average = <128>;
825 adi,power-sample-average = <128>;
826 };
827
828 tmp421@4c {
829 compatible = "ti,tmp421";
830 reg = <0x4c>;
831 };
832
833 tmp421@4d {
834 compatible = "ti,tmp421";
835 reg = <0x4d>;
836 };
837
838 fan_leds: pca9552@67 {
839 compatible = "nxp,pca9552";
840 reg = <0x67>;
841 #address-cells = <1>;
842 #size-cells = <0>;
843 gpio-controller;
844 #gpio-cells = <2>;
845
846 gpio-line-names =
847 "presence-fan0","presence-fan1",
848 "presence-fan2","presence-fan3",
849 "power-fan0-good","power-fan1-good",
850 "power-fan2-good","power-fan3-good",
851 "","","","",
852 "","","","";
853 };
854 };
855
856 &i2c13 {
857 multi-master;
858 aspeed,hw-timeout-ms = <1000>;
859 status = "okay";
860 };
861
862 &gpio0 {
863 gpio-line-names =
864 /*A0-A7*/ "","","","","","","","",
865 /*B0-B7*/ "FUSB302_SLED1_INT_N","FUSB302_SLED2_INT_N",
866 "SEL_SPI2_MUX","SPI2_MUX1",
867 "SPI2_MUX2","SPI2_MUX3",
868 "","FUSB302_SLED3_INT_N",
869 /*C0-C7*/ "","","","","","","","",
870 /*D0-D7*/ "","","","","","","","",
871 /*E0-E7*/ "","","","","","","","",
872 /*F0-F7*/ "BMC_SLED1_STCK","BMC_SLED2_STCK",
873 "BMC_SLED3_STCK","BMC_SLED4_STCK",
874 "BMC_SLED5_STCK","BMC_SLED6_STCK",
875 "","",
876 /*G0-G7*/ "BSM_FRU_WP","SWITCH_FRU_MUX","","FM_SOL_UART_CH_SEL",
877 "PWRGD_P1V05_VDDCORE","PWRGD_P1V5_VDD","","",
878 /*H0-H7*/ "presence-riser1","presence-riser2",
879 "presence-sled1","presence-sled2",
880 "presence-sled3","presence-sled4",
881 "presence-sled5","presence-sled6",
882 /*I0-I7*/ "REV_ID0","",
883 "REV_ID1","REV_ID2",
884 "","BSM_FLASH_WP_STATUS",
885 "BMC_TPM_PRES_N","FUSB302_SLED6_INT_N",
886 /*J0-J7*/ "","","","","","","","",
887 /*K0-K7*/ "","","","","","","","",
888 /*L0-L7*/ "","","","","","BMC_RTC_INT","","",
889 /*M0-M7*/ "ALERT_SLED1_N","ALERT_SLED2_N",
890 "ALERT_SLED3_N","ALERT_SLED4_N",
891 "ALERT_SLED5_N","ALERT_SLED6_N",
892 "","",
893 /*N0-N7*/ "LED_POSTCODE_0","LED_POSTCODE_1",
894 "LED_POSTCODE_2","LED_POSTCODE_3",
895 "LED_POSTCODE_4","LED_POSTCODE_5",
896 "LED_POSTCODE_5","LED_POSTCODE_7",
897 /*O0-O7*/ "","","","",
898 "","BOARD_ID0","BOARD_ID1","BOARD_ID2",
899 /*P0-P7*/ "","","","","","","","BMC_HEARTBEAT",
900 /*Q0-Q7*/ "","","","","","","","",
901 /*R0-R7*/ "","","","","","","","",
902 /*S0-S7*/ "","","","BAT_DETECT",
903 "BMC_BT_WP0_N","BMC_BT_WP1_N","","FUSB302_SLED4_INT_N",
904 /*T0-T7*/ "","","","","","","","",
905 /*U0-U7*/ "","","","","","","","",
906 /*V0-V7*/ "PWRGD_CNS_PSU","RST_BMC_MVL_N",
907 "P12V_AUX_ALERT1_N","PSU_PRSNT",
908 "USB2_SEL0_A","USB2_SEL1_A",
909 "USB2_SEL0_B","USB2_SEL1_B",
910 /*W0-W7*/ "RST_FRONT_IOEXP_N","","","","","","","",
911 /*X0-X7*/ "","","","","","","","",
912 /*Y0-Y7*/ "BMC_SELF_HW_RST","BSM_PRSNT_N",
913 "BSM_FLASH_LATCH_N","FUSB302_SLED5_INT_N",
914 "","","","",
915 /*Z0-Z7*/ "","","","","","","","";
916 };
917
918 &adc0 {
919 vref = <1800>;
920 status = "okay";
921
922 pinctrl-names = "default";
923 pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
924 &pinctrl_adc2_default &pinctrl_adc3_default
925 &pinctrl_adc4_default &pinctrl_adc5_default
926 &pinctrl_adc6_default &pinctrl_adc7_default>;
927 };
928
929 &adc1 {
930 vref = <2500>;
931 status = "okay";
932
933 pinctrl-names = "default";
934 pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
935 &pinctrl_adc10_default &pinctrl_adc11_default
936 &pinctrl_adc12_default &pinctrl_adc13_default
937 &pinctrl_adc14_default &pinctrl_adc15_default>;
938 };
939
940 &mdio0 {
941 status = "okay";
942 /* TODO: Add Marvell 88E6191X */
943 };
944
945 &mdio3 {
946 status = "okay";
947 /* TODO: Add Marvell 88X3310 */
948 };
949
950 &ehci0 {
951 status = "okay";
952 };
Cache object: 80a9fb91a8530aec803a406bb5c920ff
|