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