xref: /linux/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-blueridge.dts (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1// SPDX-License-Identifier: GPL-2.0-or-later
2// Copyright 2024 IBM Corp.
3/dts-v1/;
4
5#include <dt-bindings/gpio/aspeed-gpio.h>
6#include <dt-bindings/i2c/i2c.h>
7#include <dt-bindings/leds/leds-pca955x.h>
8#include "aspeed-g6.dtsi"
9#include "ibm-power11-quad.dtsi"
10
11/ {
12	model = "Blueridge 2U";
13	compatible = "ibm,blueridge-bmc", "aspeed,ast2600";
14
15	aliases {
16		serial4 = &uart5;
17		i2c16 = &i2c2mux0;
18		i2c17 = &i2c2mux1;
19		i2c18 = &i2c2mux2;
20		i2c19 = &i2c2mux3;
21		i2c20 = &i2c4mux0chn0;
22		i2c21 = &i2c4mux0chn1;
23		i2c22 = &i2c4mux0chn2;
24		i2c23 = &i2c5mux0chn0;
25		i2c24 = &i2c5mux0chn1;
26		i2c25 = &i2c6mux0chn0;
27		i2c26 = &i2c6mux0chn1;
28		i2c27 = &i2c6mux0chn2;
29		i2c28 = &i2c6mux0chn3;
30		i2c29 = &i2c11mux0chn0;
31		i2c30 = &i2c11mux0chn1;
32	};
33
34	chosen {
35		stdout-path = &uart5;
36	};
37
38	memory@80000000 {
39		device_type = "memory";
40		reg = <0x80000000 0x40000000>;
41	};
42
43	reserved-memory {
44		#address-cells = <1>;
45		#size-cells = <1>;
46		ranges;
47
48		event_log: region@b3d00000 {
49			reg = <0xb3d00000 0x100000>;
50			no-map;
51		};
52
53		ramoops@b3e00000 {
54			compatible = "ramoops";
55			reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */
56			record-size = <0x8000>;
57			console-size = <0x8000>;
58			ftrace-size = <0x8000>;
59			pmsg-size = <0x8000>;
60			max-reason = <3>; /* KMSG_DUMP_EMERG */
61		};
62
63		/* LPC FW cycle bridge region requires natural alignment */
64		flash_memory: region@b4000000 {
65			reg = <0xb4000000 0x04000000>; /* 64M */
66			no-map;
67		};
68
69		/* VGA region is dictated by hardware strapping */
70		vga_memory: region@bf000000 {
71			compatible = "shared-dma-pool";
72			reg = <0xbf000000 0x01000000>;  /* 16M */
73			no-map;
74		};
75	};
76
77	i2c-mux {
78		compatible = "i2c-mux-gpio";
79		#address-cells = <1>;
80		#size-cells = <0>;
81		i2c-parent = <&i2c2>;
82		idle-state = <0>;
83		mux-gpios = <&gpio0 ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>,
84			    <&gpio0 ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>;
85
86		i2c2mux0: i2c@0 {
87			reg = <0>;
88			#address-cells = <1>;
89			#size-cells = <0>;
90		};
91
92		i2c2mux1: i2c@1 {
93			reg = <1>;
94			#address-cells = <1>;
95			#size-cells = <0>;
96		};
97
98		i2c2mux2: i2c@2 {
99			reg = <2>;
100			#address-cells = <1>;
101			#size-cells = <0>;
102		};
103
104		i2c2mux3: i2c@3 {
105			reg = <3>;
106			#address-cells = <1>;
107			#size-cells = <0>;
108		};
109	};
110
111	leds {
112		compatible = "gpio-leds";
113
114		/* BMC Card fault LED at the back */
115		led-bmc-ingraham0 {
116			gpios = <&gpio0 ASPEED_GPIO(H, 1) GPIO_ACTIVE_LOW>;
117		};
118
119		/* Enclosure ID LED at the back */
120		led-rear-enc-id0 {
121			gpios = <&gpio0 ASPEED_GPIO(H, 2) GPIO_ACTIVE_LOW>;
122		};
123
124		/* Enclosure fault LED at the back */
125		led-rear-enc-fault0 {
126			gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>;
127		};
128
129		/* PCIE slot power LED */
130		led-pcieslot-power {
131			gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_LOW>;
132		};
133	};
134
135	gpio-keys-polled {
136		compatible = "gpio-keys-polled";
137		poll-interval = <1000>;
138
139		event-fan0-presence {
140			gpios = <&pca0 6 GPIO_ACTIVE_LOW>;
141			label = "fan0-presence";
142			linux,code = <6>;
143		};
144
145		event-fan1-presence {
146			gpios = <&pca0 7 GPIO_ACTIVE_LOW>;
147			label = "fan1-presence";
148			linux,code = <7>;
149		};
150
151		event-fan2-presence {
152			gpios = <&pca0 8 GPIO_ACTIVE_LOW>;
153			label = "fan2-presence";
154			linux,code = <8>;
155		};
156
157		event-fan3-presence {
158			gpios = <&pca0 9 GPIO_ACTIVE_LOW>;
159			label = "fan3-presence";
160			linux,code = <9>;
161		};
162
163		event-fan4-presence {
164			gpios = <&pca0 10 GPIO_ACTIVE_LOW>;
165			label = "fan4-presence";
166			linux,code = <10>;
167		};
168
169		event-fan5-presence {
170			gpios = <&pca0 11 GPIO_ACTIVE_LOW>;
171			label = "fan5-presence";
172			linux,code = <11>;
173		};
174	};
175
176	iio-hwmon {
177		compatible = "iio-hwmon";
178		io-channels = <&adc1 7>;
179	};
180};
181
182&adc1 {
183	status = "okay";
184	aspeed,int-vref-microvolt = <2500000>;
185	pinctrl-names = "default";
186	pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
187		&pinctrl_adc10_default &pinctrl_adc11_default
188		&pinctrl_adc12_default &pinctrl_adc13_default
189		&pinctrl_adc14_default &pinctrl_adc15_default>;
190};
191
192&ehci1 {
193	status = "okay";
194};
195
196&uhci {
197	status = "okay";
198};
199
200&gpio0 {
201	gpio-line-names =
202	/*A0-A7*/	"","","","","","","","",
203	/*B0-B7*/	"bmc-management-ready","","","","","","checkstop","",
204	/*C0-C7*/	"","","","","","","","",
205	/*D0-D7*/	"","","","","","","","",
206	/*E0-E7*/	"","","","","","","","",
207	/*F0-F7*/	"","","rtc-battery-voltage-read-enable","reset-cause-pinhole","","",
208			"factory-reset-toggle","",
209	/*G0-G7*/	"","","","","","","","",
210	/*H0-H7*/	"","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","",
211	/*I0-I7*/	"","","","","","","bmc-secure-boot","",
212	/*J0-J7*/	"","","","","","","","",
213	/*K0-K7*/	"","","","","","","","",
214	/*L0-L7*/	"","","","","","","","",
215	/*M0-M7*/	"","","","","","","","",
216	/*N0-N7*/	"","","","","","","","",
217	/*O0-O7*/	"","","","usb-power","","","","",
218	/*P0-P7*/	"","","","","pcieslot-power","","","",
219	/*Q0-Q7*/	"cfam-reset","","regulator-standby-faulted","","","","","",
220	/*R0-R7*/	"bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","",
221			"",
222	/*S0-S7*/	"presence-ps0","presence-ps1","presence-ps2","presence-ps3",
223			"power-ffs-sync-history","","","",
224	/*T0-T7*/	"","","","","","","","",
225	/*U0-U7*/	"","","","","","","","",
226	/*V0-V7*/	"","","","","","","","",
227	/*W0-W7*/	"","","","","","","","",
228	/*X0-X7*/	"","","","","","","","",
229	/*Y0-Y7*/	"","","","","","","","",
230	/*Z0-Z7*/	"","","","","","","","";
231
232	i2c3-mux-oe-n-hog {
233		gpio-hog;
234		gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>;
235		line-name = "I2C3_MUX_OE_N";
236		output-high;
237	};
238
239	usb-power-hog {
240		gpio-hog;
241		gpios = <ASPEED_GPIO(O, 3) GPIO_ACTIVE_LOW>;
242		output-high;
243	};
244};
245
246&emmc_controller {
247	status = "okay";
248};
249
250&pinctrl_emmc_default {
251	bias-disable;
252};
253
254&emmc {
255	status = "okay";
256	clk-phase-mmc-hs200 = <180>, <180>;
257};
258
259&ibt {
260	status = "okay";
261};
262
263&i2c0 {
264	status = "okay";
265
266	eeprom@51 {
267		compatible = "atmel,24c64";
268		reg = <0x51>;
269	};
270
271	gpio@20 {
272		compatible = "ti,tca9554";
273		reg = <0x20>;
274		gpio-controller;
275		#gpio-cells = <2>;
276
277		gpio-line-names = "",
278			"RUSSEL_FW_I2C_ENABLE_N",
279			"RUSSEL_OPPANEL_PRESENCE_N",
280			"BLYTH_OPPANEL_PRESENCE_N",
281			"CPU_TPM_CARD_PRESENT_N",
282			"DASD_BP2_PRESENT_N",
283			"DASD_BP1_PRESENT_N",
284			"DASD_BP0_PRESENT_N";
285	};
286};
287
288&i2c1 {
289	status = "okay";
290};
291
292&i2c2 {
293	status = "okay";
294};
295
296&i2c3 {
297	status = "okay";
298
299	power-supply@68 {
300		compatible = "ibm,cffps";
301		reg = <0x68>;
302	};
303
304	power-supply@69 {
305		compatible = "ibm,cffps";
306		reg = <0x69>;
307	};
308
309	led-controller@61 {
310		compatible = "nxp,pca9552";
311		reg = <0x61>;
312		#address-cells = <1>;
313		#size-cells = <0>;
314		gpio-controller;
315		#gpio-cells = <2>;
316
317		gpio-line-names =
318			"SLOT0_PRSNT_EN_RSVD", "SLOT1_PRSNT_EN_RSVD",
319			"SLOT2_PRSNT_EN_RSVD", "SLOT3_PRSNT_EN_RSVD",
320			"SLOT4_PRSNT_EN_RSVD", "SLOT0_EXPANDER_PRSNT_N",
321			"SLOT1_EXPANDER_PRSNT_N", "SLOT2_EXPANDER_PRSNT_N",
322			"SLOT3_EXPANDER_PRSNT_N", "SLOT4_EXPANDER_PRSNT_N",
323			"", "", "", "", "", "";
324	};
325};
326
327&i2c4 {
328	status = "okay";
329
330	temperature-sensor@48 {
331		compatible = "ti,tmp275";
332		reg = <0x48>;
333	};
334
335	temperature-sensor@49 {
336		compatible = "ti,tmp275";
337		reg = <0x49>;
338	};
339
340	temperature-sensor@4a {
341		compatible = "ti,tmp275";
342		reg = <0x4a>;
343	};
344
345	i2c-mux@70 {
346		compatible = "nxp,pca9546";
347		reg = <0x70>;
348		#address-cells = <1>;
349		#size-cells = <0>;
350		i2c-mux-idle-disconnect;
351
352		i2c4mux0chn0: i2c@0 {
353			reg = <0>;
354			#address-cells = <1>;
355			#size-cells = <0>;
356
357			eeprom@50 {
358				compatible = "atmel,24c64";
359				reg = <0x50>;
360			};
361
362			led-controller@60 {
363				compatible = "nxp,pca9551";
364				reg = <0x60>;
365				#address-cells = <1>;
366				#size-cells = <0>;
367				gpio-controller;
368				#gpio-cells = <2>;
369
370				led@0 {
371					reg = <0>;
372					default-state = "keep";
373					label = "cablecard0-cxp-top";
374					retain-state-shutdown;
375					type = <PCA955X_TYPE_LED>;
376				};
377
378				led@1 {
379					reg = <1>;
380					default-state = "keep";
381					label = "cablecard0-cxp-bot";
382					retain-state-shutdown;
383					type = <PCA955X_TYPE_LED>;
384				};
385			};
386		};
387
388		i2c4mux0chn1: i2c@1 {
389			reg = <1>;
390			#address-cells = <1>;
391			#size-cells = <0>;
392
393			eeprom@51 {
394				compatible = "atmel,24c64";
395				reg = <0x51>;
396			};
397		};
398
399		i2c4mux0chn2: i2c@2 {
400			reg = <2>;
401			#address-cells = <1>;
402			#size-cells = <0>;
403
404			eeprom@52 {
405				compatible = "atmel,24c64";
406				reg = <0x52>;
407			};
408		};
409	};
410};
411
412&i2c5 {
413	status = "okay";
414
415	temperature-sensor@48 {
416		compatible = "ti,tmp275";
417		reg = <0x48>;
418	};
419
420	temperature-sensor@49 {
421		compatible = "ti,tmp275";
422		reg = <0x49>;
423	};
424
425	i2c-mux@70 {
426		compatible = "nxp,pca9546";
427		reg = <0x70>;
428		#address-cells = <1>;
429		#size-cells = <0>;
430		i2c-mux-idle-disconnect;
431
432		i2c5mux0chn0: i2c@0 {
433			reg = <0>;
434			#address-cells = <1>;
435			#size-cells = <0>;
436
437			eeprom@50 {
438				compatible = "atmel,24c64";
439				reg = <0x50>;
440			};
441
442			led-controller@60 {
443				compatible = "nxp,pca9551";
444				reg = <0x60>;
445				#address-cells = <1>;
446				#size-cells = <0>;
447				gpio-controller;
448				#gpio-cells = <2>;
449
450				led@0 {
451					reg = <0>;
452					default-state = "keep";
453					label = "cablecard3-cxp-top";
454					retain-state-shutdown;
455					type = <PCA955X_TYPE_LED>;
456				};
457
458				led@1 {
459					reg = <1>;
460					default-state = "keep";
461					label = "cablecard3-cxp-bot";
462					retain-state-shutdown;
463					type = <PCA955X_TYPE_LED>;
464				};
465			};
466		};
467
468		i2c5mux0chn1: i2c@1 {
469			reg = <1>;
470			#address-cells = <1>;
471			#size-cells = <0>;
472
473			eeprom@51 {
474				compatible = "atmel,24c64";
475				reg = <0x51>;
476			};
477
478			led-controller@61 {
479				compatible = "nxp,pca9551";
480				reg = <0x61>;
481				#address-cells = <1>;
482				#size-cells = <0>;
483				gpio-controller;
484				#gpio-cells = <2>;
485
486				led@0 {
487					reg = <0>;
488					default-state = "keep";
489					label = "cablecard4-cxp-top";
490					retain-state-shutdown;
491					type = <PCA955X_TYPE_LED>;
492				};
493
494				led@1 {
495					reg = <1>;
496					default-state = "keep";
497					label = "cablecard4-cxp-bot";
498					retain-state-shutdown;
499					type = <PCA955X_TYPE_LED>;
500				};
501			};
502		};
503	};
504};
505
506&i2c6 {
507	status = "okay";
508
509	temperature-sensor@48 {
510		compatible = "ti,tmp275";
511		reg = <0x48>;
512	};
513
514	temperature-sensor@4a {
515		compatible = "ti,tmp275";
516		reg = <0x4a>;
517	};
518
519	temperature-sensor@4b {
520		compatible = "ti,tmp275";
521		reg = <0x4b>;
522	};
523
524	i2c-mux@70 {
525		compatible = "nxp,pca9546";
526		reg = <0x70>;
527		#address-cells = <1>;
528		#size-cells = <0>;
529		i2c-mux-idle-disconnect;
530
531		i2c6mux0chn0: i2c@0 {
532			reg = <0>;
533			#address-cells = <1>;
534			#size-cells = <0>;
535
536			eeprom@53 {
537				compatible = "atmel,24c64";
538				reg = <0x53>;
539			};
540		};
541
542		i2c6mux0chn1: i2c@1 {
543			reg = <1>;
544			#address-cells = <1>;
545			#size-cells = <0>;
546
547			eeprom@52 {
548				compatible = "atmel,24c64";
549				reg = <0x52>;
550			};
551		};
552
553		i2c6mux0chn2: i2c@2 {
554			reg = <2>;
555			#address-cells = <1>;
556			#size-cells = <0>;
557
558			eeprom@50 {
559				compatible = "atmel,24c64";
560				reg = <0x50>;
561			};
562		};
563
564		i2c6mux0chn3: i2c@3 {
565			reg = <3>;
566			#address-cells = <1>;
567			#size-cells = <0>;
568
569			eeprom@51 {
570				compatible = "atmel,24c64";
571				reg = <0x51>;
572			};
573		};
574	};
575};
576
577&i2c7 {
578	multi-master;
579	status = "okay";
580
581	led-controller@30 {
582		compatible = "ibm,pca9552";
583		reg = <0x30>;
584		#address-cells = <1>;
585		#size-cells = <0>;
586		gpio-controller;
587		#gpio-cells = <2>;
588
589		led@0 {
590			reg = <0>;
591			default-state = "keep";
592			label = "pcieslot0";
593			retain-state-shutdown;
594			type = <PCA955X_TYPE_LED>;
595		};
596
597		led@1 {
598			reg = <1>;
599			default-state = "keep";
600			label = "pcieslot1";
601			retain-state-shutdown;
602			type = <PCA955X_TYPE_LED>;
603		};
604
605		led@2 {
606			reg = <2>;
607			default-state = "keep";
608			label = "pcieslot2";
609			retain-state-shutdown;
610			type = <PCA955X_TYPE_LED>;
611		};
612
613		led@3 {
614			reg = <3>;
615			default-state = "keep";
616			label = "pcieslot3";
617			retain-state-shutdown;
618			type = <PCA955X_TYPE_LED>;
619		};
620
621		led@4 {
622			reg = <4>;
623			default-state = "keep";
624			label = "pcieslot4";
625			retain-state-shutdown;
626			type = <PCA955X_TYPE_LED>;
627		};
628
629		led@5 {
630			reg = <5>;
631			default-state = "keep";
632			label = "cpu1";
633			retain-state-shutdown;
634			type = <PCA955X_TYPE_LED>;
635		};
636
637		led@6 {
638			reg = <6>;
639			default-state = "keep";
640			label = "cpu-vrm1";
641			retain-state-shutdown;
642			type = <PCA955X_TYPE_LED>;
643		};
644
645		led@8 {
646			reg = <8>;
647			default-state = "keep";
648			label = "lcd-russel";
649			retain-state-shutdown;
650			type = <PCA955X_TYPE_LED>;
651		};
652	};
653
654	led-controller@31 {
655		compatible = "ibm,pca9552";
656		reg = <0x31>;
657		#address-cells = <1>;
658		#size-cells = <0>;
659		gpio-controller;
660		#gpio-cells = <2>;
661
662		led@0 {
663			reg = <0>;
664			default-state = "keep";
665			label = "ddimm0";
666			retain-state-shutdown;
667			type = <PCA955X_TYPE_LED>;
668		};
669
670		led@1 {
671			reg = <1>;
672			default-state = "keep";
673			label = "ddimm1";
674			retain-state-shutdown;
675			type = <PCA955X_TYPE_LED>;
676		};
677
678		led@2 {
679			reg = <2>;
680			default-state = "keep";
681			label = "ddimm2";
682			retain-state-shutdown;
683			type = <PCA955X_TYPE_LED>;
684		};
685
686		led@3 {
687			reg = <3>;
688			default-state = "keep";
689			label = "ddimm3";
690			retain-state-shutdown;
691			type = <PCA955X_TYPE_LED>;
692		};
693
694		led@4 {
695			reg = <4>;
696			default-state = "keep";
697			label = "ddimm4";
698			retain-state-shutdown;
699			type = <PCA955X_TYPE_LED>;
700		};
701
702		led@5 {
703			reg = <5>;
704			default-state = "keep";
705			label = "ddimm5";
706			retain-state-shutdown;
707			type = <PCA955X_TYPE_LED>;
708		};
709
710		led@6 {
711			reg = <6>;
712			default-state = "keep";
713			label = "ddimm6";
714			retain-state-shutdown;
715			type = <PCA955X_TYPE_LED>;
716		};
717
718		led@7 {
719			reg = <7>;
720			default-state = "keep";
721			label = "ddimm7";
722			retain-state-shutdown;
723			type = <PCA955X_TYPE_LED>;
724		};
725
726		led@8 {
727			reg = <8>;
728			default-state = "keep";
729			label = "ddimm8";
730			retain-state-shutdown;
731			type = <PCA955X_TYPE_LED>;
732		};
733
734		led@9 {
735			reg = <9>;
736			default-state = "keep";
737			label = "ddimm9";
738			retain-state-shutdown;
739			type = <PCA955X_TYPE_LED>;
740		};
741
742		led@10 {
743			reg = <10>;
744			default-state = "keep";
745			label = "ddimm10";
746			retain-state-shutdown;
747			type = <PCA955X_TYPE_LED>;
748		};
749
750		led@11 {
751			reg = <11>;
752			default-state = "keep";
753			label = "ddimm11";
754			retain-state-shutdown;
755			type = <PCA955X_TYPE_LED>;
756		};
757
758		led@12 {
759			reg = <12>;
760			default-state = "keep";
761			label = "ddimm12";
762			retain-state-shutdown;
763			type = <PCA955X_TYPE_LED>;
764		};
765
766		led@13 {
767			reg = <13>;
768			default-state = "keep";
769			label = "ddimm13";
770			retain-state-shutdown;
771			type = <PCA955X_TYPE_LED>;
772		};
773
774		led@14 {
775			reg = <14>;
776			default-state = "keep";
777			label = "ddimm14";
778			retain-state-shutdown;
779			type = <PCA955X_TYPE_LED>;
780		};
781
782		led@15 {
783			reg = <15>;
784			default-state = "keep";
785			label = "ddimm15";
786			retain-state-shutdown;
787			type = <PCA955X_TYPE_LED>;
788		};
789	};
790
791	led-controller@32 {
792		compatible = "ibm,pca9552";
793		reg = <0x32>;
794		#address-cells = <1>;
795		#size-cells = <0>;
796		gpio-controller;
797		#gpio-cells = <2>;
798
799		led@0 {
800			reg = <0>;
801			default-state = "keep";
802			label = "ddimm16";
803			retain-state-shutdown;
804			type = <PCA955X_TYPE_LED>;
805		};
806
807		led@1 {
808			reg = <1>;
809			default-state = "keep";
810			label = "ddimm17";
811			retain-state-shutdown;
812			type = <PCA955X_TYPE_LED>;
813		};
814
815		led@2 {
816			reg = <2>;
817			default-state = "keep";
818			label = "ddimm18";
819			retain-state-shutdown;
820			type = <PCA955X_TYPE_LED>;
821		};
822
823		led@3 {
824			reg = <3>;
825			default-state = "keep";
826			label = "ddimm19";
827			retain-state-shutdown;
828			type = <PCA955X_TYPE_LED>;
829		};
830
831		led@4 {
832			reg = <4>;
833			default-state = "keep";
834			label = "ddimm20";
835			retain-state-shutdown;
836			type = <PCA955X_TYPE_LED>;
837		};
838
839		led@5 {
840			reg = <5>;
841			default-state = "keep";
842			label = "ddimm21";
843			retain-state-shutdown;
844			type = <PCA955X_TYPE_LED>;
845		};
846
847		led@6 {
848			reg = <6>;
849			default-state = "keep";
850			label = "ddimm22";
851			retain-state-shutdown;
852			type = <PCA955X_TYPE_LED>;
853		};
854
855		led@7 {
856			reg = <7>;
857			default-state = "keep";
858			label = "ddimm23";
859			retain-state-shutdown;
860			type = <PCA955X_TYPE_LED>;
861		};
862
863		led@8 {
864			reg = <8>;
865			default-state = "keep";
866			label = "ddimm24";
867			retain-state-shutdown;
868			type = <PCA955X_TYPE_LED>;
869		};
870
871		led@9 {
872			reg = <9>;
873			default-state = "keep";
874			label = "ddimm25";
875			retain-state-shutdown;
876			type = <PCA955X_TYPE_LED>;
877		};
878
879		led@10 {
880			reg = <10>;
881			default-state = "keep";
882			label = "ddimm26";
883			retain-state-shutdown;
884			type = <PCA955X_TYPE_LED>;
885		};
886
887		led@11 {
888			reg = <11>;
889			default-state = "keep";
890			label = "ddimm27";
891			retain-state-shutdown;
892			type = <PCA955X_TYPE_LED>;
893		};
894
895		led@12 {
896			reg = <12>;
897			default-state = "keep";
898			label = "ddimm28";
899			retain-state-shutdown;
900			type = <PCA955X_TYPE_LED>;
901		};
902
903		led@13 {
904			reg = <13>;
905			default-state = "keep";
906			label = "ddimm29";
907			retain-state-shutdown;
908			type = <PCA955X_TYPE_LED>;
909		};
910
911		led@14 {
912			reg = <14>;
913			default-state = "keep";
914			label = "ddimm30";
915			retain-state-shutdown;
916			type = <PCA955X_TYPE_LED>;
917		};
918
919		led@15 {
920			reg = <15>;
921			default-state = "keep";
922			label = "ddimm31";
923			retain-state-shutdown;
924			type = <PCA955X_TYPE_LED>;
925		};
926	};
927
928	led-controller@33 {
929		compatible = "ibm,pca9552";
930		reg = <0x33>;
931		#address-cells = <1>;
932		#size-cells = <0>;
933		gpio-controller;
934		#gpio-cells = <2>;
935
936		led@0 {
937			reg = <0>;
938			default-state = "keep";
939			label = "planar";
940			retain-state-shutdown;
941			type = <PCA955X_TYPE_LED>;
942		};
943
944		led@1 {
945			reg = <1>;
946			default-state = "keep";
947			label = "cpu0";
948			retain-state-shutdown;
949			type = <PCA955X_TYPE_LED>;
950		};
951
952		led@3 {
953			reg = <3>;
954			default-state = "keep";
955			label = "dasd-pyramid0";
956			retain-state-shutdown;
957			type = <PCA955X_TYPE_LED>;
958		};
959
960		led@4 {
961			reg = <4>;
962			default-state = "keep";
963			label = "dasd-pyramid1";
964			retain-state-shutdown;
965			type = <PCA955X_TYPE_LED>;
966		};
967
968		led@5 {
969			reg = <5>;
970			default-state = "keep";
971			label = "dasd-pyramid2";
972			retain-state-shutdown;
973			type = <PCA955X_TYPE_LED>;
974		};
975
976		led@6 {
977			reg = <6>;
978			default-state = "keep";
979			label = "cpu0-vrm0";
980			retain-state-shutdown;
981			type = <PCA955X_TYPE_LED>;
982		};
983
984		led@7 {
985			reg = <7>;
986			default-state = "keep";
987			label = "rtc-battery";
988			retain-state-shutdown;
989			type = <PCA955X_TYPE_LED>;
990		};
991
992		led@8 {
993			reg = <8>;
994			default-state = "keep";
995			label = "base-blyth";
996			retain-state-shutdown;
997			type = <PCA955X_TYPE_LED>;
998		};
999
1000		led@9 {
1001			reg = <9>;
1002			default-state = "keep";
1003			label = "pcieslot6";
1004			retain-state-shutdown;
1005			type = <PCA955X_TYPE_LED>;
1006		};
1007
1008		led@10 {
1009			reg = <10>;
1010			default-state = "keep";
1011			label = "pcieslot7";
1012			retain-state-shutdown;
1013			type = <PCA955X_TYPE_LED>;
1014		};
1015
1016		led@11 {
1017			reg = <11>;
1018			default-state = "keep";
1019			label = "pcieslot8";
1020			retain-state-shutdown;
1021			type = <PCA955X_TYPE_LED>;
1022		};
1023
1024		led@12 {
1025			reg = <12>;
1026			default-state = "keep";
1027			label = "pcieslot9";
1028			retain-state-shutdown;
1029			type = <PCA955X_TYPE_LED>;
1030		};
1031
1032		led@13 {
1033			reg = <13>;
1034			default-state = "keep";
1035			label = "pcieslot10";
1036			retain-state-shutdown;
1037			type = <PCA955X_TYPE_LED>;
1038		};
1039
1040		led@14 {
1041			reg = <14>;
1042			default-state = "keep";
1043			label = "pcieslot11";
1044			retain-state-shutdown;
1045			type = <PCA955X_TYPE_LED>;
1046		};
1047
1048		led@15 {
1049			reg = <15>;
1050			default-state = "keep";
1051			label = "tpm-wilson";
1052			retain-state-shutdown;
1053			type = <PCA955X_TYPE_LED>;
1054		};
1055	};
1056
1057	humidity-sensor@40 {
1058		compatible = "silabs,si7020";
1059		reg = <0x40>;
1060	};
1061
1062	temperature-sensor@48 {
1063		compatible = "ti,tmp275";
1064		reg = <0x48>;
1065	};
1066
1067	pwm@52 {
1068		compatible = "maxim,max31785a";
1069		reg = <0x52>;
1070	};
1071
1072	led-controller@60 {
1073		compatible = "nxp,pca9551";
1074		reg = <0x60>;
1075		#address-cells = <1>;
1076		#size-cells = <0>;
1077		gpio-controller;
1078		#gpio-cells = <2>;
1079
1080		led@0 {
1081			reg = <0>;
1082			default-state = "keep";
1083			label = "front-sys-id0";
1084			retain-state-shutdown;
1085			type = <PCA955X_TYPE_LED>;
1086		};
1087
1088		led@1 {
1089			reg = <1>;
1090			default-state = "keep";
1091			label = "front-check-log0";
1092			retain-state-shutdown;
1093			type = <PCA955X_TYPE_LED>;
1094		};
1095
1096		led@2 {
1097			reg = <2>;
1098			default-state = "keep";
1099			label = "front-enc-fault1";
1100			retain-state-shutdown;
1101			type = <PCA955X_TYPE_LED>;
1102		};
1103
1104		led@3 {
1105			reg = <3>;
1106			default-state = "keep";
1107			label = "front-sys-pwron0";
1108			retain-state-shutdown;
1109			type = <PCA955X_TYPE_LED>;
1110		};
1111	};
1112
1113	pca0: led-controller@61 {
1114		compatible = "nxp,pca9552";
1115		reg = <0x61>;
1116		#address-cells = <1>;
1117		#size-cells = <0>;
1118		gpio-controller;
1119		#gpio-cells = <2>;
1120
1121		led@0 {
1122			reg = <0>;
1123			default-state = "keep";
1124			label = "fan0";
1125			retain-state-shutdown;
1126			type = <PCA955X_TYPE_LED>;
1127		};
1128
1129		led@1 {
1130			reg = <1>;
1131			default-state = "keep";
1132			label = "fan1";
1133			retain-state-shutdown;
1134			type = <PCA955X_TYPE_LED>;
1135		};
1136
1137		led@2 {
1138			reg = <2>;
1139			default-state = "keep";
1140			label = "fan2";
1141			retain-state-shutdown;
1142			type = <PCA955X_TYPE_LED>;
1143		};
1144
1145		led@3 {
1146			reg = <3>;
1147			default-state = "keep";
1148			label = "fan3";
1149			retain-state-shutdown;
1150			type = <PCA955X_TYPE_LED>;
1151		};
1152
1153		led@4 {
1154			reg = <4>;
1155			default-state = "keep";
1156			label = "fan4";
1157			retain-state-shutdown;
1158			type = <PCA955X_TYPE_LED>;
1159		};
1160
1161		led@5 {
1162			reg = <5>;
1163			default-state = "keep";
1164			label = "fan5";
1165			retain-state-shutdown;
1166			type = <PCA955X_TYPE_LED>;
1167		};
1168	};
1169
1170	lcd-controller@62 {
1171		compatible = "ibm,op-panel";
1172		reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
1173	};
1174
1175	pressure-sensor@76 {
1176		compatible = "infineon,dps310";
1177		reg = <0x76>;
1178		#io-channel-cells = <0>;
1179	};
1180
1181	eeprom@50 {
1182		compatible = "atmel,24c64";
1183		reg = <0x50>;
1184	};
1185
1186	eeprom@51 {
1187		compatible = "atmel,24c64";
1188		reg = <0x51>;
1189	};
1190};
1191
1192&i2c8 {
1193	status = "okay";
1194
1195	pmic@11 {
1196		compatible = "ti,ucd90320";
1197		reg = <0x11>;
1198	};
1199
1200	rtc@32 {
1201		compatible = "epson,rx8900";
1202		reg = <0x32>;
1203	};
1204
1205	temperature-sensor@48 {
1206		compatible = "ti,tmp275";
1207		reg = <0x48>;
1208	};
1209
1210	temperature-sensor@4a {
1211		compatible = "ti,tmp275";
1212		reg = <0x4a>;
1213	};
1214
1215	eeprom@50 {
1216		compatible = "atmel,24c64";
1217		reg = <0x50>;
1218	};
1219
1220	eeprom@51 {
1221		compatible = "atmel,24c64";
1222		reg = <0x51>;
1223	};
1224
1225	led-controller@60 {
1226		compatible = "nxp,pca9552";
1227		reg = <0x60>;
1228		#address-cells = <1>;
1229		#size-cells = <0>;
1230		gpio-controller;
1231		#gpio-cells = <2>;
1232
1233		gpio-line-names =
1234			"", "", "", "", "", "", "", "",
1235			"", "", "", "", "", "", "power-config-full-load", "";
1236	};
1237
1238	led-controller@61 {
1239		compatible = "nxp,pca9552";
1240		reg = <0x61>;
1241		#address-cells = <1>;
1242		#size-cells = <0>;
1243		gpio-controller;
1244		#gpio-cells = <2>;
1245
1246		gpio-line-names =
1247			"SLOT6_PRSNT_EN_RSVD", "SLOT7_PRSNT_EN_RSVD",
1248			"SLOT8_PRSNT_EN_RSVD", "SLOT9_PRSNT_EN_RSVD",
1249			"SLOT10_PRSNT_EN_RSVD", "SLOT11_PRSNT_EN_RSVD",
1250			"SLOT6_EXPANDER_PRSNT_N", "SLOT7_EXPANDER_PRSNT_N",
1251			"SLOT8_EXPANDER_PRSNT_N", "SLOT9_EXPANDER_PRSNT_N",
1252			"SLOT10_EXPANDER_PRSNT_N", "SLOT11_EXPANDER_PRSNT_N",
1253			"", "", "", "";
1254	};
1255
1256};
1257
1258&i2c9 {
1259	status = "okay";
1260
1261	temperature-sensor@4c {
1262		compatible = "ti,tmp423";
1263		reg = <0x4c>;
1264	};
1265
1266	temperature-sensor@4d {
1267		compatible = "ti,tmp423";
1268		reg = <0x4d>;
1269	};
1270
1271	eeprom@50 {
1272		compatible = "atmel,24c128";
1273		reg = <0x50>;
1274	};
1275};
1276
1277&i2c10 {
1278	status = "okay";
1279
1280	temperature-sensor@4c {
1281		compatible = "ti,tmp423";
1282		reg = <0x4c>;
1283	};
1284
1285	temperature-sensor@4d {
1286		compatible = "ti,tmp423";
1287		reg = <0x4d>;
1288	};
1289
1290	eeprom@50 {
1291		compatible = "atmel,24c128";
1292		reg = <0x50>;
1293	};
1294};
1295
1296&i2c11 {
1297	status = "okay";
1298
1299	temperature-sensor@48 {
1300		compatible = "ti,tmp275";
1301		reg = <0x48>;
1302	};
1303
1304	temperature-sensor@49 {
1305		compatible = "ti,tmp275";
1306		reg = <0x49>;
1307	};
1308
1309	i2c-mux@70 {
1310		compatible = "nxp,pca9546";
1311		reg = <0x70>;
1312		#address-cells = <1>;
1313		#size-cells = <0>;
1314		i2c-mux-idle-disconnect;
1315
1316		i2c11mux0chn0: i2c@0 {
1317			reg = <0>;
1318			#address-cells = <1>;
1319			#size-cells = <0>;
1320
1321			eeprom@50 {
1322				compatible = "atmel,24c64";
1323				reg = <0x50>;
1324			};
1325
1326			led-controller@60 {
1327				compatible = "nxp,pca9551";
1328				reg = <0x60>;
1329				#address-cells = <1>;
1330				#size-cells = <0>;
1331				gpio-controller;
1332				#gpio-cells = <2>;
1333
1334				led@0 {
1335					reg = <0>;
1336					default-state = "keep";
1337					label = "cablecard10-cxp-top";
1338					retain-state-shutdown;
1339					type = <PCA955X_TYPE_LED>;
1340				};
1341
1342				led@1 {
1343					reg = <1>;
1344					default-state = "keep";
1345					label = "cablecard10-cxp-bot";
1346					retain-state-shutdown;
1347					type = <PCA955X_TYPE_LED>;
1348				};
1349			};
1350		};
1351
1352		i2c11mux0chn1: i2c@1 {
1353			reg = <1>;
1354			#address-cells = <1>;
1355			#size-cells = <0>;
1356
1357			eeprom@51 {
1358				compatible = "atmel,24c64";
1359				reg = <0x51>;
1360			};
1361		};
1362	};
1363};
1364
1365&i2c12 {
1366	status = "okay";
1367
1368	tpm@2e {
1369		compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
1370		reg = <0x2e>;
1371		memory-region = <&event_log>;
1372	};
1373
1374	eeprom@50 {
1375		compatible = "atmel,24c64";
1376		reg = <0x50>;
1377	};
1378};
1379
1380&i2c13 {
1381	status = "okay";
1382
1383	eeprom@50 {
1384		compatible = "atmel,24c64";
1385		reg = <0x50>;
1386	};
1387
1388	led-controller@60 {
1389		compatible = "nxp,pca9552";
1390		reg = <0x60>;
1391		#address-cells = <1>;
1392		#size-cells = <0>;
1393		gpio-controller;
1394		#gpio-cells = <2>;
1395
1396		led@0 {
1397			reg = <0>;
1398			default-state = "keep";
1399			label = "nvme0";
1400			retain-state-shutdown;
1401			type = <PCA955X_TYPE_LED>;
1402		};
1403
1404		led@1 {
1405			reg = <1>;
1406			default-state = "keep";
1407			label = "nvme1";
1408			retain-state-shutdown;
1409			type = <PCA955X_TYPE_LED>;
1410		};
1411
1412		led@2 {
1413			reg = <2>;
1414			default-state = "keep";
1415			label = "nvme2";
1416			retain-state-shutdown;
1417			type = <PCA955X_TYPE_LED>;
1418		};
1419
1420		led@3 {
1421			reg = <3>;
1422			default-state = "keep";
1423			label = "nvme3";
1424			retain-state-shutdown;
1425			type = <PCA955X_TYPE_LED>;
1426		};
1427
1428		led@4 {
1429			reg = <4>;
1430			default-state = "keep";
1431			label = "nvme4";
1432			retain-state-shutdown;
1433			type = <PCA955X_TYPE_LED>;
1434		};
1435
1436		led@5 {
1437			reg = <5>;
1438			default-state = "keep";
1439			label = "nvme5";
1440			retain-state-shutdown;
1441			type = <PCA955X_TYPE_LED>;
1442		};
1443
1444		led@6 {
1445			reg = <6>;
1446			default-state = "keep";
1447			label = "nvme6";
1448			retain-state-shutdown;
1449			type = <PCA955X_TYPE_LED>;
1450		};
1451
1452		led@7 {
1453			reg = <7>;
1454			default-state = "keep";
1455			label = "nvme7";
1456			retain-state-shutdown;
1457			type = <PCA955X_TYPE_LED>;
1458		};
1459	};
1460};
1461
1462&i2c14 {
1463	status = "okay";
1464
1465	eeprom@50 {
1466		compatible = "atmel,24c64";
1467		reg = <0x50>;
1468	};
1469
1470	led-controller@60 {
1471		compatible = "nxp,pca9552";
1472		reg = <0x60>;
1473		#address-cells = <1>;
1474		#size-cells = <0>;
1475		gpio-controller;
1476		#gpio-cells = <2>;
1477
1478		led@0 {
1479			reg = <0>;
1480			default-state = "keep";
1481			label = "nvme8";
1482			retain-state-shutdown;
1483			type = <PCA955X_TYPE_LED>;
1484		};
1485
1486		led@1 {
1487			reg = <1>;
1488			default-state = "keep";
1489			label = "nvme9";
1490			retain-state-shutdown;
1491			type = <PCA955X_TYPE_LED>;
1492		};
1493
1494		led@2 {
1495			reg = <2>;
1496			default-state = "keep";
1497			label = "nvme10";
1498			retain-state-shutdown;
1499			type = <PCA955X_TYPE_LED>;
1500		};
1501
1502		led@3 {
1503			reg = <3>;
1504			default-state = "keep";
1505			label = "nvme11";
1506			retain-state-shutdown;
1507			type = <PCA955X_TYPE_LED>;
1508		};
1509
1510		led@4 {
1511			reg = <4>;
1512			default-state = "keep";
1513			label = "nvme12";
1514			retain-state-shutdown;
1515			type = <PCA955X_TYPE_LED>;
1516		};
1517
1518		led@5 {
1519			reg = <5>;
1520			default-state = "keep";
1521			label = "nvme13";
1522			retain-state-shutdown;
1523			type = <PCA955X_TYPE_LED>;
1524		};
1525
1526		led@6 {
1527			reg = <6>;
1528			default-state = "keep";
1529			label = "nvme14";
1530			retain-state-shutdown;
1531			type = <PCA955X_TYPE_LED>;
1532		};
1533
1534		led@7 {
1535			reg = <7>;
1536			default-state = "keep";
1537			label = "nvme15";
1538			retain-state-shutdown;
1539			type = <PCA955X_TYPE_LED>;
1540		};
1541	};
1542};
1543
1544&i2c15 {
1545	status = "okay";
1546
1547	eeprom@50 {
1548		compatible = "atmel,24c64";
1549		reg = <0x50>;
1550	};
1551
1552	led-controller@60 {
1553		compatible = "nxp,pca9552";
1554		reg = <0x60>;
1555		#address-cells = <1>;
1556		#size-cells = <0>;
1557		gpio-controller;
1558		#gpio-cells = <2>;
1559
1560		led@0 {
1561			reg = <0>;
1562			default-state = "keep";
1563			label = "nvme16";
1564			retain-state-shutdown;
1565			type = <PCA955X_TYPE_LED>;
1566		};
1567
1568		led@1 {
1569			reg = <1>;
1570			default-state = "keep";
1571			label = "nvme17";
1572			retain-state-shutdown;
1573			type = <PCA955X_TYPE_LED>;
1574		};
1575
1576		led@2 {
1577			reg = <2>;
1578			default-state = "keep";
1579			label = "nvme18";
1580			retain-state-shutdown;
1581			type = <PCA955X_TYPE_LED>;
1582		};
1583
1584		led@3 {
1585			reg = <3>;
1586			default-state = "keep";
1587			label = "nvme19";
1588			retain-state-shutdown;
1589			type = <PCA955X_TYPE_LED>;
1590		};
1591
1592		led@4 {
1593			reg = <4>;
1594			default-state = "keep";
1595			label = "nvme20";
1596			retain-state-shutdown;
1597			type = <PCA955X_TYPE_LED>;
1598		};
1599
1600		led@5 {
1601			reg = <5>;
1602			default-state = "keep";
1603			label = "nvme21";
1604			retain-state-shutdown;
1605			type = <PCA955X_TYPE_LED>;
1606		};
1607
1608		led@6 {
1609			reg = <6>;
1610			default-state = "keep";
1611			label = "nvme22";
1612			retain-state-shutdown;
1613			type = <PCA955X_TYPE_LED>;
1614		};
1615
1616		led@7 {
1617			reg = <7>;
1618			default-state = "keep";
1619			label = "nvme23";
1620			retain-state-shutdown;
1621			type = <PCA955X_TYPE_LED>;
1622		};
1623	};
1624};
1625
1626&uart2 {
1627	status = "okay";
1628};
1629
1630&vuart1 {
1631	status = "okay";
1632};
1633
1634&vuart2 {
1635	status = "okay";
1636};
1637
1638&lpc_ctrl {
1639	status = "okay";
1640	memory-region = <&flash_memory>;
1641};
1642
1643&mac2 {
1644	status = "okay";
1645	pinctrl-names = "default";
1646	pinctrl-0 = <&pinctrl_rmii3_default>;
1647	clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>,
1648		 <&syscon ASPEED_CLK_MAC3RCLK>;
1649	clock-names = "MACCLK", "RCLK";
1650	use-ncsi;
1651};
1652
1653&mac3 {
1654	status = "okay";
1655	pinctrl-names = "default";
1656	pinctrl-0 = <&pinctrl_rmii4_default>;
1657	clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>,
1658		 <&syscon ASPEED_CLK_MAC4RCLK>;
1659	clock-names = "MACCLK", "RCLK";
1660	use-ncsi;
1661};
1662
1663&wdt1 {
1664	aspeed,reset-type = "none";
1665	aspeed,external-signal;
1666	aspeed,ext-push-pull;
1667	aspeed,ext-active-high;
1668
1669	pinctrl-names = "default";
1670	pinctrl-0 = <&pinctrl_wdtrst1_default>;
1671};
1672
1673&wdt2 {
1674	status = "okay";
1675};
1676
1677&kcs2 {
1678	status = "okay";
1679	aspeed,lpc-io-reg = <0xca8 0xcac>;
1680};
1681
1682&kcs3 {
1683	status = "okay";
1684	aspeed,lpc-io-reg = <0xca2>;
1685	aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
1686};
1687