Loading...
1// SPDX-License-Identifier: GPL-2.0-or-later
2// Copyright 2019 IBM Corp.
3/dts-v1/;
4
5#include "aspeed-g6.dtsi"
6#include <dt-bindings/gpio/aspeed-gpio.h>
7#include <dt-bindings/i2c/i2c.h>
8#include <dt-bindings/leds/leds-pca955x.h>
9
10/ {
11 model = "Rainier 2U";
12 compatible = "ibm,rainier-bmc", "aspeed,ast2600";
13
14 aliases {
15 i2c100 = &cfam0_i2c0;
16 i2c101 = &cfam0_i2c1;
17 i2c110 = &cfam0_i2c10;
18 i2c111 = &cfam0_i2c11;
19 i2c112 = &cfam0_i2c12;
20 i2c113 = &cfam0_i2c13;
21 i2c114 = &cfam0_i2c14;
22 i2c115 = &cfam0_i2c15;
23 i2c202 = &cfam1_i2c2;
24 i2c203 = &cfam1_i2c3;
25 i2c210 = &cfam1_i2c10;
26 i2c211 = &cfam1_i2c11;
27 i2c214 = &cfam1_i2c14;
28 i2c215 = &cfam1_i2c15;
29 i2c216 = &cfam1_i2c16;
30 i2c217 = &cfam1_i2c17;
31 i2c300 = &cfam2_i2c0;
32 i2c301 = &cfam2_i2c1;
33 i2c310 = &cfam2_i2c10;
34 i2c311 = &cfam2_i2c11;
35 i2c312 = &cfam2_i2c12;
36 i2c313 = &cfam2_i2c13;
37 i2c314 = &cfam2_i2c14;
38 i2c315 = &cfam2_i2c15;
39 i2c402 = &cfam3_i2c2;
40 i2c403 = &cfam3_i2c3;
41 i2c410 = &cfam3_i2c10;
42 i2c411 = &cfam3_i2c11;
43 i2c414 = &cfam3_i2c14;
44 i2c415 = &cfam3_i2c15;
45 i2c416 = &cfam3_i2c16;
46 i2c417 = &cfam3_i2c17;
47
48 serial4 = &uart5;
49 i2c16 = &i2c2mux0;
50 i2c17 = &i2c2mux1;
51 i2c18 = &i2c2mux2;
52 i2c19 = &i2c2mux3;
53 i2c20 = &i2c4mux0chn0;
54 i2c21 = &i2c4mux0chn1;
55 i2c22 = &i2c4mux0chn2;
56 i2c23 = &i2c5mux0chn0;
57 i2c24 = &i2c5mux0chn1;
58 i2c25 = &i2c6mux0chn0;
59 i2c26 = &i2c6mux0chn1;
60 i2c27 = &i2c6mux0chn2;
61 i2c28 = &i2c6mux0chn3;
62 i2c29 = &i2c11mux0chn0;
63 i2c30 = &i2c11mux0chn1;
64
65 spi10 = &cfam0_spi0;
66 spi11 = &cfam0_spi1;
67 spi12 = &cfam0_spi2;
68 spi13 = &cfam0_spi3;
69 spi20 = &cfam1_spi0;
70 spi21 = &cfam1_spi1;
71 spi22 = &cfam1_spi2;
72 spi23 = &cfam1_spi3;
73 spi30 = &cfam2_spi0;
74 spi31 = &cfam2_spi1;
75 spi32 = &cfam2_spi2;
76 spi33 = &cfam2_spi3;
77 spi40 = &cfam3_spi0;
78 spi41 = &cfam3_spi1;
79 spi42 = &cfam3_spi2;
80 spi43 = &cfam3_spi3;
81 };
82
83 chosen {
84 stdout-path = &uart5;
85 bootargs = "console=ttyS4,115200n8";
86 };
87
88 memory@80000000 {
89 device_type = "memory";
90 reg = <0x80000000 0x40000000>;
91 };
92
93 reserved-memory {
94 #address-cells = <1>;
95 #size-cells = <1>;
96 ranges;
97
98 flash_memory: region@b8000000 {
99 no-map;
100 reg = <0xb8000000 0x04000000>; /* 64M */
101 };
102
103 ramoops@bc000000 {
104 compatible = "ramoops";
105 reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */
106 record-size = <0x8000>;
107 console-size = <0x8000>;
108 pmsg-size = <0x8000>;
109 max-reason = <3>; /* KMSG_DUMP_EMERG */
110 };
111
112 vga_memory: region@bf000000 {
113 no-map;
114 compatible = "shared-dma-pool";
115 reg = <0xbf000000 0x01000000>; /* 16M */
116 };
117 };
118
119 gpio-keys {
120 compatible = "gpio-keys";
121
122 ps0-presence {
123 label = "ps0-presence";
124 gpios = <&gpio0 ASPEED_GPIO(S, 0) GPIO_ACTIVE_LOW>;
125 linux,code = <ASPEED_GPIO(S, 0)>;
126 };
127
128 ps1-presence {
129 label = "ps1-presence";
130 gpios = <&gpio0 ASPEED_GPIO(S, 1) GPIO_ACTIVE_LOW>;
131 linux,code = <ASPEED_GPIO(S, 1)>;
132 };
133
134 ps2-presence {
135 label = "ps2-presence";
136 gpios = <&gpio0 ASPEED_GPIO(S, 2) GPIO_ACTIVE_LOW>;
137 linux,code = <ASPEED_GPIO(S, 2)>;
138 };
139
140 ps3-presence {
141 label = "ps3-presence";
142 gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_LOW>;
143 linux,code = <ASPEED_GPIO(S, 3)>;
144 };
145 };
146
147 i2c2mux: i2cmux {
148 compatible = "i2c-mux-gpio";
149 #address-cells = <1>;
150 #size-cells = <0>;
151 status = "okay";
152
153 i2c-parent = <&i2c2>;
154 mux-gpios = <&gpio0 ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>,
155 <&gpio0 ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>;
156 idle-state = <0>;
157
158 i2c2mux0: i2c@0 {
159 #address-cells = <1>;
160 #size-cells = <0>;
161 reg = <0>;
162 };
163
164 i2c2mux1: i2c@1 {
165 #address-cells = <1>;
166 #size-cells = <0>;
167 reg = <1>;
168 };
169
170 i2c2mux2: i2c@2 {
171 #address-cells = <1>;
172 #size-cells = <0>;
173 reg = <2>;
174 };
175
176 i2c2mux3: i2c@3 {
177 #address-cells = <1>;
178 #size-cells = <0>;
179 reg = <3>;
180 };
181 };
182
183 leds {
184 compatible = "gpio-leds";
185
186 /* BMC Card fault LED at the back */
187 bmc-ingraham0 {
188 gpios = <&gpio0 ASPEED_GPIO(H, 1) GPIO_ACTIVE_LOW>;
189 };
190
191 /* Enclosure ID LED at the back */
192 rear-enc-id0 {
193 gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>;
194 };
195
196 /* Enclosure fault LED at the back */
197 rear-enc-fault0 {
198 gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
199 };
200
201 /* PCIE slot power LED */
202 pcieslot-power {
203 gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_LOW>;
204 };
205 };
206
207 gpio-keys-polled {
208 compatible = "gpio-keys-polled";
209 #address-cells = <1>;
210 #size-cells = <0>;
211 poll-interval = <1000>;
212
213 fan0-presence {
214 label = "fan0-presence";
215 gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
216 linux,code = <6>;
217 };
218
219 fan1-presence {
220 label = "fan1-presence";
221 gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
222 linux,code = <7>;
223 };
224
225 fan2-presence {
226 label = "fan2-presence";
227 gpios = <&pca0 8 GPIO_ACTIVE_LOW>;
228 linux,code = <8>;
229 };
230
231 fan3-presence {
232 label = "fan3-presence";
233 gpios = <&pca0 9 GPIO_ACTIVE_LOW>;
234 linux,code = <9>;
235 };
236
237 fan4-presence {
238 label = "fan4-presence";
239 gpios = <&pca0 10 GPIO_ACTIVE_LOW>;
240 linux,code = <10>;
241 };
242
243 fan5-presence {
244 label = "fan5-presence";
245 gpios = <&pca0 11 GPIO_ACTIVE_LOW>;
246 linux,code = <11>;
247 };
248 };
249};
250
251&ehci1 {
252 status = "okay";
253};
254
255&gpio0 {
256 gpio-line-names =
257 /*A0-A7*/ "","","","","","","","",
258 /*B0-B7*/ "","","","","","","checkstop","",
259 /*C0-C7*/ "","","","","","","","",
260 /*D0-D7*/ "","","","","","","","",
261 /*E0-E7*/ "","","","","","","","",
262 /*F0-F7*/ "","","","","","","","",
263 /*G0-G7*/ "","","","","","","","",
264 /*H0-H7*/ "","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","",
265 /*I0-I7*/ "","","","","","","","",
266 /*J0-J7*/ "","","","","","","","",
267 /*K0-K7*/ "","","","","","","","",
268 /*L0-L7*/ "","","","","","","","",
269 /*M0-M7*/ "","","","","","","","",
270 /*N0-N7*/ "","","","","","","","",
271 /*O0-O7*/ "","","","usb-power","","","","",
272 /*P0-P7*/ "","","","","pcieslot-power","","","",
273 /*Q0-Q7*/ "cfam-reset","","","","","","","",
274 /*R0-R7*/ "","","","","","","","",
275 /*S0-S7*/ "presence-ps0","presence-ps1","presence-ps2","presence-ps3",
276 "","","","",
277 /*T0-T7*/ "","","","","","","","",
278 /*U0-U7*/ "","","","","","","","",
279 /*V0-V7*/ "","","","","","","","",
280 /*W0-W7*/ "","","","","","","","",
281 /*X0-X7*/ "","","","","","","","",
282 /*Y0-Y7*/ "","","","","","","","",
283 /*Z0-Z7*/ "","","","","","","","";
284
285 pin_mclr_vpp {
286 gpio-hog;
287 gpios = <ASPEED_GPIO(P, 7) GPIO_OPEN_DRAIN>;
288 output-high;
289 line-name = "mclr_vpp";
290 };
291
292 i2c3_mux_oe_n {
293 gpio-hog;
294 gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>;
295 output-high;
296 line-name = "I2C3_MUX_OE_N";
297 };
298};
299
300&emmc_controller {
301 status = "okay";
302};
303
304&pinctrl_emmc_default {
305 bias-disable;
306};
307
308&emmc {
309 status = "okay";
310 clk-phase-mmc-hs200 = <180>, <180>;
311};
312
313&fsim0 {
314 status = "okay";
315
316 #address-cells = <2>;
317 #size-cells = <0>;
318
319 /*
320 * CFAM Reset is supposed to be active low but pass1 hardware is wired
321 * active high.
322 */
323 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
324
325 cfam@0,0 {
326 reg = <0 0>;
327 #address-cells = <1>;
328 #size-cells = <1>;
329 chip-id = <0>;
330
331 scom@1000 {
332 compatible = "ibm,fsi2pib";
333 reg = <0x1000 0x400>;
334 };
335
336 i2c@1800 {
337 compatible = "ibm,fsi-i2c-master";
338 reg = <0x1800 0x400>;
339 #address-cells = <1>;
340 #size-cells = <0>;
341
342 cfam0_i2c0: i2c-bus@0 {
343 reg = <0>; /* OMI01 */
344 };
345
346 cfam0_i2c1: i2c-bus@1 {
347 reg = <1>; /* OMI23 */
348 };
349
350 cfam0_i2c10: i2c-bus@a {
351 reg = <10>; /* OP3A */
352 };
353
354 cfam0_i2c11: i2c-bus@b {
355 reg = <11>; /* OP3B */
356 };
357
358 cfam0_i2c12: i2c-bus@c {
359 reg = <12>; /* OP4A */
360 };
361
362 cfam0_i2c13: i2c-bus@d {
363 reg = <13>; /* OP4B */
364 };
365
366 cfam0_i2c14: i2c-bus@e {
367 reg = <14>; /* OP5A */
368 };
369
370 cfam0_i2c15: i2c-bus@f {
371 reg = <15>; /* OP5B */
372 };
373 };
374
375 fsi2spi@1c00 {
376 compatible = "ibm,fsi2spi";
377 reg = <0x1c00 0x400>;
378 #address-cells = <1>;
379 #size-cells = <0>;
380
381 cfam0_spi0: spi@0 {
382 reg = <0x0>;
383 #address-cells = <1>;
384 #size-cells = <0>;
385
386 eeprom@0 {
387 at25,byte-len = <0x80000>;
388 at25,addr-mode = <4>;
389 at25,page-size = <256>;
390
391 compatible = "atmel,at25";
392 reg = <0>;
393 spi-max-frequency = <1000000>;
394 };
395 };
396
397 cfam0_spi1: spi@20 {
398 reg = <0x20>;
399 #address-cells = <1>;
400 #size-cells = <0>;
401
402 eeprom@0 {
403 at25,byte-len = <0x80000>;
404 at25,addr-mode = <4>;
405 at25,page-size = <256>;
406
407 compatible = "atmel,at25";
408 reg = <0>;
409 spi-max-frequency = <1000000>;
410 };
411 };
412
413 cfam0_spi2: spi@40 {
414 reg = <0x40>;
415 compatible = "ibm,fsi2spi-restricted";
416 #address-cells = <1>;
417 #size-cells = <0>;
418
419 eeprom@0 {
420 at25,byte-len = <0x80000>;
421 at25,addr-mode = <4>;
422 at25,page-size = <256>;
423
424 compatible = "atmel,at25";
425 reg = <0>;
426 spi-max-frequency = <1000000>;
427 };
428 };
429
430 cfam0_spi3: spi@60 {
431 reg = <0x60>;
432 compatible = "ibm,fsi2spi-restricted";
433 #address-cells = <1>;
434 #size-cells = <0>;
435
436 eeprom@0 {
437 at25,byte-len = <0x80000>;
438 at25,addr-mode = <4>;
439 at25,page-size = <256>;
440
441 compatible = "atmel,at25";
442 reg = <0>;
443 spi-max-frequency = <1000000>;
444 };
445 };
446 };
447
448 sbefifo@2400 {
449 compatible = "ibm,p9-sbefifo";
450 reg = <0x2400 0x400>;
451 #address-cells = <1>;
452 #size-cells = <0>;
453
454 fsi_occ0: occ {
455 compatible = "ibm,p10-occ";
456 };
457 };
458
459 fsi_hub0: hub@3400 {
460 compatible = "fsi-master-hub";
461 reg = <0x3400 0x400>;
462 #address-cells = <2>;
463 #size-cells = <0>;
464 };
465 };
466};
467
468&fsi_hub0 {
469 cfam@1,0 {
470 reg = <1 0>;
471 #address-cells = <1>;
472 #size-cells = <1>;
473 chip-id = <1>;
474
475 scom@1000 {
476 compatible = "ibm,fsi2pib";
477 reg = <0x1000 0x400>;
478 };
479
480 i2c@1800 {
481 compatible = "ibm,fsi-i2c-master";
482 reg = <0x1800 0x400>;
483 #address-cells = <1>;
484 #size-cells = <0>;
485
486 cfam1_i2c2: i2c-bus@2 {
487 reg = <2>; /* OMI45 */
488 };
489
490 cfam1_i2c3: i2c-bus@3 {
491 reg = <3>; /* OMI67 */
492 };
493
494 cfam1_i2c10: i2c-bus@a {
495 reg = <10>; /* OP3A */
496 };
497
498 cfam1_i2c11: i2c-bus@b {
499 reg = <11>; /* OP3B */
500 };
501
502 cfam1_i2c14: i2c-bus@e {
503 reg = <14>; /* OP5A */
504 };
505
506 cfam1_i2c15: i2c-bus@f {
507 reg = <15>; /* OP5B */
508 };
509
510 cfam1_i2c16: i2c-bus@10 {
511 reg = <16>; /* OP6A */
512 };
513
514 cfam1_i2c17: i2c-bus@11 {
515 reg = <17>; /* OP6B */
516 };
517 };
518
519 fsi2spi@1c00 {
520 compatible = "ibm,fsi2spi";
521 reg = <0x1c00 0x400>;
522 #address-cells = <1>;
523 #size-cells = <0>;
524
525 cfam1_spi0: spi@0 {
526 reg = <0x0>;
527 #address-cells = <1>;
528 #size-cells = <0>;
529
530 eeprom@0 {
531 at25,byte-len = <0x80000>;
532 at25,addr-mode = <4>;
533 at25,page-size = <256>;
534
535 compatible = "atmel,at25";
536 reg = <0>;
537 spi-max-frequency = <1000000>;
538 };
539 };
540
541 cfam1_spi1: spi@20 {
542 reg = <0x20>;
543 #address-cells = <1>;
544 #size-cells = <0>;
545
546 eeprom@0 {
547 at25,byte-len = <0x80000>;
548 at25,addr-mode = <4>;
549 at25,page-size = <256>;
550
551 compatible = "atmel,at25";
552 reg = <0>;
553 spi-max-frequency = <1000000>;
554 };
555 };
556
557 cfam1_spi2: spi@40 {
558 reg = <0x40>;
559 compatible = "ibm,fsi2spi-restricted";
560 #address-cells = <1>;
561 #size-cells = <0>;
562
563 eeprom@0 {
564 at25,byte-len = <0x80000>;
565 at25,addr-mode = <4>;
566 at25,page-size = <256>;
567
568 compatible = "atmel,at25";
569 reg = <0>;
570 spi-max-frequency = <1000000>;
571 };
572 };
573
574 cfam1_spi3: spi@60 {
575 reg = <0x60>;
576 compatible = "ibm,fsi2spi-restricted";
577 #address-cells = <1>;
578 #size-cells = <0>;
579
580 eeprom@0 {
581 at25,byte-len = <0x80000>;
582 at25,addr-mode = <4>;
583 at25,page-size = <256>;
584
585 compatible = "atmel,at25";
586 reg = <0>;
587 spi-max-frequency = <1000000>;
588 };
589 };
590 };
591
592 sbefifo@2400 {
593 compatible = "ibm,p9-sbefifo";
594 reg = <0x2400 0x400>;
595 #address-cells = <1>;
596 #size-cells = <0>;
597
598 fsi_occ1: occ {
599 compatible = "ibm,p10-occ";
600 };
601 };
602
603 fsi_hub1: hub@3400 {
604 compatible = "fsi-master-hub";
605 reg = <0x3400 0x400>;
606 #address-cells = <2>;
607 #size-cells = <0>;
608
609 no-scan-on-init;
610 };
611 };
612
613 cfam@2,0 {
614 reg = <2 0>;
615 #address-cells = <1>;
616 #size-cells = <1>;
617 chip-id = <2>;
618
619 scom@1000 {
620 compatible = "ibm,fsi2pib";
621 reg = <0x1000 0x400>;
622 };
623
624 i2c@1800 {
625 compatible = "ibm,fsi-i2c-master";
626 reg = <0x1800 0x400>;
627 #address-cells = <1>;
628 #size-cells = <0>;
629
630 cfam2_i2c0: i2c-bus@0 {
631 reg = <0>; /* OM01 */
632 };
633
634 cfam2_i2c1: i2c-bus@1 {
635 reg = <1>; /* OM23 */
636 };
637
638 cfam2_i2c10: i2c-bus@a {
639 reg = <10>; /* OP3A */
640 };
641
642 cfam2_i2c11: i2c-bus@b {
643 reg = <11>; /* OP3B */
644 };
645
646 cfam2_i2c12: i2c-bus@c {
647 reg = <12>; /* OP4A */
648 };
649
650 cfam2_i2c13: i2c-bus@d {
651 reg = <13>; /* OP4B */
652 };
653
654 cfam2_i2c14: i2c-bus@e {
655 reg = <14>; /* OP5A */
656 };
657
658 cfam2_i2c15: i2c-bus@f {
659 reg = <15>; /* OP5B */
660 };
661 };
662
663 fsi2spi@1c00 {
664 compatible = "ibm,fsi2spi";
665 reg = <0x1c00 0x400>;
666 #address-cells = <1>;
667 #size-cells = <0>;
668
669 cfam2_spi0: spi@0 {
670 reg = <0x0>;
671 #address-cells = <1>;
672 #size-cells = <0>;
673
674 eeprom@0 {
675 at25,byte-len = <0x80000>;
676 at25,addr-mode = <4>;
677 at25,page-size = <256>;
678
679 compatible = "atmel,at25";
680 reg = <0>;
681 spi-max-frequency = <1000000>;
682 };
683 };
684
685 cfam2_spi1: spi@20 {
686 reg = <0x20>;
687 #address-cells = <1>;
688 #size-cells = <0>;
689
690 eeprom@0 {
691 at25,byte-len = <0x80000>;
692 at25,addr-mode = <4>;
693 at25,page-size = <256>;
694
695 compatible = "atmel,at25";
696 reg = <0>;
697 spi-max-frequency = <1000000>;
698 };
699 };
700
701 cfam2_spi2: spi@40 {
702 reg = <0x40>;
703 compatible = "ibm,fsi2spi-restricted";
704 #address-cells = <1>;
705 #size-cells = <0>;
706
707 eeprom@0 {
708 at25,byte-len = <0x80000>;
709 at25,addr-mode = <4>;
710 at25,page-size = <256>;
711
712 compatible = "atmel,at25";
713 reg = <0>;
714 spi-max-frequency = <1000000>;
715 };
716 };
717
718 cfam2_spi3: spi@60 {
719 reg = <0x60>;
720 compatible = "ibm,fsi2spi-restricted";
721 #address-cells = <1>;
722 #size-cells = <0>;
723
724 eeprom@0 {
725 at25,byte-len = <0x80000>;
726 at25,addr-mode = <4>;
727 at25,page-size = <256>;
728
729 compatible = "atmel,at25";
730 reg = <0>;
731 spi-max-frequency = <1000000>;
732 };
733 };
734 };
735
736 sbefifo@2400 {
737 compatible = "ibm,p9-sbefifo";
738 reg = <0x2400 0x400>;
739 #address-cells = <1>;
740 #size-cells = <0>;
741
742 fsi_occ2: occ {
743 compatible = "ibm,p10-occ";
744 };
745 };
746
747 fsi_hub2: hub@3400 {
748 compatible = "fsi-master-hub";
749 reg = <0x3400 0x400>;
750 #address-cells = <2>;
751 #size-cells = <0>;
752
753 no-scan-on-init;
754 };
755 };
756
757 cfam@3,0 {
758 reg = <3 0>;
759 #address-cells = <1>;
760 #size-cells = <1>;
761 chip-id = <3>;
762
763 scom@1000 {
764 compatible = "ibm,fsi2pib";
765 reg = <0x1000 0x400>;
766 };
767
768 i2c@1800 {
769 compatible = "ibm,fsi-i2c-master";
770 reg = <0x1800 0x400>;
771 #address-cells = <1>;
772 #size-cells = <0>;
773
774 cfam3_i2c2: i2c-bus@2 {
775 reg = <2>; /* OM45 */
776 };
777
778 cfam3_i2c3: i2c-bus@3 {
779 reg = <3>; /* OM67 */
780 };
781
782 cfam3_i2c10: i2c-bus@a {
783 reg = <10>; /* OP3A */
784 };
785
786 cfam3_i2c11: i2c-bus@b {
787 reg = <11>; /* OP3B */
788 };
789
790 cfam3_i2c14: i2c-bus@e {
791 reg = <14>; /* OP5A */
792 };
793
794 cfam3_i2c15: i2c-bus@f {
795 reg = <15>; /* OP5B */
796 };
797
798 cfam3_i2c16: i2c-bus@10 {
799 reg = <16>; /* OP6A */
800 };
801
802 cfam3_i2c17: i2c-bus@11 {
803 reg = <17>; /* OP6B */
804 };
805 };
806
807 fsi2spi@1c00 {
808 compatible = "ibm,fsi2spi";
809 reg = <0x1c00 0x400>;
810 #address-cells = <1>;
811 #size-cells = <0>;
812
813 cfam3_spi0: spi@0 {
814 reg = <0x0>;
815 #address-cells = <1>;
816 #size-cells = <0>;
817
818 eeprom@0 {
819 at25,byte-len = <0x80000>;
820 at25,addr-mode = <4>;
821 at25,page-size = <256>;
822
823 compatible = "atmel,at25";
824 reg = <0>;
825 spi-max-frequency = <1000000>;
826 };
827 };
828
829 cfam3_spi1: spi@20 {
830 reg = <0x20>;
831 #address-cells = <1>;
832 #size-cells = <0>;
833
834 eeprom@0 {
835 at25,byte-len = <0x80000>;
836 at25,addr-mode = <4>;
837 at25,page-size = <256>;
838
839 compatible = "atmel,at25";
840 reg = <0>;
841 spi-max-frequency = <1000000>;
842 };
843 };
844
845 cfam3_spi2: spi@40 {
846 reg = <0x40>;
847 compatible = "ibm,fsi2spi-restricted";
848 #address-cells = <1>;
849 #size-cells = <0>;
850
851 eeprom@0 {
852 at25,byte-len = <0x80000>;
853 at25,addr-mode = <4>;
854 at25,page-size = <256>;
855
856 compatible = "atmel,at25";
857 reg = <0>;
858 spi-max-frequency = <1000000>;
859 };
860 };
861
862 cfam3_spi3: spi@60 {
863 reg = <0x60>;
864 compatible = "ibm,fsi2spi-restricted";
865 #address-cells = <1>;
866 #size-cells = <0>;
867
868 eeprom@0 {
869 at25,byte-len = <0x80000>;
870 at25,addr-mode = <4>;
871 at25,page-size = <256>;
872
873 compatible = "atmel,at25";
874 reg = <0>;
875 spi-max-frequency = <1000000>;
876 };
877 };
878 };
879
880 sbefifo@2400 {
881 compatible = "ibm,p9-sbefifo";
882 reg = <0x2400 0x400>;
883 #address-cells = <1>;
884 #size-cells = <0>;
885
886 fsi_occ3: occ {
887 compatible = "ibm,p10-occ";
888 };
889 };
890
891 fsi_hub3: hub@3400 {
892 compatible = "fsi-master-hub";
893 reg = <0x3400 0x400>;
894 #address-cells = <2>;
895 #size-cells = <0>;
896
897 no-scan-on-init;
898 };
899 };
900};
901
902/* Legacy OCC numbering (to get rid of when userspace is fixed) */
903&fsi_occ0 {
904 reg = <1>;
905};
906
907&fsi_occ1 {
908 reg = <2>;
909};
910
911&fsi_occ2 {
912 reg = <3>;
913};
914
915&fsi_occ3 {
916 reg = <4>;
917};
918
919&ibt {
920 status = "okay";
921};
922
923&i2c0 {
924 status = "okay";
925
926 eeprom@51 {
927 compatible = "atmel,24c64";
928 reg = <0x51>;
929 };
930
931 tca_pres1: tca9554@20{
932 compatible = "ti,tca9554";
933 reg = <0x20>;
934 #address-cells = <1>;
935 #size-cells = <0>;
936
937 gpio-controller;
938 #gpio-cells = <2>;
939
940 gpio-line-names = "",
941 "RUSSEL_FW_I2C_ENABLE_N",
942 "RUSSEL_OPPANEL_PRESENCE_N",
943 "BLYTH_OPPANEL_PRESENCE_N",
944 "CPU_TPM_CARD_PRESENT_N",
945 "DASD_BP2_PRESENT_N",
946 "DASD_BP1_PRESENT_N",
947 "DASD_BP0_PRESENT_N";
948
949 gpio@0 {
950 reg = <0>;
951 type = <PCA955X_TYPE_GPIO>;
952 };
953
954 gpio@1 {
955 reg = <1>;
956 type = <PCA955X_TYPE_GPIO>;
957 };
958
959 gpio@2 {
960 reg = <2>;
961 type = <PCA955X_TYPE_GPIO>;
962 };
963
964 gpio@3 {
965 reg = <3>;
966 type = <PCA955X_TYPE_GPIO>;
967 };
968
969 gpio@4 {
970 reg = <4>;
971 type = <PCA955X_TYPE_GPIO>;
972 };
973
974 gpio@5 {
975 reg = <5>;
976 type = <PCA955X_TYPE_GPIO>;
977 };
978
979 gpio@6 {
980 reg = <6>;
981 type = <PCA955X_TYPE_GPIO>;
982 };
983
984 gpio@7 {
985 reg = <7>;
986 type = <PCA955X_TYPE_GPIO>;
987 };
988 };
989};
990
991&i2c1 {
992 status = "okay";
993};
994
995&i2c2 {
996 status = "okay";
997};
998
999&i2c3 {
1000 status = "okay";
1001
1002 power-supply@68 {
1003 compatible = "ibm,cffps";
1004 reg = <0x68>;
1005 };
1006
1007 power-supply@69 {
1008 compatible = "ibm,cffps";
1009 reg = <0x69>;
1010 };
1011
1012 pca_pres1: pca9552@61 {
1013 compatible = "nxp,pca9552";
1014 reg = <0x61>;
1015 #address-cells = <1>;
1016 #size-cells = <0>;
1017
1018 gpio-controller;
1019 #gpio-cells = <2>;
1020
1021 gpio-line-names =
1022 "SLOT0_PRSNT_EN_RSVD", "SLOT1_PRSNT_EN_RSVD",
1023 "SLOT2_PRSNT_EN_RSVD", "SLOT3_PRSNT_EN_RSVD",
1024 "SLOT4_PRSNT_EN_RSVD", "SLOT0_EXPANDER_PRSNT_N",
1025 "SLOT1_EXPANDER_PRSNT_N", "SLOT2_EXPANDER_PRSNT_N",
1026 "SLOT3_EXPANDER_PRSNT_N", "SLOT4_EXPANDER_PRSNT_N",
1027 "", "", "", "", "", "";
1028
1029 gpio@0 {
1030 reg = <0>;
1031 type = <PCA955X_TYPE_GPIO>;
1032 };
1033
1034 gpio@1 {
1035 reg = <1>;
1036 type = <PCA955X_TYPE_GPIO>;
1037 };
1038
1039 gpio@2 {
1040 reg = <2>;
1041 type = <PCA955X_TYPE_GPIO>;
1042 };
1043
1044 gpio@3 {
1045 reg = <3>;
1046 type = <PCA955X_TYPE_GPIO>;
1047 };
1048
1049 gpio@4 {
1050 reg = <4>;
1051 type = <PCA955X_TYPE_GPIO>;
1052 };
1053
1054 gpio@5 {
1055 reg = <5>;
1056 type = <PCA955X_TYPE_GPIO>;
1057 };
1058
1059 gpio@6 {
1060 reg = <6>;
1061 type = <PCA955X_TYPE_GPIO>;
1062 };
1063
1064 gpio@7 {
1065 reg = <7>;
1066 type = <PCA955X_TYPE_GPIO>;
1067 };
1068
1069 gpio@8 {
1070 reg = <8>;
1071 type = <PCA955X_TYPE_GPIO>;
1072 };
1073
1074 gpio@9 {
1075 reg = <9>;
1076 type = <PCA955X_TYPE_GPIO>;
1077 };
1078
1079 gpio@10 {
1080 reg = <10>;
1081 type = <PCA955X_TYPE_GPIO>;
1082 };
1083
1084 gpio@11 {
1085 reg = <11>;
1086 type = <PCA955X_TYPE_GPIO>;
1087 };
1088
1089 gpio@12 {
1090 reg = <12>;
1091 type = <PCA955X_TYPE_GPIO>;
1092 };
1093
1094 gpio@13 {
1095 reg = <13>;
1096 type = <PCA955X_TYPE_GPIO>;
1097 };
1098
1099 gpio@14 {
1100 reg = <14>;
1101 type = <PCA955X_TYPE_GPIO>;
1102 };
1103
1104 gpio@15 {
1105 reg = <15>;
1106 type = <PCA955X_TYPE_GPIO>;
1107 };
1108 };
1109};
1110
1111&i2c4 {
1112 status = "okay";
1113
1114 tmp275@48 {
1115 compatible = "ti,tmp275";
1116 reg = <0x48>;
1117 };
1118
1119 tmp275@49 {
1120 compatible = "ti,tmp275";
1121 reg = <0x49>;
1122 };
1123
1124 tmp275@4a {
1125 compatible = "ti,tmp275";
1126 reg = <0x4a>;
1127 };
1128
1129 pca9546@70 {
1130 compatible = "nxp,pca9546";
1131 reg = <0x70>;
1132 #address-cells = <1>;
1133 #size-cells = <0>;
1134 status = "okay";
1135 i2c-mux-idle-disconnect;
1136
1137 i2c4mux0chn0: i2c@0 {
1138 #address-cells = <1>;
1139 #size-cells = <0>;
1140 reg = <0>;
1141
1142 eeprom@50 {
1143 compatible = "atmel,24c64";
1144 reg = <0x50>;
1145 };
1146 };
1147
1148 i2c4mux0chn1: i2c@1 {
1149 #address-cells = <1>;
1150 #size-cells = <0>;
1151 reg = <1>;
1152
1153 eeprom@51 {
1154 compatible = "atmel,24c64";
1155 reg = <0x51>;
1156 };
1157 };
1158
1159 i2c4mux0chn2: i2c@2 {
1160 #address-cells = <1>;
1161 #size-cells = <0>;
1162 reg = <2>;
1163
1164 eeprom@52 {
1165 compatible = "atmel,24c64";
1166 reg = <0x52>;
1167 };
1168 };
1169 };
1170};
1171
1172&i2c5 {
1173 status = "okay";
1174
1175 tmp275@48 {
1176 compatible = "ti,tmp275";
1177 reg = <0x48>;
1178 };
1179
1180 tmp275@49 {
1181 compatible = "ti,tmp275";
1182 reg = <0x49>;
1183 };
1184
1185 pca9546@70 {
1186 compatible = "nxp,pca9546";
1187 reg = <0x70>;
1188 #address-cells = <1>;
1189 #size-cells = <0>;
1190 status = "okay";
1191 i2c-mux-idle-disconnect;
1192
1193 i2c5mux0chn0: i2c@0 {
1194 #address-cells = <1>;
1195 #size-cells = <0>;
1196 reg = <0>;
1197
1198 eeprom@50 {
1199 compatible = "atmel,24c64";
1200 reg = <0x50>;
1201 };
1202 };
1203
1204 i2c5mux0chn1: i2c@1 {
1205 #address-cells = <1>;
1206 #size-cells = <0>;
1207 reg = <1>;
1208
1209 eeprom@51 {
1210 compatible = "atmel,24c64";
1211 reg = <0x51>;
1212 };
1213 };
1214 };
1215};
1216
1217&i2c6 {
1218 status = "okay";
1219
1220 tmp275@48 {
1221 compatible = "ti,tmp275";
1222 reg = <0x48>;
1223 };
1224
1225 tmp275@4a {
1226 compatible = "ti,tmp275";
1227 reg = <0x4a>;
1228 };
1229
1230 tmp275@4b {
1231 compatible = "ti,tmp275";
1232 reg = <0x4b>;
1233 };
1234
1235 pca9546@70 {
1236 compatible = "nxp,pca9546";
1237 reg = <0x70>;
1238 #address-cells = <1>;
1239 #size-cells = <0>;
1240 status = "okay";
1241 i2c-mux-idle-disconnect;
1242
1243 i2c6mux0chn0: i2c@0 {
1244 #address-cells = <1>;
1245 #size-cells = <0>;
1246 reg = <0>;
1247
1248 eeprom@53 {
1249 compatible = "atmel,24c64";
1250 reg = <0x53>;
1251 };
1252 };
1253
1254 i2c6mux0chn1: i2c@1 {
1255 #address-cells = <1>;
1256 #size-cells = <0>;
1257 reg = <1>;
1258
1259 eeprom@52 {
1260 compatible = "atmel,24c64";
1261 reg = <0x52>;
1262 };
1263 };
1264
1265 i2c6mux0chn2: i2c@2 {
1266 #address-cells = <1>;
1267 #size-cells = <0>;
1268 reg = <2>;
1269
1270 eeprom@50 {
1271 compatible = "atmel,24c64";
1272 reg = <0x50>;
1273 };
1274 };
1275
1276 i2c6mux0chn3: i2c@3 {
1277 #address-cells = <1>;
1278 #size-cells = <0>;
1279 reg = <3>;
1280
1281 eeprom@51 {
1282 compatible = "atmel,24c64";
1283 reg = <0x51>;
1284 };
1285 };
1286 };
1287};
1288
1289&i2c7 {
1290 multi-master;
1291 status = "okay";
1292
1293 si7021-a20@40 {
1294 compatible = "silabs,si7020";
1295 reg = <0x40>;
1296 };
1297
1298 tmp275@48 {
1299 compatible = "ti,tmp275";
1300 reg = <0x48>;
1301 };
1302
1303 max: max31785@52 {
1304 compatible = "maxim,max31785a";
1305 reg = <0x52>;
1306 #address-cells = <1>;
1307 #size-cells = <0>;
1308
1309 fan0: fan@0 {
1310 compatible = "pmbus-fan";
1311 reg = <0>;
1312 tach-pulses = <2>;
1313 };
1314
1315 fan1: fan@1 {
1316 compatible = "pmbus-fan";
1317 reg = <1>;
1318 tach-pulses = <2>;
1319 };
1320
1321 fan2: fan@2 {
1322 compatible = "pmbus-fan";
1323 reg = <2>;
1324 tach-pulses = <2>;
1325 };
1326
1327 fan3: fan@3 {
1328 compatible = "pmbus-fan";
1329 reg = <3>;
1330 tach-pulses = <2>;
1331 };
1332
1333 fan4: fan@4 {
1334 compatible = "pmbus-fan";
1335 reg = <4>;
1336 tach-pulses = <2>;
1337 };
1338
1339 fan5: fan@5 {
1340 compatible = "pmbus-fan";
1341 reg = <5>;
1342 tach-pulses = <2>;
1343 };
1344 };
1345
1346 pca0: pca9552@61 {
1347 compatible = "nxp,pca9552";
1348 reg = <0x61>;
1349 #address-cells = <1>;
1350 #size-cells = <0>;
1351
1352 gpio-controller;
1353 #gpio-cells = <2>;
1354
1355 gpio@0 {
1356 reg = <0>;
1357 type = <PCA955X_TYPE_GPIO>;
1358 };
1359
1360 gpio@1 {
1361 reg = <1>;
1362 type = <PCA955X_TYPE_GPIO>;
1363 };
1364
1365 gpio@2 {
1366 reg = <2>;
1367 type = <PCA955X_TYPE_GPIO>;
1368 };
1369
1370 gpio@3 {
1371 reg = <3>;
1372 type = <PCA955X_TYPE_GPIO>;
1373 };
1374
1375 gpio@4 {
1376 reg = <4>;
1377 type = <PCA955X_TYPE_GPIO>;
1378 };
1379
1380 gpio@5 {
1381 reg = <5>;
1382 type = <PCA955X_TYPE_GPIO>;
1383 };
1384
1385 gpio@6 {
1386 reg = <6>;
1387 type = <PCA955X_TYPE_GPIO>;
1388 };
1389
1390 gpio@7 {
1391 reg = <7>;
1392 type = <PCA955X_TYPE_GPIO>;
1393 };
1394
1395 gpio@8 {
1396 reg = <8>;
1397 type = <PCA955X_TYPE_GPIO>;
1398 };
1399
1400 gpio@9 {
1401 reg = <9>;
1402 type = <PCA955X_TYPE_GPIO>;
1403 };
1404
1405 gpio@10 {
1406 reg = <10>;
1407 type = <PCA955X_TYPE_GPIO>;
1408 };
1409
1410 gpio@11 {
1411 reg = <11>;
1412 type = <PCA955X_TYPE_GPIO>;
1413 };
1414
1415 gpio@12 {
1416 reg = <12>;
1417 type = <PCA955X_TYPE_GPIO>;
1418 };
1419
1420 gpio@13 {
1421 reg = <13>;
1422 type = <PCA955X_TYPE_GPIO>;
1423 };
1424
1425 gpio@14 {
1426 reg = <14>;
1427 type = <PCA955X_TYPE_GPIO>;
1428 };
1429
1430 gpio@15 {
1431 reg = <15>;
1432 type = <PCA955X_TYPE_GPIO>;
1433 };
1434 };
1435
1436 ibm-panel@62 {
1437 compatible = "ibm,op-panel";
1438 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
1439 };
1440
1441 dps: dps310@76 {
1442 compatible = "infineon,dps310";
1443 reg = <0x76>;
1444 #io-channel-cells = <0>;
1445 };
1446
1447 eeprom@50 {
1448 compatible = "atmel,24c64";
1449 reg = <0x50>;
1450 };
1451
1452 eeprom@51 {
1453 compatible = "atmel,24c64";
1454 reg = <0x51>;
1455 };
1456};
1457
1458&i2c8 {
1459 status = "okay";
1460
1461 ucd90320@11 {
1462 compatible = "ti,ucd90320";
1463 reg = <0x11>;
1464 };
1465
1466 rtc@32 {
1467 compatible = "epson,rx8900";
1468 reg = <0x32>;
1469 };
1470
1471 tmp275@48 {
1472 compatible = "ti,tmp275";
1473 reg = <0x48>;
1474 };
1475
1476 tmp275@4a {
1477 compatible = "ti,tmp275";
1478 reg = <0x4a>;
1479 };
1480
1481 eeprom@50 {
1482 compatible = "atmel,24c64";
1483 reg = <0x50>;
1484 };
1485
1486 eeprom@51 {
1487 compatible = "atmel,24c64";
1488 reg = <0x51>;
1489 };
1490
1491 pca_pres2: pca9552@61 {
1492 compatible = "nxp,pca9552";
1493 reg = <0x61>;
1494 #address-cells = <1>;
1495 #size-cells = <0>;
1496 gpio-controller;
1497 #gpio-cells = <2>;
1498
1499 gpio-line-names =
1500 "SLOT6_PRSNT_EN_RSVD", "SLOT7_PRSNT_EN_RSVD",
1501 "SLOT8_PRSNT_EN_RSVD", "SLOT9_PRSNT_EN_RSVD",
1502 "SLOT10_PRSNT_EN_RSVD", "SLOT11_PRSNT_EN_RSVD",
1503 "SLOT6_EXPANDER_PRSNT_N", "SLOT7_EXPANDER_PRSNT_N",
1504 "SLOT8_EXPANDER_PRSNT_N", "SLOT9_EXPANDER_PRSNT_N",
1505 "SLOT10_EXPANDER_PRSNT_N", "SLOT11_EXPANDER_PRSNT_N",
1506 "", "", "", "";
1507
1508 gpio@0 {
1509 reg = <0>;
1510 type = <PCA955X_TYPE_GPIO>;
1511 };
1512
1513 gpio@1 {
1514 reg = <1>;
1515 type = <PCA955X_TYPE_GPIO>;
1516 };
1517
1518 gpio@2 {
1519 reg = <2>;
1520 type = <PCA955X_TYPE_GPIO>;
1521 };
1522
1523 gpio@3 {
1524 reg = <3>;
1525 type = <PCA955X_TYPE_GPIO>;
1526 };
1527
1528 gpio@4 {
1529 reg = <4>;
1530 type = <PCA955X_TYPE_GPIO>;
1531 };
1532
1533 gpio@5 {
1534 reg = <5>;
1535 type = <PCA955X_TYPE_GPIO>;
1536 };
1537
1538 gpio@6 {
1539 reg = <6>;
1540 type = <PCA955X_TYPE_GPIO>;
1541 };
1542
1543 gpio@7 {
1544 reg = <7>;
1545 type = <PCA955X_TYPE_GPIO>;
1546 };
1547
1548 gpio@8 {
1549 reg = <8>;
1550 type = <PCA955X_TYPE_GPIO>;
1551 };
1552
1553 gpio@9 {
1554 reg = <9>;
1555 type = <PCA955X_TYPE_GPIO>;
1556 };
1557
1558 gpio@10 {
1559 reg = <10>;
1560 type = <PCA955X_TYPE_GPIO>;
1561 };
1562
1563 gpio@11 {
1564 reg = <11>;
1565 type = <PCA955X_TYPE_GPIO>;
1566 };
1567
1568 gpio@12 {
1569 reg = <12>;
1570 type = <PCA955X_TYPE_GPIO>;
1571 };
1572
1573 gpio@13 {
1574 reg = <13>;
1575 type = <PCA955X_TYPE_GPIO>;
1576 };
1577
1578 gpio@14 {
1579 reg = <14>;
1580 type = <PCA955X_TYPE_GPIO>;
1581 };
1582
1583 gpio@15 {
1584 reg = <15>;
1585 type = <PCA955X_TYPE_GPIO>;
1586 };
1587 };
1588
1589};
1590
1591&i2c9 {
1592 status = "okay";
1593
1594 tmp423a@4c {
1595 compatible = "ti,tmp423";
1596 reg = <0x4c>;
1597 };
1598
1599 tmp423b@4d {
1600 compatible = "ti,tmp423";
1601 reg = <0x4d>;
1602 };
1603
1604 eeprom@50 {
1605 compatible = "atmel,24c128";
1606 reg = <0x50>;
1607 };
1608};
1609
1610&i2c10 {
1611 status = "okay";
1612
1613 tmp423a@4c {
1614 compatible = "ti,tmp423";
1615 reg = <0x4c>;
1616 };
1617
1618 tmp423b@4d {
1619 compatible = "ti,tmp423";
1620 reg = <0x4d>;
1621 };
1622
1623 eeprom@50 {
1624 compatible = "atmel,24c128";
1625 reg = <0x50>;
1626 };
1627};
1628
1629&i2c11 {
1630 status = "okay";
1631
1632 tmp275@48 {
1633 compatible = "ti,tmp275";
1634 reg = <0x48>;
1635 };
1636
1637 tmp275@49 {
1638 compatible = "ti,tmp275";
1639 reg = <0x49>;
1640 };
1641
1642 pca9546@70 {
1643 compatible = "nxp,pca9546";
1644 reg = <0x70>;
1645 #address-cells = <1>;
1646 #size-cells = <0>;
1647 status = "okay";
1648 i2c-mux-idle-disconnect;
1649
1650 i2c11mux0chn0: i2c@0 {
1651 #address-cells = <1>;
1652 #size-cells = <0>;
1653 reg = <0>;
1654
1655 eeprom@50 {
1656 compatible = "atmel,24c64";
1657 reg = <0x50>;
1658 };
1659 };
1660
1661 i2c11mux0chn1: i2c@1 {
1662 #address-cells = <1>;
1663 #size-cells = <0>;
1664 reg = <1>;
1665
1666 eeprom@51 {
1667 compatible = "atmel,24c64";
1668 reg = <0x51>;
1669 };
1670 };
1671 };
1672};
1673
1674&i2c12 {
1675 status = "okay";
1676};
1677
1678&i2c13 {
1679 status = "okay";
1680
1681 eeprom@50 {
1682 compatible = "atmel,24c64";
1683 reg = <0x50>;
1684 };
1685};
1686
1687&i2c14 {
1688 status = "okay";
1689
1690 eeprom@50 {
1691 compatible = "atmel,24c64";
1692 reg = <0x50>;
1693 };
1694};
1695
1696&i2c15 {
1697 status = "okay";
1698
1699 eeprom@50 {
1700 compatible = "atmel,24c64";
1701 reg = <0x50>;
1702 };
1703};
1704
1705&vuart1 {
1706 status = "okay";
1707};
1708
1709&vuart2 {
1710 status = "okay";
1711};
1712
1713&lpc_ctrl {
1714 status = "okay";
1715 memory-region = <&flash_memory>;
1716};
1717
1718&mac2 {
1719 status = "okay";
1720 pinctrl-names = "default";
1721 pinctrl-0 = <&pinctrl_rmii3_default>;
1722 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
1723 <&syscon ASPEED_CLK_MAC3RCLK>;
1724 clock-names = "MACCLK", "RCLK";
1725 use-ncsi;
1726};
1727
1728&mac3 {
1729 status = "okay";
1730 pinctrl-names = "default";
1731 pinctrl-0 = <&pinctrl_rmii4_default>;
1732 clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
1733 <&syscon ASPEED_CLK_MAC4RCLK>;
1734 clock-names = "MACCLK", "RCLK";
1735 use-ncsi;
1736};
1737
1738&fmc {
1739 status = "okay";
1740 flash@0 {
1741 status = "okay";
1742 m25p,fast-read;
1743 label = "bmc";
1744 spi-max-frequency = <50000000>;
1745#include "openbmc-flash-layout-128.dtsi"
1746 };
1747};
1748
1749&spi1 {
1750 status = "okay";
1751 pinctrl-names = "default";
1752 pinctrl-0 = <&pinctrl_spi1_default>;
1753
1754 flash@0 {
1755 status = "okay";
1756 m25p,fast-read;
1757 label = "pnor";
1758 spi-max-frequency = <100000000>;
1759 };
1760};
1761
1762&wdt1 {
1763 aspeed,reset-type = "none";
1764 aspeed,external-signal;
1765 aspeed,ext-push-pull;
1766 aspeed,ext-active-high;
1767
1768 pinctrl-names = "default";
1769 pinctrl-0 = <&pinctrl_wdtrst1_default>;
1770};
1771
1772&wdt2 {
1773 status = "okay";
1774};
1775
1776&xdma {
1777 status = "okay";
1778 memory-region = <&vga_memory>;
1779};
1// SPDX-License-Identifier: GPL-2.0-or-later
2// Copyright 2019 IBM Corp.
3/dts-v1/;
4
5#include "aspeed-g6.dtsi"
6#include <dt-bindings/gpio/aspeed-gpio.h>
7#include <dt-bindings/leds/leds-pca955x.h>
8
9/ {
10 model = "Rainier";
11 compatible = "ibm,rainier-bmc", "aspeed,ast2600";
12
13 aliases {
14 serial4 = &uart5;
15 i2c16 = &i2c2mux0;
16 i2c17 = &i2c2mux1;
17 i2c18 = &i2c2mux2;
18 i2c19 = &i2c2mux3;
19
20 spi10 = &cfam0_spi0;
21 spi11 = &cfam0_spi1;
22 spi12 = &cfam0_spi2;
23 spi13 = &cfam0_spi3;
24 spi20 = &cfam1_spi0;
25 spi21 = &cfam1_spi1;
26 spi22 = &cfam1_spi2;
27 spi23 = &cfam1_spi3;
28 spi30 = &cfam2_spi0;
29 spi31 = &cfam2_spi1;
30 spi32 = &cfam2_spi2;
31 spi33 = &cfam2_spi3;
32 };
33
34 chosen {
35 stdout-path = &uart5;
36 bootargs = "console=ttyS4,115200n8";
37 };
38
39 memory@80000000 {
40 device_type = "memory";
41 reg = <0x80000000 0x40000000>;
42 };
43
44 reserved-memory {
45 #address-cells = <1>;
46 #size-cells = <1>;
47 ranges;
48
49 flash_memory: region@B8000000 {
50 no-map;
51 reg = <0xB8000000 0x04000000>; /* 64M */
52 };
53
54 vga_memory: region@bf000000 {
55 no-map;
56 reg = <0xbf000000 0x01000000>; /* 16M */
57 };
58 };
59
60 gpio-keys {
61 compatible = "gpio-keys";
62
63 ps0-presence {
64 label = "ps0-presence";
65 gpios = <&gpio0 ASPEED_GPIO(S, 0) GPIO_ACTIVE_LOW>;
66 linux,code = <ASPEED_GPIO(S, 0)>;
67 };
68
69 ps1-presence {
70 label = "ps1-presence";
71 gpios = <&gpio0 ASPEED_GPIO(S, 1) GPIO_ACTIVE_LOW>;
72 linux,code = <ASPEED_GPIO(S, 1)>;
73 };
74
75 ps2-presence {
76 label = "ps2-presence";
77 gpios = <&gpio0 ASPEED_GPIO(S, 2) GPIO_ACTIVE_LOW>;
78 linux,code = <ASPEED_GPIO(S, 2)>;
79 };
80
81 ps3-presence {
82 label = "ps3-presence";
83 gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_LOW>;
84 linux,code = <ASPEED_GPIO(S, 3)>;
85 };
86 };
87
88 i2c2mux: i2cmux {
89 compatible = "i2c-mux-gpio";
90 #address-cells = <1>;
91 #size-cells = <0>;
92 status = "okay";
93
94 i2c-parent = <&i2c2>;
95 mux-gpios = <&gpio0 ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>,
96 <&gpio0 ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>;
97 idle-state = <0>;
98
99 i2c2mux0: i2c@0 {
100 #address-cells = <1>;
101 #size-cells = <0>;
102 reg = <0>;
103 };
104
105 i2c2mux1: i2c@1 {
106 #address-cells = <1>;
107 #size-cells = <0>;
108 reg = <1>;
109 };
110
111 i2c2mux2: i2c@2 {
112 #address-cells = <1>;
113 #size-cells = <0>;
114 reg = <2>;
115 };
116
117 i2c2mux3: i2c@3 {
118 #address-cells = <1>;
119 #size-cells = <0>;
120 reg = <3>;
121 };
122 };
123};
124
125&ehci1 {
126 status = "okay";
127};
128
129&gpio0 {
130 gpio-line-names =
131 /*A0-A7*/ "","","","","","","","",
132 /*B0-B7*/ "","","","","","","checkstop","",
133 /*C0-C7*/ "","","","","","","","",
134 /*D0-D7*/ "","","","","","","","",
135 /*E0-E7*/ "","","","","","","","",
136 /*F0-F7*/ "","","","","","","","",
137 /*G0-G7*/ "","","","","","","","",
138 /*H0-H7*/ "","","","","","","","",
139 /*I0-I7*/ "","","","","","","","",
140 /*J0-J7*/ "","","","","","","","",
141 /*K0-K7*/ "","","","","","","","",
142 /*L0-L7*/ "","","","","","","","",
143 /*M0-M7*/ "","","","","","","","",
144 /*N0-N7*/ "","","","","","","","",
145 /*O0-O7*/ "","","","usb-power","","","","",
146 /*P0-P7*/ "","","","","","","","",
147 /*Q0-Q7*/ "cfam-reset","","","","","","","",
148 /*R0-R7*/ "","","","","","","","",
149 /*S0-S7*/ "presence-ps0","presence-ps1","presence-ps2","presence-ps3",
150 "","","","",
151 /*T0-T7*/ "","","","","","","","",
152 /*U0-U7*/ "","","","","","","","",
153 /*V0-V7*/ "","","","","","","","",
154 /*W0-W7*/ "","","","","","","","",
155 /*X0-X7*/ "","","","","","","","",
156 /*Y0-Y7*/ "","","","","","","","",
157 /*Z0-Z7*/ "","","","","","","","",
158 /*AA0-AA7*/ "","","","","","","","",
159 /*AB0-AB7*/ "","","","","","","","",
160 /*AC0-AC7*/ "","","","","","","","";
161
162 pin_mclr_vpp {
163 gpio-hog;
164 gpios = <ASPEED_GPIO(P, 7) GPIO_OPEN_DRAIN>;
165 output-high;
166 line-name = "mclr_vpp";
167 };
168
169 i2c3_mux_oe_n {
170 gpio-hog;
171 gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>;
172 output-high;
173 line-name = "I2C3_MUX_OE_N";
174 };
175};
176
177&emmc_controller {
178 status = "okay";
179};
180
181&emmc {
182 status = "okay";
183};
184
185&fsim0 {
186 status = "okay";
187
188 #address-cells = <2>;
189 #size-cells = <0>;
190
191 /*
192 * CFAM Reset is supposed to be active low but pass1 hardware is wired
193 * active high.
194 */
195 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
196
197 cfam@0,0 {
198 reg = <0 0>;
199 #address-cells = <1>;
200 #size-cells = <1>;
201 chip-id = <0>;
202
203 scom@1000 {
204 compatible = "ibm,fsi2pib";
205 reg = <0x1000 0x400>;
206 };
207
208 i2c@1800 {
209 compatible = "ibm,fsi-i2c-master";
210 reg = <0x1800 0x400>;
211 #address-cells = <1>;
212 #size-cells = <0>;
213 };
214
215 fsi2spi@1c00 {
216 compatible = "ibm,fsi2spi";
217 reg = <0x1c00 0x400>;
218 #address-cells = <1>;
219 #size-cells = <0>;
220
221 cfam0_spi0: spi@0 {
222 reg = <0x0>;
223 #address-cells = <1>;
224 #size-cells = <0>;
225
226 eeprom@0 {
227 at25,byte-len = <0x80000>;
228 at25,addr-mode = <4>;
229 at25,page-size = <256>;
230
231 compatible = "atmel,at25";
232 reg = <0>;
233 spi-max-frequency = <1000000>;
234 };
235 };
236
237 cfam0_spi1: spi@20 {
238 reg = <0x20>;
239 #address-cells = <1>;
240 #size-cells = <0>;
241
242 eeprom@0 {
243 at25,byte-len = <0x80000>;
244 at25,addr-mode = <4>;
245 at25,page-size = <256>;
246
247 compatible = "atmel,at25";
248 reg = <0>;
249 spi-max-frequency = <1000000>;
250 };
251 };
252
253 cfam0_spi2: spi@40 {
254 reg = <0x40>;
255 #address-cells = <1>;
256 #size-cells = <0>;
257
258 eeprom@0 {
259 at25,byte-len = <0x80000>;
260 at25,addr-mode = <4>;
261 at25,page-size = <256>;
262
263 compatible = "atmel,at25";
264 reg = <0>;
265 spi-max-frequency = <1000000>;
266 };
267 };
268
269 cfam0_spi3: spi@60 {
270 reg = <0x60>;
271 #address-cells = <1>;
272 #size-cells = <0>;
273
274 eeprom@0 {
275 at25,byte-len = <0x80000>;
276 at25,addr-mode = <4>;
277 at25,page-size = <256>;
278
279 compatible = "atmel,at25";
280 reg = <0>;
281 spi-max-frequency = <1000000>;
282 };
283 };
284 };
285
286 sbefifo@2400 {
287 compatible = "ibm,p9-sbefifo";
288 reg = <0x2400 0x400>;
289 #address-cells = <1>;
290 #size-cells = <0>;
291
292 fsi_occ0: occ {
293 compatible = "ibm,p10-occ";
294 };
295 };
296
297 fsi_hub0: hub@3400 {
298 compatible = "fsi-master-hub";
299 reg = <0x3400 0x400>;
300 #address-cells = <2>;
301 #size-cells = <0>;
302
303 no-scan-on-init;
304 };
305 };
306};
307
308&fsi_hub0 {
309 cfam@1,0 {
310 reg = <1 0>;
311 #address-cells = <1>;
312 #size-cells = <1>;
313 chip-id = <1>;
314
315 scom@1000 {
316 compatible = "ibm,fsi2pib";
317 reg = <0x1000 0x400>;
318 };
319
320 i2c@1800 {
321 compatible = "ibm,fsi-i2c-master";
322 reg = <0x1800 0x400>;
323 #address-cells = <1>;
324 #size-cells = <0>;
325 };
326
327 fsi2spi@1c00 {
328 compatible = "ibm,fsi2spi";
329 reg = <0x1c00 0x400>;
330 #address-cells = <1>;
331 #size-cells = <0>;
332
333 cfam1_spi0: spi@0 {
334 reg = <0x0>;
335 #address-cells = <1>;
336 #size-cells = <0>;
337
338 eeprom@0 {
339 at25,byte-len = <0x80000>;
340 at25,addr-mode = <4>;
341 at25,page-size = <256>;
342
343 compatible = "atmel,at25";
344 reg = <0>;
345 spi-max-frequency = <1000000>;
346 };
347 };
348
349 cfam1_spi1: spi@20 {
350 reg = <0x20>;
351 #address-cells = <1>;
352 #size-cells = <0>;
353
354 eeprom@0 {
355 at25,byte-len = <0x80000>;
356 at25,addr-mode = <4>;
357 at25,page-size = <256>;
358
359 compatible = "atmel,at25";
360 reg = <0>;
361 spi-max-frequency = <1000000>;
362 };
363 };
364
365 cfam1_spi2: spi@40 {
366 reg = <0x40>;
367 #address-cells = <1>;
368 #size-cells = <0>;
369
370 eeprom@0 {
371 at25,byte-len = <0x80000>;
372 at25,addr-mode = <4>;
373 at25,page-size = <256>;
374
375 compatible = "atmel,at25";
376 reg = <0>;
377 spi-max-frequency = <1000000>;
378 };
379 };
380
381 cfam1_spi3: spi@60 {
382 reg = <0x60>;
383 #address-cells = <1>;
384 #size-cells = <0>;
385
386 eeprom@0 {
387 at25,byte-len = <0x80000>;
388 at25,addr-mode = <4>;
389 at25,page-size = <256>;
390
391 compatible = "atmel,at25";
392 reg = <0>;
393 spi-max-frequency = <1000000>;
394 };
395 };
396 };
397
398 sbefifo@2400 {
399 compatible = "ibm,p9-sbefifo";
400 reg = <0x2400 0x400>;
401 #address-cells = <1>;
402 #size-cells = <0>;
403
404 fsi_occ1: occ {
405 compatible = "ibm,p10-occ";
406 };
407 };
408
409 fsi_hub1: hub@3400 {
410 compatible = "fsi-master-hub";
411 reg = <0x3400 0x400>;
412 #address-cells = <2>;
413 #size-cells = <0>;
414
415 no-scan-on-init;
416 };
417 };
418
419 cfam@2,0 {
420 reg = <2 0>;
421 #address-cells = <1>;
422 #size-cells = <1>;
423 chip-id = <2>;
424
425 scom@1000 {
426 compatible = "ibm,fsi2pib";
427 reg = <0x1000 0x400>;
428 };
429
430 i2c@1800 {
431 compatible = "ibm,fsi-i2c-master";
432 reg = <0x1800 0x400>;
433 #address-cells = <1>;
434 #size-cells = <0>;
435 };
436
437 fsi2spi@1c00 {
438 compatible = "ibm,fsi2spi";
439 reg = <0x1c00 0x400>;
440 #address-cells = <1>;
441 #size-cells = <0>;
442
443 cfam2_spi0: spi@0 {
444 reg = <0x0>;
445 #address-cells = <1>;
446 #size-cells = <0>;
447
448 eeprom@0 {
449 at25,byte-len = <0x80000>;
450 at25,addr-mode = <4>;
451 at25,page-size = <256>;
452
453 compatible = "atmel,at25";
454 reg = <0>;
455 spi-max-frequency = <1000000>;
456 };
457 };
458
459 cfam2_spi1: spi@20 {
460 reg = <0x20>;
461 #address-cells = <1>;
462 #size-cells = <0>;
463
464 eeprom@0 {
465 at25,byte-len = <0x80000>;
466 at25,addr-mode = <4>;
467 at25,page-size = <256>;
468
469 compatible = "atmel,at25";
470 reg = <0>;
471 spi-max-frequency = <1000000>;
472 };
473 };
474
475 cfam2_spi2: spi@40 {
476 reg = <0x40>;
477 #address-cells = <1>;
478 #size-cells = <0>;
479
480 eeprom@0 {
481 at25,byte-len = <0x80000>;
482 at25,addr-mode = <4>;
483 at25,page-size = <256>;
484
485 compatible = "atmel,at25";
486 reg = <0>;
487 spi-max-frequency = <1000000>;
488 };
489 };
490
491 cfam2_spi3: spi@60 {
492 reg = <0x60>;
493 #address-cells = <1>;
494 #size-cells = <0>;
495
496 eeprom@0 {
497 at25,byte-len = <0x80000>;
498 at25,addr-mode = <4>;
499 at25,page-size = <256>;
500
501 compatible = "atmel,at25";
502 reg = <0>;
503 spi-max-frequency = <1000000>;
504 };
505 };
506 };
507
508 sbefifo@2400 {
509 compatible = "ibm,p9-sbefifo";
510 reg = <0x2400 0x400>;
511 #address-cells = <1>;
512 #size-cells = <0>;
513
514 fsi_occ2: occ {
515 compatible = "ibm,p10-occ";
516 };
517 };
518
519 fsi_hub2: hub@3400 {
520 compatible = "fsi-master-hub";
521 reg = <0x3400 0x400>;
522 #address-cells = <2>;
523 #size-cells = <0>;
524
525 no-scan-on-init;
526 };
527 };
528};
529
530/* Legacy OCC numbering (to get rid of when userspace is fixed) */
531&fsi_occ0 {
532 reg = <1>;
533};
534
535&fsi_occ1 {
536 reg = <2>;
537};
538
539&fsi_occ2 {
540 reg = <3>;
541};
542
543&ibt {
544 status = "okay";
545};
546
547&i2c0 {
548 status = "okay";
549
550 eeprom@51 {
551 compatible = "atmel,24c64";
552 reg = <0x51>;
553 };
554
555 tca9554@40 {
556 compatible = "ti,tca9554";
557 reg = <0x40>;
558 gpio-controller;
559 #gpio-cells = <2>;
560
561 smbus0 {
562 gpio-hog;
563 gpios = <4 GPIO_ACTIVE_HIGH>;
564 output-high;
565 line-name = "smbus0";
566 };
567 };
568
569};
570
571&i2c1 {
572 status = "okay";
573};
574
575&i2c2 {
576 status = "okay";
577};
578
579&i2c3 {
580 status = "okay";
581
582 power-supply@68 {
583 compatible = "ibm,cffps";
584 reg = <0x68>;
585 };
586
587 power-supply@69 {
588 compatible = "ibm,cffps";
589 reg = <0x69>;
590 };
591
592 power-supply@6a {
593 compatible = "ibm,cffps";
594 reg = <0x6a>;
595 };
596
597 power-supply@6b {
598 compatible = "ibm,cffps";
599 reg = <0x6b>;
600 };
601};
602
603&i2c4 {
604 status = "okay";
605
606 tmp275@48 {
607 compatible = "ti,tmp275";
608 reg = <0x48>;
609 };
610
611 tmp275@49 {
612 compatible = "ti,tmp275";
613 reg = <0x49>;
614 };
615
616 tmp275@4a {
617 compatible = "ti,tmp275";
618 reg = <0x4a>;
619 };
620
621 eeprom@50 {
622 compatible = "atmel,24c64";
623 reg = <0x50>;
624 };
625
626 eeprom@51 {
627 compatible = "atmel,24c64";
628 reg = <0x51>;
629 };
630
631 eeprom@52 {
632 compatible = "atmel,24c64";
633 reg = <0x52>;
634 };
635};
636
637&i2c5 {
638 status = "okay";
639
640 tmp275@48 {
641 compatible = "ti,tmp275";
642 reg = <0x48>;
643 };
644
645 tmp275@49 {
646 compatible = "ti,tmp275";
647 reg = <0x49>;
648 };
649
650 eeprom@50 {
651 compatible = "atmel,24c64";
652 reg = <0x50>;
653 };
654
655 eeprom@51 {
656 compatible = "atmel,24c64";
657 reg = <0x51>;
658 };
659};
660
661&i2c6 {
662 status = "okay";
663
664 tmp275@48 {
665 compatible = "ti,tmp275";
666 reg = <0x48>;
667 };
668
669 tmp275@4a {
670 compatible = "ti,tmp275";
671 reg = <0x4a>;
672 };
673
674 tmp275@4b {
675 compatible = "ti,tmp275";
676 reg = <0x4b>;
677 };
678
679 eeprom@50 {
680 compatible = "atmel,24c64";
681 reg = <0x50>;
682 };
683
684 eeprom@51 {
685 compatible = "atmel,24c64";
686 reg = <0x51>;
687 };
688
689 eeprom@52 {
690 compatible = "atmel,24c64";
691 reg = <0x52>;
692 };
693
694 eeprom@53 {
695 compatible = "atmel,24c64";
696 reg = <0x53>;
697 };
698};
699
700&i2c7 {
701 status = "okay";
702
703 si7021-a20@20 {
704 compatible = "silabs,si7020";
705 reg = <0x20>;
706 };
707
708 tmp275@48 {
709 compatible = "ti,tmp275";
710 reg = <0x48>;
711 };
712
713 max31785@52 {
714 compatible = "maxim,max31785a";
715 reg = <0x52>;
716 #address-cells = <1>;
717 #size-cells = <0>;
718
719 fan@0 {
720 compatible = "pmbus-fan";
721 reg = <0>;
722 tach-pulses = <2>;
723 };
724
725 fan@1 {
726 compatible = "pmbus-fan";
727 reg = <1>;
728 tach-pulses = <2>;
729 };
730
731 fan@2 {
732 compatible = "pmbus-fan";
733 reg = <2>;
734 tach-pulses = <2>;
735 };
736
737 fan@3 {
738 compatible = "pmbus-fan";
739 reg = <3>;
740 tach-pulses = <2>;
741 };
742 };
743
744 pca0: pca9552@61 {
745 compatible = "nxp,pca9552";
746 reg = <0x61>;
747 #address-cells = <1>;
748 #size-cells = <0>;
749
750 gpio-controller;
751 #gpio-cells = <2>;
752
753 gpio@0 {
754 reg = <0>;
755 type = <PCA955X_TYPE_GPIO>;
756 };
757
758 gpio@1 {
759 reg = <1>;
760 type = <PCA955X_TYPE_GPIO>;
761 };
762
763 gpio@2 {
764 reg = <2>;
765 type = <PCA955X_TYPE_GPIO>;
766 };
767
768 gpio@3 {
769 reg = <3>;
770 type = <PCA955X_TYPE_GPIO>;
771 };
772
773 gpio@4 {
774 reg = <4>;
775 type = <PCA955X_TYPE_GPIO>;
776 };
777
778 gpio@5 {
779 reg = <5>;
780 type = <PCA955X_TYPE_GPIO>;
781 };
782
783 gpio@6 {
784 reg = <6>;
785 type = <PCA955X_TYPE_GPIO>;
786 };
787
788 gpio@7 {
789 reg = <7>;
790 type = <PCA955X_TYPE_GPIO>;
791 };
792
793 gpio@8 {
794 reg = <8>;
795 type = <PCA955X_TYPE_GPIO>;
796 };
797
798 gpio@9 {
799 reg = <9>;
800 type = <PCA955X_TYPE_GPIO>;
801 };
802
803 gpio@10 {
804 reg = <10>;
805 type = <PCA955X_TYPE_GPIO>;
806 };
807
808 gpio@11 {
809 reg = <11>;
810 type = <PCA955X_TYPE_GPIO>;
811 };
812
813 gpio@12 {
814 reg = <12>;
815 type = <PCA955X_TYPE_GPIO>;
816 };
817
818 gpio@13 {
819 reg = <13>;
820 type = <PCA955X_TYPE_GPIO>;
821 };
822
823 gpio@14 {
824 reg = <14>;
825 type = <PCA955X_TYPE_GPIO>;
826 };
827
828 gpio@15 {
829 reg = <15>;
830 type = <PCA955X_TYPE_GPIO>;
831 };
832 };
833
834 dps: dps310@76 {
835 compatible = "infineon,dps310";
836 reg = <0x76>;
837 #io-channel-cells = <0>;
838 };
839
840 eeprom@50 {
841 compatible = "atmel,24c64";
842 reg = <0x50>;
843 };
844
845 eeprom@51 {
846 compatible = "atmel,24c64";
847 reg = <0x51>;
848 };
849};
850
851&i2c8 {
852 status = "okay";
853
854 ucd90320@11 {
855 compatible = "ti,ucd90320";
856 reg = <0x11>;
857 };
858
859 rtc@32 {
860 compatible = "epson,rx8900";
861 reg = <0x32>;
862 };
863
864 tmp275@48 {
865 compatible = "ti,tmp275";
866 reg = <0x48>;
867 };
868
869 tmp275@4a {
870 compatible = "ti,tmp275";
871 reg = <0x4a>;
872 };
873
874 eeprom@50 {
875 compatible = "atmel,24c64";
876 reg = <0x50>;
877 };
878
879 eeprom@51 {
880 compatible = "atmel,24c64";
881 reg = <0x51>;
882 };
883
884 pca1: pca9552@61 {
885 compatible = "nxp,pca9552";
886 reg = <0x61>;
887 #address-cells = <1>;
888 #size-cells = <0>;
889 gpio-controller;
890 #gpio-cells = <2>;
891
892 gpio@0 {
893 reg = <0>;
894 type = <PCA955X_TYPE_GPIO>;
895 };
896
897 gpio@1 {
898 reg = <1>;
899 type = <PCA955X_TYPE_GPIO>;
900 };
901
902 gpio@2 {
903 reg = <2>;
904 type = <PCA955X_TYPE_GPIO>;
905 };
906
907 gpio@3 {
908 reg = <3>;
909 type = <PCA955X_TYPE_GPIO>;
910 };
911
912 gpio@4 {
913 reg = <4>;
914 type = <PCA955X_TYPE_GPIO>;
915 };
916
917 gpio@5 {
918 reg = <5>;
919 type = <PCA955X_TYPE_GPIO>;
920 };
921
922 gpio@6 {
923 reg = <6>;
924 type = <PCA955X_TYPE_GPIO>;
925 };
926
927 gpio@7 {
928 reg = <7>;
929 type = <PCA955X_TYPE_GPIO>;
930 };
931
932 gpio@8 {
933 reg = <8>;
934 type = <PCA955X_TYPE_GPIO>;
935 };
936
937 gpio@9 {
938 reg = <9>;
939 type = <PCA955X_TYPE_GPIO>;
940 };
941
942 gpio@10 {
943 reg = <10>;
944 type = <PCA955X_TYPE_GPIO>;
945 };
946
947 gpio@11 {
948 reg = <11>;
949 type = <PCA955X_TYPE_GPIO>;
950 };
951
952 gpio@12 {
953 reg = <12>;
954 type = <PCA955X_TYPE_GPIO>;
955 };
956
957 gpio@13 {
958 reg = <13>;
959 type = <PCA955X_TYPE_GPIO>;
960 };
961
962 gpio@14 {
963 reg = <14>;
964 type = <PCA955X_TYPE_GPIO>;
965 };
966
967 gpio@15 {
968 reg = <15>;
969 type = <PCA955X_TYPE_GPIO>;
970 };
971 };
972
973};
974
975&i2c9 {
976 status = "okay";
977
978 tmp423a@4c {
979 compatible = "ti,tmp423";
980 reg = <0x4c>;
981 };
982
983 tmp423b@4d {
984 compatible = "ti,tmp423";
985 reg = <0x4d>;
986 };
987
988 eeprom@50 {
989 compatible = "atmel,24c128";
990 reg = <0x50>;
991 };
992};
993
994&i2c10 {
995 status = "okay";
996
997 tmp423a@4c {
998 compatible = "ti,tmp423";
999 reg = <0x4c>;
1000 };
1001
1002 tmp423b@4d {
1003 compatible = "ti,tmp423";
1004 reg = <0x4d>;
1005 };
1006
1007 eeprom@50 {
1008 compatible = "atmel,24c128";
1009 reg = <0x50>;
1010 };
1011};
1012
1013&i2c11 {
1014 status = "okay";
1015
1016 tmp275@48 {
1017 compatible = "ti,tmp275";
1018 reg = <0x48>;
1019 };
1020
1021 tmp275@49 {
1022 compatible = "ti,tmp275";
1023 reg = <0x49>;
1024 };
1025
1026 eeprom@50 {
1027 compatible = "atmel,24c64";
1028 reg = <0x50>;
1029 };
1030
1031 eeprom@51 {
1032 compatible = "atmel,24c64";
1033 reg = <0x51>;
1034 };
1035};
1036
1037&i2c12 {
1038 status = "okay";
1039};
1040
1041&i2c13 {
1042 status = "okay";
1043
1044 eeprom@50 {
1045 compatible = "atmel,24c64";
1046 reg = <0x50>;
1047 };
1048};
1049
1050&i2c14 {
1051 status = "okay";
1052
1053 eeprom@50 {
1054 compatible = "atmel,24c64";
1055 reg = <0x50>;
1056 };
1057};
1058
1059&i2c15 {
1060 status = "okay";
1061
1062 eeprom@50 {
1063 compatible = "atmel,24c64";
1064 reg = <0x50>;
1065 };
1066};
1067
1068&vuart1 {
1069 status = "okay";
1070};
1071
1072&vuart2 {
1073 status = "okay";
1074};
1075
1076&lpc_ctrl {
1077 status = "okay";
1078 memory-region = <&flash_memory>;
1079};
1080
1081&mac2 {
1082 status = "okay";
1083 pinctrl-names = "default";
1084 pinctrl-0 = <&pinctrl_rmii3_default>;
1085 clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
1086 <&syscon ASPEED_CLK_MAC3RCLK>;
1087 clock-names = "MACCLK", "RCLK";
1088 use-ncsi;
1089};
1090
1091&mac3 {
1092 status = "okay";
1093 pinctrl-names = "default";
1094 pinctrl-0 = <&pinctrl_rmii4_default>;
1095 clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
1096 <&syscon ASPEED_CLK_MAC4RCLK>;
1097 clock-names = "MACCLK", "RCLK";
1098 use-ncsi;
1099};
1100
1101&fmc {
1102 status = "okay";
1103 flash@0 {
1104 status = "okay";
1105 m25p,fast-read;
1106 label = "bmc";
1107 spi-max-frequency = <50000000>;
1108#include "openbmc-flash-layout-128.dtsi"
1109 };
1110};
1111
1112&spi1 {
1113 status = "okay";
1114 pinctrl-names = "default";
1115 pinctrl-0 = <&pinctrl_spi1_default>;
1116
1117 flash@0 {
1118 status = "okay";
1119 m25p,fast-read;
1120 label = "pnor";
1121 spi-max-frequency = <100000000>;
1122 };
1123};