1// SPDX-License-Identifier: GPL-2.0-or-later
2// Copyright 2020 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 = "Everest";
12	compatible = "ibm,everest-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		i2c500 = &cfam4_i2c0;
48		i2c501 = &cfam4_i2c1;
49		i2c510 = &cfam4_i2c10;
50		i2c511 = &cfam4_i2c11;
51		i2c512 = &cfam4_i2c12;
52		i2c513 = &cfam4_i2c13;
53		i2c514 = &cfam4_i2c14;
54		i2c515 = &cfam4_i2c15;
55		i2c602 = &cfam5_i2c2;
56		i2c603 = &cfam5_i2c3;
57		i2c610 = &cfam5_i2c10;
58		i2c611 = &cfam5_i2c11;
59		i2c614 = &cfam5_i2c14;
60		i2c615 = &cfam5_i2c15;
61		i2c616 = &cfam5_i2c16;
62		i2c617 = &cfam5_i2c17;
63		i2c700 = &cfam6_i2c0;
64		i2c701 = &cfam6_i2c1;
65		i2c710 = &cfam6_i2c10;
66		i2c711 = &cfam6_i2c11;
67		i2c712 = &cfam6_i2c12;
68		i2c713 = &cfam6_i2c13;
69		i2c714 = &cfam6_i2c14;
70		i2c715 = &cfam6_i2c15;
71		i2c802 = &cfam7_i2c2;
72		i2c803 = &cfam7_i2c3;
73		i2c810 = &cfam7_i2c10;
74		i2c811 = &cfam7_i2c11;
75		i2c814 = &cfam7_i2c14;
76		i2c815 = &cfam7_i2c15;
77		i2c816 = &cfam7_i2c16;
78		i2c817 = &cfam7_i2c17;
79
80		i2c16 = &i2c4mux0chn0;
81		i2c17 = &i2c4mux0chn1;
82		i2c18 = &i2c4mux0chn2;
83		i2c19 = &i2c5mux0chn0;
84		i2c20 = &i2c5mux0chn1;
85		i2c21 = &i2c5mux0chn2;
86		i2c22 = &i2c5mux0chn3;
87		i2c23 = &i2c6mux0chn0;
88		i2c24 = &i2c6mux0chn1;
89		i2c25 = &i2c6mux0chn2;
90		i2c26 = &i2c6mux0chn3;
91		i2c27 = &i2c14mux0chn0;
92		i2c28 = &i2c14mux0chn1;
93		i2c29 = &i2c14mux0chn2;
94		i2c30 = &i2c14mux0chn3;
95		i2c31 = &i2c14mux1chn0;
96		i2c32 = &i2c14mux1chn1;
97		i2c33 = &i2c14mux1chn2;
98		i2c34 = &i2c14mux1chn3;
99		i2c35 = &i2c15mux0chn0;
100		i2c36 = &i2c15mux0chn1;
101		i2c37 = &i2c15mux0chn2;
102		i2c38 = &i2c15mux0chn3;
103		i2c39 = &i2c15mux1chn0;
104		i2c40 = &i2c15mux1chn1;
105		i2c41 = &i2c15mux1chn2;
106		i2c42 = &i2c15mux1chn3;
107		i2c43 = &i2c15mux2chn0;
108		i2c44 = &i2c15mux2chn1;
109		i2c45 = &i2c15mux2chn2;
110		i2c46 = &i2c15mux2chn3;
111		i2c47 = &i2c8mux0chn0;
112		i2c48 = &i2c8mux0chn1;
113
114		serial4 = &uart5;
115
116		spi10 = &cfam0_spi0;
117		spi11 = &cfam0_spi1;
118		spi12 = &cfam0_spi2;
119		spi13 = &cfam0_spi3;
120		spi20 = &cfam1_spi0;
121		spi21 = &cfam1_spi1;
122		spi22 = &cfam1_spi2;
123		spi23 = &cfam1_spi3;
124		spi30 = &cfam2_spi0;
125		spi31 = &cfam2_spi1;
126		spi32 = &cfam2_spi2;
127		spi33 = &cfam2_spi3;
128		spi40 = &cfam3_spi0;
129		spi41 = &cfam3_spi1;
130		spi42 = &cfam3_spi2;
131		spi43 = &cfam3_spi3;
132		spi50 = &cfam4_spi0;
133		spi51 = &cfam4_spi1;
134		spi52 = &cfam4_spi2;
135		spi53 = &cfam4_spi3;
136		spi60 = &cfam5_spi0;
137		spi61 = &cfam5_spi1;
138		spi62 = &cfam5_spi2;
139		spi63 = &cfam5_spi3;
140		spi70 = &cfam6_spi0;
141		spi71 = &cfam6_spi1;
142		spi72 = &cfam6_spi2;
143		spi73 = &cfam6_spi3;
144		spi80 = &cfam7_spi0;
145		spi81 = &cfam7_spi1;
146		spi82 = &cfam7_spi2;
147		spi83 = &cfam7_spi3;
148	};
149
150	chosen {
151		stdout-path = &uart5;
152		bootargs = "console=ttyS4,115200n8";
153	};
154
155	memory@80000000 {
156		device_type = "memory";
157		reg = <0x80000000 0x40000000>;
158	};
159
160	reserved-memory {
161		#address-cells = <1>;
162		#size-cells = <1>;
163		ranges;
164
165		ramoops@b3e00000 {
166			compatible = "ramoops";
167			reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */
168			record-size = <0x8000>;
169			console-size = <0x8000>;
170			ftrace-size = <0x8000>;
171			pmsg-size = <0x8000>;
172			max-reason = <3>; /* KMSG_DUMP_EMERG */
173		};
174
175		/* LPC FW cycle bridge region requires natural alignment */
176		flash_memory: region@b4000000 {
177			no-map;
178			reg = <0xb4000000 0x04000000>; /* 64M */
179		};
180
181		/* VGA region is dictated by hardware strapping */
182		vga_memory: region@bf000000 {
183			no-map;
184			compatible = "shared-dma-pool";
185			reg = <0xbf000000 0x01000000>; /* 16M */
186		};
187	};
188
189	gpio-keys-polled {
190		compatible = "gpio-keys-polled";
191		poll-interval = <1000>;
192
193		event-fan0-presence {
194			label = "fan0-presence";
195			gpios = <&pca0 15 GPIO_ACTIVE_LOW>;
196			linux,code = <15>;
197		};
198
199		event-fan1-presence {
200			label = "fan1-presence";
201			gpios = <&pca0 14 GPIO_ACTIVE_LOW>;
202			linux,code = <14>;
203		};
204
205		event-fan2-presence {
206			label = "fan2-presence";
207			gpios = <&pca0 13 GPIO_ACTIVE_LOW>;
208			linux,code = <13>;
209		};
210
211		event-fan3-presence {
212			label = "fan3-presence";
213			gpios = <&pca0 12 GPIO_ACTIVE_LOW>;
214			linux,code = <12>;
215		};
216	};
217
218	leds {
219		compatible = "gpio-leds";
220
221		/* RTC battery fault LED at the back */
222		led-rtc-battery {
223			gpios = <&gpio0 ASPEED_GPIO(H, 0) GPIO_ACTIVE_LOW>;
224		};
225
226		/* BMC Card fault LED at the back */
227		led-bmc {
228			gpios = <&gpio0 ASPEED_GPIO(H, 1) GPIO_ACTIVE_LOW>;
229		};
230
231		/* Enclosure Identify LED at the back */
232		led-rear-enc-id0 {
233			gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>;
234		};
235
236		/* Enclosure fault LED at the back */
237		led-rear-enc-fault0 {
238			gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
239		};
240
241		/* PCIE slot power LED */
242		led-pcieslot-power {
243			gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_LOW>;
244		};
245	};
246
247	iio-hwmon {
248		compatible = "iio-hwmon";
249		io-channels = <&adc1 7>;
250	};
251};
252
253&adc1 {
254	status = "okay";
255	aspeed,int-vref-microvolt = <2500000>;
256	pinctrl-names = "default";
257	pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
258				 &pinctrl_adc10_default &pinctrl_adc11_default
259				 &pinctrl_adc12_default &pinctrl_adc13_default
260				 &pinctrl_adc14_default &pinctrl_adc15_default>;
261};
262
263&gpio0 {
264	gpio-line-names =
265	/*A0-A7*/	"","","","","","","","",
266	/*B0-B7*/	"USERSPACE_RSTIND_BUFF","","","","","","checkstop","",
267	/*C0-C7*/	"","","","","","","","",
268	/*D0-D7*/	"","","","","","","","",
269	/*E0-E7*/	"","","","","","","","",
270	/*F0-F7*/	"","","rtc-battery-voltage-read-enable","reset-cause-pinhole","","","factory-reset-toggle","",
271	/*G0-G7*/	"","","","","","","","",
272	/*H0-H7*/	"led-rtc-battery","led-bmc","led-rear-enc-id0","led-rear-enc-fault0","","","","",
273	/*I0-I7*/	"","","","","","","bmc-secure-boot","",
274	/*J0-J7*/	"","","","","","","","",
275	/*K0-K7*/	"","","","","","","","",
276	/*L0-L7*/	"","","","","","","","",
277	/*M0-M7*/	"","","","","","","","",
278	/*N0-N7*/	"","","","","","","","",
279	/*O0-O7*/	"","","","usb-power","","","","",
280	/*P0-P7*/	"","","","","led-pcieslot-power","","","",
281	/*Q0-Q7*/	"","","regulator-standby-faulted","","","","","",
282	/*R0-R7*/	"bmc-tpm-reset","power-chassis-control","power-chassis-good","","","I2C_FLASH_MICRO_N","","",
283	/*S0-S7*/	"","","","","power-ffs-sync-history","","","",
284	/*T0-T7*/	"","","","","","","","",
285	/*U0-U7*/	"","","","","","","","",
286	/*V0-V7*/	"","BMC_3RESTART_ATTEMPT_P","","","","","","",
287	/*W0-W7*/	"","","","","","","","",
288	/*X0-X7*/	"","","","","","","","",
289	/*Y0-Y7*/	"","","","","","","","",
290	/*Z0-Z7*/   "","","","","","","","";
291
292	usb_power {
293		gpio-hog;
294		gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>;
295		output-high;
296	};
297};
298
299&i2c0 {
300	status = "okay";
301
302	eeprom@51 {
303		compatible = "atmel,24c64";
304		reg = <0x51>;
305	};
306
307	pca1: pca9552@62 {
308		compatible = "nxp,pca9552";
309		reg = <0x62>;
310		#address-cells = <1>;
311		#size-cells = <0>;
312
313		gpio-controller;
314		#gpio-cells = <2>;
315
316		gpio-line-names =
317			"presence-ps0",
318			"presence-ps1",
319			"presence-ps2",
320			"presence-ps3",
321			"presence-pdb",
322			"presence-tpm",
323			"", "",
324			"presence-cp0",
325			"presence-cp1",
326			"presence-cp2",
327			"presence-cp3",
328			"presence-dasd",
329			"presence-lcd-op",
330			"presence-base-op",
331			"";
332	};
333};
334
335&i2c1 {
336	status = "okay";
337};
338
339&i2c2 {
340	status = "okay";
341};
342
343&i2c3 {
344	status = "okay";
345
346	eeprom@54 {
347		compatible = "atmel,24c128";
348		reg = <0x54>;
349	};
350
351	power-supply@68 {
352		compatible = "ibm,cffps";
353		reg = <0x68>;
354	};
355
356	power-supply@69 {
357		compatible = "ibm,cffps";
358		reg = <0x69>;
359	};
360
361	power-supply@6b {
362		compatible = "ibm,cffps";
363		reg = <0x6b>;
364	};
365
366	power-supply@6d {
367		compatible = "ibm,cffps";
368		reg = <0x6d>;
369	};
370};
371
372&i2c4 {
373	status = "okay";
374
375	pca2: pca9552@65 {
376		compatible = "nxp,pca9552";
377		reg = <0x65>;
378		#address-cells = <1>;
379		#size-cells = <0>;
380
381		gpio-controller;
382		#gpio-cells = <2>;
383
384		gpio-line-names =
385			"presence-cable-card1",
386			"presence-cable-card2",
387			"presence-cable-card3",
388			"presence-cable-card4",
389			"presence-cable-card5",
390			"expander-cable-card1",
391			"expander-cable-card2",
392			"expander-cable-card3",
393			"expander-cable-card4",
394			"expander-cable-card5";
395	};
396
397	i2c-switch@70 {
398		compatible = "nxp,pca9546";
399		reg = <0x70>;
400		#address-cells = <1>;
401		#size-cells = <0>;
402		status = "okay";
403		i2c-mux-idle-disconnect;
404
405		i2c4mux0chn0: i2c@0 {
406			#address-cells = <1>;
407			#size-cells = <0>;
408			reg = <0>;
409			eeprom@52 {
410				compatible = "atmel,24c64";
411				reg = <0x52>;
412			};
413
414			pca_cable_card_c01: pca9551@62 {
415				compatible = "nxp,pca9551";
416				reg = <0x62>;
417				#address-cells = <1>;
418				#size-cells = <0>;
419
420				gpio-controller;
421				#gpio-cells = <2>;
422
423				led@0 {
424					label = "cablecard-c01-cxp-top";
425					reg = <0>;
426					retain-state-shutdown;
427					default-state = "keep";
428					type = <PCA955X_TYPE_LED>;
429				};
430
431				led@1 {
432					label = "cablecard-c01-cxp-bot";
433					reg = <1>;
434					retain-state-shutdown;
435					default-state = "keep";
436					type = <PCA955X_TYPE_LED>;
437				};
438			};
439		};
440
441		i2c4mux0chn1: i2c@1 {
442			#address-cells = <1>;
443			#size-cells = <0>;
444			reg = <1>;
445			eeprom@50 {
446				compatible = "atmel,24c64";
447				reg = <0x50>;
448			};
449
450			pca_cable_card_c02: pca9551@60 {
451				compatible = "nxp,pca9551";
452				reg = <0x60>;
453				#address-cells = <1>;
454				#size-cells = <0>;
455
456				gpio-controller;
457				#gpio-cells = <2>;
458
459				led@0 {
460					label = "cablecard-c02-cxp-top";
461					reg = <0>;
462					retain-state-shutdown;
463					default-state = "keep";
464					type = <PCA955X_TYPE_LED>;
465				};
466
467				led@1 {
468					label = "cablecard-c02-cxp-bot";
469					reg = <1>;
470					retain-state-shutdown;
471					default-state = "keep";
472					type = <PCA955X_TYPE_LED>;
473				};
474			};
475		};
476
477		i2c4mux0chn2: i2c@2 {
478			#address-cells = <1>;
479			#size-cells = <0>;
480			reg = <2>;
481			eeprom@51 {
482				compatible = "atmel,24c64";
483				reg = <0x51>;
484			};
485
486			pca_cable_card_c03: pca9551@61 {
487				compatible = "nxp,pca9551";
488				reg = <0x61>;
489				#address-cells = <1>;
490				#size-cells = <0>;
491
492				gpio-controller;
493				#gpio-cells = <2>;
494
495				led@0 {
496					label = "cablecard-c03-cxp-top";
497					reg = <0>;
498					retain-state-shutdown;
499					default-state = "keep";
500					type = <PCA955X_TYPE_LED>;
501				};
502
503				led@1 {
504					label = "cablecard-c03-cxp-bot";
505					reg = <1>;
506					retain-state-shutdown;
507					default-state = "keep";
508					type = <PCA955X_TYPE_LED>;
509				};
510			};
511		};
512	};
513};
514
515&i2c5 {
516	status = "okay";
517
518	pca3: pca9552@66 {
519		compatible = "nxp,pca9552";
520		reg = <0x66>;
521		#address-cells = <1>;
522		#size-cells = <0>;
523
524		gpio-controller;
525		#gpio-cells = <2>;
526
527		gpio-line-names =
528			"presence-cable-card6",
529			"presence-cable-card7",
530			"presence-cable-card8",
531			"presence-cable-card9",
532			"presence-cable-card10",
533			"presence-cable-card11",
534			"expander-cable-card6",
535			"expander-cable-card7",
536			"expander-cable-card8",
537			"expander-cable-card9",
538			"expander-cable-card10",
539			"expander-cable-card11";
540	};
541
542	i2c-switch@70 {
543		compatible = "nxp,pca9546";
544		reg = <0x70>;
545		#address-cells = <1>;
546		#size-cells = <0>;
547		status = "okay";
548		i2c-mux-idle-disconnect;
549
550		i2c5mux0chn0: i2c@0 {
551			#address-cells = <1>;
552			#size-cells = <0>;
553			reg = <0>;
554			eeprom@50 {
555				compatible = "atmel,24c64";
556				reg = <0x50>;
557			};
558
559			pca_cable_card_c04: pca9551@60 {
560				compatible = "nxp,pca9551";
561				reg = <0x60>;
562				#address-cells = <1>;
563				#size-cells = <0>;
564
565				gpio-controller;
566				#gpio-cells = <2>;
567
568				led@0 {
569					label = "cablecard-c04-cxp-top";
570					reg = <0>;
571					retain-state-shutdown;
572					default-state = "keep";
573					type = <PCA955X_TYPE_LED>;
574				};
575
576				led@1 {
577					label = "cablecard-c04-cxp-bot";
578					reg = <1>;
579					retain-state-shutdown;
580					default-state = "keep";
581					type = <PCA955X_TYPE_LED>;
582				};
583			};
584		};
585
586		i2c5mux0chn1: i2c@1 {
587			#address-cells = <1>;
588			#size-cells = <0>;
589			reg = <1>;
590			eeprom@51 {
591				compatible = "atmel,24c64";
592				reg = <0x51>;
593			};
594
595			pca_cable_card_c05: pca9551@61 {
596				compatible = "nxp,pca9551";
597				reg = <0x61>;
598				#address-cells = <1>;
599				#size-cells = <0>;
600
601				gpio-controller;
602				#gpio-cells = <2>;
603
604				led@0 {
605					label = "cablecard-c05-cxp-top";
606					reg = <0>;
607					retain-state-shutdown;
608					default-state = "keep";
609					type = <PCA955X_TYPE_LED>;
610				};
611
612				led@1 {
613					label = "cablecard-c05-cxp-bot";
614					reg = <1>;
615					retain-state-shutdown;
616					default-state = "keep";
617					type = <PCA955X_TYPE_LED>;
618				};
619			};
620		};
621
622		i2c5mux0chn2: i2c@2 {
623			#address-cells = <1>;
624			#size-cells = <0>;
625			reg = <2>;
626			eeprom@52 {
627				compatible = "atmel,24c64";
628				reg = <0x52>;
629			};
630
631			pca_cable_card_c06: pca9551@62 {
632				compatible = "nxp,pca9551";
633				reg = <0x62>;
634				#address-cells = <1>;
635				#size-cells = <0>;
636
637				gpio-controller;
638				#gpio-cells = <2>;
639
640				led@0 {
641					label = "cablecard-c06-cxp-top";
642					reg = <0>;
643					retain-state-shutdown;
644					default-state = "keep";
645					type = <PCA955X_TYPE_LED>;
646				};
647
648				led@1 {
649					label = "cablecard-c06-cxp-bot";
650					reg = <1>;
651					retain-state-shutdown;
652					default-state = "keep";
653					type = <PCA955X_TYPE_LED>;
654				};
655			};
656		};
657
658		i2c5mux0chn3: i2c@3 {
659			#address-cells = <1>;
660			#size-cells = <0>;
661			reg = <3>;
662			eeprom@53 {
663				compatible = "atmel,24c64";
664				reg = <0x53>;
665			};
666
667			pca_cable_card_c07: pca9551@63 {
668				compatible = "nxp,pca9551";
669				reg = <0x63>;
670				#address-cells = <1>;
671				#size-cells = <0>;
672
673				gpio-controller;
674				#gpio-cells = <2>;
675
676				led@0 {
677					label = "cablecard-c07-cxp-top";
678					reg = <0>;
679					retain-state-shutdown;
680					default-state = "keep";
681					type = <PCA955X_TYPE_LED>;
682				};
683
684				led@1 {
685					label = "cablecard-c07-cxp-bot";
686					reg = <1>;
687					retain-state-shutdown;
688					default-state = "keep";
689					type = <PCA955X_TYPE_LED>;
690				};
691			};
692		};
693	};
694};
695
696&i2c6 {
697	status = "okay";
698
699	i2c-switch@70 {
700		compatible = "nxp,pca9546";
701		reg = <0x70>;
702		#address-cells = <1>;
703		#size-cells = <0>;
704		status = "okay";
705		i2c-mux-idle-disconnect;
706
707		i2c6mux0chn0: i2c@0 {
708			#address-cells = <1>;
709			#size-cells = <0>;
710			reg = <0>;
711			eeprom@50 {
712			compatible = "atmel,24c64";
713			reg = <0x50>;
714			};
715
716			pca_cable_card_c08: pca9551@60 {
717				compatible = "nxp,pca9551";
718				reg = <0x60>;
719				#address-cells = <1>;
720				#size-cells = <0>;
721
722				gpio-controller;
723				#gpio-cells = <2>;
724
725				led@0 {
726					label = "cablecard-c08-cxp-top";
727					reg = <0>;
728					retain-state-shutdown;
729					default-state = "keep";
730					type = <PCA955X_TYPE_LED>;
731				};
732
733				led@1 {
734					label = "cablecard-c08-cxp-bot";
735					reg = <1>;
736					retain-state-shutdown;
737					default-state = "keep";
738					type = <PCA955X_TYPE_LED>;
739				};
740			};
741		};
742
743		i2c6mux0chn1: i2c@1 {
744			#address-cells = <1>;
745			#size-cells = <0>;
746			reg = <1>;
747			eeprom@52 {
748				compatible = "atmel,24c64";
749				reg = <0x52>;
750			};
751
752			pca_cable_card_c09: pca9551@62 {
753				compatible = "nxp,pca9551";
754				reg = <0x62>;
755				#address-cells = <1>;
756				#size-cells = <0>;
757
758				gpio-controller;
759				#gpio-cells = <2>;
760
761				led@0 {
762					label = "cablecard-c09-cxp-top";
763					reg = <0>;
764					retain-state-shutdown;
765					default-state = "keep";
766					type = <PCA955X_TYPE_LED>;
767				};
768
769				led@1 {
770					label = "cablecard-c09-cxp-bot";
771					reg = <1>;
772					retain-state-shutdown;
773					default-state = "keep";
774					type = <PCA955X_TYPE_LED>;
775				};
776			};
777		};
778
779		i2c6mux0chn2: i2c@2 {
780			#address-cells = <1>;
781			#size-cells = <0>;
782			reg = <2>;
783			eeprom@53 {
784				compatible = "atmel,24c64";
785				reg = <0x53>;
786			};
787
788			pca_cable_card_c10: pca9551@63 {
789				compatible = "nxp,pca9551";
790				reg = <0x63>;
791				#address-cells = <1>;
792				#size-cells = <0>;
793
794				gpio-controller;
795				#gpio-cells = <2>;
796
797				led@0 {
798					label = "cablecard-c10-cxp-top";
799					reg = <0>;
800					retain-state-shutdown;
801					default-state = "keep";
802					type = <PCA955X_TYPE_LED>;
803				};
804
805				led@1 {
806					label = "cablecard-c10-cxp-bot";
807					reg = <1>;
808					retain-state-shutdown;
809					default-state = "keep";
810					type = <PCA955X_TYPE_LED>;
811				};
812			};
813		};
814
815		i2c6mux0chn3: i2c@3 {
816			#address-cells = <1>;
817			#size-cells = <0>;
818			reg = <3>;
819			eeprom@51 {
820				compatible = "atmel,24c64";
821				reg = <0x51>;
822			};
823
824			pca_cable_card_c11: pca9551@61 {
825				compatible = "nxp,pca9551";
826				reg = <0x61>;
827				#address-cells = <1>;
828				#size-cells = <0>;
829
830				gpio-controller;
831				#gpio-cells = <2>;
832
833				led@0 {
834					label = "cablecard-c11-cxp-top";
835					reg = <0>;
836					retain-state-shutdown;
837					default-state = "keep";
838					type = <PCA955X_TYPE_LED>;
839				};
840
841				led@1 {
842					label = "cablecard-c11-cxp-bot";
843					reg = <1>;
844					retain-state-shutdown;
845					default-state = "keep";
846					type = <PCA955X_TYPE_LED>;
847				};
848			};
849		};
850	};
851
852	pca_pcie_slot: pca9552@65 {
853		compatible = "nxp,pca9552";
854		reg = <0x65>;
855		#address-cells = <1>;
856		#size-cells = <0>;
857
858		gpio-controller;
859		#gpio-cells = <2>;
860
861		led@1 {
862			label = "pcieslot-c01";
863			reg = <1>;
864			retain-state-shutdown;
865			default-state = "keep";
866			type = <PCA955X_TYPE_LED>;
867		};
868
869		led@2 {
870			label = "pcieslot-c02";
871			reg = <2>;
872			retain-state-shutdown;
873			default-state = "keep";
874			type = <PCA955X_TYPE_LED>;
875		};
876
877		led@3 {
878			label = "pcieslot-c03";
879			reg = <3>;
880			retain-state-shutdown;
881			default-state = "keep";
882			type = <PCA955X_TYPE_LED>;
883		};
884
885		led@4 {
886			label = "pcieslot-c04";
887			reg = <4>;
888			retain-state-shutdown;
889			default-state = "keep";
890			type = <PCA955X_TYPE_LED>;
891		};
892
893		led@5 {
894			label = "pcieslot-c05";
895			reg = <5>;
896			retain-state-shutdown;
897			default-state = "keep";
898			type = <PCA955X_TYPE_LED>;
899		};
900
901		led@6 {
902			label = "pcieslot-c06";
903			reg = <6>;
904			retain-state-shutdown;
905			default-state = "keep";
906			type = <PCA955X_TYPE_LED>;
907		};
908
909		led@7 {
910			label = "pcieslot-c07";
911			reg = <7>;
912			retain-state-shutdown;
913			default-state = "keep";
914			type = <PCA955X_TYPE_LED>;
915		};
916
917		led@8 {
918			label = "pcieslot-c08";
919			reg = <8>;
920			retain-state-shutdown;
921			default-state = "keep";
922			type = <PCA955X_TYPE_LED>;
923		};
924
925		led@9 {
926			label = "pcieslot-c09";
927			reg = <9>;
928			retain-state-shutdown;
929			default-state = "keep";
930			type = <PCA955X_TYPE_LED>;
931		};
932
933		led@10 {
934			label = "pcieslot-c10";
935			reg = <10>;
936			retain-state-shutdown;
937			default-state = "keep";
938			type = <PCA955X_TYPE_LED>;
939		};
940
941		led@11 {
942			label = "pcieslot-c11";
943			reg = <11>;
944			retain-state-shutdown;
945			default-state = "keep";
946			type = <PCA955X_TYPE_LED>;
947		};
948	};
949};
950
951&i2c7 {
952	status = "okay";
953
954	pic0_dimm: pca9552@31 {
955		compatible = "ibm,pca9552";
956		reg = <0x31>;
957		#address-cells = <1>;
958		#size-cells = <0>;
959
960		gpio-controller;
961		#gpio-cells = <2>;
962
963		led@0 {
964			label = "ddimm0";
965			reg = <0>;
966			retain-state-shutdown;
967			default-state = "keep";
968			type = <PCA955X_TYPE_LED>;
969		};
970
971		led@1 {
972			label = "ddimm1";
973			reg = <1>;
974			retain-state-shutdown;
975			default-state = "keep";
976			type = <PCA955X_TYPE_LED>;
977		};
978
979		led@2 {
980			label = "ddimm2";
981			reg = <2>;
982			retain-state-shutdown;
983			default-state = "keep";
984			type = <PCA955X_TYPE_LED>;
985		};
986
987		led@3 {
988			label = "ddimm3";
989			reg = <3>;
990			retain-state-shutdown;
991			default-state = "keep";
992			type = <PCA955X_TYPE_LED>;
993		};
994
995		led@4 {
996			label = "ddimm4";
997			reg = <4>;
998			retain-state-shutdown;
999			default-state = "keep";
1000			type = <PCA955X_TYPE_LED>;
1001		};
1002
1003		led@5 {
1004			label = "ddimm5";
1005			reg = <5>;
1006			retain-state-shutdown;
1007			default-state = "keep";
1008			type = <PCA955X_TYPE_LED>;
1009		};
1010
1011		led@6 {
1012			label = "ddimm6";
1013			reg = <6>;
1014			retain-state-shutdown;
1015			default-state = "keep";
1016			type = <PCA955X_TYPE_LED>;
1017		};
1018
1019		led@7 {
1020			label = "ddimm7";
1021			reg = <7>;
1022			retain-state-shutdown;
1023			default-state = "keep";
1024			type = <PCA955X_TYPE_LED>;
1025		};
1026
1027		led@8 {
1028			label = "ddimm8";
1029			reg = <8>;
1030			retain-state-shutdown;
1031			default-state = "keep";
1032			type = <PCA955X_TYPE_LED>;
1033		};
1034
1035		led@9 {
1036			label = "ddimm9";
1037			reg = <9>;
1038			retain-state-shutdown;
1039			default-state = "keep";
1040			type = <PCA955X_TYPE_LED>;
1041		};
1042
1043		led@10 {
1044			label = "ddimm10";
1045			reg = <10>;
1046			retain-state-shutdown;
1047			default-state = "keep";
1048			type = <PCA955X_TYPE_LED>;
1049		};
1050
1051		led@11 {
1052			label = "ddimm11";
1053			reg = <11>;
1054			retain-state-shutdown;
1055			default-state = "keep";
1056			type = <PCA955X_TYPE_LED>;
1057		};
1058
1059		led@12 {
1060			label = "ddimm12";
1061			reg = <12>;
1062			retain-state-shutdown;
1063			default-state = "keep";
1064			type = <PCA955X_TYPE_LED>;
1065		};
1066
1067		led@13 {
1068			label = "ddimm13";
1069			reg = <13>;
1070			retain-state-shutdown;
1071			default-state = "keep";
1072			type = <PCA955X_TYPE_LED>;
1073		};
1074
1075		led@14 {
1076			label = "ddimm14";
1077			reg = <14>;
1078			retain-state-shutdown;
1079			default-state = "keep";
1080			type = <PCA955X_TYPE_LED>;
1081		};
1082
1083		led@15 {
1084			label = "ddimm15";
1085			reg = <15>;
1086			retain-state-shutdown;
1087			default-state = "keep";
1088			type = <PCA955X_TYPE_LED>;
1089		};
1090	};
1091
1092	pic1_dimm: pca9552@32 {
1093		compatible = "ibm,pca9552";
1094		reg = <0x32>;
1095		#address-cells = <1>;
1096		#size-cells = <0>;
1097
1098		gpio-controller;
1099		#gpio-cells = <2>;
1100
1101		led@0 {
1102			label = "ddimm16";
1103			reg = <0>;
1104			retain-state-shutdown;
1105			default-state = "keep";
1106			type = <PCA955X_TYPE_LED>;
1107		};
1108
1109		led@1 {
1110			label = "ddimm17";
1111			reg = <1>;
1112			retain-state-shutdown;
1113			default-state = "keep";
1114			type = <PCA955X_TYPE_LED>;
1115		};
1116
1117		led@2 {
1118			label = "ddimm18";
1119			reg = <2>;
1120			retain-state-shutdown;
1121			default-state = "keep";
1122			type = <PCA955X_TYPE_LED>;
1123		};
1124
1125		led@3 {
1126			label = "ddimm19";
1127			reg = <3>;
1128			retain-state-shutdown;
1129			default-state = "keep";
1130			type = <PCA955X_TYPE_LED>;
1131		};
1132
1133		led@4 {
1134			label = "ddimm20";
1135			reg = <4>;
1136			retain-state-shutdown;
1137			default-state = "keep";
1138			type = <PCA955X_TYPE_LED>;
1139		};
1140
1141		led@5 {
1142			label = "ddimm21";
1143			reg = <5>;
1144			retain-state-shutdown;
1145			default-state = "keep";
1146			type = <PCA955X_TYPE_LED>;
1147		};
1148
1149		led@6 {
1150			label = "ddimm22";
1151			reg = <6>;
1152			retain-state-shutdown;
1153			default-state = "keep";
1154			type = <PCA955X_TYPE_LED>;
1155		};
1156
1157		led@7 {
1158			label = "ddimm23";
1159			reg = <7>;
1160			retain-state-shutdown;
1161			default-state = "keep";
1162			type = <PCA955X_TYPE_LED>;
1163		};
1164
1165		led@8 {
1166			label = "ddimm24";
1167			reg = <8>;
1168			retain-state-shutdown;
1169			default-state = "keep";
1170			type = <PCA955X_TYPE_LED>;
1171		};
1172
1173		led@9 {
1174			label = "ddimm25";
1175			reg = <9>;
1176			retain-state-shutdown;
1177			default-state = "keep";
1178			type = <PCA955X_TYPE_LED>;
1179		};
1180
1181		led@10 {
1182			label = "ddimm26";
1183			reg = <10>;
1184			retain-state-shutdown;
1185			default-state = "keep";
1186			type = <PCA955X_TYPE_LED>;
1187		};
1188
1189		led@11 {
1190			label = "ddimm27";
1191			reg = <11>;
1192			retain-state-shutdown;
1193			default-state = "keep";
1194			type = <PCA955X_TYPE_LED>;
1195		};
1196
1197		led@12 {
1198			label = "ddimm28";
1199			reg = <12>;
1200			retain-state-shutdown;
1201			default-state = "keep";
1202			type = <PCA955X_TYPE_LED>;
1203		};
1204
1205		led@13 {
1206			label = "ddimm29";
1207			reg = <13>;
1208			retain-state-shutdown;
1209			default-state = "keep";
1210			type = <PCA955X_TYPE_LED>;
1211		};
1212
1213		led@14 {
1214			label = "ddimm30";
1215			reg = <14>;
1216			retain-state-shutdown;
1217			default-state = "keep";
1218			type = <PCA955X_TYPE_LED>;
1219		};
1220
1221		led@15 {
1222			label = "ddimm31";
1223			reg = <15>;
1224			retain-state-shutdown;
1225			default-state = "keep";
1226			type = <PCA955X_TYPE_LED>;
1227		};
1228	};
1229
1230	pic2_dimm: pca9552@33 {
1231		compatible = "ibm,pca9552";
1232		reg = <0x33>;
1233		#address-cells = <1>;
1234		#size-cells = <0>;
1235
1236		gpio-controller;
1237		#gpio-cells = <2>;
1238
1239		led@0 {
1240			label = "ddimm32";
1241			reg = <0>;
1242			retain-state-shutdown;
1243			default-state = "keep";
1244			type = <PCA955X_TYPE_LED>;
1245		};
1246
1247		led@1 {
1248			label = "ddimm33";
1249			reg = <1>;
1250			retain-state-shutdown;
1251			default-state = "keep";
1252			type = <PCA955X_TYPE_LED>;
1253		};
1254
1255		led@2 {
1256			label = "ddimm34";
1257			reg = <2>;
1258			retain-state-shutdown;
1259			default-state = "keep";
1260			type = <PCA955X_TYPE_LED>;
1261		};
1262
1263		led@3 {
1264			label = "ddimm35";
1265			reg = <3>;
1266			retain-state-shutdown;
1267			default-state = "keep";
1268			type = <PCA955X_TYPE_LED>;
1269		};
1270
1271		led@4 {
1272			label = "ddimm36";
1273			reg = <4>;
1274			retain-state-shutdown;
1275			default-state = "keep";
1276			type = <PCA955X_TYPE_LED>;
1277		};
1278
1279		led@5 {
1280			label = "ddimm37";
1281			reg = <5>;
1282			retain-state-shutdown;
1283			default-state = "keep";
1284			type = <PCA955X_TYPE_LED>;
1285		};
1286
1287		led@6 {
1288			label = "ddimm38";
1289			reg = <6>;
1290			retain-state-shutdown;
1291			default-state = "keep";
1292			type = <PCA955X_TYPE_LED>;
1293		};
1294
1295		led@7 {
1296			label = "ddimm39";
1297			reg = <7>;
1298			retain-state-shutdown;
1299			default-state = "keep";
1300			type = <PCA955X_TYPE_LED>;
1301		};
1302
1303		led@8 {
1304			label = "ddimm40";
1305			reg = <8>;
1306			retain-state-shutdown;
1307			default-state = "keep";
1308			type = <PCA955X_TYPE_LED>;
1309		};
1310
1311		led@9 {
1312			label = "ddimm41";
1313			reg = <9>;
1314			retain-state-shutdown;
1315			default-state = "keep";
1316			type = <PCA955X_TYPE_LED>;
1317		};
1318
1319		led@10 {
1320			label = "ddimm42";
1321			reg = <10>;
1322			retain-state-shutdown;
1323			default-state = "keep";
1324			type = <PCA955X_TYPE_LED>;
1325		};
1326
1327		led@11 {
1328			label = "ddimm43";
1329			reg = <11>;
1330			retain-state-shutdown;
1331			default-state = "keep";
1332			type = <PCA955X_TYPE_LED>;
1333		};
1334
1335		led@12 {
1336			label = "ddimm44";
1337			reg = <12>;
1338			retain-state-shutdown;
1339			default-state = "keep";
1340			type = <PCA955X_TYPE_LED>;
1341		};
1342
1343		led@13 {
1344			label = "ddimm45";
1345			reg = <13>;
1346			retain-state-shutdown;
1347			default-state = "keep";
1348			type = <PCA955X_TYPE_LED>;
1349		};
1350
1351		led@14 {
1352			label = "ddimm46";
1353			reg = <14>;
1354			retain-state-shutdown;
1355			default-state = "keep";
1356			type = <PCA955X_TYPE_LED>;
1357		};
1358
1359		led@15 {
1360			label = "ddimm47";
1361			reg = <15>;
1362			retain-state-shutdown;
1363			default-state = "keep";
1364			type = <PCA955X_TYPE_LED>;
1365		};
1366	};
1367
1368	pic3_dimm: pca9552@30 {
1369		compatible = "ibm,pca9552";
1370		reg = <0x30>;
1371		#address-cells = <1>;
1372		#size-cells = <0>;
1373
1374		gpio-controller;
1375		#gpio-cells = <2>;
1376
1377		led@0 {
1378			label = "ddimm48";
1379			reg = <0>;
1380			retain-state-shutdown;
1381			default-state = "keep";
1382			type = <PCA955X_TYPE_LED>;
1383		};
1384
1385		led@1 {
1386			label = "ddimm49";
1387			reg = <1>;
1388			retain-state-shutdown;
1389			default-state = "keep";
1390			type = <PCA955X_TYPE_LED>;
1391		};
1392
1393		led@2 {
1394			label = "ddimm50";
1395			reg = <2>;
1396			retain-state-shutdown;
1397			default-state = "keep";
1398			type = <PCA955X_TYPE_LED>;
1399		};
1400
1401		led@3 {
1402			label = "ddimm51";
1403			reg = <3>;
1404			retain-state-shutdown;
1405			default-state = "keep";
1406			type = <PCA955X_TYPE_LED>;
1407		};
1408
1409		led@4 {
1410			label = "ddimm52";
1411			reg = <4>;
1412			retain-state-shutdown;
1413			default-state = "keep";
1414			type = <PCA955X_TYPE_LED>;
1415		};
1416
1417		led@5 {
1418			label = "ddimm53";
1419			reg = <5>;
1420			retain-state-shutdown;
1421			default-state = "keep";
1422			type = <PCA955X_TYPE_LED>;
1423		};
1424
1425		led@6 {
1426			label = "ddimm54";
1427			reg = <6>;
1428			retain-state-shutdown;
1429			default-state = "keep";
1430			type = <PCA955X_TYPE_LED>;
1431		};
1432
1433		led@7 {
1434			label = "ddimm55";
1435			reg = <7>;
1436			retain-state-shutdown;
1437			default-state = "keep";
1438			type = <PCA955X_TYPE_LED>;
1439		};
1440
1441		led@8 {
1442			label = "ddimm56";
1443			reg = <8>;
1444			retain-state-shutdown;
1445			default-state = "keep";
1446			type = <PCA955X_TYPE_LED>;
1447		};
1448
1449		led@9 {
1450			label = "ddimm57";
1451			reg = <9>;
1452			retain-state-shutdown;
1453			default-state = "keep";
1454			type = <PCA955X_TYPE_LED>;
1455		};
1456
1457		led@10 {
1458			label = "ddimm58";
1459			reg = <10>;
1460			retain-state-shutdown;
1461			default-state = "keep";
1462			type = <PCA955X_TYPE_LED>;
1463		};
1464
1465		led@11 {
1466			label = "ddimm59";
1467			reg = <11>;
1468			retain-state-shutdown;
1469			default-state = "keep";
1470			type = <PCA955X_TYPE_LED>;
1471		};
1472
1473		led@12 {
1474			label = "ddimm60";
1475			reg = <12>;
1476			retain-state-shutdown;
1477			default-state = "keep";
1478			type = <PCA955X_TYPE_LED>;
1479		};
1480
1481		led@13 {
1482			label = "ddimm61";
1483			reg = <13>;
1484			retain-state-shutdown;
1485			default-state = "keep";
1486			type = <PCA955X_TYPE_LED>;
1487		};
1488
1489		led@14 {
1490			label = "ddimm62";
1491			reg = <14>;
1492			retain-state-shutdown;
1493			default-state = "keep";
1494			type = <PCA955X_TYPE_LED>;
1495		};
1496
1497		led@15 {
1498			label = "ddimm63";
1499			reg = <15>;
1500			retain-state-shutdown;
1501			default-state = "keep";
1502			type = <PCA955X_TYPE_LED>;
1503		};
1504	};
1505
1506	pic0_vrm_misc: pca9552@34 {
1507		compatible = "ibm,pca9552";
1508		reg = <0x34>;
1509		#address-cells = <1>;
1510		#size-cells = <0>;
1511
1512		gpio-controller;
1513		#gpio-cells = <2>;
1514
1515		led@0 {
1516			label = "planar";
1517			reg = <0>;
1518			retain-state-shutdown;
1519			default-state = "keep";
1520			type = <PCA955X_TYPE_LED>;
1521		};
1522
1523		led@1 {
1524			label = "tpm";
1525			reg = <1>;
1526			retain-state-shutdown;
1527			default-state = "keep";
1528			type = <PCA955X_TYPE_LED>;
1529		};
1530
1531		led@2 {
1532			label = "cpu3-c61";
1533			reg = <2>;
1534			retain-state-shutdown;
1535			default-state = "keep";
1536			type = <PCA955X_TYPE_LED>;
1537		};
1538
1539		led@3 {
1540			label = "cpu0-c14";
1541			reg = <3>;
1542			retain-state-shutdown;
1543			default-state = "keep";
1544			type = <PCA955X_TYPE_LED>;
1545		};
1546
1547		led@4 {
1548			label = "opencapi-connector3";
1549			reg = <4>;
1550			retain-state-shutdown;
1551			default-state = "keep";
1552			type = <PCA955X_TYPE_LED>;
1553		};
1554
1555		led@5 {
1556			label = "opencapi-connector4";
1557			reg = <5>;
1558			retain-state-shutdown;
1559			default-state = "keep";
1560			type = <PCA955X_TYPE_LED>;
1561		};
1562
1563		led@6 {
1564			label = "opencapi-connector5";
1565			reg = <6>;
1566			retain-state-shutdown;
1567			default-state = "keep";
1568			type = <PCA955X_TYPE_LED>;
1569		};
1570
1571		led@8 {
1572			label = "vrm4";
1573			reg = <8>;
1574			retain-state-shutdown;
1575			default-state = "keep";
1576			type = <PCA955X_TYPE_LED>;
1577		};
1578
1579		led@9 {
1580			label = "vrm5";
1581			reg = <9>;
1582			retain-state-shutdown;
1583			default-state = "keep";
1584			type = <PCA955X_TYPE_LED>;
1585		};
1586
1587		led@10 {
1588			label = "vrm6";
1589			reg = <10>;
1590			retain-state-shutdown;
1591			default-state = "keep";
1592			type = <PCA955X_TYPE_LED>;
1593		};
1594
1595		led@11 {
1596			label = "vrm7";
1597			reg = <11>;
1598			retain-state-shutdown;
1599			default-state = "keep";
1600			type = <PCA955X_TYPE_LED>;
1601		};
1602
1603		led@12 {
1604			label = "vrm12";
1605			reg = <12>;
1606			retain-state-shutdown;
1607			default-state = "keep";
1608			type = <PCA955X_TYPE_LED>;
1609		};
1610
1611		led@13 {
1612			label = "vrm13";
1613			reg = <13>;
1614			retain-state-shutdown;
1615			default-state = "keep";
1616			type = <PCA955X_TYPE_LED>;
1617		};
1618
1619		led@14 {
1620			label = "vrm14";
1621			reg = <14>;
1622			retain-state-shutdown;
1623			default-state = "keep";
1624			type = <PCA955X_TYPE_LED>;
1625		};
1626
1627		led@15 {
1628			label = "vrm15";
1629			reg = <15>;
1630			retain-state-shutdown;
1631			default-state = "keep";
1632			type = <PCA955X_TYPE_LED>;
1633		};
1634	};
1635
1636	pic1_vrm_misc: pca9552@35 {
1637		compatible = "ibm,pca9552";
1638		reg = <0x35>;
1639		#address-cells = <1>;
1640		#size-cells = <0>;
1641
1642		gpio-controller;
1643		#gpio-cells = <2>;
1644
1645		led@0 {
1646			label = "dasd-backplane";
1647			reg = <0>;
1648			retain-state-shutdown;
1649			default-state = "keep";
1650			type = <PCA955X_TYPE_LED>;
1651		};
1652
1653		led@1 {
1654			label = "power-distribution";
1655			reg = <1>;
1656			retain-state-shutdown;
1657			default-state = "keep";
1658			type = <PCA955X_TYPE_LED>;
1659		};
1660
1661		led@2 {
1662			label = "cpu1-c19";
1663			reg = <2>;
1664			retain-state-shutdown;
1665			default-state = "keep";
1666			type = <PCA955X_TYPE_LED>;
1667		};
1668
1669		led@3 {
1670			label = "cpu2-c56";
1671			reg = <3>;
1672			retain-state-shutdown;
1673			default-state = "keep";
1674			type = <PCA955X_TYPE_LED>;
1675		};
1676
1677		led@4 {
1678			label = "opencapi-connector0";
1679			reg = <4>;
1680			retain-state-shutdown;
1681			default-state = "keep";
1682			type = <PCA955X_TYPE_LED>;
1683		};
1684
1685		led@5 {
1686			label = "opencapi-connector1";
1687			reg = <5>;
1688			retain-state-shutdown;
1689			default-state = "keep";
1690			type = <PCA955X_TYPE_LED>;
1691		};
1692
1693		led@6 {
1694			label = "opencapi-connector2";
1695			reg = <6>;
1696			retain-state-shutdown;
1697			default-state = "keep";
1698			type = <PCA955X_TYPE_LED>;
1699		};
1700
1701		led@8 {
1702			label = "vrm0";
1703			reg = <8>;
1704			retain-state-shutdown;
1705			default-state = "keep";
1706			type = <PCA955X_TYPE_LED>;
1707		};
1708
1709		led@9 {
1710			label = "vrm1";
1711			reg = <9>;
1712			retain-state-shutdown;
1713			default-state = "keep";
1714			type = <PCA955X_TYPE_LED>;
1715		};
1716
1717		led@10 {
1718			label = "vrm2";
1719			reg = <10>;
1720			retain-state-shutdown;
1721			default-state = "keep";
1722			type = <PCA955X_TYPE_LED>;
1723		};
1724
1725		led@11 {
1726			label = "vrm3";
1727			reg = <11>;
1728			retain-state-shutdown;
1729			default-state = "keep";
1730			type = <PCA955X_TYPE_LED>;
1731		};
1732
1733		led@12 {
1734			label = "vrm8";
1735			reg = <12>;
1736			retain-state-shutdown;
1737			default-state = "keep";
1738			type = <PCA955X_TYPE_LED>;
1739		};
1740
1741		led@13 {
1742			label = "vrm9";
1743			reg = <13>;
1744			retain-state-shutdown;
1745			default-state = "keep";
1746			type = <PCA955X_TYPE_LED>;
1747		};
1748
1749		led@14 {
1750			label = "vrm10";
1751			reg = <14>;
1752			retain-state-shutdown;
1753			default-state = "keep";
1754			type = <PCA955X_TYPE_LED>;
1755		};
1756
1757		led@15 {
1758			label = "vrm11";
1759			reg = <15>;
1760			retain-state-shutdown;
1761			default-state = "keep";
1762			type = <PCA955X_TYPE_LED>;
1763		};
1764	};
1765};
1766
1767&i2c8 {
1768	status = "okay";
1769
1770	ucd90320@11 {
1771		compatible = "ti,ucd90320";
1772		reg = <0x11>;
1773	};
1774
1775	rtc@32 {
1776		compatible = "epson,rx8900";
1777		reg = <0x32>;
1778	};
1779
1780	eeprom@51 {
1781		compatible = "atmel,24c64";
1782		reg = <0x51>;
1783	};
1784
1785	eeprom@50 {
1786		compatible = "atmel,24c128";
1787		reg = <0x50>;
1788	};
1789
1790	i2c-switch@70 {
1791		compatible = "nxp,pca9546";
1792		reg = <0x70>;
1793		#address-cells = <1>;
1794		#size-cells = <0>;
1795		status = "okay";
1796		i2c-mux-idle-disconnect;
1797
1798		i2c8mux0chn0: i2c@0 {
1799			#address-cells = <1>;
1800			#size-cells = <0>;
1801			reg = <0>;
1802		};
1803
1804		i2c8mux0chn1: i2c@1 {
1805			#address-cells = <1>;
1806			#size-cells = <0>;
1807			reg = <1>;
1808		};
1809	};
1810};
1811
1812&i2c9 {
1813	status = "okay";
1814
1815	eeprom@50 {
1816		compatible = "atmel,24c128";
1817		reg = <0x50>;
1818	};
1819
1820	eeprom@51 {
1821		compatible = "atmel,24c128";
1822		reg = <0x51>;
1823	};
1824
1825	eeprom@53 {
1826		compatible = "atmel,24c128";
1827		reg = <0x53>;
1828	};
1829
1830	eeprom@52 {
1831		compatible = "atmel,24c128";
1832		reg = <0x52>;
1833	};
1834};
1835
1836&i2c10 {
1837	status = "okay";
1838
1839	eeprom@51 {
1840		compatible = "atmel,24c128";
1841		reg = <0x51>;
1842	};
1843
1844	eeprom@50 {
1845		compatible = "atmel,24c128";
1846		reg = <0x50>;
1847	};
1848
1849	eeprom@53 {
1850		compatible = "atmel,24c128";
1851		reg = <0x53>;
1852	};
1853
1854	eeprom@52 {
1855		compatible = "atmel,24c128";
1856		reg = <0x52>;
1857	};
1858};
1859
1860&i2c11 {
1861	status = "okay";
1862
1863	eeprom@51 {
1864		compatible = "atmel,24c128";
1865		reg = <0x51>;
1866	};
1867
1868	eeprom@50 {
1869		compatible = "atmel,24c128";
1870		reg = <0x50>;
1871	};
1872
1873	eeprom@53 {
1874		compatible = "atmel,24c128";
1875		reg = <0x53>;
1876	};
1877
1878	eeprom@52 {
1879		compatible = "atmel,24c128";
1880		reg = <0x52>;
1881	};
1882};
1883
1884&i2c12 {
1885	status = "okay";
1886
1887	tpm@2e {
1888		compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
1889		reg = <0x2e>;
1890	};
1891};
1892
1893&i2c13 {
1894	status = "okay";
1895
1896	eeprom@51 {
1897		compatible = "atmel,24c128";
1898		reg = <0x51>;
1899	};
1900
1901	eeprom@50 {
1902		compatible = "atmel,24c128";
1903		reg = <0x50>;
1904	};
1905
1906	eeprom@53 {
1907		compatible = "atmel,24c128";
1908		reg = <0x53>;
1909	};
1910
1911	eeprom@52 {
1912		compatible = "atmel,24c128";
1913		reg = <0x52>;
1914	};
1915};
1916
1917&i2c14 {
1918	multi-master;
1919	status = "okay";
1920
1921	ibm-panel@62 {
1922		compatible = "ibm,op-panel";
1923		reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
1924	};
1925
1926	i2c-switch@70 {
1927		compatible = "nxp,pca9546";
1928		reg = <0x70>;
1929		#address-cells = <1>;
1930		#size-cells = <0>;
1931		status = "okay";
1932		idle-state = <1>;
1933
1934		i2c14mux0chn0: i2c@0 {
1935			#address-cells = <1>;
1936			#size-cells = <0>;
1937			reg = <0>;
1938			eeprom@50 {
1939				compatible = "atmel,24c64";
1940				reg = <0x50>;
1941			};
1942		};
1943
1944		i2c14mux0chn1: i2c@1 {
1945			#address-cells = <1>;
1946			#size-cells = <0>;
1947			reg = <1>;
1948			eeprom@51 {
1949				compatible = "atmel,24c32";
1950				reg = <0x51>;
1951			};
1952		};
1953
1954		i2c14mux0chn2: i2c@2 {
1955			#address-cells = <1>;
1956			#size-cells = <0>;
1957			reg = <2>;
1958			eeprom@50 {
1959				compatible = "atmel,24c32";
1960				reg = <0x50>;
1961			};
1962
1963			pca_oppanel: pca9551@60 {
1964				compatible = "nxp,pca9551";
1965				reg = <0x60>;
1966				#address-cells = <1>;
1967				#size-cells = <0>;
1968
1969				gpio-controller;
1970				#gpio-cells = <2>;
1971
1972				led@0 {
1973					label = "front-sys-id0";
1974					reg = <0>;
1975					retain-state-shutdown;
1976					default-state = "keep";
1977					type = <PCA955X_TYPE_LED>;
1978				};
1979
1980				led@1 {
1981					label = "front-check-log0";
1982					reg = <1>;
1983					retain-state-shutdown;
1984					default-state = "keep";
1985					type = <PCA955X_TYPE_LED>;
1986				};
1987
1988				led@2 {
1989					label = "front-enc-fault1";
1990					reg = <2>;
1991					retain-state-shutdown;
1992					default-state = "keep";
1993					type = <PCA955X_TYPE_LED>;
1994				};
1995
1996				led@3 {
1997					label = "front-sys-pwron0";
1998					reg = <3>;
1999					retain-state-shutdown;
2000					default-state = "keep";
2001					type = <PCA955X_TYPE_LED>;
2002				};
2003			};
2004		};
2005
2006		i2c14mux0chn3: i2c@3 {
2007			#address-cells = <1>;
2008			#size-cells = <0>;
2009			reg = <3>;
2010
2011			max31785@52 {
2012				compatible = "maxim,max31785a";
2013				#address-cells = <1>;
2014				#size-cells = <0>;
2015				reg = <0x52>;
2016
2017				fan@0 {
2018					compatible = "pmbus-fan";
2019					reg = <0>;
2020					tach-pulses = <2>;
2021				};
2022
2023				fan@1 {
2024					compatible = "pmbus-fan";
2025					reg = <1>;
2026					tach-pulses = <2>;
2027				};
2028
2029				fan@2 {
2030					compatible = "pmbus-fan";
2031					reg = <2>;
2032					tach-pulses = <2>;
2033				};
2034
2035				fan@3 {
2036					compatible = "pmbus-fan";
2037					reg = <3>;
2038					tach-pulses = <2>;
2039				};
2040			};
2041
2042			pca_fan_nvme: pca9552@60 {
2043				compatible = "nxp,pca9552";
2044				reg = <0x60>;
2045				#address-cells = <1>;
2046				#size-cells = <0>;
2047
2048				gpio-controller;
2049				#gpio-cells = <2>;
2050
2051				led@0 {
2052					label = "nvme0";
2053					reg = <0>;
2054					retain-state-shutdown;
2055					default-state = "keep";
2056					type = <PCA955X_TYPE_LED>;
2057				};
2058
2059				led@1 {
2060					label = "nvme1";
2061					reg = <1>;
2062					retain-state-shutdown;
2063					default-state = "keep";
2064					type = <PCA955X_TYPE_LED>;
2065				};
2066
2067				led@2 {
2068					label = "nvme2";
2069					reg = <2>;
2070					retain-state-shutdown;
2071					default-state = "keep";
2072					type = <PCA955X_TYPE_LED>;
2073				};
2074
2075				led@3 {
2076					label = "nvme3";
2077					reg = <3>;
2078					retain-state-shutdown;
2079					default-state = "keep";
2080					type = <PCA955X_TYPE_LED>;
2081				};
2082
2083				led@4 {
2084					label = "nvme4";
2085					reg = <4>;
2086					retain-state-shutdown;
2087					default-state = "keep";
2088					type = <PCA955X_TYPE_LED>;
2089				};
2090
2091				led@5 {
2092					label = "nvme5";
2093					reg = <5>;
2094					retain-state-shutdown;
2095					default-state = "keep";
2096					type = <PCA955X_TYPE_LED>;
2097				};
2098
2099				led@6 {
2100					label = "nvme6";
2101					reg = <6>;
2102					retain-state-shutdown;
2103					default-state = "keep";
2104					type = <PCA955X_TYPE_LED>;
2105				};
2106
2107				led@7 {
2108					label = "nvme7";
2109					reg = <7>;
2110					retain-state-shutdown;
2111					default-state = "keep";
2112					type = <PCA955X_TYPE_LED>;
2113				};
2114
2115				led@8 {
2116					label = "nvme8";
2117					reg = <8>;
2118					retain-state-shutdown;
2119					default-state = "keep";
2120					type = <PCA955X_TYPE_LED>;
2121				};
2122
2123				led@9 {
2124					label = "nvme9";
2125					reg = <9>;
2126					retain-state-shutdown;
2127					default-state = "keep";
2128					type = <PCA955X_TYPE_LED>;
2129				};
2130
2131				led@10 {
2132					label = "fan0";
2133					reg = <10>;
2134					retain-state-shutdown;
2135					default-state = "keep";
2136					type = <PCA955X_TYPE_LED>;
2137				};
2138
2139				led@11 {
2140					label = "fan1";
2141					reg = <11>;
2142					retain-state-shutdown;
2143					default-state = "keep";
2144					type = <PCA955X_TYPE_LED>;
2145				};
2146
2147				led@12 {
2148					label = "fan2";
2149					reg = <12>;
2150					retain-state-shutdown;
2151					default-state = "keep";
2152					type = <PCA955X_TYPE_LED>;
2153				};
2154
2155				led@13 {
2156					label = "fan3";
2157					reg = <13>;
2158					retain-state-shutdown;
2159					default-state = "keep";
2160					type = <PCA955X_TYPE_LED>;
2161				};
2162			};
2163
2164			pca0: pca9552@61 {
2165				compatible = "nxp,pca9552";
2166				#address-cells = <1>;
2167				#size-cells = <0>;
2168				reg = <0x61>;
2169
2170				gpio-controller;
2171				#gpio-cells = <2>;
2172
2173				gpio-line-names =
2174					"","","","",
2175					"","","","",
2176					"","","","",
2177					"presence-fan3",
2178					"presence-fan2",
2179					"presence-fan1",
2180					"presence-fan0";
2181			};
2182		};
2183	};
2184
2185	i2c-switch@71 {
2186		compatible = "nxp,pca9546";
2187		reg = <0x71>;
2188		#address-cells = <1>;
2189		#size-cells = <0>;
2190		status = "okay";
2191		i2c-mux-idle-disconnect;
2192
2193		i2c14mux1chn0: i2c@0 {
2194			#address-cells = <1>;
2195			#size-cells = <0>;
2196			reg = <0>;
2197			eeprom@50 {
2198				compatible = "atmel,24c32";
2199				reg = <0x50>;
2200			};
2201		};
2202
2203		i2c14mux1chn1: i2c@1 {
2204			#address-cells = <1>;
2205			#size-cells = <0>;
2206			reg = <1>;
2207			eeprom@50 {
2208				compatible = "atmel,24c32";
2209				reg = <0x50>;
2210			};
2211		};
2212
2213		i2c14mux1chn2: i2c@2 {
2214			#address-cells = <1>;
2215			#size-cells = <0>;
2216			reg = <2>;
2217			eeprom@50 {
2218				compatible = "atmel,24c32";
2219				reg = <0x50>;
2220			};
2221		};
2222
2223		i2c14mux1chn3: i2c@3 {
2224			#address-cells = <1>;
2225			#size-cells = <0>;
2226			reg = <3>;
2227			eeprom@50 {
2228				compatible = "atmel,24c32";
2229				reg = <0x50>;
2230			};
2231		};
2232	};
2233};
2234
2235&i2c15 {
2236	status = "okay";
2237
2238	i2c-switch@70 {
2239		compatible = "nxp,pca9546";
2240		reg = <0x70>;
2241		#address-cells = <1>;
2242		#size-cells = <0>;
2243		i2c-mux-idle-disconnect;
2244
2245		i2c15mux0chn0: i2c@0 {
2246			#address-cells = <1>;
2247			#size-cells = <0>;
2248			reg = <0>;
2249
2250			eeprom@53 {
2251				compatible = "atmel,24c64";
2252				reg = <0x53>;
2253			};
2254		};
2255
2256		i2c15mux0chn1: i2c@1 {
2257			#address-cells = <1>;
2258			#size-cells = <0>;
2259			reg = <1>;
2260
2261			eeprom@53 {
2262				compatible = "atmel,24c64";
2263				reg = <0x53>;
2264			};
2265		};
2266
2267		i2c15mux0chn2: i2c@2 {
2268			#address-cells = <1>;
2269			#size-cells = <0>;
2270			reg = <2>;
2271
2272			eeprom@53 {
2273				compatible = "atmel,24c64";
2274				reg = <0x53>;
2275			};
2276		};
2277
2278		i2c15mux0chn3: i2c@3 {
2279			#address-cells = <1>;
2280			#size-cells = <0>;
2281			reg = <3>;
2282
2283			eeprom@53 {
2284				compatible = "atmel,24c64";
2285				reg = <0x53>;
2286			};
2287		};
2288	};
2289
2290	i2c-switch@71 {
2291		compatible = "nxp,pca9546";
2292		reg = <0x71>;
2293		#address-cells = <1>;
2294		#size-cells = <0>;
2295		i2c-mux-idle-disconnect;
2296
2297		i2c15mux1chn0: i2c@0 {
2298			#address-cells = <1>;
2299			#size-cells = <0>;
2300			reg = <0>;
2301
2302			eeprom@53 {
2303				compatible = "atmel,24c64";
2304				reg = <0x53>;
2305			};
2306		};
2307
2308		i2c15mux1chn1: i2c@1 {
2309			#address-cells = <1>;
2310			#size-cells = <0>;
2311			reg = <1>;
2312
2313			eeprom@53 {
2314				compatible = "atmel,24c64";
2315				reg = <0x53>;
2316			};
2317		};
2318
2319		i2c15mux1chn2: i2c@2 {
2320			#address-cells = <1>;
2321			#size-cells = <0>;
2322			reg = <2>;
2323
2324			eeprom@53 {
2325				compatible = "atmel,24c64";
2326				reg = <0x53>;
2327			};
2328		};
2329
2330		i2c15mux1chn3: i2c@3 {
2331			#address-cells = <1>;
2332			#size-cells = <0>;
2333			reg = <3>;
2334
2335			eeprom@53 {
2336				compatible = "atmel,24c64";
2337				reg = <0x53>;
2338			};
2339		};
2340	};
2341
2342	i2c-switch@72 {
2343		compatible = "nxp,pca9546";
2344		reg = <0x72>;
2345		#address-cells = <1>;
2346		#size-cells = <0>;
2347		i2c-mux-idle-disconnect;
2348
2349		i2c15mux2chn0: i2c@0 {
2350			#address-cells = <1>;
2351			#size-cells = <0>;
2352			reg = <0>;
2353
2354			eeprom@53 {
2355				compatible = "atmel,24c64";
2356				reg = <0x53>;
2357			};
2358		};
2359
2360		i2c15mux2chn1: i2c@1 {
2361			#address-cells = <1>;
2362			#size-cells = <0>;
2363			reg = <1>;
2364
2365			eeprom@53 {
2366				compatible = "atmel,24c64";
2367				reg = <0x53>;
2368			};
2369		};
2370
2371		i2c15mux2chn2: i2c@2 {
2372			#address-cells = <1>;
2373			#size-cells = <0>;
2374			reg = <2>;
2375		};
2376
2377		i2c15mux2chn3: i2c@3 {
2378			#address-cells = <1>;
2379			#size-cells = <0>;
2380			reg = <3>;
2381		};
2382	};
2383};
2384
2385&ehci0 {
2386	status = "okay";
2387};
2388
2389&ehci1 {
2390	status = "okay";
2391};
2392
2393&uhci {
2394	status = "okay";
2395};
2396
2397&emmc_controller {
2398	status = "okay";
2399};
2400
2401&pinctrl_emmc_default {
2402	bias-disable;
2403};
2404
2405&emmc {
2406	status = "okay";
2407	clk-phase-mmc-hs200 = <210>, <228>;
2408};
2409
2410&fsim0 {
2411	status = "okay";
2412
2413	#address-cells = <2>;
2414	#size-cells = <0>;
2415
2416	/*
2417	 * CFAM Reset is supposed to be active low but pass1 hardware is wired
2418	 * active high.
2419	 */
2420	cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
2421
2422	cfam@0,0 {	/* DCM0_C0 */
2423		reg = <0 0>;
2424		#address-cells = <1>;
2425		#size-cells = <1>;
2426		chip-id = <0>;
2427
2428		scom@1000 {
2429			compatible = "ibm,fsi2pib";
2430			reg = <0x1000 0x400>;
2431		};
2432
2433		i2c@1800 {
2434			compatible = "ibm,fsi-i2c-master";
2435			reg = <0x1800 0x400>;
2436			#address-cells = <1>;
2437			#size-cells = <0>;
2438
2439			cfam0_i2c0: i2c-bus@0 {
2440				reg = <0>;	/* OMI01 */
2441			};
2442
2443			cfam0_i2c1: i2c-bus@1 {
2444				reg = <1>;	/* OMI23 */
2445			};
2446
2447			cfam0_i2c10: i2c-bus@a {
2448				reg = <10>;	/* OP3A */
2449			};
2450
2451			cfam0_i2c11: i2c-bus@b {
2452				reg = <11>;	/* OP3B */
2453			};
2454
2455			cfam0_i2c12: i2c-bus@c {
2456				reg = <12>;	/* OP4A */
2457			};
2458
2459			cfam0_i2c13: i2c-bus@d {
2460				reg = <13>;	/* OP4B */
2461			};
2462
2463			cfam0_i2c14: i2c-bus@e {
2464				reg = <14>;	/* OP5A */
2465			};
2466
2467			cfam0_i2c15: i2c-bus@f {
2468				reg = <15>;	/* OP5B */
2469			};
2470		};
2471
2472		fsi2spi@1c00 {
2473			compatible = "ibm,fsi2spi";
2474			reg = <0x1c00 0x400>;
2475			#address-cells = <1>;
2476			#size-cells = <0>;
2477
2478			cfam0_spi0: spi@0 {
2479				reg = <0x0>;
2480				#address-cells = <1>;
2481				#size-cells = <0>;
2482
2483				eeprom@0 {
2484					at25,byte-len = <0x80000>;
2485					at25,addr-mode = <4>;
2486					at25,page-size = <256>;
2487
2488					compatible = "atmel,at25";
2489					reg = <0>;
2490					spi-max-frequency = <1000000>;
2491				};
2492			};
2493
2494			cfam0_spi1: spi@20 {
2495				reg = <0x20>;
2496				#address-cells = <1>;
2497				#size-cells = <0>;
2498
2499				eeprom@0 {
2500					at25,byte-len = <0x80000>;
2501					at25,addr-mode = <4>;
2502					at25,page-size = <256>;
2503
2504					compatible = "atmel,at25";
2505					reg = <0>;
2506					spi-max-frequency = <1000000>;
2507				};
2508			};
2509
2510			cfam0_spi2: spi@40 {
2511				reg = <0x40>;
2512				compatible = "ibm,fsi2spi-restricted";
2513				#address-cells = <1>;
2514				#size-cells = <0>;
2515
2516				eeprom@0 {
2517					at25,byte-len = <0x80000>;
2518					at25,addr-mode = <4>;
2519					at25,page-size = <256>;
2520
2521					compatible = "atmel,at25";
2522					reg = <0>;
2523					spi-max-frequency = <1000000>;
2524				};
2525			};
2526
2527			cfam0_spi3: spi@60 {
2528				reg = <0x60>;
2529				compatible = "ibm,fsi2spi-restricted";
2530				#address-cells = <1>;
2531				#size-cells = <0>;
2532
2533				eeprom@0 {
2534					at25,byte-len = <0x80000>;
2535					at25,addr-mode = <4>;
2536					at25,page-size = <256>;
2537
2538					compatible = "atmel,at25";
2539					reg = <0>;
2540					spi-max-frequency = <1000000>;
2541				};
2542			};
2543		};
2544
2545		sbefifo@2400 {
2546			compatible = "ibm,p9-sbefifo";
2547			reg = <0x2400 0x400>;
2548			#address-cells = <1>;
2549			#size-cells = <0>;
2550
2551			fsi_occ0: occ {
2552				compatible = "ibm,p10-occ";
2553
2554				occ-hwmon {
2555					compatible = "ibm,p10-occ-hwmon";
2556					ibm,no-poll-on-init;
2557				};
2558			};
2559		};
2560
2561		fsi_hub0: hub@3400 {
2562			compatible = "fsi-master-hub";
2563			reg = <0x3400 0x400>;
2564			#address-cells = <2>;
2565			#size-cells = <0>;
2566		};
2567	};
2568};
2569
2570&fsi_hub0 {
2571	cfam@1,0 { /* DCM0_C1 */
2572		reg = <1 0>;
2573		#address-cells = <1>;
2574		#size-cells = <1>;
2575		chip-id = <1>;
2576
2577		scom@1000 {
2578			compatible = "ibm,fsi2pib";
2579			reg = <0x1000 0x400>;
2580		};
2581
2582		i2c@1800 {
2583			compatible = "ibm,fsi-i2c-master";
2584			reg = <0x1800 0x400>;
2585			#address-cells = <1>;
2586			#size-cells = <0>;
2587
2588			cfam1_i2c2: i2c-bus@2 {
2589				reg = <2>;	/* OMI45 */
2590			};
2591
2592			cfam1_i2c3: i2c-bus@3 {
2593				reg = <3>;	/* OMI67 */
2594			};
2595
2596			cfam1_i2c10: i2c-bus@a {
2597				reg = <10>;	/* OP3A */
2598			};
2599
2600			cfam1_i2c11: i2c-bus@b {
2601				reg = <11>;	/* OP3B */
2602			};
2603
2604			cfam1_i2c14: i2c-bus@e {
2605				reg = <14>;	/* OP5A */
2606			};
2607
2608			cfam1_i2c15: i2c-bus@f {
2609				reg = <15>;	/* OP5B */
2610			};
2611
2612			cfam1_i2c16: i2c-bus@10 {
2613				reg = <16>;	/* OP6A */
2614			};
2615
2616			cfam1_i2c17: i2c-bus@11 {
2617				reg = <17>;	/* OP6B */
2618			};
2619		};
2620
2621		fsi2spi@1c00 {
2622			compatible = "ibm,fsi2spi";
2623			reg = <0x1c00 0x400>;
2624			#address-cells = <1>;
2625			#size-cells = <0>;
2626
2627			cfam1_spi0: spi@0 {
2628				reg = <0x0>;
2629				#address-cells = <1>;
2630				#size-cells = <0>;
2631
2632				eeprom@0 {
2633					at25,byte-len = <0x80000>;
2634					at25,addr-mode = <4>;
2635					at25,page-size = <256>;
2636
2637					compatible = "atmel,at25";
2638					reg = <0>;
2639					spi-max-frequency = <1000000>;
2640				};
2641			};
2642
2643			cfam1_spi1: spi@20 {
2644				reg = <0x20>;
2645				#address-cells = <1>;
2646				#size-cells = <0>;
2647
2648				eeprom@0 {
2649					at25,byte-len = <0x80000>;
2650					at25,addr-mode = <4>;
2651					at25,page-size = <256>;
2652
2653					compatible = "atmel,at25";
2654					reg = <0>;
2655					spi-max-frequency = <1000000>;
2656				};
2657			};
2658
2659			cfam1_spi2: spi@40 {
2660				reg = <0x40>;
2661				compatible = "ibm,fsi2spi-restricted";
2662				#address-cells = <1>;
2663				#size-cells = <0>;
2664
2665				eeprom@0 {
2666					at25,byte-len = <0x80000>;
2667					at25,addr-mode = <4>;
2668					at25,page-size = <256>;
2669
2670					compatible = "atmel,at25";
2671					reg = <0>;
2672					spi-max-frequency = <1000000>;
2673				};
2674			};
2675
2676			cfam1_spi3: spi@60 {
2677				reg = <0x60>;
2678				compatible = "ibm,fsi2spi-restricted";
2679				#address-cells = <1>;
2680				#size-cells = <0>;
2681
2682				eeprom@0 {
2683					at25,byte-len = <0x80000>;
2684					at25,addr-mode = <4>;
2685					at25,page-size = <256>;
2686
2687					compatible = "atmel,at25";
2688					reg = <0>;
2689					spi-max-frequency = <1000000>;
2690				};
2691			};
2692		};
2693
2694		sbefifo@2400 {
2695			compatible = "ibm,p9-sbefifo";
2696			reg = <0x2400 0x400>;
2697			#address-cells = <1>;
2698			#size-cells = <0>;
2699
2700			fsi_occ1: occ {
2701				compatible = "ibm,p10-occ";
2702
2703				occ-hwmon {
2704					compatible = "ibm,p10-occ-hwmon";
2705					ibm,no-poll-on-init;
2706				};
2707			};
2708		};
2709
2710		fsi_hub1: hub@3400 {
2711			compatible = "fsi-master-hub";
2712			reg = <0x3400 0x400>;
2713			#address-cells = <2>;
2714			#size-cells = <0>;
2715
2716			no-scan-on-init;
2717		};
2718	};
2719
2720	cfam@2,0 { /* DCM1_C0 */
2721		reg = <2 0>;
2722		#address-cells = <1>;
2723		#size-cells = <1>;
2724		chip-id = <2>;
2725
2726		scom@1000 {
2727			compatible = "ibm,fsi2pib";
2728			reg = <0x1000 0x400>;
2729		};
2730
2731		i2c@1800 {
2732			compatible = "ibm,fsi-i2c-master";
2733			reg = <0x1800 0x400>;
2734			#address-cells = <1>;
2735			#size-cells = <0>;
2736
2737			cfam2_i2c0: i2c-bus@0 {
2738				reg = <0>;	/* OM01 */
2739			};
2740
2741			cfam2_i2c1: i2c-bus@1 {
2742				reg = <1>;	/* OM23 */
2743			};
2744
2745			cfam2_i2c10: i2c-bus@a {
2746				reg = <10>;	/* OP3A */
2747			};
2748
2749			cfam2_i2c11: i2c-bus@b {
2750				reg = <11>;	/* OP3B */
2751			};
2752
2753			cfam2_i2c12: i2c-bus@c {
2754				reg = <12>;	/* OP4A */
2755			};
2756
2757			cfam2_i2c13: i2c-bus@d {
2758				reg = <13>;	/* OP4B */
2759			};
2760
2761			cfam2_i2c14: i2c-bus@e {
2762				reg = <14>;	/* OP5A */
2763			};
2764
2765			cfam2_i2c15: i2c-bus@f {
2766				reg = <15>;	/* OP5B */
2767			};
2768		};
2769
2770		fsi2spi@1c00 {
2771			compatible = "ibm,fsi2spi";
2772			reg = <0x1c00 0x400>;
2773			#address-cells = <1>;
2774			#size-cells = <0>;
2775
2776			cfam2_spi0: spi@0 {
2777				reg = <0x0>;
2778				#address-cells = <1>;
2779				#size-cells = <0>;
2780
2781				eeprom@0 {
2782					at25,byte-len = <0x80000>;
2783					at25,addr-mode = <4>;
2784					at25,page-size = <256>;
2785
2786					compatible = "atmel,at25";
2787					reg = <0>;
2788					spi-max-frequency = <1000000>;
2789				};
2790			};
2791
2792			cfam2_spi1: spi@20 {
2793				reg = <0x20>;
2794				#address-cells = <1>;
2795				#size-cells = <0>;
2796
2797				eeprom@0 {
2798					at25,byte-len = <0x80000>;
2799					at25,addr-mode = <4>;
2800					at25,page-size = <256>;
2801
2802					compatible = "atmel,at25";
2803					reg = <0>;
2804					spi-max-frequency = <1000000>;
2805				};
2806			};
2807
2808			cfam2_spi2: spi@40 {
2809				reg = <0x40>;
2810				compatible = "ibm,fsi2spi-restricted";
2811				#address-cells = <1>;
2812				#size-cells = <0>;
2813
2814				eeprom@0 {
2815					at25,byte-len = <0x80000>;
2816					at25,addr-mode = <4>;
2817					at25,page-size = <256>;
2818
2819					compatible = "atmel,at25";
2820					reg = <0>;
2821					spi-max-frequency = <1000000>;
2822				};
2823			};
2824
2825			cfam2_spi3: spi@60 {
2826				reg = <0x60>;
2827				compatible = "ibm,fsi2spi-restricted";
2828				#address-cells = <1>;
2829				#size-cells = <0>;
2830
2831				eeprom@0 {
2832					at25,byte-len = <0x80000>;
2833					at25,addr-mode = <4>;
2834					at25,page-size = <256>;
2835
2836					compatible = "atmel,at25";
2837					reg = <0>;
2838					spi-max-frequency = <1000000>;
2839				};
2840			};
2841		};
2842
2843		sbefifo@2400 {
2844			compatible = "ibm,p9-sbefifo";
2845			reg = <0x2400 0x400>;
2846			#address-cells = <1>;
2847			#size-cells = <0>;
2848
2849			fsi_occ2: occ {
2850				compatible = "ibm,p10-occ";
2851
2852				occ-hwmon {
2853					compatible = "ibm,p10-occ-hwmon";
2854					ibm,no-poll-on-init;
2855				};
2856			};
2857		};
2858
2859		fsi_hub2: hub@3400 {
2860			compatible = "fsi-master-hub";
2861			reg = <0x3400 0x400>;
2862			#address-cells = <2>;
2863			#size-cells = <0>;
2864
2865			no-scan-on-init;
2866		};
2867	};
2868
2869	cfam@3,0 { /* DCM1_C1 */
2870		reg = <3 0>;
2871		#address-cells = <1>;
2872		#size-cells = <1>;
2873		chip-id = <3>;
2874
2875		scom@1000 {
2876			compatible = "ibm,fsi2pib";
2877			reg = <0x1000 0x400>;
2878		};
2879
2880		i2c@1800 {
2881			compatible = "ibm,fsi-i2c-master";
2882			reg = <0x1800 0x400>;
2883			#address-cells = <1>;
2884			#size-cells = <0>;
2885
2886			cfam3_i2c2: i2c-bus@2 {
2887				reg = <2>;	/* OM45 */
2888			};
2889
2890			cfam3_i2c3: i2c-bus@3 {
2891				reg = <3>;	/* OM67 */
2892			};
2893
2894			cfam3_i2c10: i2c-bus@a {
2895				reg = <10>;	/* OP3A */
2896			};
2897
2898			cfam3_i2c11: i2c-bus@b {
2899				reg = <11>;	/* OP3B */
2900			};
2901
2902			cfam3_i2c14: i2c-bus@e {
2903				reg = <14>;	/* OP5A */
2904			};
2905
2906			cfam3_i2c15: i2c-bus@f {
2907				reg = <15>;	/* OP5B */
2908			};
2909
2910			cfam3_i2c16: i2c-bus@10 {
2911				reg = <16>;	/* OP6A */
2912			};
2913
2914			cfam3_i2c17: i2c-bus@11 {
2915				reg = <17>;	/* OP6B */
2916			};
2917		};
2918
2919		fsi2spi@1c00 {
2920			compatible = "ibm,fsi2spi";
2921			reg = <0x1c00 0x400>;
2922			#address-cells = <1>;
2923			#size-cells = <0>;
2924
2925			cfam3_spi0: spi@0 {
2926				reg = <0x0>;
2927				#address-cells = <1>;
2928				#size-cells = <0>;
2929
2930				eeprom@0 {
2931					at25,byte-len = <0x80000>;
2932					at25,addr-mode = <4>;
2933					at25,page-size = <256>;
2934
2935					compatible = "atmel,at25";
2936					reg = <0>;
2937					spi-max-frequency = <1000000>;
2938				};
2939			};
2940
2941			cfam3_spi1: spi@20 {
2942				reg = <0x20>;
2943				#address-cells = <1>;
2944				#size-cells = <0>;
2945
2946				eeprom@0 {
2947					at25,byte-len = <0x80000>;
2948					at25,addr-mode = <4>;
2949					at25,page-size = <256>;
2950
2951					compatible = "atmel,at25";
2952					reg = <0>;
2953					spi-max-frequency = <1000000>;
2954				};
2955			};
2956
2957			cfam3_spi2: spi@40 {
2958				reg = <0x40>;
2959				compatible = "ibm,fsi2spi-restricted";
2960				#address-cells = <1>;
2961				#size-cells = <0>;
2962
2963				eeprom@0 {
2964					at25,byte-len = <0x80000>;
2965					at25,addr-mode = <4>;
2966					at25,page-size = <256>;
2967
2968					compatible = "atmel,at25";
2969					reg = <0>;
2970					spi-max-frequency = <1000000>;
2971				};
2972			};
2973
2974			cfam3_spi3: spi@60 {
2975				reg = <0x60>;
2976				compatible = "ibm,fsi2spi-restricted";
2977				#address-cells = <1>;
2978				#size-cells = <0>;
2979
2980				eeprom@0 {
2981					at25,byte-len = <0x80000>;
2982					at25,addr-mode = <4>;
2983					at25,page-size = <256>;
2984
2985					compatible = "atmel,at25";
2986					reg = <0>;
2987					spi-max-frequency = <1000000>;
2988				};
2989			};
2990		};
2991
2992		sbefifo@2400 {
2993			compatible = "ibm,p9-sbefifo";
2994			reg = <0x2400 0x400>;
2995			#address-cells = <1>;
2996			#size-cells = <0>;
2997
2998			fsi_occ3: occ {
2999				compatible = "ibm,p10-occ";
3000
3001				occ-hwmon {
3002					compatible = "ibm,p10-occ-hwmon";
3003					ibm,no-poll-on-init;
3004				};
3005			};
3006		};
3007
3008		fsi_hub3: hub@3400 {
3009			compatible = "fsi-master-hub";
3010			reg = <0x3400 0x400>;
3011			#address-cells = <2>;
3012			#size-cells = <0>;
3013
3014			no-scan-on-init;
3015		};
3016	};
3017
3018	cfam@4,0 { /* DCM2_C0 */
3019		reg = <4 0>;
3020		#address-cells = <1>;
3021		#size-cells = <1>;
3022		chip-id = <4>;
3023
3024		scom@1000 {
3025			compatible = "ibm,fsi2pib";
3026			reg = <0x1000 0x400>;
3027		};
3028
3029		i2c@1800 {
3030			compatible = "ibm,fsi-i2c-master";
3031			reg = <0x1800 0x400>;
3032			#address-cells = <1>;
3033			#size-cells = <0>;
3034
3035			cfam4_i2c0: i2c-bus@0 {
3036				reg = <0>;	/* OM01 */
3037			};
3038
3039			cfam4_i2c1: i2c-bus@1 {
3040				reg = <1>;	/* OM23 */
3041			};
3042
3043			cfam4_i2c10: i2c-bus@a {
3044				reg = <10>;	/* OP3A */
3045			};
3046
3047			cfam4_i2c11: i2c-bus@b {
3048				reg = <11>;	/* OP3B */
3049			};
3050
3051			cfam4_i2c12: i2c-bus@c {
3052				reg = <12>;	/* OP4A */
3053			};
3054
3055			cfam4_i2c13: i2c-bus@d {
3056				reg = <13>;	/* OP4B */
3057			};
3058
3059			cfam4_i2c14: i2c-bus@e {
3060				reg = <14>;	/* OP5A */
3061			};
3062
3063			cfam4_i2c15: i2c-bus@f {
3064				reg = <15>;	/* OP5B */
3065			};
3066		};
3067
3068		fsi2spi@1c00 {
3069			compatible = "ibm,fsi2spi";
3070			reg = <0x1c00 0x400>;
3071			#address-cells = <1>;
3072			#size-cells = <0>;
3073
3074			cfam4_spi0: spi@0 {
3075				reg = <0x0>;
3076				#address-cells = <1>;
3077				#size-cells = <0>;
3078
3079				eeprom@0 {
3080					at25,byte-len = <0x80000>;
3081					at25,addr-mode = <4>;
3082					at25,page-size = <256>;
3083
3084					compatible = "atmel,at25";
3085					reg = <0>;
3086					spi-max-frequency = <1000000>;
3087				};
3088			};
3089
3090			cfam4_spi1: spi@20 {
3091				reg = <0x20>;
3092				#address-cells = <1>;
3093				#size-cells = <0>;
3094
3095				eeprom@0 {
3096					at25,byte-len = <0x80000>;
3097					at25,addr-mode = <4>;
3098					at25,page-size = <256>;
3099
3100					compatible = "atmel,at25";
3101					reg = <0>;
3102					spi-max-frequency = <1000000>;
3103				};
3104			};
3105
3106			cfam4_spi2: spi@40 {
3107				reg = <0x40>;
3108				compatible = "ibm,fsi2spi-restricted";
3109				#address-cells = <1>;
3110				#size-cells = <0>;
3111
3112				eeprom@0 {
3113					at25,byte-len = <0x80000>;
3114					at25,addr-mode = <4>;
3115					at25,page-size = <256>;
3116
3117					compatible = "atmel,at25";
3118					reg = <0>;
3119					spi-max-frequency = <1000000>;
3120				};
3121			};
3122
3123			cfam4_spi3: spi@60 {
3124				reg = <0x60>;
3125				compatible = "ibm,fsi2spi-restricted";
3126				#address-cells = <1>;
3127				#size-cells = <0>;
3128
3129				eeprom@0 {
3130					at25,byte-len = <0x80000>;
3131					at25,addr-mode = <4>;
3132					at25,page-size = <256>;
3133
3134					compatible = "atmel,at25";
3135					reg = <0>;
3136					spi-max-frequency = <1000000>;
3137				};
3138			};
3139		};
3140
3141		sbefifo@2400 {
3142			compatible = "ibm,p9-sbefifo";
3143			reg = <0x2400 0x400>;
3144			#address-cells = <1>;
3145			#size-cells = <0>;
3146
3147			fsi_occ4: occ {
3148				compatible = "ibm,p10-occ";
3149
3150				occ-hwmon {
3151					compatible = "ibm,p10-occ-hwmon";
3152					ibm,no-poll-on-init;
3153				};
3154			};
3155		};
3156
3157		fsi_hub4: hub@3400 {
3158			compatible = "fsi-master-hub";
3159			reg = <0x3400 0x400>;
3160			#address-cells = <2>;
3161			#size-cells = <0>;
3162
3163			no-scan-on-init;
3164		};
3165	};
3166
3167	cfam@5,0 { /* DCM2_C1 */
3168		reg = <5 0>;
3169		#address-cells = <1>;
3170		#size-cells = <1>;
3171		chip-id = <5>;
3172
3173		scom@1000 {
3174			compatible = "ibm,fsi2pib";
3175			reg = <0x1000 0x400>;
3176		};
3177
3178		i2c@1800 {
3179			compatible = "ibm,fsi-i2c-master";
3180			reg = <0x1800 0x400>;
3181			#address-cells = <1>;
3182			#size-cells = <0>;
3183
3184			cfam5_i2c2: i2c-bus@2 {
3185				reg = <2>;	/* OM45 */
3186			};
3187
3188			cfam5_i2c3: i2c-bus@3 {
3189				reg = <3>;	/* OM67 */
3190			};
3191
3192			cfam5_i2c10: i2c-bus@a {
3193				reg = <10>;	/* OP3A */
3194			};
3195
3196			cfam5_i2c11: i2c-bus@b {
3197				reg = <11>;	/* OP3B */
3198			};
3199
3200			cfam5_i2c14: i2c-bus@e {
3201				reg = <14>;	/* OP5A */
3202			};
3203
3204			cfam5_i2c15: i2c-bus@f {
3205				reg = <15>;	/* OP5B */
3206			};
3207
3208			cfam5_i2c16: i2c-bus@10 {
3209				reg = <16>;	/* OP6A */
3210			};
3211
3212			cfam5_i2c17: i2c-bus@11 {
3213				reg = <17>;	/* OP6B */
3214			};
3215		};
3216
3217		fsi2spi@1c00 {
3218			compatible = "ibm,fsi2spi";
3219			reg = <0x1c00 0x400>;
3220			#address-cells = <1>;
3221			#size-cells = <0>;
3222
3223			cfam5_spi0: spi@0 {
3224				reg = <0x0>;
3225				#address-cells = <1>;
3226				#size-cells = <0>;
3227
3228				eeprom@0 {
3229					at25,byte-len = <0x80000>;
3230					at25,addr-mode = <4>;
3231					at25,page-size = <256>;
3232
3233					compatible = "atmel,at25";
3234					reg = <0>;
3235					spi-max-frequency = <1000000>;
3236				};
3237			};
3238
3239			cfam5_spi1: spi@20 {
3240				reg = <0x20>;
3241				#address-cells = <1>;
3242				#size-cells = <0>;
3243
3244				eeprom@0 {
3245					at25,byte-len = <0x80000>;
3246					at25,addr-mode = <4>;
3247					at25,page-size = <256>;
3248
3249					compatible = "atmel,at25";
3250					reg = <0>;
3251					spi-max-frequency = <1000000>;
3252				};
3253			};
3254
3255			cfam5_spi2: spi@40 {
3256				reg = <0x40>;
3257				compatible = "ibm,fsi2spi-restricted";
3258				#address-cells = <1>;
3259				#size-cells = <0>;
3260
3261				eeprom@0 {
3262					at25,byte-len = <0x80000>;
3263					at25,addr-mode = <4>;
3264					at25,page-size = <256>;
3265
3266					compatible = "atmel,at25";
3267					reg = <0>;
3268					spi-max-frequency = <1000000>;
3269				};
3270			};
3271
3272			cfam5_spi3: spi@60 {
3273				reg = <0x60>;
3274				compatible = "ibm,fsi2spi-restricted";
3275				#address-cells = <1>;
3276				#size-cells = <0>;
3277
3278				eeprom@0 {
3279					at25,byte-len = <0x80000>;
3280					at25,addr-mode = <4>;
3281					at25,page-size = <256>;
3282
3283					compatible = "atmel,at25";
3284					reg = <0>;
3285					spi-max-frequency = <1000000>;
3286				};
3287			};
3288		};
3289
3290		sbefifo@2400 {
3291			compatible = "ibm,p9-sbefifo";
3292			reg = <0x2400 0x400>;
3293			#address-cells = <1>;
3294			#size-cells = <0>;
3295
3296			fsi_occ5: occ {
3297				compatible = "ibm,p10-occ";
3298
3299				occ-hwmon {
3300					compatible = "ibm,p10-occ-hwmon";
3301					ibm,no-poll-on-init;
3302				};
3303			};
3304		};
3305
3306		fsi_hub5: hub@3400 {
3307			compatible = "fsi-master-hub";
3308			reg = <0x3400 0x400>;
3309			#address-cells = <2>;
3310			#size-cells = <0>;
3311
3312			no-scan-on-init;
3313		};
3314	};
3315
3316	cfam@6,0 { /* DCM3_C0 */
3317		reg = <6 0>;
3318		#address-cells = <1>;
3319		#size-cells = <1>;
3320		chip-id = <6>;
3321
3322		scom@1000 {
3323			compatible = "ibm,fsi2pib";
3324			reg = <0x1000 0x400>;
3325		};
3326
3327		i2c@1800 {
3328			compatible = "ibm,fsi-i2c-master";
3329			reg = <0x1800 0x400>;
3330			#address-cells = <1>;
3331			#size-cells = <0>;
3332
3333			cfam6_i2c0: i2c-bus@0 {
3334				reg = <0>;	/* OM01 */
3335			};
3336
3337			cfam6_i2c1: i2c-bus@1 {
3338				reg = <1>;	/* OM23 */
3339			};
3340
3341			cfam6_i2c10: i2c-bus@a {
3342				reg = <10>;	/* OP3A */
3343			};
3344
3345			cfam6_i2c11: i2c-bus@b {
3346				reg = <11>;	/* OP3B */
3347			};
3348
3349			cfam6_i2c12: i2c-bus@c {
3350				reg = <12>;	/* OP4A */
3351			};
3352
3353			cfam6_i2c13: i2c-bus@d {
3354				reg = <13>;	/* OP4B */
3355			};
3356
3357			cfam6_i2c14: i2c-bus@e {
3358				reg = <14>;	/* OP5A */
3359			};
3360
3361			cfam6_i2c15: i2c-bus@f {
3362				reg = <15>;	/* OP5B */
3363			};
3364		};
3365
3366		fsi2spi@1c00 {
3367			compatible = "ibm,fsi2spi";
3368			reg = <0x1c00 0x400>;
3369			#address-cells = <1>;
3370			#size-cells = <0>;
3371
3372			cfam6_spi0: spi@0 {
3373				reg = <0x0>;
3374				#address-cells = <1>;
3375				#size-cells = <0>;
3376
3377				eeprom@0 {
3378					at25,byte-len = <0x80000>;
3379					at25,addr-mode = <4>;
3380					at25,page-size = <256>;
3381
3382					compatible = "atmel,at25";
3383					reg = <0>;
3384					spi-max-frequency = <1000000>;
3385				};
3386			};
3387
3388			cfam6_spi1: spi@20 {
3389				reg = <0x20>;
3390				#address-cells = <1>;
3391				#size-cells = <0>;
3392
3393				eeprom@0 {
3394					at25,byte-len = <0x80000>;
3395					at25,addr-mode = <4>;
3396					at25,page-size = <256>;
3397
3398					compatible = "atmel,at25";
3399					reg = <0>;
3400					spi-max-frequency = <1000000>;
3401				};
3402			};
3403
3404			cfam6_spi2: spi@40 {
3405				reg = <0x40>;
3406				compatible = "ibm,fsi2spi-restricted";
3407				#address-cells = <1>;
3408				#size-cells = <0>;
3409
3410				eeprom@0 {
3411					at25,byte-len = <0x80000>;
3412					at25,addr-mode = <4>;
3413					at25,page-size = <256>;
3414
3415					compatible = "atmel,at25";
3416					reg = <0>;
3417					spi-max-frequency = <1000000>;
3418				};
3419			};
3420
3421			cfam6_spi3: spi@60 {
3422				reg = <0x60>;
3423				compatible = "ibm,fsi2spi-restricted";
3424				#address-cells = <1>;
3425				#size-cells = <0>;
3426
3427				eeprom@0 {
3428					at25,byte-len = <0x80000>;
3429					at25,addr-mode = <4>;
3430					at25,page-size = <256>;
3431
3432					compatible = "atmel,at25";
3433					reg = <0>;
3434					spi-max-frequency = <1000000>;
3435				};
3436			};
3437		};
3438
3439		sbefifo@2400 {
3440			compatible = "ibm,p9-sbefifo";
3441			reg = <0x2400 0x400>;
3442			#address-cells = <1>;
3443			#size-cells = <0>;
3444
3445			fsi_occ6: occ {
3446				compatible = "ibm,p10-occ";
3447
3448				occ-hwmon {
3449					compatible = "ibm,p10-occ-hwmon";
3450					ibm,no-poll-on-init;
3451				};
3452			};
3453		};
3454
3455		fsi_hub6: hub@3400 {
3456			compatible = "fsi-master-hub";
3457			reg = <0x3400 0x400>;
3458			#address-cells = <2>;
3459			#size-cells = <0>;
3460
3461			no-scan-on-init;
3462		};
3463	};
3464
3465	cfam@7,0 { /* DCM3_C1 */
3466		reg = <7 0>;
3467		#address-cells = <1>;
3468		#size-cells = <1>;
3469		chip-id = <7>;
3470
3471		scom@1000 {
3472			compatible = "ibm,fsi2pib";
3473			reg = <0x1000 0x400>;
3474		};
3475
3476		i2c@1800 {
3477			compatible = "ibm,fsi-i2c-master";
3478			reg = <0x1800 0x400>;
3479			#address-cells = <1>;
3480			#size-cells = <0>;
3481
3482			cfam7_i2c2: i2c-bus@2 {
3483				reg = <2>;	/* OM45 */
3484			};
3485
3486			cfam7_i2c3: i2c-bus@3 {
3487				reg = <3>;	/* OM67 */
3488			};
3489
3490			cfam7_i2c10: i2c-bus@a {
3491				reg = <10>;	/* OP3A */
3492			};
3493
3494			cfam7_i2c11: i2c-bus@b {
3495				reg = <11>;	/* OP3B */
3496			};
3497
3498			cfam7_i2c14: i2c-bus@e {
3499				reg = <14>;	/* OP5A */
3500			};
3501
3502			cfam7_i2c15: i2c-bus@f {
3503				reg = <15>;	/* OP5B */
3504			};
3505
3506			cfam7_i2c16: i2c-bus@10 {
3507				reg = <16>;	/* OP6A */
3508			};
3509
3510			cfam7_i2c17: i2c-bus@11 {
3511				reg = <17>;	/* OP6B */
3512			};
3513		};
3514
3515		fsi2spi@1c00 {
3516			compatible = "ibm,fsi2spi";
3517			reg = <0x1c00 0x400>;
3518			#address-cells = <1>;
3519			#size-cells = <0>;
3520
3521			cfam7_spi0: spi@0 {
3522				reg = <0x0>;
3523				#address-cells = <1>;
3524				#size-cells = <0>;
3525
3526				eeprom@0 {
3527					at25,byte-len = <0x80000>;
3528					at25,addr-mode = <4>;
3529					at25,page-size = <256>;
3530
3531					compatible = "atmel,at25";
3532					reg = <0>;
3533					spi-max-frequency = <1000000>;
3534				};
3535			};
3536
3537			cfam7_spi1: spi@20 {
3538				reg = <0x20>;
3539				#address-cells = <1>;
3540				#size-cells = <0>;
3541
3542				eeprom@0 {
3543					at25,byte-len = <0x80000>;
3544					at25,addr-mode = <4>;
3545					at25,page-size = <256>;
3546
3547					compatible = "atmel,at25";
3548					reg = <0>;
3549					spi-max-frequency = <1000000>;
3550				};
3551			};
3552
3553			cfam7_spi2: spi@40 {
3554				reg = <0x40>;
3555				compatible = "ibm,fsi2spi-restricted";
3556				#address-cells = <1>;
3557				#size-cells = <0>;
3558
3559				eeprom@0 {
3560					at25,byte-len = <0x80000>;
3561					at25,addr-mode = <4>;
3562					at25,page-size = <256>;
3563
3564					compatible = "atmel,at25";
3565					reg = <0>;
3566					spi-max-frequency = <1000000>;
3567				};
3568			};
3569
3570			cfam7_spi3: spi@60 {
3571				reg = <0x60>;
3572				compatible = "ibm,fsi2spi-restricted";
3573				#address-cells = <1>;
3574				#size-cells = <0>;
3575
3576				eeprom@0 {
3577					at25,byte-len = <0x80000>;
3578					at25,addr-mode = <4>;
3579					at25,page-size = <256>;
3580
3581					compatible = "atmel,at25";
3582					reg = <0>;
3583					spi-max-frequency = <1000000>;
3584				};
3585			};
3586		};
3587
3588		sbefifo@2400 {
3589			compatible = "ibm,p9-sbefifo";
3590			reg = <0x2400 0x400>;
3591			#address-cells = <1>;
3592			#size-cells = <0>;
3593
3594			fsi_occ7: occ {
3595				compatible = "ibm,p10-occ";
3596
3597				occ-hwmon {
3598					compatible = "ibm,p10-occ-hwmon";
3599					ibm,no-poll-on-init;
3600				};
3601			};
3602		};
3603
3604		fsi_hub7: hub@3400 {
3605			compatible = "fsi-master-hub";
3606			reg = <0x3400 0x400>;
3607			#address-cells = <2>;
3608			#size-cells = <0>;
3609
3610			no-scan-on-init;
3611		};
3612	};
3613};
3614
3615/* Legacy OCC numbering (to get rid of when userspace is fixed) */
3616&fsi_occ0 {
3617	reg = <1>;
3618};
3619
3620&fsi_occ1 {
3621	reg = <2>;
3622};
3623
3624&fsi_occ2 {
3625	reg = <3>;
3626};
3627
3628&fsi_occ3 {
3629	reg = <4>;
3630};
3631
3632&fsi_occ4 {
3633	reg = <5>;
3634};
3635
3636&fsi_occ5 {
3637	reg = <6>;
3638};
3639
3640&fsi_occ6 {
3641	reg = <7>;
3642};
3643
3644&fsi_occ7 {
3645	reg = <8>;
3646};
3647
3648&ibt {
3649	status = "okay";
3650};
3651
3652&uart2 {
3653	status = "okay";
3654};
3655
3656&vuart1 {
3657	status = "okay";
3658};
3659
3660&vuart2 {
3661	status = "okay";
3662};
3663
3664&lpc_ctrl {
3665	status = "okay";
3666	memory-region = <&flash_memory>;
3667};
3668
3669&mac2 {
3670	status = "okay";
3671	pinctrl-names = "default";
3672	pinctrl-0 = <&pinctrl_rmii3_default>;
3673	clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
3674		 <&syscon ASPEED_CLK_MAC3RCLK>;
3675	clock-names = "MACCLK", "RCLK";
3676	use-ncsi;
3677};
3678
3679&mac3 {
3680	status = "okay";
3681	pinctrl-names = "default";
3682	pinctrl-0 = <&pinctrl_rmii4_default>;
3683	clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
3684		 <&syscon ASPEED_CLK_MAC4RCLK>;
3685	clock-names = "MACCLK", "RCLK";
3686	use-ncsi;
3687};
3688
3689&wdt1 {
3690	aspeed,reset-type = "none";
3691	aspeed,external-signal;
3692	aspeed,ext-push-pull;
3693	aspeed,ext-active-high;
3694
3695	pinctrl-names = "default";
3696	pinctrl-0 = <&pinctrl_wdtrst1_default>;
3697};
3698
3699&wdt2 {
3700	status = "okay";
3701};
3702
3703&xdma {
3704	status = "okay";
3705	memory-region = <&vga_memory>;
3706};
3707
3708&kcs2 {
3709	status = "okay";
3710	aspeed,lpc-io-reg = <0xca8 0xcac>;
3711};
3712
3713&kcs3 {
3714	status = "okay";
3715	aspeed,lpc-io-reg = <0xca2>;
3716	aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
3717};
3718