Merge tag 'docs-5.11-2' of git://git.lwn.net/linux
[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                 serial4 = &uart5;
16                 i2c16 = &i2c2mux0;
17                 i2c17 = &i2c2mux1;
18                 i2c18 = &i2c2mux2;
19                 i2c19 = &i2c2mux3;
20
21                 spi10 = &cfam0_spi0;
22                 spi11 = &cfam0_spi1;
23                 spi12 = &cfam0_spi2;
24                 spi13 = &cfam0_spi3;
25                 spi20 = &cfam1_spi0;
26                 spi21 = &cfam1_spi1;
27                 spi22 = &cfam1_spi2;
28                 spi23 = &cfam1_spi3;
29                 spi30 = &cfam2_spi0;
30                 spi31 = &cfam2_spi1;
31                 spi32 = &cfam2_spi2;
32                 spi33 = &cfam2_spi3;
33         };
34
35         chosen {
36                 stdout-path = &uart5;
37                 bootargs = "console=ttyS4,115200n8";
38         };
39
40         memory@80000000 {
41                 device_type = "memory";
42                 reg = <0x80000000 0x40000000>;
43         };
44
45         reserved-memory {
46                 #address-cells = <1>;
47                 #size-cells = <1>;
48                 ranges;
49
50                 flash_memory: region@b8000000 {
51                         no-map;
52                         reg = <0xb8000000 0x04000000>; /* 64M */
53                 };
54
55                 ramoops@bc000000 {
56                         compatible = "ramoops";
57                         reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */
58                         record-size = <0x8000>;
59                         console-size = <0x8000>;
60                         pmsg-size = <0x8000>;
61                         max-reason = <3>; /* KMSG_DUMP_EMERG */
62                 };
63
64                 vga_memory: region@bf000000 {
65                         no-map;
66                         compatible = "shared-dma-pool";
67                         reg = <0xbf000000 0x01000000>;  /* 16M */
68                 };
69         };
70
71         gpio-keys {
72                 compatible = "gpio-keys";
73
74                 ps0-presence {
75                         label = "ps0-presence";
76                         gpios = <&gpio0 ASPEED_GPIO(S, 0) GPIO_ACTIVE_LOW>;
77                         linux,code = <ASPEED_GPIO(S, 0)>;
78                 };
79
80                 ps1-presence {
81                         label = "ps1-presence";
82                         gpios = <&gpio0 ASPEED_GPIO(S, 1) GPIO_ACTIVE_LOW>;
83                         linux,code = <ASPEED_GPIO(S, 1)>;
84                 };
85
86                 ps2-presence {
87                         label = "ps2-presence";
88                         gpios = <&gpio0 ASPEED_GPIO(S, 2) GPIO_ACTIVE_LOW>;
89                         linux,code = <ASPEED_GPIO(S, 2)>;
90                 };
91
92                 ps3-presence {
93                         label = "ps3-presence";
94                         gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_LOW>;
95                         linux,code = <ASPEED_GPIO(S, 3)>;
96                 };
97         };
98
99         i2c2mux: i2cmux {
100                 compatible = "i2c-mux-gpio";
101                 #address-cells = <1>;
102                 #size-cells = <0>;
103                 status = "okay";
104
105                 i2c-parent = <&i2c2>;
106                 mux-gpios = <&gpio0 ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>,
107                             <&gpio0 ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>;
108                 idle-state = <0>;
109
110                 i2c2mux0: i2c@0 {
111                         #address-cells = <1>;
112                         #size-cells = <0>;
113                         reg = <0>;
114                 };
115
116                 i2c2mux1: i2c@1 {
117                         #address-cells = <1>;
118                         #size-cells = <0>;
119                         reg = <1>;
120                 };
121
122                 i2c2mux2: i2c@2 {
123                         #address-cells = <1>;
124                         #size-cells = <0>;
125                         reg = <2>;
126                 };
127
128                 i2c2mux3: i2c@3 {
129                         #address-cells = <1>;
130                         #size-cells = <0>;
131                         reg = <3>;
132                 };
133         };
134 };
135
136 &ehci1 {
137         status = "okay";
138 };
139
140 &gpio0 {
141         gpio-line-names =
142         /*A0-A7*/       "","","","","","","","",
143         /*B0-B7*/       "","","","","","","checkstop","",
144         /*C0-C7*/       "","","","","","","","",
145         /*D0-D7*/       "","","","","","","","",
146         /*E0-E7*/       "","","","","","","","",
147         /*F0-F7*/       "","","","","","","","",
148         /*G0-G7*/       "","","","","","","","",
149         /*H0-H7*/       "","","","","","","","",
150         /*I0-I7*/       "","","","","","","","",
151         /*J0-J7*/       "","","","","","","","",
152         /*K0-K7*/       "","","","","","","","",
153         /*L0-L7*/       "","","","","","","","",
154         /*M0-M7*/       "","","","","","","","",
155         /*N0-N7*/       "","","","","","","","",
156         /*O0-O7*/       "","","","usb-power","","","","",
157         /*P0-P7*/       "","","","","","","","",
158         /*Q0-Q7*/       "cfam-reset","","","","","","","",
159         /*R0-R7*/       "","","","","","","","",
160         /*S0-S7*/       "presence-ps0","presence-ps1","presence-ps2","presence-ps3",
161                                 "","","","",
162         /*T0-T7*/       "","","","","","","","",
163         /*U0-U7*/       "","","","","","","","",
164         /*V0-V7*/       "","","","","","","","",
165         /*W0-W7*/       "","","","","","","","",
166         /*X0-X7*/       "","","","","","","","",
167         /*Y0-Y7*/       "","","","","","","","",
168         /*Z0-Z7*/       "","","","","","","","",
169         /*AA0-AA7*/     "","","","","","","","",
170         /*AB0-AB7*/     "","","","","","","","",
171         /*AC0-AC7*/     "","","","","","","","";
172
173         pin_mclr_vpp {
174                 gpio-hog;
175                 gpios = <ASPEED_GPIO(P, 7) GPIO_OPEN_DRAIN>;
176                 output-high;
177                 line-name = "mclr_vpp";
178         };
179
180         i2c3_mux_oe_n {
181                 gpio-hog;
182                 gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>;
183                 output-high;
184                 line-name = "I2C3_MUX_OE_N";
185         };
186 };
187
188 &emmc_controller {
189         status = "okay";
190 };
191
192 &pinctrl_emmc_default {
193         bias-disable;
194 };
195
196 &emmc {
197         status = "okay";
198 };
199
200 &fsim0 {
201         status = "okay";
202
203         #address-cells = <2>;
204         #size-cells = <0>;
205
206         /*
207          * CFAM Reset is supposed to be active low but pass1 hardware is wired
208          * active high.
209          */
210         cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
211
212         cfam@0,0 {
213                 reg = <0 0>;
214                 #address-cells = <1>;
215                 #size-cells = <1>;
216                 chip-id = <0>;
217
218                 scom@1000 {
219                         compatible = "ibm,fsi2pib";
220                         reg = <0x1000 0x400>;
221                 };
222
223                 i2c@1800 {
224                         compatible = "ibm,fsi-i2c-master";
225                         reg = <0x1800 0x400>;
226                         #address-cells = <1>;
227                         #size-cells = <0>;
228                 };
229
230                 fsi2spi@1c00 {
231                         compatible = "ibm,fsi2spi";
232                         reg = <0x1c00 0x400>;
233                         #address-cells = <1>;
234                         #size-cells = <0>;
235
236                         cfam0_spi0: spi@0 {
237                                 reg = <0x0>;
238                                 #address-cells = <1>;
239                                 #size-cells = <0>;
240
241                                 eeprom@0 {
242                                         at25,byte-len = <0x80000>;
243                                         at25,addr-mode = <4>;
244                                         at25,page-size = <256>;
245
246                                         compatible = "atmel,at25";
247                                         reg = <0>;
248                                         spi-max-frequency = <1000000>;
249                                 };
250                         };
251
252                         cfam0_spi1: spi@20 {
253                                 reg = <0x20>;
254                                 #address-cells = <1>;
255                                 #size-cells = <0>;
256
257                                 eeprom@0 {
258                                         at25,byte-len = <0x80000>;
259                                         at25,addr-mode = <4>;
260                                         at25,page-size = <256>;
261
262                                         compatible = "atmel,at25";
263                                         reg = <0>;
264                                         spi-max-frequency = <1000000>;
265                                 };
266                         };
267
268                         cfam0_spi2: spi@40 {
269                                 reg = <0x40>;
270                                 compatible = "ibm,fsi2spi-restricted";
271                                 #address-cells = <1>;
272                                 #size-cells = <0>;
273
274                                 eeprom@0 {
275                                         at25,byte-len = <0x80000>;
276                                         at25,addr-mode = <4>;
277                                         at25,page-size = <256>;
278
279                                         compatible = "atmel,at25";
280                                         reg = <0>;
281                                         spi-max-frequency = <1000000>;
282                                 };
283                         };
284
285                         cfam0_spi3: spi@60 {
286                                 reg = <0x60>;
287                                 compatible = "ibm,fsi2spi-restricted";
288                                 #address-cells = <1>;
289                                 #size-cells = <0>;
290
291                                 eeprom@0 {
292                                         at25,byte-len = <0x80000>;
293                                         at25,addr-mode = <4>;
294                                         at25,page-size = <256>;
295
296                                         compatible = "atmel,at25";
297                                         reg = <0>;
298                                         spi-max-frequency = <1000000>;
299                                 };
300                         };
301                 };
302
303                 sbefifo@2400 {
304                         compatible = "ibm,p9-sbefifo";
305                         reg = <0x2400 0x400>;
306                         #address-cells = <1>;
307                         #size-cells = <0>;
308
309                         fsi_occ0: occ {
310                                 compatible = "ibm,p10-occ";
311                         };
312                 };
313
314                 fsi_hub0: hub@3400 {
315                         compatible = "fsi-master-hub";
316                         reg = <0x3400 0x400>;
317                         #address-cells = <2>;
318                         #size-cells = <0>;
319
320                         no-scan-on-init;
321                 };
322         };
323 };
324
325 &fsi_hub0 {
326         cfam@1,0 {
327                 reg = <1 0>;
328                 #address-cells = <1>;
329                 #size-cells = <1>;
330                 chip-id = <1>;
331
332                 scom@1000 {
333                         compatible = "ibm,fsi2pib";
334                         reg = <0x1000 0x400>;
335                 };
336
337                 i2c@1800 {
338                         compatible = "ibm,fsi-i2c-master";
339                         reg = <0x1800 0x400>;
340                         #address-cells = <1>;
341                         #size-cells = <0>;
342                 };
343
344                 fsi2spi@1c00 {
345                         compatible = "ibm,fsi2spi";
346                         reg = <0x1c00 0x400>;
347                         #address-cells = <1>;
348                         #size-cells = <0>;
349
350                         cfam1_spi0: spi@0 {
351                                 reg = <0x0>;
352                                 #address-cells = <1>;
353                                 #size-cells = <0>;
354
355                                 eeprom@0 {
356                                         at25,byte-len = <0x80000>;
357                                         at25,addr-mode = <4>;
358                                         at25,page-size = <256>;
359
360                                         compatible = "atmel,at25";
361                                         reg = <0>;
362                                         spi-max-frequency = <1000000>;
363                                 };
364                         };
365
366                         cfam1_spi1: spi@20 {
367                                 reg = <0x20>;
368                                 #address-cells = <1>;
369                                 #size-cells = <0>;
370
371                                 eeprom@0 {
372                                         at25,byte-len = <0x80000>;
373                                         at25,addr-mode = <4>;
374                                         at25,page-size = <256>;
375
376                                         compatible = "atmel,at25";
377                                         reg = <0>;
378                                         spi-max-frequency = <1000000>;
379                                 };
380                         };
381
382                         cfam1_spi2: spi@40 {
383                                 reg = <0x40>;
384                                 compatible = "ibm,fsi2spi-restricted";
385                                 #address-cells = <1>;
386                                 #size-cells = <0>;
387
388                                 eeprom@0 {
389                                         at25,byte-len = <0x80000>;
390                                         at25,addr-mode = <4>;
391                                         at25,page-size = <256>;
392
393                                         compatible = "atmel,at25";
394                                         reg = <0>;
395                                         spi-max-frequency = <1000000>;
396                                 };
397                         };
398
399                         cfam1_spi3: spi@60 {
400                                 reg = <0x60>;
401                                 compatible = "ibm,fsi2spi-restricted";
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
417                 sbefifo@2400 {
418                         compatible = "ibm,p9-sbefifo";
419                         reg = <0x2400 0x400>;
420                         #address-cells = <1>;
421                         #size-cells = <0>;
422
423                         fsi_occ1: occ {
424                                 compatible = "ibm,p10-occ";
425                         };
426                 };
427
428                 fsi_hub1: hub@3400 {
429                         compatible = "fsi-master-hub";
430                         reg = <0x3400 0x400>;
431                         #address-cells = <2>;
432                         #size-cells = <0>;
433
434                         no-scan-on-init;
435                 };
436         };
437
438         cfam@2,0 {
439                 reg = <2 0>;
440                 #address-cells = <1>;
441                 #size-cells = <1>;
442                 chip-id = <2>;
443
444                 scom@1000 {
445                         compatible = "ibm,fsi2pib";
446                         reg = <0x1000 0x400>;
447                 };
448
449                 i2c@1800 {
450                         compatible = "ibm,fsi-i2c-master";
451                         reg = <0x1800 0x400>;
452                         #address-cells = <1>;
453                         #size-cells = <0>;
454                 };
455
456                 fsi2spi@1c00 {
457                         compatible = "ibm,fsi2spi";
458                         reg = <0x1c00 0x400>;
459                         #address-cells = <1>;
460                         #size-cells = <0>;
461
462                         cfam2_spi0: spi@0 {
463                                 reg = <0x0>;
464                                 #address-cells = <1>;
465                                 #size-cells = <0>;
466
467                                 eeprom@0 {
468                                         at25,byte-len = <0x80000>;
469                                         at25,addr-mode = <4>;
470                                         at25,page-size = <256>;
471
472                                         compatible = "atmel,at25";
473                                         reg = <0>;
474                                         spi-max-frequency = <1000000>;
475                                 };
476                         };
477
478                         cfam2_spi1: spi@20 {
479                                 reg = <0x20>;
480                                 #address-cells = <1>;
481                                 #size-cells = <0>;
482
483                                 eeprom@0 {
484                                         at25,byte-len = <0x80000>;
485                                         at25,addr-mode = <4>;
486                                         at25,page-size = <256>;
487
488                                         compatible = "atmel,at25";
489                                         reg = <0>;
490                                         spi-max-frequency = <1000000>;
491                                 };
492                         };
493
494                         cfam2_spi2: spi@40 {
495                                 reg = <0x40>;
496                                 compatible = "ibm,fsi2spi-restricted";
497                                 #address-cells = <1>;
498                                 #size-cells = <0>;
499
500                                 eeprom@0 {
501                                         at25,byte-len = <0x80000>;
502                                         at25,addr-mode = <4>;
503                                         at25,page-size = <256>;
504
505                                         compatible = "atmel,at25";
506                                         reg = <0>;
507                                         spi-max-frequency = <1000000>;
508                                 };
509                         };
510
511                         cfam2_spi3: spi@60 {
512                                 reg = <0x60>;
513                                 compatible = "ibm,fsi2spi-restricted";
514                                 #address-cells = <1>;
515                                 #size-cells = <0>;
516
517                                 eeprom@0 {
518                                         at25,byte-len = <0x80000>;
519                                         at25,addr-mode = <4>;
520                                         at25,page-size = <256>;
521
522                                         compatible = "atmel,at25";
523                                         reg = <0>;
524                                         spi-max-frequency = <1000000>;
525                                 };
526                         };
527                 };
528
529                 sbefifo@2400 {
530                         compatible = "ibm,p9-sbefifo";
531                         reg = <0x2400 0x400>;
532                         #address-cells = <1>;
533                         #size-cells = <0>;
534
535                         fsi_occ2: occ {
536                                 compatible = "ibm,p10-occ";
537                         };
538                 };
539
540                 fsi_hub2: hub@3400 {
541                         compatible = "fsi-master-hub";
542                         reg = <0x3400 0x400>;
543                         #address-cells = <2>;
544                         #size-cells = <0>;
545
546                         no-scan-on-init;
547                 };
548         };
549 };
550
551 /* Legacy OCC numbering (to get rid of when userspace is fixed) */
552 &fsi_occ0 {
553         reg = <1>;
554 };
555
556 &fsi_occ1 {
557         reg = <2>;
558 };
559
560 &fsi_occ2 {
561         reg = <3>;
562 };
563
564 &ibt {
565         status = "okay";
566 };
567
568 &i2c0 {
569         status = "okay";
570
571         eeprom@51 {
572                 compatible = "atmel,24c64";
573                 reg = <0x51>;
574         };
575
576         tca9554@40 {
577                 compatible = "ti,tca9554";
578                 reg = <0x40>;
579                 gpio-controller;
580                 #gpio-cells = <2>;
581
582                 smbus0 {
583                         gpio-hog;
584                         gpios = <4 GPIO_ACTIVE_HIGH>;
585                         output-high;
586                         line-name = "smbus0";
587                 };
588         };
589
590 };
591
592 &i2c1 {
593         status = "okay";
594 };
595
596 &i2c2 {
597         status = "okay";
598 };
599
600 &i2c3 {
601         status = "okay";
602
603         power-supply@68 {
604                 compatible = "ibm,cffps";
605                 reg = <0x68>;
606         };
607
608         power-supply@69 {
609                 compatible = "ibm,cffps";
610                 reg = <0x69>;
611         };
612 };
613
614 &i2c4 {
615         status = "okay";
616
617         tmp275@48 {
618                 compatible = "ti,tmp275";
619                 reg = <0x48>;
620         };
621
622         tmp275@49 {
623                 compatible = "ti,tmp275";
624                 reg = <0x49>;
625         };
626
627         tmp275@4a {
628                 compatible = "ti,tmp275";
629                 reg = <0x4a>;
630         };
631
632         eeprom@50 {
633                 compatible = "atmel,24c64";
634                 reg = <0x50>;
635         };
636
637         eeprom@51 {
638                 compatible = "atmel,24c64";
639                 reg = <0x51>;
640         };
641
642         eeprom@52 {
643                 compatible = "atmel,24c64";
644                 reg = <0x52>;
645         };
646 };
647
648 &i2c5 {
649         status = "okay";
650
651         tmp275@48 {
652                 compatible = "ti,tmp275";
653                 reg = <0x48>;
654         };
655
656         tmp275@49 {
657                 compatible = "ti,tmp275";
658                 reg = <0x49>;
659         };
660
661         eeprom@50 {
662                 compatible = "atmel,24c64";
663                 reg = <0x50>;
664         };
665
666         eeprom@51 {
667                 compatible = "atmel,24c64";
668                 reg = <0x51>;
669         };
670 };
671
672 &i2c6 {
673         status = "okay";
674
675         tmp275@48 {
676                 compatible = "ti,tmp275";
677                 reg = <0x48>;
678         };
679
680         tmp275@4a {
681                 compatible = "ti,tmp275";
682                 reg = <0x4a>;
683         };
684
685         tmp275@4b {
686                 compatible = "ti,tmp275";
687                 reg = <0x4b>;
688         };
689
690         eeprom@50 {
691                 compatible = "atmel,24c64";
692                 reg = <0x50>;
693         };
694
695         eeprom@51 {
696                 compatible = "atmel,24c64";
697                 reg = <0x51>;
698         };
699
700         eeprom@52 {
701                 compatible = "atmel,24c64";
702                 reg = <0x52>;
703         };
704
705         eeprom@53 {
706                 compatible = "atmel,24c64";
707                 reg = <0x53>;
708         };
709 };
710
711 &i2c7 {
712         multi-master;
713         status = "okay";
714
715         si7021-a20@20 {
716                 compatible = "silabs,si7020";
717                 reg = <0x20>;
718         };
719
720         tmp275@48 {
721                 compatible = "ti,tmp275";
722                 reg = <0x48>;
723         };
724
725         max31785@52 {
726                 compatible = "maxim,max31785a";
727                 reg = <0x52>;
728                 #address-cells = <1>;
729                 #size-cells = <0>;
730
731                 fan0: fan@0 {
732                         compatible = "pmbus-fan";
733                         reg = <0>;
734                         tach-pulses = <2>;
735                 };
736
737                 fan1: fan@1 {
738                         compatible = "pmbus-fan";
739                         reg = <1>;
740                         tach-pulses = <2>;
741                 };
742
743                 fan2: fan@2 {
744                         compatible = "pmbus-fan";
745                         reg = <2>;
746                         tach-pulses = <2>;
747                 };
748
749                 fan3: fan@3 {
750                         compatible = "pmbus-fan";
751                         reg = <3>;
752                         tach-pulses = <2>;
753                 };
754         };
755
756         pca0: pca9552@61 {
757                 compatible = "nxp,pca9552";
758                 reg = <0x61>;
759                 #address-cells = <1>;
760                 #size-cells = <0>;
761
762                 gpio-controller;
763                 #gpio-cells = <2>;
764
765                 gpio@0 {
766                         reg = <0>;
767                         type = <PCA955X_TYPE_GPIO>;
768                 };
769
770                 gpio@1 {
771                         reg = <1>;
772                         type = <PCA955X_TYPE_GPIO>;
773                 };
774
775                 gpio@2 {
776                         reg = <2>;
777                         type = <PCA955X_TYPE_GPIO>;
778                 };
779
780                 gpio@3 {
781                         reg = <3>;
782                         type = <PCA955X_TYPE_GPIO>;
783                 };
784
785                 gpio@4 {
786                         reg = <4>;
787                         type = <PCA955X_TYPE_GPIO>;
788                 };
789
790                 gpio@5 {
791                         reg = <5>;
792                         type = <PCA955X_TYPE_GPIO>;
793                 };
794
795                 gpio@6 {
796                         reg = <6>;
797                         type = <PCA955X_TYPE_GPIO>;
798                 };
799
800                 gpio@7 {
801                         reg = <7>;
802                         type = <PCA955X_TYPE_GPIO>;
803                 };
804
805                 gpio@8 {
806                         reg = <8>;
807                         type = <PCA955X_TYPE_GPIO>;
808                 };
809
810                 gpio@9 {
811                         reg = <9>;
812                         type = <PCA955X_TYPE_GPIO>;
813                 };
814
815                 gpio@10 {
816                         reg = <10>;
817                         type = <PCA955X_TYPE_GPIO>;
818                 };
819
820                 gpio@11 {
821                         reg = <11>;
822                         type = <PCA955X_TYPE_GPIO>;
823                 };
824
825                 gpio@12 {
826                         reg = <12>;
827                         type = <PCA955X_TYPE_GPIO>;
828                 };
829
830                 gpio@13 {
831                         reg = <13>;
832                         type = <PCA955X_TYPE_GPIO>;
833                 };
834
835                 gpio@14 {
836                         reg = <14>;
837                         type = <PCA955X_TYPE_GPIO>;
838                 };
839
840                 gpio@15 {
841                         reg = <15>;
842                         type = <PCA955X_TYPE_GPIO>;
843                 };
844         };
845
846         ibm-panel@62 {
847                 compatible = "ibm,op-panel";
848                 reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
849         };
850
851         dps: dps310@76 {
852                 compatible = "infineon,dps310";
853                 reg = <0x76>;
854                 #io-channel-cells = <0>;
855         };
856
857         eeprom@50 {
858                 compatible = "atmel,24c64";
859                 reg = <0x50>;
860         };
861
862         eeprom@51 {
863                 compatible = "atmel,24c64";
864                 reg = <0x51>;
865         };
866 };
867
868 &i2c8 {
869         status = "okay";
870
871         ucd90320@11 {
872                 compatible = "ti,ucd90320";
873                 reg = <0x11>;
874         };
875
876         rtc@32 {
877                 compatible = "epson,rx8900";
878                 reg = <0x32>;
879         };
880
881         tmp275@48 {
882                 compatible = "ti,tmp275";
883                 reg = <0x48>;
884         };
885
886         tmp275@4a {
887                 compatible = "ti,tmp275";
888                 reg = <0x4a>;
889         };
890
891         eeprom@50 {
892                 compatible = "atmel,24c64";
893                 reg = <0x50>;
894         };
895
896         eeprom@51 {
897                 compatible = "atmel,24c64";
898                 reg = <0x51>;
899         };
900
901         pca1: pca9552@61 {
902                 compatible = "nxp,pca9552";
903                 reg = <0x61>;
904                 #address-cells = <1>;
905                 #size-cells = <0>;
906                 gpio-controller;
907                 #gpio-cells = <2>;
908
909                 gpio@0 {
910                         reg = <0>;
911                         type = <PCA955X_TYPE_GPIO>;
912                 };
913
914                 gpio@1 {
915                         reg = <1>;
916                         type = <PCA955X_TYPE_GPIO>;
917                 };
918
919                 gpio@2 {
920                         reg = <2>;
921                         type = <PCA955X_TYPE_GPIO>;
922                 };
923
924                 gpio@3 {
925                         reg = <3>;
926                         type = <PCA955X_TYPE_GPIO>;
927                 };
928
929                 gpio@4 {
930                         reg = <4>;
931                         type = <PCA955X_TYPE_GPIO>;
932                 };
933
934                 gpio@5 {
935                         reg = <5>;
936                         type = <PCA955X_TYPE_GPIO>;
937                 };
938
939                 gpio@6 {
940                         reg = <6>;
941                         type = <PCA955X_TYPE_GPIO>;
942                 };
943
944                 gpio@7 {
945                         reg = <7>;
946                         type = <PCA955X_TYPE_GPIO>;
947                 };
948
949                 gpio@8 {
950                         reg = <8>;
951                         type = <PCA955X_TYPE_GPIO>;
952                 };
953
954                 gpio@9 {
955                         reg = <9>;
956                         type = <PCA955X_TYPE_GPIO>;
957                 };
958
959                 gpio@10 {
960                         reg = <10>;
961                         type = <PCA955X_TYPE_GPIO>;
962                 };
963
964                 gpio@11 {
965                         reg = <11>;
966                         type = <PCA955X_TYPE_GPIO>;
967                 };
968
969                 gpio@12 {
970                         reg = <12>;
971                         type = <PCA955X_TYPE_GPIO>;
972                 };
973
974                 gpio@13 {
975                         reg = <13>;
976                         type = <PCA955X_TYPE_GPIO>;
977                 };
978
979                 gpio@14 {
980                         reg = <14>;
981                         type = <PCA955X_TYPE_GPIO>;
982                 };
983
984                 gpio@15 {
985                         reg = <15>;
986                         type = <PCA955X_TYPE_GPIO>;
987                 };
988         };
989
990 };
991
992 &i2c9 {
993         status = "okay";
994
995         tmp423a@4c {
996                 compatible = "ti,tmp423";
997                 reg = <0x4c>;
998         };
999
1000         tmp423b@4d {
1001                 compatible = "ti,tmp423";
1002                 reg = <0x4d>;
1003         };
1004
1005         eeprom@50 {
1006                 compatible = "atmel,24c128";
1007                 reg = <0x50>;
1008         };
1009 };
1010
1011 &i2c10 {
1012         status = "okay";
1013
1014         tmp423a@4c {
1015                 compatible = "ti,tmp423";
1016                 reg = <0x4c>;
1017         };
1018
1019         tmp423b@4d {
1020                 compatible = "ti,tmp423";
1021                 reg = <0x4d>;
1022         };
1023
1024         eeprom@50 {
1025                 compatible = "atmel,24c128";
1026                 reg = <0x50>;
1027         };
1028 };
1029
1030 &i2c11 {
1031         status = "okay";
1032
1033         tmp275@48 {
1034                 compatible = "ti,tmp275";
1035                 reg = <0x48>;
1036         };
1037
1038         tmp275@49 {
1039                 compatible = "ti,tmp275";
1040                 reg = <0x49>;
1041         };
1042
1043         eeprom@50 {
1044                 compatible = "atmel,24c64";
1045                 reg = <0x50>;
1046         };
1047
1048         eeprom@51 {
1049                 compatible = "atmel,24c64";
1050                 reg = <0x51>;
1051         };
1052 };
1053
1054 &i2c12 {
1055         status = "okay";
1056 };
1057
1058 &i2c13 {
1059         status = "okay";
1060
1061         eeprom@50 {
1062                 compatible = "atmel,24c64";
1063                 reg = <0x50>;
1064         };
1065 };
1066
1067 &i2c14 {
1068         status = "okay";
1069
1070         eeprom@50 {
1071                 compatible = "atmel,24c64";
1072                 reg = <0x50>;
1073         };
1074 };
1075
1076 &i2c15 {
1077         status = "okay";
1078
1079         eeprom@50 {
1080                 compatible = "atmel,24c64";
1081                 reg = <0x50>;
1082         };
1083 };
1084
1085 &vuart1 {
1086         status = "okay";
1087 };
1088
1089 &vuart2 {
1090         status = "okay";
1091 };
1092
1093 &lpc_ctrl {
1094         status = "okay";
1095         memory-region = <&flash_memory>;
1096 };
1097
1098 &mac2 {
1099         status = "okay";
1100         pinctrl-names = "default";
1101         pinctrl-0 = <&pinctrl_rmii3_default>;
1102         clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
1103                  <&syscon ASPEED_CLK_MAC3RCLK>;
1104         clock-names = "MACCLK", "RCLK";
1105         use-ncsi;
1106 };
1107
1108 &mac3 {
1109         status = "okay";
1110         pinctrl-names = "default";
1111         pinctrl-0 = <&pinctrl_rmii4_default>;
1112         clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
1113                  <&syscon ASPEED_CLK_MAC4RCLK>;
1114         clock-names = "MACCLK", "RCLK";
1115         use-ncsi;
1116 };
1117
1118 &fmc {
1119         status = "okay";
1120         flash@0 {
1121                 status = "okay";
1122                 m25p,fast-read;
1123                 label = "bmc";
1124                 spi-max-frequency = <50000000>;
1125 #include "openbmc-flash-layout-128.dtsi"
1126         };
1127 };
1128
1129 &spi1 {
1130         status = "okay";
1131         pinctrl-names = "default";
1132         pinctrl-0 = <&pinctrl_spi1_default>;
1133
1134         flash@0 {
1135                 status = "okay";
1136                 m25p,fast-read;
1137                 label = "pnor";
1138                 spi-max-frequency = <100000000>;
1139         };
1140 };
1141
1142 &xdma {
1143         status = "okay";
1144         memory-region = <&vga_memory>;
1145 };