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