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