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