Merge tag 'arm-fixes-6.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-block.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 earlycon";
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                 ramoops@b3e00000 {
99                         compatible = "ramoops";
100                         reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */
101                         record-size = <0x8000>;
102                         console-size = <0x8000>;
103                         ftrace-size = <0x8000>;
104                         pmsg-size = <0x8000>;
105                         max-reason = <3>; /* KMSG_DUMP_EMERG */
106                 };
107
108                 /* LPC FW cycle bridge region requires natural alignment */
109                 flash_memory: region@b4000000 {
110                         no-map;
111                         reg = <0xb4000000 0x04000000>; /* 64M */
112                 };
113
114                 /* VGA region is dictated by hardware strapping */
115                 vga_memory: region@bf000000 {
116                         no-map;
117                         compatible = "shared-dma-pool";
118                         reg = <0xbf000000 0x01000000>;  /* 16M */
119                 };
120         };
121
122         i2c2mux: i2cmux {
123                 compatible = "i2c-mux-gpio";
124                 #address-cells = <1>;
125                 #size-cells = <0>;
126                 status = "okay";
127
128                 i2c-parent = <&i2c2>;
129                 mux-gpios = <&gpio0 ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>,
130                             <&gpio0 ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>;
131                 idle-state = <0>;
132
133                 i2c2mux0: i2c@0 {
134                         #address-cells = <1>;
135                         #size-cells = <0>;
136                         reg = <0>;
137                 };
138
139                 i2c2mux1: i2c@1 {
140                         #address-cells = <1>;
141                         #size-cells = <0>;
142                         reg = <1>;
143                 };
144
145                 i2c2mux2: i2c@2 {
146                         #address-cells = <1>;
147                         #size-cells = <0>;
148                         reg = <2>;
149                 };
150
151                 i2c2mux3: i2c@3 {
152                         #address-cells = <1>;
153                         #size-cells = <0>;
154                         reg = <3>;
155                 };
156         };
157
158         leds {
159                 compatible = "gpio-leds";
160
161                 /* BMC Card fault LED at the back */
162                 bmc-ingraham0 {
163                         gpios = <&gpio0 ASPEED_GPIO(H, 1) GPIO_ACTIVE_LOW>;
164                 };
165
166                 /* Enclosure ID LED at the back */
167                 rear-enc-id0 {
168                         gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>;
169                 };
170
171                 /* Enclosure fault LED at the back */
172                 rear-enc-fault0 {
173                         gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
174                 };
175
176                 /* PCIE slot power LED */
177                 pcieslot-power {
178                         gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_LOW>;
179                 };
180         };
181
182         gpio-keys-polled {
183                 compatible = "gpio-keys-polled";
184                 poll-interval = <1000>;
185
186                 event-fan0-presence {
187                         label = "fan0-presence";
188                         gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
189                         linux,code = <6>;
190                 };
191
192                 event-fan1-presence {
193                         label = "fan1-presence";
194                         gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
195                         linux,code = <7>;
196                 };
197
198                 event-fan2-presence {
199                         label = "fan2-presence";
200                         gpios = <&pca0 8 GPIO_ACTIVE_LOW>;
201                         linux,code = <8>;
202                 };
203
204                 event-fan3-presence {
205                         label = "fan3-presence";
206                         gpios = <&pca0 9 GPIO_ACTIVE_LOW>;
207                         linux,code = <9>;
208                 };
209
210                 event-fan4-presence {
211                         label = "fan4-presence";
212                         gpios = <&pca0 10 GPIO_ACTIVE_LOW>;
213                         linux,code = <10>;
214                 };
215
216                 event-fan5-presence {
217                         label = "fan5-presence";
218                         gpios = <&pca0 11 GPIO_ACTIVE_LOW>;
219                         linux,code = <11>;
220                 };
221         };
222
223         iio-hwmon {
224                 compatible = "iio-hwmon";
225                 io-channels = <&adc1 7>;
226         };
227 };
228
229 &adc1 {
230         status = "okay";
231         aspeed,int-vref-microvolt = <2500000>;
232         pinctrl-names = "default";
233         pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
234                 &pinctrl_adc10_default &pinctrl_adc11_default
235                 &pinctrl_adc12_default &pinctrl_adc13_default
236                 &pinctrl_adc14_default &pinctrl_adc15_default>;
237 };
238
239 &ehci1 {
240         status = "okay";
241 };
242
243 &uhci {
244         status = "okay";
245 };
246
247 &gpio0 {
248         gpio-line-names =
249         /*A0-A7*/       "","","","","","","","",
250         /*B0-B7*/       "","","","","","","checkstop","",
251         /*C0-C7*/       "","","","","","","","",
252         /*D0-D7*/       "","","","","","","","",
253         /*E0-E7*/       "","","","","","","","",
254         /*F0-F7*/       "","","rtc-battery-voltage-read-enable","reset-cause-pinhole","","","factory-reset-toggle","",
255         /*G0-G7*/       "","","","","","","","",
256         /*H0-H7*/       "","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","",
257         /*I0-I7*/       "","","","","","","bmc-secure-boot","",
258         /*J0-J7*/       "","","","","","","","",
259         /*K0-K7*/       "","","","","","","","",
260         /*L0-L7*/       "","","","","","","","",
261         /*M0-M7*/       "","","","","","","","",
262         /*N0-N7*/       "","","","","","","","",
263         /*O0-O7*/       "","","","usb-power","","","","",
264         /*P0-P7*/       "","","","","pcieslot-power","","","",
265         /*Q0-Q7*/       "cfam-reset","","regulator-standby-faulted","","","","","",
266         /*R0-R7*/       "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","","",
267         /*S0-S7*/       "presence-ps0","presence-ps1","presence-ps2","presence-ps3",
268         "power-ffs-sync-history","","","",
269         /*T0-T7*/       "","","","","","","","",
270         /*U0-U7*/       "","","","","","","","",
271         /*V0-V7*/       "","","","","","","","",
272         /*W0-W7*/       "","","","","","","","",
273         /*X0-X7*/       "","","","","","","","",
274         /*Y0-Y7*/       "","","","","","","","",
275         /*Z0-Z7*/       "","","","","","","","";
276
277         i2c3_mux_oe_n {
278                 gpio-hog;
279                 gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>;
280                 output-high;
281                 line-name = "I2C3_MUX_OE_N";
282         };
283
284         usb_power {
285                 gpio-hog;
286                 gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>;
287                 output-high;
288         };
289 };
290
291 &emmc_controller {
292         status = "okay";
293 };
294
295 &pinctrl_emmc_default {
296         bias-disable;
297 };
298
299 &emmc {
300         status = "okay";
301         clk-phase-mmc-hs200 = <180>, <180>;
302 };
303
304 &fsim0 {
305         status = "okay";
306
307         #address-cells = <2>;
308         #size-cells = <0>;
309
310         /*
311          * CFAM Reset is supposed to be active low but pass1 hardware is wired
312          * active high.
313          */
314         cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
315
316         cfam@0,0 {
317                 reg = <0 0>;
318                 #address-cells = <1>;
319                 #size-cells = <1>;
320                 chip-id = <0>;
321
322                 scom@1000 {
323                         compatible = "ibm,fsi2pib";
324                         reg = <0x1000 0x400>;
325                 };
326
327                 i2c@1800 {
328                         compatible = "ibm,fsi-i2c-master";
329                         reg = <0x1800 0x400>;
330                         #address-cells = <1>;
331                         #size-cells = <0>;
332
333                         cfam0_i2c0: i2c-bus@0 {
334                                 reg = <0>;      /* OMI01 */
335                         };
336
337                         cfam0_i2c1: i2c-bus@1 {
338                                 reg = <1>;      /* OMI23 */
339                         };
340
341                         cfam0_i2c10: i2c-bus@a {
342                                 reg = <10>;     /* OP3A */
343                         };
344
345                         cfam0_i2c11: i2c-bus@b {
346                                 reg = <11>;     /* OP3B */
347                         };
348
349                         cfam0_i2c12: i2c-bus@c {
350                                 reg = <12>;     /* OP4A */
351                         };
352
353                         cfam0_i2c13: i2c-bus@d {
354                                 reg = <13>;     /* OP4B */
355                         };
356
357                         cfam0_i2c14: i2c-bus@e {
358                                 reg = <14>;     /* OP5A */
359                         };
360
361                         cfam0_i2c15: i2c-bus@f {
362                                 reg = <15>;     /* OP5B */
363                         };
364                 };
365
366                 fsi2spi@1c00 {
367                         compatible = "ibm,fsi2spi";
368                         reg = <0x1c00 0x400>;
369                         #address-cells = <1>;
370                         #size-cells = <0>;
371
372                         cfam0_spi0: spi@0 {
373                                 reg = <0x0>;
374                                 #address-cells = <1>;
375                                 #size-cells = <0>;
376
377                                 eeprom@0 {
378                                         at25,byte-len = <0x80000>;
379                                         at25,addr-mode = <4>;
380                                         at25,page-size = <256>;
381
382                                         compatible = "atmel,at25";
383                                         reg = <0>;
384                                         spi-max-frequency = <1000000>;
385                                 };
386                         };
387
388                         cfam0_spi1: spi@20 {
389                                 reg = <0x20>;
390                                 #address-cells = <1>;
391                                 #size-cells = <0>;
392
393                                 eeprom@0 {
394                                         at25,byte-len = <0x80000>;
395                                         at25,addr-mode = <4>;
396                                         at25,page-size = <256>;
397
398                                         compatible = "atmel,at25";
399                                         reg = <0>;
400                                         spi-max-frequency = <1000000>;
401                                 };
402                         };
403
404                         cfam0_spi2: spi@40 {
405                                 reg = <0x40>;
406                                 compatible = "ibm,fsi2spi-restricted";
407                                 #address-cells = <1>;
408                                 #size-cells = <0>;
409
410                                 eeprom@0 {
411                                         at25,byte-len = <0x80000>;
412                                         at25,addr-mode = <4>;
413                                         at25,page-size = <256>;
414
415                                         compatible = "atmel,at25";
416                                         reg = <0>;
417                                         spi-max-frequency = <1000000>;
418                                 };
419                         };
420
421                         cfam0_spi3: spi@60 {
422                                 reg = <0x60>;
423                                 compatible = "ibm,fsi2spi-restricted";
424                                 #address-cells = <1>;
425                                 #size-cells = <0>;
426
427                                 eeprom@0 {
428                                         at25,byte-len = <0x80000>;
429                                         at25,addr-mode = <4>;
430                                         at25,page-size = <256>;
431
432                                         compatible = "atmel,at25";
433                                         reg = <0>;
434                                         spi-max-frequency = <1000000>;
435                                 };
436                         };
437                 };
438
439                 sbefifo@2400 {
440                         compatible = "ibm,p9-sbefifo";
441                         reg = <0x2400 0x400>;
442                         #address-cells = <1>;
443                         #size-cells = <0>;
444
445                         fsi_occ0: occ {
446                                 compatible = "ibm,p10-occ";
447
448                                 occ-hwmon {
449                                         compatible = "ibm,p10-occ-hwmon";
450                                         ibm,no-poll-on-init;
451                                 };
452                         };
453                 };
454
455                 fsi_hub0: hub@3400 {
456                         compatible = "fsi-master-hub";
457                         reg = <0x3400 0x400>;
458                         #address-cells = <2>;
459                         #size-cells = <0>;
460                 };
461         };
462 };
463
464 &fsi_hub0 {
465         cfam@1,0 {
466                 reg = <1 0>;
467                 #address-cells = <1>;
468                 #size-cells = <1>;
469                 chip-id = <1>;
470
471                 scom@1000 {
472                         compatible = "ibm,fsi2pib";
473                         reg = <0x1000 0x400>;
474                 };
475
476                 i2c@1800 {
477                         compatible = "ibm,fsi-i2c-master";
478                         reg = <0x1800 0x400>;
479                         #address-cells = <1>;
480                         #size-cells = <0>;
481
482                         cfam1_i2c2: i2c-bus@2 {
483                                 reg = <2>;      /* OMI45 */
484                         };
485
486                         cfam1_i2c3: i2c-bus@3 {
487                                 reg = <3>;      /* OMI67 */
488                         };
489
490                         cfam1_i2c10: i2c-bus@a {
491                                 reg = <10>;     /* OP3A */
492                         };
493
494                         cfam1_i2c11: i2c-bus@b {
495                                 reg = <11>;     /* OP3B */
496                         };
497
498                         cfam1_i2c14: i2c-bus@e {
499                                 reg = <14>;     /* OP5A */
500                         };
501
502                         cfam1_i2c15: i2c-bus@f {
503                                 reg = <15>;     /* OP5B */
504                         };
505
506                         cfam1_i2c16: i2c-bus@10 {
507                                 reg = <16>;     /* OP6A */
508                         };
509
510                         cfam1_i2c17: i2c-bus@11 {
511                                 reg = <17>;     /* OP6B */
512                         };
513                 };
514
515                 fsi2spi@1c00 {
516                         compatible = "ibm,fsi2spi";
517                         reg = <0x1c00 0x400>;
518                         #address-cells = <1>;
519                         #size-cells = <0>;
520
521                         cfam1_spi0: spi@0 {
522                                 reg = <0x0>;
523                                 #address-cells = <1>;
524                                 #size-cells = <0>;
525
526                                 eeprom@0 {
527                                         at25,byte-len = <0x80000>;
528                                         at25,addr-mode = <4>;
529                                         at25,page-size = <256>;
530
531                                         compatible = "atmel,at25";
532                                         reg = <0>;
533                                         spi-max-frequency = <1000000>;
534                                 };
535                         };
536
537                         cfam1_spi1: spi@20 {
538                                 reg = <0x20>;
539                                 #address-cells = <1>;
540                                 #size-cells = <0>;
541
542                                 eeprom@0 {
543                                         at25,byte-len = <0x80000>;
544                                         at25,addr-mode = <4>;
545                                         at25,page-size = <256>;
546
547                                         compatible = "atmel,at25";
548                                         reg = <0>;
549                                         spi-max-frequency = <1000000>;
550                                 };
551                         };
552
553                         cfam1_spi2: spi@40 {
554                                 reg = <0x40>;
555                                 compatible = "ibm,fsi2spi-restricted";
556                                 #address-cells = <1>;
557                                 #size-cells = <0>;
558
559                                 eeprom@0 {
560                                         at25,byte-len = <0x80000>;
561                                         at25,addr-mode = <4>;
562                                         at25,page-size = <256>;
563
564                                         compatible = "atmel,at25";
565                                         reg = <0>;
566                                         spi-max-frequency = <1000000>;
567                                 };
568                         };
569
570                         cfam1_spi3: spi@60 {
571                                 reg = <0x60>;
572                                 compatible = "ibm,fsi2spi-restricted";
573                                 #address-cells = <1>;
574                                 #size-cells = <0>;
575
576                                 eeprom@0 {
577                                         at25,byte-len = <0x80000>;
578                                         at25,addr-mode = <4>;
579                                         at25,page-size = <256>;
580
581                                         compatible = "atmel,at25";
582                                         reg = <0>;
583                                         spi-max-frequency = <1000000>;
584                                 };
585                         };
586                 };
587
588                 sbefifo@2400 {
589                         compatible = "ibm,p9-sbefifo";
590                         reg = <0x2400 0x400>;
591                         #address-cells = <1>;
592                         #size-cells = <0>;
593
594                         fsi_occ1: occ {
595                                 compatible = "ibm,p10-occ";
596
597                                 occ-hwmon {
598                                         compatible = "ibm,p10-occ-hwmon";
599                                         ibm,no-poll-on-init;
600                                 };
601                         };
602                 };
603
604                 fsi_hub1: hub@3400 {
605                         compatible = "fsi-master-hub";
606                         reg = <0x3400 0x400>;
607                         #address-cells = <2>;
608                         #size-cells = <0>;
609
610                         no-scan-on-init;
611                 };
612         };
613
614         cfam@2,0 {
615                 reg = <2 0>;
616                 #address-cells = <1>;
617                 #size-cells = <1>;
618                 chip-id = <2>;
619
620                 scom@1000 {
621                         compatible = "ibm,fsi2pib";
622                         reg = <0x1000 0x400>;
623                 };
624
625                 i2c@1800 {
626                         compatible = "ibm,fsi-i2c-master";
627                         reg = <0x1800 0x400>;
628                         #address-cells = <1>;
629                         #size-cells = <0>;
630
631                         cfam2_i2c0: i2c-bus@0 {
632                                 reg = <0>;      /* OM01 */
633                         };
634
635                         cfam2_i2c1: i2c-bus@1 {
636                                 reg = <1>;      /* OM23 */
637                         };
638
639                         cfam2_i2c10: i2c-bus@a {
640                                 reg = <10>;     /* OP3A */
641                         };
642
643                         cfam2_i2c11: i2c-bus@b {
644                                 reg = <11>;     /* OP3B */
645                         };
646
647                         cfam2_i2c12: i2c-bus@c {
648                                 reg = <12>;     /* OP4A */
649                         };
650
651                         cfam2_i2c13: i2c-bus@d {
652                                 reg = <13>;     /* OP4B */
653                         };
654
655                         cfam2_i2c14: i2c-bus@e {
656                                 reg = <14>;     /* OP5A */
657                         };
658
659                         cfam2_i2c15: i2c-bus@f {
660                                 reg = <15>;     /* OP5B */
661                         };
662                 };
663
664                 fsi2spi@1c00 {
665                         compatible = "ibm,fsi2spi";
666                         reg = <0x1c00 0x400>;
667                         #address-cells = <1>;
668                         #size-cells = <0>;
669
670                         cfam2_spi0: spi@0 {
671                                 reg = <0x0>;
672                                 #address-cells = <1>;
673                                 #size-cells = <0>;
674
675                                 eeprom@0 {
676                                         at25,byte-len = <0x80000>;
677                                         at25,addr-mode = <4>;
678                                         at25,page-size = <256>;
679
680                                         compatible = "atmel,at25";
681                                         reg = <0>;
682                                         spi-max-frequency = <1000000>;
683                                 };
684                         };
685
686                         cfam2_spi1: spi@20 {
687                                 reg = <0x20>;
688                                 #address-cells = <1>;
689                                 #size-cells = <0>;
690
691                                 eeprom@0 {
692                                         at25,byte-len = <0x80000>;
693                                         at25,addr-mode = <4>;
694                                         at25,page-size = <256>;
695
696                                         compatible = "atmel,at25";
697                                         reg = <0>;
698                                         spi-max-frequency = <1000000>;
699                                 };
700                         };
701
702                         cfam2_spi2: spi@40 {
703                                 reg = <0x40>;
704                                 compatible = "ibm,fsi2spi-restricted";
705                                 #address-cells = <1>;
706                                 #size-cells = <0>;
707
708                                 eeprom@0 {
709                                         at25,byte-len = <0x80000>;
710                                         at25,addr-mode = <4>;
711                                         at25,page-size = <256>;
712
713                                         compatible = "atmel,at25";
714                                         reg = <0>;
715                                         spi-max-frequency = <1000000>;
716                                 };
717                         };
718
719                         cfam2_spi3: spi@60 {
720                                 reg = <0x60>;
721                                 compatible = "ibm,fsi2spi-restricted";
722                                 #address-cells = <1>;
723                                 #size-cells = <0>;
724
725                                 eeprom@0 {
726                                         at25,byte-len = <0x80000>;
727                                         at25,addr-mode = <4>;
728                                         at25,page-size = <256>;
729
730                                         compatible = "atmel,at25";
731                                         reg = <0>;
732                                         spi-max-frequency = <1000000>;
733                                 };
734                         };
735                 };
736
737                 sbefifo@2400 {
738                         compatible = "ibm,p9-sbefifo";
739                         reg = <0x2400 0x400>;
740                         #address-cells = <1>;
741                         #size-cells = <0>;
742
743                         fsi_occ2: occ {
744                                 compatible = "ibm,p10-occ";
745
746                                 occ-hwmon {
747                                         compatible = "ibm,p10-occ-hwmon";
748                                         ibm,no-poll-on-init;
749                                 };
750                         };
751                 };
752
753                 fsi_hub2: hub@3400 {
754                         compatible = "fsi-master-hub";
755                         reg = <0x3400 0x400>;
756                         #address-cells = <2>;
757                         #size-cells = <0>;
758
759                         no-scan-on-init;
760                 };
761         };
762
763         cfam@3,0 {
764                 reg = <3 0>;
765                 #address-cells = <1>;
766                 #size-cells = <1>;
767                 chip-id = <3>;
768
769                 scom@1000 {
770                         compatible = "ibm,fsi2pib";
771                         reg = <0x1000 0x400>;
772                 };
773
774                 i2c@1800 {
775                         compatible = "ibm,fsi-i2c-master";
776                         reg = <0x1800 0x400>;
777                         #address-cells = <1>;
778                         #size-cells = <0>;
779
780                         cfam3_i2c2: i2c-bus@2 {
781                                 reg = <2>;      /* OM45 */
782                         };
783
784                         cfam3_i2c3: i2c-bus@3 {
785                                 reg = <3>;      /* OM67 */
786                         };
787
788                         cfam3_i2c10: i2c-bus@a {
789                                 reg = <10>;     /* OP3A */
790                         };
791
792                         cfam3_i2c11: i2c-bus@b {
793                                 reg = <11>;     /* OP3B */
794                         };
795
796                         cfam3_i2c14: i2c-bus@e {
797                                 reg = <14>;     /* OP5A */
798                         };
799
800                         cfam3_i2c15: i2c-bus@f {
801                                 reg = <15>;     /* OP5B */
802                         };
803
804                         cfam3_i2c16: i2c-bus@10 {
805                                 reg = <16>;     /* OP6A */
806                         };
807
808                         cfam3_i2c17: i2c-bus@11 {
809                                 reg = <17>;     /* OP6B */
810                         };
811                 };
812
813                 fsi2spi@1c00 {
814                         compatible = "ibm,fsi2spi";
815                         reg = <0x1c00 0x400>;
816                         #address-cells = <1>;
817                         #size-cells = <0>;
818
819                         cfam3_spi0: spi@0 {
820                                 reg = <0x0>;
821                                 #address-cells = <1>;
822                                 #size-cells = <0>;
823
824                                 eeprom@0 {
825                                         at25,byte-len = <0x80000>;
826                                         at25,addr-mode = <4>;
827                                         at25,page-size = <256>;
828
829                                         compatible = "atmel,at25";
830                                         reg = <0>;
831                                         spi-max-frequency = <1000000>;
832                                 };
833                         };
834
835                         cfam3_spi1: spi@20 {
836                                 reg = <0x20>;
837                                 #address-cells = <1>;
838                                 #size-cells = <0>;
839
840                                 eeprom@0 {
841                                         at25,byte-len = <0x80000>;
842                                         at25,addr-mode = <4>;
843                                         at25,page-size = <256>;
844
845                                         compatible = "atmel,at25";
846                                         reg = <0>;
847                                         spi-max-frequency = <1000000>;
848                                 };
849                         };
850
851                         cfam3_spi2: spi@40 {
852                                 reg = <0x40>;
853                                 compatible = "ibm,fsi2spi-restricted";
854                                 #address-cells = <1>;
855                                 #size-cells = <0>;
856
857                                 eeprom@0 {
858                                         at25,byte-len = <0x80000>;
859                                         at25,addr-mode = <4>;
860                                         at25,page-size = <256>;
861
862                                         compatible = "atmel,at25";
863                                         reg = <0>;
864                                         spi-max-frequency = <1000000>;
865                                 };
866                         };
867
868                         cfam3_spi3: spi@60 {
869                                 reg = <0x60>;
870                                 compatible = "ibm,fsi2spi-restricted";
871                                 #address-cells = <1>;
872                                 #size-cells = <0>;
873
874                                 eeprom@0 {
875                                         at25,byte-len = <0x80000>;
876                                         at25,addr-mode = <4>;
877                                         at25,page-size = <256>;
878
879                                         compatible = "atmel,at25";
880                                         reg = <0>;
881                                         spi-max-frequency = <1000000>;
882                                 };
883                         };
884                 };
885
886                 sbefifo@2400 {
887                         compatible = "ibm,p9-sbefifo";
888                         reg = <0x2400 0x400>;
889                         #address-cells = <1>;
890                         #size-cells = <0>;
891
892                         fsi_occ3: occ {
893                                 compatible = "ibm,p10-occ";
894
895                                 occ-hwmon {
896                                         compatible = "ibm,p10-occ-hwmon";
897                                         ibm,no-poll-on-init;
898                                 };
899                         };
900                 };
901
902                 fsi_hub3: hub@3400 {
903                         compatible = "fsi-master-hub";
904                         reg = <0x3400 0x400>;
905                         #address-cells = <2>;
906                         #size-cells = <0>;
907
908                         no-scan-on-init;
909                 };
910         };
911 };
912
913 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
914 &fsi_occ0 {
915         reg = <1>;
916 };
917
918 &fsi_occ1 {
919         reg = <2>;
920 };
921
922 &fsi_occ2 {
923         reg = <3>;
924 };
925
926 &fsi_occ3 {
927         reg = <4>;
928 };
929
930 &ibt {
931         status = "okay";
932 };
933
934 &i2c0 {
935         status = "okay";
936
937         eeprom@51 {
938                 compatible = "atmel,24c64";
939                 reg = <0x51>;
940         };
941
942         tca_pres1: tca9554@20{
943                 compatible = "ti,tca9554";
944                 reg = <0x20>;
945                 #address-cells = <1>;
946                 #size-cells = <0>;
947
948                 gpio-controller;
949                 #gpio-cells = <2>;
950
951                 gpio-line-names = "",
952                         "RUSSEL_FW_I2C_ENABLE_N",
953                         "RUSSEL_OPPANEL_PRESENCE_N",
954                         "BLYTH_OPPANEL_PRESENCE_N",
955                         "CPU_TPM_CARD_PRESENT_N",
956                         "DASD_BP2_PRESENT_N",
957                         "DASD_BP1_PRESENT_N",
958                         "DASD_BP0_PRESENT_N";
959         };
960 };
961
962 &i2c1 {
963         status = "okay";
964 };
965
966 &i2c2 {
967         status = "okay";
968 };
969
970 &i2c3 {
971         status = "okay";
972
973         power-supply@68 {
974                 compatible = "ibm,cffps";
975                 reg = <0x68>;
976         };
977
978         power-supply@69 {
979                 compatible = "ibm,cffps";
980                 reg = <0x69>;
981         };
982
983         pca_pres1: pca9552@61 {
984                 compatible = "nxp,pca9552";
985                 reg = <0x61>;
986                 #address-cells = <1>;
987                 #size-cells = <0>;
988
989                 gpio-controller;
990                 #gpio-cells = <2>;
991
992                 gpio-line-names =
993                         "SLOT0_PRSNT_EN_RSVD", "SLOT1_PRSNT_EN_RSVD",
994                         "SLOT2_PRSNT_EN_RSVD", "SLOT3_PRSNT_EN_RSVD",
995                         "SLOT4_PRSNT_EN_RSVD", "SLOT0_EXPANDER_PRSNT_N",
996                         "SLOT1_EXPANDER_PRSNT_N", "SLOT2_EXPANDER_PRSNT_N",
997                         "SLOT3_EXPANDER_PRSNT_N", "SLOT4_EXPANDER_PRSNT_N",
998                         "", "", "", "", "", "";
999         };
1000 };
1001
1002 &i2c4 {
1003         status = "okay";
1004
1005         tmp275@48 {
1006                 compatible = "ti,tmp275";
1007                 reg = <0x48>;
1008         };
1009
1010         tmp275@49 {
1011                 compatible = "ti,tmp275";
1012                 reg = <0x49>;
1013         };
1014
1015         tmp275@4a {
1016                 compatible = "ti,tmp275";
1017                 reg = <0x4a>;
1018         };
1019
1020         pca9546@70 {
1021                 compatible = "nxp,pca9546";
1022                 reg = <0x70>;
1023                 #address-cells = <1>;
1024                 #size-cells = <0>;
1025                 status = "okay";
1026                 i2c-mux-idle-disconnect;
1027
1028                 i2c4mux0chn0: i2c@0 {
1029                         #address-cells = <1>;
1030                         #size-cells = <0>;
1031                         reg = <0>;
1032
1033                         eeprom@50 {
1034                                 compatible = "atmel,24c64";
1035                                 reg = <0x50>;
1036                         };
1037
1038                         pca9551@60 {
1039                                 compatible = "nxp,pca9551";
1040                                 reg = <0x60>;
1041                                 #address-cells = <1>;
1042                                 #size-cells = <0>;
1043
1044                                 gpio-controller;
1045                                 #gpio-cells = <2>;
1046
1047                                 led@0 {
1048                                         label = "cablecard0-cxp-top";
1049                                         reg = <0>;
1050                                         retain-state-shutdown;
1051                                         default-state = "keep";
1052                                         type = <PCA955X_TYPE_LED>;
1053                                 };
1054
1055                                 led@1 {
1056                                         label = "cablecard0-cxp-bot";
1057                                         reg = <1>;
1058                                         retain-state-shutdown;
1059                                         default-state = "keep";
1060                                         type = <PCA955X_TYPE_LED>;
1061                                 };
1062                         };
1063                 };
1064
1065                 i2c4mux0chn1: i2c@1 {
1066                         #address-cells = <1>;
1067                         #size-cells = <0>;
1068                         reg = <1>;
1069
1070                         eeprom@51 {
1071                                 compatible = "atmel,24c64";
1072                                 reg = <0x51>;
1073                         };
1074                 };
1075
1076                 i2c4mux0chn2: i2c@2 {
1077                         #address-cells = <1>;
1078                         #size-cells = <0>;
1079                         reg = <2>;
1080
1081                         eeprom@52 {
1082                                 compatible = "atmel,24c64";
1083                                 reg = <0x52>;
1084                         };
1085                 };
1086         };
1087 };
1088
1089 &i2c5 {
1090         status = "okay";
1091
1092         tmp275@48 {
1093                 compatible = "ti,tmp275";
1094                 reg = <0x48>;
1095         };
1096
1097         tmp275@49 {
1098                 compatible = "ti,tmp275";
1099                 reg = <0x49>;
1100         };
1101
1102         pca9546@70 {
1103                 compatible = "nxp,pca9546";
1104                 reg = <0x70>;
1105                 #address-cells = <1>;
1106                 #size-cells = <0>;
1107                 status = "okay";
1108                 i2c-mux-idle-disconnect;
1109
1110                 i2c5mux0chn0: i2c@0 {
1111                         #address-cells = <1>;
1112                         #size-cells = <0>;
1113                         reg = <0>;
1114
1115                         eeprom@50 {
1116                                 compatible = "atmel,24c64";
1117                                 reg = <0x50>;
1118                         };
1119
1120                         pca9551@60 {
1121                                 compatible = "nxp,pca9551";
1122                                 reg = <0x60>;
1123                                 #address-cells = <1>;
1124                                 #size-cells = <0>;
1125
1126                                 gpio-controller;
1127                                 #gpio-cells = <2>;
1128
1129                                 led@0 {
1130                                         label = "cablecard3-cxp-top";
1131                                         reg = <0>;
1132                                         retain-state-shutdown;
1133                                         default-state = "keep";
1134                                         type = <PCA955X_TYPE_LED>;
1135                                 };
1136
1137                                 led@1 {
1138                                         label = "cablecard3-cxp-bot";
1139                                         reg = <1>;
1140                                         retain-state-shutdown;
1141                                         default-state = "keep";
1142                                         type = <PCA955X_TYPE_LED>;
1143                                 };
1144                         };
1145                 };
1146
1147                 i2c5mux0chn1: i2c@1 {
1148                         #address-cells = <1>;
1149                         #size-cells = <0>;
1150                         reg = <1>;
1151
1152                         eeprom@51 {
1153                                 compatible = "atmel,24c64";
1154                                 reg = <0x51>;
1155                         };
1156
1157                         pca9551@61 {
1158                                 compatible = "nxp,pca9551";
1159                                 reg = <0x61>;
1160                                 #address-cells = <1>;
1161                                 #size-cells = <0>;
1162
1163                                 gpio-controller;
1164                                 #gpio-cells = <2>;
1165
1166                                 led@0 {
1167                                         label = "cablecard4-cxp-top";
1168                                         reg = <0>;
1169                                         retain-state-shutdown;
1170                                         default-state = "keep";
1171                                         type = <PCA955X_TYPE_LED>;
1172                                 };
1173
1174                                 led@1 {
1175                                         label = "cablecard4-cxp-bot";
1176                                         reg = <1>;
1177                                         retain-state-shutdown;
1178                                         default-state = "keep";
1179                                         type = <PCA955X_TYPE_LED>;
1180                                 };
1181                         };
1182                 };
1183         };
1184 };
1185
1186 &i2c6 {
1187         status = "okay";
1188
1189         tmp275@48 {
1190                 compatible = "ti,tmp275";
1191                 reg = <0x48>;
1192         };
1193
1194         tmp275@4a {
1195                 compatible = "ti,tmp275";
1196                 reg = <0x4a>;
1197         };
1198
1199         tmp275@4b {
1200                 compatible = "ti,tmp275";
1201                 reg = <0x4b>;
1202         };
1203
1204         pca9546@70 {
1205                 compatible = "nxp,pca9546";
1206                 reg = <0x70>;
1207                 #address-cells = <1>;
1208                 #size-cells = <0>;
1209                 status = "okay";
1210                 i2c-mux-idle-disconnect;
1211
1212                 i2c6mux0chn0: i2c@0 {
1213                         #address-cells = <1>;
1214                         #size-cells = <0>;
1215                         reg = <0>;
1216
1217                         eeprom@53 {
1218                                 compatible = "atmel,24c64";
1219                                 reg = <0x53>;
1220                         };
1221                 };
1222
1223                 i2c6mux0chn1: i2c@1 {
1224                         #address-cells = <1>;
1225                         #size-cells = <0>;
1226                         reg = <1>;
1227
1228                         eeprom@52 {
1229                                 compatible = "atmel,24c64";
1230                                 reg = <0x52>;
1231                         };
1232                 };
1233
1234                 i2c6mux0chn2: i2c@2 {
1235                         #address-cells = <1>;
1236                         #size-cells = <0>;
1237                         reg = <2>;
1238
1239                         eeprom@50 {
1240                                 compatible = "atmel,24c64";
1241                                 reg = <0x50>;
1242                         };
1243                 };
1244
1245                 i2c6mux0chn3: i2c@3 {
1246                         #address-cells = <1>;
1247                         #size-cells = <0>;
1248                         reg = <3>;
1249
1250                         eeprom@51 {
1251                                 compatible = "atmel,24c64";
1252                                 reg = <0x51>;
1253                         };
1254                 };
1255         };
1256 };
1257
1258 &i2c7 {
1259         multi-master;
1260         status = "okay";
1261
1262         pca9552@30 {
1263                 compatible = "ibm,pca9552";
1264                 reg = <0x30>;
1265                 #address-cells = <1>;
1266                 #size-cells = <0>;
1267
1268                 gpio-controller;
1269                 #gpio-cells = <2>;
1270
1271                 led@0 {
1272                         label = "pcieslot0";
1273                         reg = <0>;
1274                         retain-state-shutdown;
1275                         default-state = "keep";
1276                         type = <PCA955X_TYPE_LED>;
1277                 };
1278
1279                 led@1 {
1280                         label = "pcieslot1";
1281                         reg = <1>;
1282                         retain-state-shutdown;
1283                         default-state = "keep";
1284                         type = <PCA955X_TYPE_LED>;
1285                 };
1286
1287                 led@2 {
1288                         label = "pcieslot2";
1289                         reg = <2>;
1290                         retain-state-shutdown;
1291                         default-state = "keep";
1292                         type = <PCA955X_TYPE_LED>;
1293                 };
1294
1295                 led@3 {
1296                         label = "pcieslot3";
1297                         reg = <3>;
1298                         retain-state-shutdown;
1299                         default-state = "keep";
1300                         type = <PCA955X_TYPE_LED>;
1301                 };
1302
1303                 led@4 {
1304                         label = "pcieslot4";
1305                         reg = <4>;
1306                         retain-state-shutdown;
1307                         default-state = "keep";
1308                         type = <PCA955X_TYPE_LED>;
1309                 };
1310
1311                 led@5 {
1312                         label = "cpu1";
1313                         reg = <5>;
1314                         retain-state-shutdown;
1315                         default-state = "keep";
1316                         type = <PCA955X_TYPE_LED>;
1317                 };
1318
1319                 led@6 {
1320                         label = "cpu-vrm1";
1321                         reg = <6>;
1322                         retain-state-shutdown;
1323                         default-state = "keep";
1324                         type = <PCA955X_TYPE_LED>;
1325                 };
1326
1327                 led@8 {
1328                         label = "lcd-russel";
1329                         reg = <8>;
1330                         retain-state-shutdown;
1331                         default-state = "keep";
1332                         type = <PCA955X_TYPE_LED>;
1333                 };
1334         };
1335
1336         pca9552@31 {
1337                 compatible = "ibm,pca9552";
1338                 reg = <0x31>;
1339                 #address-cells = <1>;
1340                 #size-cells = <0>;
1341
1342                 gpio-controller;
1343                 #gpio-cells = <2>;
1344
1345                 led@0 {
1346                         label = "ddimm0";
1347                         reg = <0>;
1348                         retain-state-shutdown;
1349                         default-state = "keep";
1350                         type = <PCA955X_TYPE_LED>;
1351                 };
1352
1353                 led@1 {
1354                         label = "ddimm1";
1355                         reg = <1>;
1356                         retain-state-shutdown;
1357                         default-state = "keep";
1358                         type = <PCA955X_TYPE_LED>;
1359                 };
1360
1361                 led@2 {
1362                         label = "ddimm2";
1363                         reg = <2>;
1364                         retain-state-shutdown;
1365                         default-state = "keep";
1366                         type = <PCA955X_TYPE_LED>;
1367                 };
1368
1369                 led@3 {
1370                         label = "ddimm3";
1371                         reg = <3>;
1372                         retain-state-shutdown;
1373                         default-state = "keep";
1374                         type = <PCA955X_TYPE_LED>;
1375                 };
1376
1377                 led@4 {
1378                         label = "ddimm4";
1379                         reg = <4>;
1380                         retain-state-shutdown;
1381                         default-state = "keep";
1382                         type = <PCA955X_TYPE_LED>;
1383                 };
1384
1385                 led@5 {
1386                         label = "ddimm5";
1387                         reg = <5>;
1388                         retain-state-shutdown;
1389                         default-state = "keep";
1390                         type = <PCA955X_TYPE_LED>;
1391                 };
1392
1393                 led@6 {
1394                         label = "ddimm6";
1395                         reg = <6>;
1396                         retain-state-shutdown;
1397                         default-state = "keep";
1398                         type = <PCA955X_TYPE_LED>;
1399                 };
1400
1401                 led@7 {
1402                         label = "ddimm7";
1403                         reg = <7>;
1404                         retain-state-shutdown;
1405                         default-state = "keep";
1406                         type = <PCA955X_TYPE_LED>;
1407                 };
1408
1409                 led@8 {
1410                         label = "ddimm8";
1411                         reg = <8>;
1412                         retain-state-shutdown;
1413                         default-state = "keep";
1414                         type = <PCA955X_TYPE_LED>;
1415                 };
1416
1417                 led@9 {
1418                         label = "ddimm9";
1419                         reg = <9>;
1420                         retain-state-shutdown;
1421                         default-state = "keep";
1422                         type = <PCA955X_TYPE_LED>;
1423                 };
1424
1425                 led@10 {
1426                         label = "ddimm10";
1427                         reg = <10>;
1428                         retain-state-shutdown;
1429                         default-state = "keep";
1430                         type = <PCA955X_TYPE_LED>;
1431                 };
1432
1433                 led@11 {
1434                         label = "ddimm11";
1435                         reg = <11>;
1436                         retain-state-shutdown;
1437                         default-state = "keep";
1438                         type = <PCA955X_TYPE_LED>;
1439                 };
1440
1441                 led@12 {
1442                         label = "ddimm12";
1443                         reg = <12>;
1444                         retain-state-shutdown;
1445                         default-state = "keep";
1446                         type = <PCA955X_TYPE_LED>;
1447                 };
1448
1449                 led@13 {
1450                         label = "ddimm13";
1451                         reg = <13>;
1452                         retain-state-shutdown;
1453                         default-state = "keep";
1454                         type = <PCA955X_TYPE_LED>;
1455                 };
1456
1457                 led@14 {
1458                         label = "ddimm14";
1459                         reg = <14>;
1460                         retain-state-shutdown;
1461                         default-state = "keep";
1462                         type = <PCA955X_TYPE_LED>;
1463                 };
1464
1465                 led@15 {
1466                         label = "ddimm15";
1467                         reg = <15>;
1468                         retain-state-shutdown;
1469                         default-state = "keep";
1470                         type = <PCA955X_TYPE_LED>;
1471                 };
1472         };
1473
1474         pca9552@32 {
1475                 compatible = "ibm,pca9552";
1476                 reg = <0x32>;
1477                 #address-cells = <1>;
1478                 #size-cells = <0>;
1479
1480                 gpio-controller;
1481                 #gpio-cells = <2>;
1482
1483                 led@0 {
1484                         label = "ddimm16";
1485                         reg = <0>;
1486                         retain-state-shutdown;
1487                         default-state = "keep";
1488                         type = <PCA955X_TYPE_LED>;
1489                 };
1490
1491                 led@1 {
1492                         label = "ddimm17";
1493                         reg = <1>;
1494                         retain-state-shutdown;
1495                         default-state = "keep";
1496                         type = <PCA955X_TYPE_LED>;
1497                 };
1498
1499                 led@2 {
1500                         label = "ddimm18";
1501                         reg = <2>;
1502                         retain-state-shutdown;
1503                         default-state = "keep";
1504                         type = <PCA955X_TYPE_LED>;
1505                 };
1506
1507                 led@3 {
1508                         label = "ddimm19";
1509                         reg = <3>;
1510                         retain-state-shutdown;
1511                         default-state = "keep";
1512                         type = <PCA955X_TYPE_LED>;
1513                 };
1514
1515                 led@4 {
1516                         label = "ddimm20";
1517                         reg = <4>;
1518                         retain-state-shutdown;
1519                         default-state = "keep";
1520                         type = <PCA955X_TYPE_LED>;
1521                 };
1522
1523                 led@5 {
1524                         label = "ddimm21";
1525                         reg = <5>;
1526                         retain-state-shutdown;
1527                         default-state = "keep";
1528                         type = <PCA955X_TYPE_LED>;
1529                 };
1530
1531                 led@6 {
1532                         label = "ddimm22";
1533                         reg = <6>;
1534                         retain-state-shutdown;
1535                         default-state = "keep";
1536                         type = <PCA955X_TYPE_LED>;
1537                 };
1538
1539                 led@7 {
1540                         label = "ddimm23";
1541                         reg = <7>;
1542                         retain-state-shutdown;
1543                         default-state = "keep";
1544                         type = <PCA955X_TYPE_LED>;
1545                 };
1546
1547                 led@8 {
1548                         label = "ddimm24";
1549                         reg = <8>;
1550                         retain-state-shutdown;
1551                         default-state = "keep";
1552                         type = <PCA955X_TYPE_LED>;
1553                 };
1554
1555                 led@9 {
1556                         label = "ddimm25";
1557                         reg = <9>;
1558                         retain-state-shutdown;
1559                         default-state = "keep";
1560                         type = <PCA955X_TYPE_LED>;
1561                 };
1562
1563                 led@10 {
1564                         label = "ddimm26";
1565                         reg = <10>;
1566                         retain-state-shutdown;
1567                         default-state = "keep";
1568                         type = <PCA955X_TYPE_LED>;
1569                 };
1570
1571                 led@11 {
1572                         label = "ddimm27";
1573                         reg = <11>;
1574                         retain-state-shutdown;
1575                         default-state = "keep";
1576                         type = <PCA955X_TYPE_LED>;
1577                 };
1578
1579                 led@12 {
1580                         label = "ddimm28";
1581                         reg = <12>;
1582                         retain-state-shutdown;
1583                         default-state = "keep";
1584                         type = <PCA955X_TYPE_LED>;
1585                 };
1586
1587                 led@13 {
1588                         label = "ddimm29";
1589                         reg = <13>;
1590                         retain-state-shutdown;
1591                         default-state = "keep";
1592                         type = <PCA955X_TYPE_LED>;
1593                 };
1594
1595                 led@14 {
1596                         label = "ddimm30";
1597                         reg = <14>;
1598                         retain-state-shutdown;
1599                         default-state = "keep";
1600                         type = <PCA955X_TYPE_LED>;
1601                 };
1602
1603                 led@15 {
1604                         label = "ddimm31";
1605                         reg = <15>;
1606                         retain-state-shutdown;
1607                         default-state = "keep";
1608                         type = <PCA955X_TYPE_LED>;
1609                 };
1610         };
1611
1612         pca9552@33 {
1613                 compatible = "ibm,pca9552";
1614                 reg = <0x33>;
1615                 #address-cells = <1>;
1616                 #size-cells = <0>;
1617
1618                 gpio-controller;
1619                 #gpio-cells = <2>;
1620
1621                 led@0 {
1622                         label = "planar";
1623                         reg = <0>;
1624                         retain-state-shutdown;
1625                         default-state = "keep";
1626                         type = <PCA955X_TYPE_LED>;
1627                 };
1628
1629                 led@1 {
1630                         label = "cpu0";
1631                         reg = <1>;
1632                         retain-state-shutdown;
1633                         default-state = "keep";
1634                         type = <PCA955X_TYPE_LED>;
1635                 };
1636
1637                 led@3 {
1638                         label = "dasd-pyramid0";
1639                         reg = <3>;
1640                         retain-state-shutdown;
1641                         default-state = "keep";
1642                         type = <PCA955X_TYPE_LED>;
1643                 };
1644
1645                 led@4 {
1646                         label = "dasd-pyramid1";
1647                         reg = <4>;
1648                         retain-state-shutdown;
1649                         default-state = "keep";
1650                         type = <PCA955X_TYPE_LED>;
1651                 };
1652
1653                 led@5 {
1654                         label = "dasd-pyramid2";
1655                         reg = <5>;
1656                         retain-state-shutdown;
1657                         default-state = "keep";
1658                         type = <PCA955X_TYPE_LED>;
1659                 };
1660
1661                 led@6 {
1662                         label = "cpu0-vrm0";
1663                         reg = <6>;
1664                         retain-state-shutdown;
1665                         default-state = "keep";
1666                         type = <PCA955X_TYPE_LED>;
1667                 };
1668
1669                 led@7 {
1670                         label = "rtc-battery";
1671                         reg = <7>;
1672                         retain-state-shutdown;
1673                         default-state = "keep";
1674                         type = <PCA955X_TYPE_LED>;
1675                 };
1676
1677                 led@8 {
1678                         label = "base-blyth";
1679                         reg = <8>;
1680                         retain-state-shutdown;
1681                         default-state = "keep";
1682                         type = <PCA955X_TYPE_LED>;
1683                 };
1684
1685                 led@9 {
1686                         label = "pcieslot6";
1687                         reg = <9>;
1688                         retain-state-shutdown;
1689                         default-state = "keep";
1690                         type = <PCA955X_TYPE_LED>;
1691                 };
1692
1693                 led@10 {
1694                         label = "pcieslot7";
1695                         reg = <10>;
1696                         retain-state-shutdown;
1697                         default-state = "keep";
1698                         type = <PCA955X_TYPE_LED>;
1699                 };
1700
1701                 led@11 {
1702                         label = "pcieslot8";
1703                         reg = <11>;
1704                         retain-state-shutdown;
1705                         default-state = "keep";
1706                         type = <PCA955X_TYPE_LED>;
1707                 };
1708
1709                 led@12 {
1710                         label = "pcieslot9";
1711                         reg = <12>;
1712                         retain-state-shutdown;
1713                         default-state = "keep";
1714                         type = <PCA955X_TYPE_LED>;
1715                 };
1716
1717                 led@13 {
1718                         label = "pcieslot10";
1719                         reg = <13>;
1720                         retain-state-shutdown;
1721                         default-state = "keep";
1722                         type = <PCA955X_TYPE_LED>;
1723                 };
1724
1725                 led@14 {
1726                         label = "pcieslot11";
1727                         reg = <14>;
1728                         retain-state-shutdown;
1729                         default-state = "keep";
1730                         type = <PCA955X_TYPE_LED>;
1731                 };
1732
1733                 led@15 {
1734                         label = "tpm-wilson";
1735                         reg = <15>;
1736                         retain-state-shutdown;
1737                         default-state = "keep";
1738                         type = <PCA955X_TYPE_LED>;
1739                 };
1740         };
1741
1742         si7021-a20@40 {
1743                 compatible = "silabs,si7020";
1744                 reg = <0x40>;
1745         };
1746
1747         tmp275@48 {
1748                 compatible = "ti,tmp275";
1749                 reg = <0x48>;
1750         };
1751
1752         max: max31785@52 {
1753                 compatible = "maxim,max31785a";
1754                 reg = <0x52>;
1755                 #address-cells = <1>;
1756                 #size-cells = <0>;
1757
1758                 fan0: fan@0 {
1759                         compatible = "pmbus-fan";
1760                         reg = <0>;
1761                         tach-pulses = <2>;
1762                 };
1763
1764                 fan1: fan@1 {
1765                         compatible = "pmbus-fan";
1766                         reg = <1>;
1767                         tach-pulses = <2>;
1768                 };
1769
1770                 fan2: fan@2 {
1771                         compatible = "pmbus-fan";
1772                         reg = <2>;
1773                         tach-pulses = <2>;
1774                 };
1775
1776                 fan3: fan@3 {
1777                         compatible = "pmbus-fan";
1778                         reg = <3>;
1779                         tach-pulses = <2>;
1780                 };
1781
1782                 fan4: fan@4 {
1783                         compatible = "pmbus-fan";
1784                         reg = <4>;
1785                         tach-pulses = <2>;
1786                 };
1787
1788                 fan5: fan@5 {
1789                         compatible = "pmbus-fan";
1790                         reg = <5>;
1791                         tach-pulses = <2>;
1792                 };
1793         };
1794
1795         pca9551@60 {
1796                 compatible = "nxp,pca9551";
1797                 reg = <0x60>;
1798                 #address-cells = <1>;
1799                 #size-cells = <0>;
1800
1801                 gpio-controller;
1802                 #gpio-cells = <2>;
1803
1804                 led@0 {
1805                         label = "front-sys-id0";
1806                         reg = <0>;
1807                         retain-state-shutdown;
1808                         default-state = "keep";
1809                         type = <PCA955X_TYPE_LED>;
1810                 };
1811
1812                 led@1 {
1813                         label = "front-check-log0";
1814                         reg = <1>;
1815                         retain-state-shutdown;
1816                         default-state = "keep";
1817                         type = <PCA955X_TYPE_LED>;
1818                 };
1819
1820                 led@2 {
1821                         label = "front-enc-fault1";
1822                         reg = <2>;
1823                         retain-state-shutdown;
1824                         default-state = "keep";
1825                         type = <PCA955X_TYPE_LED>;
1826                 };
1827
1828                 led@3 {
1829                         label = "front-sys-pwron0";
1830                         reg = <3>;
1831                         retain-state-shutdown;
1832                         default-state = "keep";
1833                         type = <PCA955X_TYPE_LED>;
1834                 };
1835         };
1836
1837         pca0: pca9552@61 {
1838                 compatible = "nxp,pca9552";
1839                 reg = <0x61>;
1840                 #address-cells = <1>;
1841                 #size-cells = <0>;
1842
1843                 gpio-controller;
1844                 #gpio-cells = <2>;
1845
1846                 led@0 {
1847                         label = "fan0";
1848                         reg = <0>;
1849                         retain-state-shutdown;
1850                         default-state = "keep";
1851                         type = <PCA955X_TYPE_LED>;
1852                 };
1853
1854                 led@1 {
1855                         label = "fan1";
1856                         reg = <1>;
1857                         retain-state-shutdown;
1858                         default-state = "keep";
1859                         type = <PCA955X_TYPE_LED>;
1860                 };
1861
1862                 led@2 {
1863                         label = "fan2";
1864                         reg = <2>;
1865                         retain-state-shutdown;
1866                         default-state = "keep";
1867                         type = <PCA955X_TYPE_LED>;
1868                 };
1869
1870                 led@3 {
1871                         label = "fan3";
1872                         reg = <3>;
1873                         retain-state-shutdown;
1874                         default-state = "keep";
1875                         type = <PCA955X_TYPE_LED>;
1876                 };
1877
1878                 led@4 {
1879                         label = "fan4";
1880                         reg = <4>;
1881                         retain-state-shutdown;
1882                         default-state = "keep";
1883                         type = <PCA955X_TYPE_LED>;
1884                 };
1885
1886                 led@5 {
1887                         label = "fan5";
1888                         reg = <5>;
1889                         retain-state-shutdown;
1890                         default-state = "keep";
1891                         type = <PCA955X_TYPE_LED>;
1892                 };
1893         };
1894
1895         ibm-panel@62 {
1896                 compatible = "ibm,op-panel";
1897                 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
1898         };
1899
1900         dps: dps310@76 {
1901                 compatible = "infineon,dps310";
1902                 reg = <0x76>;
1903                 #io-channel-cells = <0>;
1904         };
1905
1906         eeprom@50 {
1907                 compatible = "atmel,24c64";
1908                 reg = <0x50>;
1909         };
1910
1911         eeprom@51 {
1912                 compatible = "atmel,24c64";
1913                 reg = <0x51>;
1914         };
1915 };
1916
1917 &i2c8 {
1918         status = "okay";
1919
1920         ucd90320@11 {
1921                 compatible = "ti,ucd90320";
1922                 reg = <0x11>;
1923         };
1924
1925         rtc@32 {
1926                 compatible = "epson,rx8900";
1927                 reg = <0x32>;
1928         };
1929
1930         tmp275@48 {
1931                 compatible = "ti,tmp275";
1932                 reg = <0x48>;
1933         };
1934
1935         tmp275@4a {
1936                 compatible = "ti,tmp275";
1937                 reg = <0x4a>;
1938         };
1939
1940         eeprom@50 {
1941                 compatible = "atmel,24c64";
1942                 reg = <0x50>;
1943         };
1944
1945         eeprom@51 {
1946                 compatible = "atmel,24c64";
1947                 reg = <0x51>;
1948         };
1949
1950         pca_pres3: pca9552@60 {
1951                 compatible = "nxp,pca9552";
1952                 reg = <0x60>;
1953                 #address-cells = <1>;
1954                 #size-cells = <0>;
1955                 gpio-controller;
1956                 #gpio-cells = <2>;
1957
1958                 gpio-line-names =
1959                         "", "", "", "", "", "", "", "",
1960                         "", "", "", "", "", "", "power-config-full-load", "";
1961         };
1962
1963         pca_pres2: pca9552@61 {
1964                 compatible = "nxp,pca9552";
1965                 reg = <0x61>;
1966                 #address-cells = <1>;
1967                 #size-cells = <0>;
1968                 gpio-controller;
1969                 #gpio-cells = <2>;
1970
1971                 gpio-line-names =
1972                         "SLOT6_PRSNT_EN_RSVD", "SLOT7_PRSNT_EN_RSVD",
1973                         "SLOT8_PRSNT_EN_RSVD", "SLOT9_PRSNT_EN_RSVD",
1974                         "SLOT10_PRSNT_EN_RSVD", "SLOT11_PRSNT_EN_RSVD",
1975                         "SLOT6_EXPANDER_PRSNT_N", "SLOT7_EXPANDER_PRSNT_N",
1976                         "SLOT8_EXPANDER_PRSNT_N", "SLOT9_EXPANDER_PRSNT_N",
1977                         "SLOT10_EXPANDER_PRSNT_N", "SLOT11_EXPANDER_PRSNT_N",
1978                         "", "", "", "";
1979         };
1980
1981 };
1982
1983 &i2c9 {
1984         status = "okay";
1985
1986         tmp423a@4c {
1987                 compatible = "ti,tmp423";
1988                 reg = <0x4c>;
1989         };
1990
1991         tmp423b@4d {
1992                 compatible = "ti,tmp423";
1993                 reg = <0x4d>;
1994         };
1995
1996         eeprom@50 {
1997                 compatible = "atmel,24c128";
1998                 reg = <0x50>;
1999         };
2000 };
2001
2002 &i2c10 {
2003         status = "okay";
2004
2005         tmp423a@4c {
2006                 compatible = "ti,tmp423";
2007                 reg = <0x4c>;
2008         };
2009
2010         tmp423b@4d {
2011                 compatible = "ti,tmp423";
2012                 reg = <0x4d>;
2013         };
2014
2015         eeprom@50 {
2016                 compatible = "atmel,24c128";
2017                 reg = <0x50>;
2018         };
2019 };
2020
2021 &i2c11 {
2022         status = "okay";
2023
2024         tmp275@48 {
2025                 compatible = "ti,tmp275";
2026                 reg = <0x48>;
2027         };
2028
2029         tmp275@49 {
2030                 compatible = "ti,tmp275";
2031                 reg = <0x49>;
2032         };
2033
2034         pca9546@70 {
2035                 compatible = "nxp,pca9546";
2036                 reg = <0x70>;
2037                 #address-cells = <1>;
2038                 #size-cells = <0>;
2039                 status = "okay";
2040                 i2c-mux-idle-disconnect;
2041
2042                 i2c11mux0chn0: i2c@0 {
2043                         #address-cells = <1>;
2044                         #size-cells = <0>;
2045                         reg = <0>;
2046
2047                         eeprom@50 {
2048                                 compatible = "atmel,24c64";
2049                                 reg = <0x50>;
2050                         };
2051
2052                         pca9551@60 {
2053                                 compatible = "nxp,pca9551";
2054                                 reg = <0x60>;
2055                                 #address-cells = <1>;
2056                                 #size-cells = <0>;
2057
2058                                 gpio-controller;
2059                                 #gpio-cells = <2>;
2060
2061                                 led@0 {
2062                                         label = "cablecard10-cxp-top";
2063                                         reg = <0>;
2064                                         retain-state-shutdown;
2065                                         default-state = "keep";
2066                                         type = <PCA955X_TYPE_LED>;
2067                                 };
2068
2069                                 led@1 {
2070                                         label = "cablecard10-cxp-bot";
2071                                         reg = <1>;
2072                                         retain-state-shutdown;
2073                                         default-state = "keep";
2074                                         type = <PCA955X_TYPE_LED>;
2075                                 };
2076                         };
2077                 };
2078
2079                 i2c11mux0chn1: i2c@1 {
2080                         #address-cells = <1>;
2081                         #size-cells = <0>;
2082                         reg = <1>;
2083
2084                         eeprom@51 {
2085                                 compatible = "atmel,24c64";
2086                                 reg = <0x51>;
2087                         };
2088                 };
2089         };
2090 };
2091
2092 &i2c12 {
2093         status = "okay";
2094
2095         tpm@2e {
2096                 compatible = "nuvoton,npct75x";
2097                 reg = <0x2e>;
2098         };
2099
2100         eeprom@50 {
2101                 compatible = "atmel,24c64";
2102                 reg = <0x50>;
2103         };
2104 };
2105
2106 &i2c13 {
2107         status = "okay";
2108
2109         eeprom@50 {
2110                 compatible = "atmel,24c64";
2111                 reg = <0x50>;
2112         };
2113
2114         pca9552@60 {
2115                 compatible = "nxp,pca9552";
2116                 reg = <0x60>;
2117                 #address-cells = <1>;
2118                 #size-cells = <0>;
2119
2120                 gpio-controller;
2121                 #gpio-cells = <2>;
2122
2123                 led@0 {
2124                         label = "nvme0";
2125                         reg = <0>;
2126                         retain-state-shutdown;
2127                         default-state = "keep";
2128                         type = <PCA955X_TYPE_LED>;
2129                 };
2130
2131                 led@1 {
2132                         label = "nvme1";
2133                         reg = <1>;
2134                         retain-state-shutdown;
2135                         default-state = "keep";
2136                         type = <PCA955X_TYPE_LED>;
2137                 };
2138
2139                 led@2 {
2140                         label = "nvme2";
2141                         reg = <2>;
2142                         retain-state-shutdown;
2143                         default-state = "keep";
2144                         type = <PCA955X_TYPE_LED>;
2145                 };
2146
2147                 led@3 {
2148                         label = "nvme3";
2149                         reg = <3>;
2150                         retain-state-shutdown;
2151                         default-state = "keep";
2152                         type = <PCA955X_TYPE_LED>;
2153                 };
2154
2155                 led@4 {
2156                         label = "nvme4";
2157                         reg = <4>;
2158                         retain-state-shutdown;
2159                         default-state = "keep";
2160                         type = <PCA955X_TYPE_LED>;
2161                 };
2162
2163                 led@5 {
2164                         label = "nvme5";
2165                         reg = <5>;
2166                         retain-state-shutdown;
2167                         default-state = "keep";
2168                         type = <PCA955X_TYPE_LED>;
2169                 };
2170
2171                 led@6 {
2172                         label = "nvme6";
2173                         reg = <6>;
2174                         retain-state-shutdown;
2175                         default-state = "keep";
2176                         type = <PCA955X_TYPE_LED>;
2177                 };
2178
2179                 led@7 {
2180                         label = "nvme7";
2181                         reg = <7>;
2182                         retain-state-shutdown;
2183                         default-state = "keep";
2184                         type = <PCA955X_TYPE_LED>;
2185                 };
2186         };
2187 };
2188
2189 &i2c14 {
2190         status = "okay";
2191
2192         eeprom@50 {
2193                 compatible = "atmel,24c64";
2194                 reg = <0x50>;
2195         };
2196
2197         pca9552@60 {
2198                 compatible = "nxp,pca9552";
2199                 reg = <0x60>;
2200                 #address-cells = <1>;
2201                 #size-cells = <0>;
2202
2203                 gpio-controller;
2204                 #gpio-cells = <2>;
2205
2206                 led@0 {
2207                         label = "nvme8";
2208                         reg = <0>;
2209                         retain-state-shutdown;
2210                         default-state = "keep";
2211                         type = <PCA955X_TYPE_LED>;
2212                 };
2213
2214                 led@1 {
2215                         label = "nvme9";
2216                         reg = <1>;
2217                         retain-state-shutdown;
2218                         default-state = "keep";
2219                         type = <PCA955X_TYPE_LED>;
2220                 };
2221
2222                 led@2 {
2223                         label = "nvme10";
2224                         reg = <2>;
2225                         retain-state-shutdown;
2226                         default-state = "keep";
2227                         type = <PCA955X_TYPE_LED>;
2228                 };
2229
2230                 led@3 {
2231                         label = "nvme11";
2232                         reg = <3>;
2233                         retain-state-shutdown;
2234                         default-state = "keep";
2235                         type = <PCA955X_TYPE_LED>;
2236                 };
2237
2238                 led@4 {
2239                         label = "nvme12";
2240                         reg = <4>;
2241                         retain-state-shutdown;
2242                         default-state = "keep";
2243                         type = <PCA955X_TYPE_LED>;
2244                 };
2245
2246                 led@5 {
2247                         label = "nvme13";
2248                         reg = <5>;
2249                         retain-state-shutdown;
2250                         default-state = "keep";
2251                         type = <PCA955X_TYPE_LED>;
2252                 };
2253
2254                 led@6 {
2255                         label = "nvme14";
2256                         reg = <6>;
2257                         retain-state-shutdown;
2258                         default-state = "keep";
2259                         type = <PCA955X_TYPE_LED>;
2260                 };
2261
2262                 led@7 {
2263                         label = "nvme15";
2264                         reg = <7>;
2265                         retain-state-shutdown;
2266                         default-state = "keep";
2267                         type = <PCA955X_TYPE_LED>;
2268                 };
2269         };
2270 };
2271
2272 &i2c15 {
2273         status = "okay";
2274
2275         eeprom@50 {
2276                 compatible = "atmel,24c64";
2277                 reg = <0x50>;
2278         };
2279
2280         pca9552@60 {
2281                 compatible = "nxp,pca9552";
2282                 reg = <0x60>;
2283                 #address-cells = <1>;
2284                 #size-cells = <0>;
2285
2286                 gpio-controller;
2287                 #gpio-cells = <2>;
2288
2289                 led@0 {
2290                         label = "nvme16";
2291                         reg = <0>;
2292                         retain-state-shutdown;
2293                         default-state = "keep";
2294                         type = <PCA955X_TYPE_LED>;
2295                 };
2296
2297                 led@1 {
2298                         label = "nvme17";
2299                         reg = <1>;
2300                         retain-state-shutdown;
2301                         default-state = "keep";
2302                         type = <PCA955X_TYPE_LED>;
2303                 };
2304
2305                 led@2 {
2306                         label = "nvme18";
2307                         reg = <2>;
2308                         retain-state-shutdown;
2309                         default-state = "keep";
2310                         type = <PCA955X_TYPE_LED>;
2311                 };
2312
2313                 led@3 {
2314                         label = "nvme19";
2315                         reg = <3>;
2316                         retain-state-shutdown;
2317                         default-state = "keep";
2318                         type = <PCA955X_TYPE_LED>;
2319                 };
2320
2321                 led@4 {
2322                         label = "nvme20";
2323                         reg = <4>;
2324                         retain-state-shutdown;
2325                         default-state = "keep";
2326                         type = <PCA955X_TYPE_LED>;
2327                 };
2328
2329                 led@5 {
2330                         label = "nvme21";
2331                         reg = <5>;
2332                         retain-state-shutdown;
2333                         default-state = "keep";
2334                         type = <PCA955X_TYPE_LED>;
2335                 };
2336
2337                 led@6 {
2338                         label = "nvme22";
2339                         reg = <6>;
2340                         retain-state-shutdown;
2341                         default-state = "keep";
2342                         type = <PCA955X_TYPE_LED>;
2343                 };
2344
2345                 led@7 {
2346                         label = "nvme23";
2347                         reg = <7>;
2348                         retain-state-shutdown;
2349                         default-state = "keep";
2350                         type = <PCA955X_TYPE_LED>;
2351                 };
2352         };
2353 };
2354
2355 &uart2 {
2356         status = "okay";
2357 };
2358
2359 &vuart1 {
2360         status = "okay";
2361 };
2362
2363 &vuart2 {
2364         status = "okay";
2365 };
2366
2367 &lpc_ctrl {
2368         status = "okay";
2369         memory-region = <&flash_memory>;
2370 };
2371
2372 &mac2 {
2373         status = "okay";
2374         pinctrl-names = "default";
2375         pinctrl-0 = <&pinctrl_rmii3_default>;
2376         clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
2377                  <&syscon ASPEED_CLK_MAC3RCLK>;
2378         clock-names = "MACCLK", "RCLK";
2379         use-ncsi;
2380 };
2381
2382 &mac3 {
2383         status = "okay";
2384         pinctrl-names = "default";
2385         pinctrl-0 = <&pinctrl_rmii4_default>;
2386         clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
2387                  <&syscon ASPEED_CLK_MAC4RCLK>;
2388         clock-names = "MACCLK", "RCLK";
2389         use-ncsi;
2390 };
2391
2392 &wdt1 {
2393         aspeed,reset-type = "none";
2394         aspeed,external-signal;
2395         aspeed,ext-push-pull;
2396         aspeed,ext-active-high;
2397
2398         pinctrl-names = "default";
2399         pinctrl-0 = <&pinctrl_wdtrst1_default>;
2400 };
2401
2402 &wdt2 {
2403         status = "okay";
2404 };
2405
2406 &xdma {
2407         status = "okay";
2408         memory-region = <&vga_memory>;
2409 };
2410
2411 &kcs2 {
2412         status = "okay";
2413         aspeed,lpc-io-reg = <0xca8 0xcac>;
2414 };
2415
2416 &kcs3 {
2417         status = "okay";
2418         aspeed,lpc-io-reg = <0xca2>;
2419         aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
2420 };