Merge tag 'regulator-fix-v5.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel...
[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*/       "","","","","","","","",
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         /*AA0-AA7*/     "","","","","","","","",
285         /*AB0-AB7*/     "","","","","","","","",
286         /*AC0-AC7*/     "","","","","","","","";
287
288         pin_mclr_vpp {
289                 gpio-hog;
290                 gpios = <ASPEED_GPIO(P, 7) GPIO_OPEN_DRAIN>;
291                 output-high;
292                 line-name = "mclr_vpp";
293         };
294
295         i2c3_mux_oe_n {
296                 gpio-hog;
297                 gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>;
298                 output-high;
299                 line-name = "I2C3_MUX_OE_N";
300         };
301 };
302
303 &emmc_controller {
304         status = "okay";
305 };
306
307 &pinctrl_emmc_default {
308         bias-disable;
309 };
310
311 &emmc {
312         status = "okay";
313         clk-phase-mmc-hs200 = <180>, <180>;
314 };
315
316 &fsim0 {
317         status = "okay";
318
319         #address-cells = <2>;
320         #size-cells = <0>;
321
322         /*
323          * CFAM Reset is supposed to be active low but pass1 hardware is wired
324          * active high.
325          */
326         cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
327
328         cfam@0,0 {
329                 reg = <0 0>;
330                 #address-cells = <1>;
331                 #size-cells = <1>;
332                 chip-id = <0>;
333
334                 scom@1000 {
335                         compatible = "ibm,fsi2pib";
336                         reg = <0x1000 0x400>;
337                 };
338
339                 i2c@1800 {
340                         compatible = "ibm,fsi-i2c-master";
341                         reg = <0x1800 0x400>;
342                         #address-cells = <1>;
343                         #size-cells = <0>;
344
345                         cfam0_i2c0: i2c-bus@0 {
346                                 reg = <0>;      /* OMI01 */
347                         };
348
349                         cfam0_i2c1: i2c-bus@1 {
350                                 reg = <1>;      /* OMI23 */
351                         };
352
353                         cfam0_i2c10: i2c-bus@a {
354                                 reg = <10>;     /* OP3A */
355                         };
356
357                         cfam0_i2c11: i2c-bus@b {
358                                 reg = <11>;     /* OP3B */
359                         };
360
361                         cfam0_i2c12: i2c-bus@c {
362                                 reg = <12>;     /* OP4A */
363                         };
364
365                         cfam0_i2c13: i2c-bus@d {
366                                 reg = <13>;     /* OP4B */
367                         };
368
369                         cfam0_i2c14: i2c-bus@e {
370                                 reg = <14>;     /* OP5A */
371                         };
372
373                         cfam0_i2c15: i2c-bus@f {
374                                 reg = <15>;     /* OP5B */
375                         };
376                 };
377
378                 fsi2spi@1c00 {
379                         compatible = "ibm,fsi2spi";
380                         reg = <0x1c00 0x400>;
381                         #address-cells = <1>;
382                         #size-cells = <0>;
383
384                         cfam0_spi0: spi@0 {
385                                 reg = <0x0>;
386                                 #address-cells = <1>;
387                                 #size-cells = <0>;
388
389                                 eeprom@0 {
390                                         at25,byte-len = <0x80000>;
391                                         at25,addr-mode = <4>;
392                                         at25,page-size = <256>;
393
394                                         compatible = "atmel,at25";
395                                         reg = <0>;
396                                         spi-max-frequency = <1000000>;
397                                 };
398                         };
399
400                         cfam0_spi1: spi@20 {
401                                 reg = <0x20>;
402                                 #address-cells = <1>;
403                                 #size-cells = <0>;
404
405                                 eeprom@0 {
406                                         at25,byte-len = <0x80000>;
407                                         at25,addr-mode = <4>;
408                                         at25,page-size = <256>;
409
410                                         compatible = "atmel,at25";
411                                         reg = <0>;
412                                         spi-max-frequency = <1000000>;
413                                 };
414                         };
415
416                         cfam0_spi2: spi@40 {
417                                 reg = <0x40>;
418                                 compatible = "ibm,fsi2spi-restricted";
419                                 #address-cells = <1>;
420                                 #size-cells = <0>;
421
422                                 eeprom@0 {
423                                         at25,byte-len = <0x80000>;
424                                         at25,addr-mode = <4>;
425                                         at25,page-size = <256>;
426
427                                         compatible = "atmel,at25";
428                                         reg = <0>;
429                                         spi-max-frequency = <1000000>;
430                                 };
431                         };
432
433                         cfam0_spi3: spi@60 {
434                                 reg = <0x60>;
435                                 compatible = "ibm,fsi2spi-restricted";
436                                 #address-cells = <1>;
437                                 #size-cells = <0>;
438
439                                 eeprom@0 {
440                                         at25,byte-len = <0x80000>;
441                                         at25,addr-mode = <4>;
442                                         at25,page-size = <256>;
443
444                                         compatible = "atmel,at25";
445                                         reg = <0>;
446                                         spi-max-frequency = <1000000>;
447                                 };
448                         };
449                 };
450
451                 sbefifo@2400 {
452                         compatible = "ibm,p9-sbefifo";
453                         reg = <0x2400 0x400>;
454                         #address-cells = <1>;
455                         #size-cells = <0>;
456
457                         fsi_occ0: occ {
458                                 compatible = "ibm,p10-occ";
459                         };
460                 };
461
462                 fsi_hub0: hub@3400 {
463                         compatible = "fsi-master-hub";
464                         reg = <0x3400 0x400>;
465                         #address-cells = <2>;
466                         #size-cells = <0>;
467                 };
468         };
469 };
470
471 &fsi_hub0 {
472         cfam@1,0 {
473                 reg = <1 0>;
474                 #address-cells = <1>;
475                 #size-cells = <1>;
476                 chip-id = <1>;
477
478                 scom@1000 {
479                         compatible = "ibm,fsi2pib";
480                         reg = <0x1000 0x400>;
481                 };
482
483                 i2c@1800 {
484                         compatible = "ibm,fsi-i2c-master";
485                         reg = <0x1800 0x400>;
486                         #address-cells = <1>;
487                         #size-cells = <0>;
488
489                         cfam1_i2c2: i2c-bus@2 {
490                                 reg = <2>;      /* OMI45 */
491                         };
492
493                         cfam1_i2c3: i2c-bus@3 {
494                                 reg = <3>;      /* OMI67 */
495                         };
496
497                         cfam1_i2c10: i2c-bus@a {
498                                 reg = <10>;     /* OP3A */
499                         };
500
501                         cfam1_i2c11: i2c-bus@b {
502                                 reg = <11>;     /* OP3B */
503                         };
504
505                         cfam1_i2c14: i2c-bus@e {
506                                 reg = <14>;     /* OP5A */
507                         };
508
509                         cfam1_i2c15: i2c-bus@f {
510                                 reg = <15>;     /* OP5B */
511                         };
512
513                         cfam1_i2c16: i2c-bus@10 {
514                                 reg = <16>;     /* OP6A */
515                         };
516
517                         cfam1_i2c17: i2c-bus@11 {
518                                 reg = <17>;     /* OP6B */
519                         };
520                 };
521
522                 fsi2spi@1c00 {
523                         compatible = "ibm,fsi2spi";
524                         reg = <0x1c00 0x400>;
525                         #address-cells = <1>;
526                         #size-cells = <0>;
527
528                         cfam1_spi0: spi@0 {
529                                 reg = <0x0>;
530                                 #address-cells = <1>;
531                                 #size-cells = <0>;
532
533                                 eeprom@0 {
534                                         at25,byte-len = <0x80000>;
535                                         at25,addr-mode = <4>;
536                                         at25,page-size = <256>;
537
538                                         compatible = "atmel,at25";
539                                         reg = <0>;
540                                         spi-max-frequency = <1000000>;
541                                 };
542                         };
543
544                         cfam1_spi1: spi@20 {
545                                 reg = <0x20>;
546                                 #address-cells = <1>;
547                                 #size-cells = <0>;
548
549                                 eeprom@0 {
550                                         at25,byte-len = <0x80000>;
551                                         at25,addr-mode = <4>;
552                                         at25,page-size = <256>;
553
554                                         compatible = "atmel,at25";
555                                         reg = <0>;
556                                         spi-max-frequency = <1000000>;
557                                 };
558                         };
559
560                         cfam1_spi2: spi@40 {
561                                 reg = <0x40>;
562                                 compatible = "ibm,fsi2spi-restricted";
563                                 #address-cells = <1>;
564                                 #size-cells = <0>;
565
566                                 eeprom@0 {
567                                         at25,byte-len = <0x80000>;
568                                         at25,addr-mode = <4>;
569                                         at25,page-size = <256>;
570
571                                         compatible = "atmel,at25";
572                                         reg = <0>;
573                                         spi-max-frequency = <1000000>;
574                                 };
575                         };
576
577                         cfam1_spi3: spi@60 {
578                                 reg = <0x60>;
579                                 compatible = "ibm,fsi2spi-restricted";
580                                 #address-cells = <1>;
581                                 #size-cells = <0>;
582
583                                 eeprom@0 {
584                                         at25,byte-len = <0x80000>;
585                                         at25,addr-mode = <4>;
586                                         at25,page-size = <256>;
587
588                                         compatible = "atmel,at25";
589                                         reg = <0>;
590                                         spi-max-frequency = <1000000>;
591                                 };
592                         };
593                 };
594
595                 sbefifo@2400 {
596                         compatible = "ibm,p9-sbefifo";
597                         reg = <0x2400 0x400>;
598                         #address-cells = <1>;
599                         #size-cells = <0>;
600
601                         fsi_occ1: occ {
602                                 compatible = "ibm,p10-occ";
603                         };
604                 };
605
606                 fsi_hub1: hub@3400 {
607                         compatible = "fsi-master-hub";
608                         reg = <0x3400 0x400>;
609                         #address-cells = <2>;
610                         #size-cells = <0>;
611
612                         no-scan-on-init;
613                 };
614         };
615
616         cfam@2,0 {
617                 reg = <2 0>;
618                 #address-cells = <1>;
619                 #size-cells = <1>;
620                 chip-id = <2>;
621
622                 scom@1000 {
623                         compatible = "ibm,fsi2pib";
624                         reg = <0x1000 0x400>;
625                 };
626
627                 i2c@1800 {
628                         compatible = "ibm,fsi-i2c-master";
629                         reg = <0x1800 0x400>;
630                         #address-cells = <1>;
631                         #size-cells = <0>;
632
633                         cfam2_i2c0: i2c-bus@0 {
634                                 reg = <0>;      /* OM01 */
635                         };
636
637                         cfam2_i2c1: i2c-bus@1 {
638                                 reg = <1>;      /* OM23 */
639                         };
640
641                         cfam2_i2c10: i2c-bus@a {
642                                 reg = <10>;     /* OP3A */
643                         };
644
645                         cfam2_i2c11: i2c-bus@b {
646                                 reg = <11>;     /* OP3B */
647                         };
648
649                         cfam2_i2c12: i2c-bus@c {
650                                 reg = <12>;     /* OP4A */
651                         };
652
653                         cfam2_i2c13: i2c-bus@d {
654                                 reg = <13>;     /* OP4B */
655                         };
656
657                         cfam2_i2c14: i2c-bus@e {
658                                 reg = <14>;     /* OP5A */
659                         };
660
661                         cfam2_i2c15: i2c-bus@f {
662                                 reg = <15>;     /* OP5B */
663                         };
664                 };
665
666                 fsi2spi@1c00 {
667                         compatible = "ibm,fsi2spi";
668                         reg = <0x1c00 0x400>;
669                         #address-cells = <1>;
670                         #size-cells = <0>;
671
672                         cfam2_spi0: spi@0 {
673                                 reg = <0x0>;
674                                 #address-cells = <1>;
675                                 #size-cells = <0>;
676
677                                 eeprom@0 {
678                                         at25,byte-len = <0x80000>;
679                                         at25,addr-mode = <4>;
680                                         at25,page-size = <256>;
681
682                                         compatible = "atmel,at25";
683                                         reg = <0>;
684                                         spi-max-frequency = <1000000>;
685                                 };
686                         };
687
688                         cfam2_spi1: spi@20 {
689                                 reg = <0x20>;
690                                 #address-cells = <1>;
691                                 #size-cells = <0>;
692
693                                 eeprom@0 {
694                                         at25,byte-len = <0x80000>;
695                                         at25,addr-mode = <4>;
696                                         at25,page-size = <256>;
697
698                                         compatible = "atmel,at25";
699                                         reg = <0>;
700                                         spi-max-frequency = <1000000>;
701                                 };
702                         };
703
704                         cfam2_spi2: spi@40 {
705                                 reg = <0x40>;
706                                 compatible = "ibm,fsi2spi-restricted";
707                                 #address-cells = <1>;
708                                 #size-cells = <0>;
709
710                                 eeprom@0 {
711                                         at25,byte-len = <0x80000>;
712                                         at25,addr-mode = <4>;
713                                         at25,page-size = <256>;
714
715                                         compatible = "atmel,at25";
716                                         reg = <0>;
717                                         spi-max-frequency = <1000000>;
718                                 };
719                         };
720
721                         cfam2_spi3: spi@60 {
722                                 reg = <0x60>;
723                                 compatible = "ibm,fsi2spi-restricted";
724                                 #address-cells = <1>;
725                                 #size-cells = <0>;
726
727                                 eeprom@0 {
728                                         at25,byte-len = <0x80000>;
729                                         at25,addr-mode = <4>;
730                                         at25,page-size = <256>;
731
732                                         compatible = "atmel,at25";
733                                         reg = <0>;
734                                         spi-max-frequency = <1000000>;
735                                 };
736                         };
737                 };
738
739                 sbefifo@2400 {
740                         compatible = "ibm,p9-sbefifo";
741                         reg = <0x2400 0x400>;
742                         #address-cells = <1>;
743                         #size-cells = <0>;
744
745                         fsi_occ2: occ {
746                                 compatible = "ibm,p10-occ";
747                         };
748                 };
749
750                 fsi_hub2: hub@3400 {
751                         compatible = "fsi-master-hub";
752                         reg = <0x3400 0x400>;
753                         #address-cells = <2>;
754                         #size-cells = <0>;
755
756                         no-scan-on-init;
757                 };
758         };
759
760         cfam@3,0 {
761                 reg = <3 0>;
762                 #address-cells = <1>;
763                 #size-cells = <1>;
764                 chip-id = <3>;
765
766                 scom@1000 {
767                         compatible = "ibm,fsi2pib";
768                         reg = <0x1000 0x400>;
769                 };
770
771                 i2c@1800 {
772                         compatible = "ibm,fsi-i2c-master";
773                         reg = <0x1800 0x400>;
774                         #address-cells = <1>;
775                         #size-cells = <0>;
776
777                         cfam3_i2c2: i2c-bus@2 {
778                                 reg = <2>;      /* OM45 */
779                         };
780
781                         cfam3_i2c3: i2c-bus@3 {
782                                 reg = <3>;      /* OM67 */
783                         };
784
785                         cfam3_i2c10: i2c-bus@a {
786                                 reg = <10>;     /* OP3A */
787                         };
788
789                         cfam3_i2c11: i2c-bus@b {
790                                 reg = <11>;     /* OP3B */
791                         };
792
793                         cfam3_i2c14: i2c-bus@e {
794                                 reg = <14>;     /* OP5A */
795                         };
796
797                         cfam3_i2c15: i2c-bus@f {
798                                 reg = <15>;     /* OP5B */
799                         };
800
801                         cfam3_i2c16: i2c-bus@10 {
802                                 reg = <16>;     /* OP6A */
803                         };
804
805                         cfam3_i2c17: i2c-bus@11 {
806                                 reg = <17>;     /* OP6B */
807                         };
808                 };
809
810                 fsi2spi@1c00 {
811                         compatible = "ibm,fsi2spi";
812                         reg = <0x1c00 0x400>;
813                         #address-cells = <1>;
814                         #size-cells = <0>;
815
816                         cfam3_spi0: spi@0 {
817                                 reg = <0x0>;
818                                 #address-cells = <1>;
819                                 #size-cells = <0>;
820
821                                 eeprom@0 {
822                                         at25,byte-len = <0x80000>;
823                                         at25,addr-mode = <4>;
824                                         at25,page-size = <256>;
825
826                                         compatible = "atmel,at25";
827                                         reg = <0>;
828                                         spi-max-frequency = <1000000>;
829                                 };
830                         };
831
832                         cfam3_spi1: spi@20 {
833                                 reg = <0x20>;
834                                 #address-cells = <1>;
835                                 #size-cells = <0>;
836
837                                 eeprom@0 {
838                                         at25,byte-len = <0x80000>;
839                                         at25,addr-mode = <4>;
840                                         at25,page-size = <256>;
841
842                                         compatible = "atmel,at25";
843                                         reg = <0>;
844                                         spi-max-frequency = <1000000>;
845                                 };
846                         };
847
848                         cfam3_spi2: spi@40 {
849                                 reg = <0x40>;
850                                 compatible = "ibm,fsi2spi-restricted";
851                                 #address-cells = <1>;
852                                 #size-cells = <0>;
853
854                                 eeprom@0 {
855                                         at25,byte-len = <0x80000>;
856                                         at25,addr-mode = <4>;
857                                         at25,page-size = <256>;
858
859                                         compatible = "atmel,at25";
860                                         reg = <0>;
861                                         spi-max-frequency = <1000000>;
862                                 };
863                         };
864
865                         cfam3_spi3: spi@60 {
866                                 reg = <0x60>;
867                                 compatible = "ibm,fsi2spi-restricted";
868                                 #address-cells = <1>;
869                                 #size-cells = <0>;
870
871                                 eeprom@0 {
872                                         at25,byte-len = <0x80000>;
873                                         at25,addr-mode = <4>;
874                                         at25,page-size = <256>;
875
876                                         compatible = "atmel,at25";
877                                         reg = <0>;
878                                         spi-max-frequency = <1000000>;
879                                 };
880                         };
881                 };
882
883                 sbefifo@2400 {
884                         compatible = "ibm,p9-sbefifo";
885                         reg = <0x2400 0x400>;
886                         #address-cells = <1>;
887                         #size-cells = <0>;
888
889                         fsi_occ3: occ {
890                                 compatible = "ibm,p10-occ";
891                         };
892                 };
893
894                 fsi_hub3: hub@3400 {
895                         compatible = "fsi-master-hub";
896                         reg = <0x3400 0x400>;
897                         #address-cells = <2>;
898                         #size-cells = <0>;
899
900                         no-scan-on-init;
901                 };
902         };
903 };
904
905 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
906 &fsi_occ0 {
907         reg = <1>;
908 };
909
910 &fsi_occ1 {
911         reg = <2>;
912 };
913
914 &fsi_occ2 {
915         reg = <3>;
916 };
917
918 &fsi_occ3 {
919         reg = <4>;
920 };
921
922 &ibt {
923         status = "okay";
924 };
925
926 &i2c0 {
927         status = "okay";
928
929         eeprom@51 {
930                 compatible = "atmel,24c64";
931                 reg = <0x51>;
932         };
933
934         tca_pres1: tca9554@20{
935                 compatible = "ti,tca9554";
936                 reg = <0x20>;
937                 #address-cells = <1>;
938                 #size-cells = <0>;
939
940                 gpio-controller;
941                 #gpio-cells = <2>;
942
943                 gpio-line-names = "",
944                         "RUSSEL_FW_I2C_ENABLE_N",
945                         "RUSSEL_OPPANEL_PRESENCE_N",
946                         "BLYTH_OPPANEL_PRESENCE_N",
947                         "CPU_TPM_CARD_PRESENT_N",
948                         "DASD_BP2_PRESENT_N",
949                         "DASD_BP1_PRESENT_N",
950                         "DASD_BP0_PRESENT_N";
951
952                 gpio@0 {
953                         reg = <0>;
954                         type = <PCA955X_TYPE_GPIO>;
955                 };
956
957                 gpio@1 {
958                         reg = <1>;
959                         type = <PCA955X_TYPE_GPIO>;
960                 };
961
962                 gpio@2 {
963                         reg = <2>;
964                         type = <PCA955X_TYPE_GPIO>;
965                 };
966
967                 gpio@3 {
968                         reg = <3>;
969                         type = <PCA955X_TYPE_GPIO>;
970                 };
971
972                 gpio@4 {
973                         reg = <4>;
974                         type = <PCA955X_TYPE_GPIO>;
975                 };
976
977                 gpio@5 {
978                         reg = <5>;
979                         type = <PCA955X_TYPE_GPIO>;
980                 };
981
982                 gpio@6 {
983                         reg = <6>;
984                         type = <PCA955X_TYPE_GPIO>;
985                 };
986
987                 gpio@7 {
988                         reg = <7>;
989                         type = <PCA955X_TYPE_GPIO>;
990                 };
991         };
992 };
993
994 &i2c1 {
995         status = "okay";
996 };
997
998 &i2c2 {
999         status = "okay";
1000 };
1001
1002 &i2c3 {
1003         status = "okay";
1004
1005         power-supply@68 {
1006                 compatible = "ibm,cffps";
1007                 reg = <0x68>;
1008         };
1009
1010         power-supply@69 {
1011                 compatible = "ibm,cffps";
1012                 reg = <0x69>;
1013         };
1014
1015         pca_pres1: pca9552@61 {
1016                 compatible = "nxp,pca9552";
1017                 reg = <0x61>;
1018                 #address-cells = <1>;
1019                 #size-cells = <0>;
1020
1021                 gpio-controller;
1022                 #gpio-cells = <2>;
1023
1024                 gpio-line-names =
1025                         "SLOT0_PRSNT_EN_RSVD", "SLOT1_PRSNT_EN_RSVD",
1026                         "SLOT2_PRSNT_EN_RSVD", "SLOT3_PRSNT_EN_RSVD",
1027                         "SLOT4_PRSNT_EN_RSVD", "SLOT0_EXPANDER_PRSNT_N",
1028                         "SLOT1_EXPANDER_PRSNT_N", "SLOT2_EXPANDER_PRSNT_N",
1029                         "SLOT3_EXPANDER_PRSNT_N", "SLOT4_EXPANDER_PRSNT_N",
1030                         "", "", "", "", "", "";
1031
1032                 gpio@0 {
1033                         reg = <0>;
1034                         type = <PCA955X_TYPE_GPIO>;
1035                 };
1036
1037                 gpio@1 {
1038                         reg = <1>;
1039                         type = <PCA955X_TYPE_GPIO>;
1040                 };
1041
1042                 gpio@2 {
1043                         reg = <2>;
1044                         type = <PCA955X_TYPE_GPIO>;
1045                 };
1046
1047                 gpio@3 {
1048                         reg = <3>;
1049                         type = <PCA955X_TYPE_GPIO>;
1050                 };
1051
1052                 gpio@4 {
1053                         reg = <4>;
1054                         type = <PCA955X_TYPE_GPIO>;
1055                 };
1056
1057                 gpio@5 {
1058                         reg = <5>;
1059                         type = <PCA955X_TYPE_GPIO>;
1060                 };
1061
1062                 gpio@6 {
1063                         reg = <6>;
1064                         type = <PCA955X_TYPE_GPIO>;
1065                 };
1066
1067                 gpio@7 {
1068                         reg = <7>;
1069                         type = <PCA955X_TYPE_GPIO>;
1070                 };
1071
1072                 gpio@8 {
1073                         reg = <8>;
1074                         type = <PCA955X_TYPE_GPIO>;
1075                 };
1076
1077                 gpio@9 {
1078                         reg = <9>;
1079                         type = <PCA955X_TYPE_GPIO>;
1080                 };
1081
1082                 gpio@10 {
1083                         reg = <10>;
1084                         type = <PCA955X_TYPE_GPIO>;
1085                 };
1086
1087                 gpio@11 {
1088                         reg = <11>;
1089                         type = <PCA955X_TYPE_GPIO>;
1090                 };
1091
1092                 gpio@12 {
1093                         reg = <12>;
1094                         type = <PCA955X_TYPE_GPIO>;
1095                 };
1096
1097                 gpio@13 {
1098                         reg = <13>;
1099                         type = <PCA955X_TYPE_GPIO>;
1100                 };
1101
1102                 gpio@14 {
1103                         reg = <14>;
1104                         type = <PCA955X_TYPE_GPIO>;
1105                 };
1106
1107                 gpio@15 {
1108                         reg = <15>;
1109                         type = <PCA955X_TYPE_GPIO>;
1110                 };
1111         };
1112 };
1113
1114 &i2c4 {
1115         status = "okay";
1116
1117         tmp275@48 {
1118                 compatible = "ti,tmp275";
1119                 reg = <0x48>;
1120         };
1121
1122         tmp275@49 {
1123                 compatible = "ti,tmp275";
1124                 reg = <0x49>;
1125         };
1126
1127         tmp275@4a {
1128                 compatible = "ti,tmp275";
1129                 reg = <0x4a>;
1130         };
1131
1132         pca9546@70 {
1133                 compatible = "nxp,pca9546";
1134                 reg = <0x70>;
1135                 #address-cells = <1>;
1136                 #size-cells = <0>;
1137                 status = "okay";
1138                 i2c-mux-idle-disconnect;
1139
1140                 i2c4mux0chn0: i2c@0 {
1141                         #address-cells = <1>;
1142                         #size-cells = <0>;
1143                         reg = <0>;
1144
1145                         eeprom@50 {
1146                                 compatible = "atmel,24c64";
1147                                 reg = <0x50>;
1148                         };
1149                 };
1150
1151                 i2c4mux0chn1: i2c@1 {
1152                         #address-cells = <1>;
1153                         #size-cells = <0>;
1154                         reg = <1>;
1155
1156                         eeprom@51 {
1157                                 compatible = "atmel,24c64";
1158                                 reg = <0x51>;
1159                         };
1160                 };
1161
1162                 i2c4mux0chn2: i2c@2 {
1163                         #address-cells = <1>;
1164                         #size-cells = <0>;
1165                         reg = <2>;
1166
1167                         eeprom@52 {
1168                                 compatible = "atmel,24c64";
1169                                 reg = <0x52>;
1170                         };
1171                 };
1172         };
1173 };
1174
1175 &i2c5 {
1176         status = "okay";
1177
1178         tmp275@48 {
1179                 compatible = "ti,tmp275";
1180                 reg = <0x48>;
1181         };
1182
1183         tmp275@49 {
1184                 compatible = "ti,tmp275";
1185                 reg = <0x49>;
1186         };
1187
1188         pca9546@70 {
1189                 compatible = "nxp,pca9546";
1190                 reg = <0x70>;
1191                 #address-cells = <1>;
1192                 #size-cells = <0>;
1193                 status = "okay";
1194                 i2c-mux-idle-disconnect;
1195
1196                 i2c5mux0chn0: i2c@0 {
1197                         #address-cells = <1>;
1198                         #size-cells = <0>;
1199                         reg = <0>;
1200
1201                         eeprom@50 {
1202                                 compatible = "atmel,24c64";
1203                                 reg = <0x50>;
1204                         };
1205                 };
1206
1207                 i2c5mux0chn1: i2c@1 {
1208                         #address-cells = <1>;
1209                         #size-cells = <0>;
1210                         reg = <1>;
1211
1212                         eeprom@51 {
1213                                 compatible = "atmel,24c64";
1214                                 reg = <0x51>;
1215                         };
1216                 };
1217         };
1218 };
1219
1220 &i2c6 {
1221         status = "okay";
1222
1223         tmp275@48 {
1224                 compatible = "ti,tmp275";
1225                 reg = <0x48>;
1226         };
1227
1228         tmp275@4a {
1229                 compatible = "ti,tmp275";
1230                 reg = <0x4a>;
1231         };
1232
1233         tmp275@4b {
1234                 compatible = "ti,tmp275";
1235                 reg = <0x4b>;
1236         };
1237
1238         pca9546@70 {
1239                 compatible = "nxp,pca9546";
1240                 reg = <0x70>;
1241                 #address-cells = <1>;
1242                 #size-cells = <0>;
1243                 status = "okay";
1244                 i2c-mux-idle-disconnect;
1245
1246                 i2c6mux0chn0: i2c@0 {
1247                         #address-cells = <1>;
1248                         #size-cells = <0>;
1249                         reg = <0>;
1250
1251                         eeprom@53 {
1252                                 compatible = "atmel,24c64";
1253                                 reg = <0x53>;
1254                         };
1255                 };
1256
1257                 i2c6mux0chn1: i2c@1 {
1258                         #address-cells = <1>;
1259                         #size-cells = <0>;
1260                         reg = <1>;
1261
1262                         eeprom@52 {
1263                                 compatible = "atmel,24c64";
1264                                 reg = <0x52>;
1265                         };
1266                 };
1267
1268                 i2c6mux0chn2: i2c@2 {
1269                         #address-cells = <1>;
1270                         #size-cells = <0>;
1271                         reg = <2>;
1272
1273                         eeprom@50 {
1274                                 compatible = "atmel,24c64";
1275                                 reg = <0x50>;
1276                         };
1277                 };
1278
1279                 i2c6mux0chn3: i2c@3 {
1280                         #address-cells = <1>;
1281                         #size-cells = <0>;
1282                         reg = <3>;
1283
1284                         eeprom@51 {
1285                                 compatible = "atmel,24c64";
1286                                 reg = <0x51>;
1287                         };
1288                 };
1289         };
1290 };
1291
1292 &i2c7 {
1293         multi-master;
1294         status = "okay";
1295
1296         si7021-a20@40 {
1297                 compatible = "silabs,si7020";
1298                 reg = <0x40>;
1299         };
1300
1301         tmp275@48 {
1302                 compatible = "ti,tmp275";
1303                 reg = <0x48>;
1304         };
1305
1306         max: max31785@52 {
1307                 compatible = "maxim,max31785a";
1308                 reg = <0x52>;
1309                 #address-cells = <1>;
1310                 #size-cells = <0>;
1311
1312                 fan0: fan@0 {
1313                         compatible = "pmbus-fan";
1314                         reg = <0>;
1315                         tach-pulses = <2>;
1316                 };
1317
1318                 fan1: fan@1 {
1319                         compatible = "pmbus-fan";
1320                         reg = <1>;
1321                         tach-pulses = <2>;
1322                 };
1323
1324                 fan2: fan@2 {
1325                         compatible = "pmbus-fan";
1326                         reg = <2>;
1327                         tach-pulses = <2>;
1328                 };
1329
1330                 fan3: fan@3 {
1331                         compatible = "pmbus-fan";
1332                         reg = <3>;
1333                         tach-pulses = <2>;
1334                 };
1335
1336                 fan4: fan@4 {
1337                         compatible = "pmbus-fan";
1338                         reg = <4>;
1339                         tach-pulses = <2>;
1340                 };
1341
1342                 fan5: fan@5 {
1343                         compatible = "pmbus-fan";
1344                         reg = <5>;
1345                         tach-pulses = <2>;
1346                 };
1347         };
1348
1349         pca0: pca9552@61 {
1350                 compatible = "nxp,pca9552";
1351                 reg = <0x61>;
1352                 #address-cells = <1>;
1353                 #size-cells = <0>;
1354
1355                 gpio-controller;
1356                 #gpio-cells = <2>;
1357
1358                 gpio@0 {
1359                         reg = <0>;
1360                         type = <PCA955X_TYPE_GPIO>;
1361                 };
1362
1363                 gpio@1 {
1364                         reg = <1>;
1365                         type = <PCA955X_TYPE_GPIO>;
1366                 };
1367
1368                 gpio@2 {
1369                         reg = <2>;
1370                         type = <PCA955X_TYPE_GPIO>;
1371                 };
1372
1373                 gpio@3 {
1374                         reg = <3>;
1375                         type = <PCA955X_TYPE_GPIO>;
1376                 };
1377
1378                 gpio@4 {
1379                         reg = <4>;
1380                         type = <PCA955X_TYPE_GPIO>;
1381                 };
1382
1383                 gpio@5 {
1384                         reg = <5>;
1385                         type = <PCA955X_TYPE_GPIO>;
1386                 };
1387
1388                 gpio@6 {
1389                         reg = <6>;
1390                         type = <PCA955X_TYPE_GPIO>;
1391                 };
1392
1393                 gpio@7 {
1394                         reg = <7>;
1395                         type = <PCA955X_TYPE_GPIO>;
1396                 };
1397
1398                 gpio@8 {
1399                         reg = <8>;
1400                         type = <PCA955X_TYPE_GPIO>;
1401                 };
1402
1403                 gpio@9 {
1404                         reg = <9>;
1405                         type = <PCA955X_TYPE_GPIO>;
1406                 };
1407
1408                 gpio@10 {
1409                         reg = <10>;
1410                         type = <PCA955X_TYPE_GPIO>;
1411                 };
1412
1413                 gpio@11 {
1414                         reg = <11>;
1415                         type = <PCA955X_TYPE_GPIO>;
1416                 };
1417
1418                 gpio@12 {
1419                         reg = <12>;
1420                         type = <PCA955X_TYPE_GPIO>;
1421                 };
1422
1423                 gpio@13 {
1424                         reg = <13>;
1425                         type = <PCA955X_TYPE_GPIO>;
1426                 };
1427
1428                 gpio@14 {
1429                         reg = <14>;
1430                         type = <PCA955X_TYPE_GPIO>;
1431                 };
1432
1433                 gpio@15 {
1434                         reg = <15>;
1435                         type = <PCA955X_TYPE_GPIO>;
1436                 };
1437         };
1438
1439         ibm-panel@62 {
1440                 compatible = "ibm,op-panel";
1441                 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
1442         };
1443
1444         dps: dps310@76 {
1445                 compatible = "infineon,dps310";
1446                 reg = <0x76>;
1447                 #io-channel-cells = <0>;
1448         };
1449
1450         eeprom@50 {
1451                 compatible = "atmel,24c64";
1452                 reg = <0x50>;
1453         };
1454
1455         eeprom@51 {
1456                 compatible = "atmel,24c64";
1457                 reg = <0x51>;
1458         };
1459 };
1460
1461 &i2c8 {
1462         status = "okay";
1463
1464         ucd90320@11 {
1465                 compatible = "ti,ucd90320";
1466                 reg = <0x11>;
1467         };
1468
1469         rtc@32 {
1470                 compatible = "epson,rx8900";
1471                 reg = <0x32>;
1472         };
1473
1474         tmp275@48 {
1475                 compatible = "ti,tmp275";
1476                 reg = <0x48>;
1477         };
1478
1479         tmp275@4a {
1480                 compatible = "ti,tmp275";
1481                 reg = <0x4a>;
1482         };
1483
1484         eeprom@50 {
1485                 compatible = "atmel,24c64";
1486                 reg = <0x50>;
1487         };
1488
1489         eeprom@51 {
1490                 compatible = "atmel,24c64";
1491                 reg = <0x51>;
1492         };
1493
1494         pca_pres2: pca9552@61 {
1495                 compatible = "nxp,pca9552";
1496                 reg = <0x61>;
1497                 #address-cells = <1>;
1498                 #size-cells = <0>;
1499                 gpio-controller;
1500                 #gpio-cells = <2>;
1501
1502                 gpio-line-names =
1503                         "SLOT6_PRSNT_EN_RSVD", "SLOT7_PRSNT_EN_RSVD",
1504                         "SLOT8_PRSNT_EN_RSVD", "SLOT9_PRSNT_EN_RSVD",
1505                         "SLOT10_PRSNT_EN_RSVD", "SLOT11_PRSNT_EN_RSVD",
1506                         "SLOT6_EXPANDER_PRSNT_N", "SLOT7_EXPANDER_PRSNT_N",
1507                         "SLOT8_EXPANDER_PRSNT_N", "SLOT9_EXPANDER_PRSNT_N",
1508                         "SLOT10_EXPANDER_PRSNT_N", "SLOT11_EXPANDER_PRSNT_N",
1509                         "", "", "", "";
1510
1511                 gpio@0 {
1512                         reg = <0>;
1513                         type = <PCA955X_TYPE_GPIO>;
1514                 };
1515
1516                 gpio@1 {
1517                         reg = <1>;
1518                         type = <PCA955X_TYPE_GPIO>;
1519                 };
1520
1521                 gpio@2 {
1522                         reg = <2>;
1523                         type = <PCA955X_TYPE_GPIO>;
1524                 };
1525
1526                 gpio@3 {
1527                         reg = <3>;
1528                         type = <PCA955X_TYPE_GPIO>;
1529                 };
1530
1531                 gpio@4 {
1532                         reg = <4>;
1533                         type = <PCA955X_TYPE_GPIO>;
1534                 };
1535
1536                 gpio@5 {
1537                         reg = <5>;
1538                         type = <PCA955X_TYPE_GPIO>;
1539                 };
1540
1541                 gpio@6 {
1542                         reg = <6>;
1543                         type = <PCA955X_TYPE_GPIO>;
1544                 };
1545
1546                 gpio@7 {
1547                         reg = <7>;
1548                         type = <PCA955X_TYPE_GPIO>;
1549                 };
1550
1551                 gpio@8 {
1552                         reg = <8>;
1553                         type = <PCA955X_TYPE_GPIO>;
1554                 };
1555
1556                 gpio@9 {
1557                         reg = <9>;
1558                         type = <PCA955X_TYPE_GPIO>;
1559                 };
1560
1561                 gpio@10 {
1562                         reg = <10>;
1563                         type = <PCA955X_TYPE_GPIO>;
1564                 };
1565
1566                 gpio@11 {
1567                         reg = <11>;
1568                         type = <PCA955X_TYPE_GPIO>;
1569                 };
1570
1571                 gpio@12 {
1572                         reg = <12>;
1573                         type = <PCA955X_TYPE_GPIO>;
1574                 };
1575
1576                 gpio@13 {
1577                         reg = <13>;
1578                         type = <PCA955X_TYPE_GPIO>;
1579                 };
1580
1581                 gpio@14 {
1582                         reg = <14>;
1583                         type = <PCA955X_TYPE_GPIO>;
1584                 };
1585
1586                 gpio@15 {
1587                         reg = <15>;
1588                         type = <PCA955X_TYPE_GPIO>;
1589                 };
1590         };
1591
1592 };
1593
1594 &i2c9 {
1595         status = "okay";
1596
1597         tmp423a@4c {
1598                 compatible = "ti,tmp423";
1599                 reg = <0x4c>;
1600         };
1601
1602         tmp423b@4d {
1603                 compatible = "ti,tmp423";
1604                 reg = <0x4d>;
1605         };
1606
1607         eeprom@50 {
1608                 compatible = "atmel,24c128";
1609                 reg = <0x50>;
1610         };
1611 };
1612
1613 &i2c10 {
1614         status = "okay";
1615
1616         tmp423a@4c {
1617                 compatible = "ti,tmp423";
1618                 reg = <0x4c>;
1619         };
1620
1621         tmp423b@4d {
1622                 compatible = "ti,tmp423";
1623                 reg = <0x4d>;
1624         };
1625
1626         eeprom@50 {
1627                 compatible = "atmel,24c128";
1628                 reg = <0x50>;
1629         };
1630 };
1631
1632 &i2c11 {
1633         status = "okay";
1634
1635         tmp275@48 {
1636                 compatible = "ti,tmp275";
1637                 reg = <0x48>;
1638         };
1639
1640         tmp275@49 {
1641                 compatible = "ti,tmp275";
1642                 reg = <0x49>;
1643         };
1644
1645         pca9546@70 {
1646                 compatible = "nxp,pca9546";
1647                 reg = <0x70>;
1648                 #address-cells = <1>;
1649                 #size-cells = <0>;
1650                 status = "okay";
1651                 i2c-mux-idle-disconnect;
1652
1653                 i2c11mux0chn0: i2c@0 {
1654                         #address-cells = <1>;
1655                         #size-cells = <0>;
1656                         reg = <0>;
1657
1658                         eeprom@50 {
1659                                 compatible = "atmel,24c64";
1660                                 reg = <0x50>;
1661                         };
1662                 };
1663
1664                 i2c11mux0chn1: i2c@1 {
1665                         #address-cells = <1>;
1666                         #size-cells = <0>;
1667                         reg = <1>;
1668
1669                         eeprom@51 {
1670                                 compatible = "atmel,24c64";
1671                                 reg = <0x51>;
1672                         };
1673                 };
1674         };
1675 };
1676
1677 &i2c12 {
1678         status = "okay";
1679 };
1680
1681 &i2c13 {
1682         status = "okay";
1683
1684         eeprom@50 {
1685                 compatible = "atmel,24c64";
1686                 reg = <0x50>;
1687         };
1688 };
1689
1690 &i2c14 {
1691         status = "okay";
1692
1693         eeprom@50 {
1694                 compatible = "atmel,24c64";
1695                 reg = <0x50>;
1696         };
1697 };
1698
1699 &i2c15 {
1700         status = "okay";
1701
1702         eeprom@50 {
1703                 compatible = "atmel,24c64";
1704                 reg = <0x50>;
1705         };
1706 };
1707
1708 &vuart1 {
1709         status = "okay";
1710 };
1711
1712 &vuart2 {
1713         status = "okay";
1714 };
1715
1716 &lpc_ctrl {
1717         status = "okay";
1718         memory-region = <&flash_memory>;
1719 };
1720
1721 &mac2 {
1722         status = "okay";
1723         pinctrl-names = "default";
1724         pinctrl-0 = <&pinctrl_rmii3_default>;
1725         clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
1726                  <&syscon ASPEED_CLK_MAC3RCLK>;
1727         clock-names = "MACCLK", "RCLK";
1728         use-ncsi;
1729 };
1730
1731 &mac3 {
1732         status = "okay";
1733         pinctrl-names = "default";
1734         pinctrl-0 = <&pinctrl_rmii4_default>;
1735         clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
1736                  <&syscon ASPEED_CLK_MAC4RCLK>;
1737         clock-names = "MACCLK", "RCLK";
1738         use-ncsi;
1739 };
1740
1741 &fmc {
1742         status = "okay";
1743         flash@0 {
1744                 status = "okay";
1745                 m25p,fast-read;
1746                 label = "bmc";
1747                 spi-max-frequency = <50000000>;
1748 #include "openbmc-flash-layout-128.dtsi"
1749         };
1750 };
1751
1752 &spi1 {
1753         status = "okay";
1754         pinctrl-names = "default";
1755         pinctrl-0 = <&pinctrl_spi1_default>;
1756
1757         flash@0 {
1758                 status = "okay";
1759                 m25p,fast-read;
1760                 label = "pnor";
1761                 spi-max-frequency = <100000000>;
1762         };
1763 };
1764
1765 &wdt1 {
1766         aspeed,reset-type = "none";
1767         aspeed,external-signal;
1768         aspeed,ext-push-pull;
1769         aspeed,ext-active-high;
1770
1771         pinctrl-names = "default";
1772         pinctrl-0 = <&pinctrl_wdtrst1_default>;
1773 };
1774
1775 &wdt2 {
1776         status = "okay";
1777 };
1778
1779 &xdma {
1780         status = "okay";
1781         memory-region = <&vga_memory>;
1782 };