Merge tag 'for-5.15/parisc' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[linux-2.6-microblaze.git] / arch / arm / boot / dts / aspeed-bmc-ibm-rainier.dts
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*/       "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","","",
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 };