Linux Audio

Check our new training course

Loading...
v5.14.15
  1// SPDX-License-Identifier: GPL-2.0+
  2/dts-v1/;
  3#include "aspeed-g5.dtsi"
  4#include <dt-bindings/gpio/aspeed-gpio.h>
  5#include <dt-bindings/leds/leds-pca955x.h>
 
  6
  7/ {
  8	model = "FP5280G2 BMC";
  9	compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500";
 10
 11	chosen {
 12		stdout-path = &uart5;
 13		bootargs = "console=ttyS4,115200 earlycon";
 14	};
 15
 16	memory@80000000 {
 17		reg = <0x80000000 0x20000000>;
 18	};
 19
 20	reserved-memory {
 21		#address-cells = <1>;
 22		#size-cells = <1>;
 23		ranges;
 24
 25		vga_memory: framebuffer@9f000000 {
 26			no-map;
 27			reg = <0x9f000000 0x01000000>; /* 16M */
 28		};
 29
 30		flash_memory: region@98000000 {
 31			no-map;
 32			reg = <0x98000000 0x04000000>; /* 64M */
 33		};
 34
 35		coldfire_memory: codefire_memory@9ef00000 {
 36			reg = <0x9ef00000 0x00100000>;
 37			no-map;
 38		};
 39
 40		gfx_memory: framebuffer {
 41			size = <0x01000000>;
 42			alignment = <0x01000000>;
 43			compatible = "shared-dma-pool";
 44			reusable;
 45		};
 46
 47		video_engine_memory: jpegbuffer {
 48			size = <0x02000000>;	/* 32M */
 49			alignment = <0x01000000>;
 50			compatible = "shared-dma-pool";
 51			reusable;
 52		};
 53	};
 54
 55	fsi: gpio-fsi {
 56		compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
 57		#address-cells = <2>;
 58		#size-cells = <0>;
 59		no-gpio-delays;
 60
 61		memory-region = <&coldfire_memory>;
 62		aspeed,sram = <&sram>;
 63		aspeed,cvic = <&cvic>;
 64
 65		clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
 66		data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
 67		mux-gpios = <&gpio ASPEED_GPIO(I, 2) GPIO_ACTIVE_HIGH>;
 68		enable-gpios = <&gpio ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
 69		trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
 70	};
 71
 72	gpio-keys {
 73		compatible = "gpio-keys";
 74
 75		checkstop {
 76			label = "checkstop";
 77			gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
 78			linux,code = <ASPEED_GPIO(B, 3)>;
 79		};
 80
 81		ps0-presence {
 82			label = "ps0-presence";
 83			gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>;
 84			linux,code = <ASPEED_GPIO(F, 0)>;
 85		};
 86
 87		ps1-presence {
 88			label = "ps1-presence";
 89			gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
 90			linux,code = <ASPEED_GPIO(F, 1)>;
 91		};
 92
 93	};
 94
 95	gpio-keys-polled {
 96		compatible = "gpio-keys-polled";
 97		poll-interval = <1000>;
 98
 99		fan0-presence {
100			label = "fan0-presence";
101			gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
102			linux,code = <1>;
103		};
104
105		fan1-presence {
106			label = "fan1-presence";
107			gpios = <&pca1 1 GPIO_ACTIVE_LOW>;
108			linux,code = <2>;
109		};
110
111		fan2-presence {
112			label = "fan2-presence";
113			gpios = <&pca1 2 GPIO_ACTIVE_LOW>;
114			linux,code = <3>;
115		};
116
117		fan3-presence {
118			label = "fan3-presence";
119			gpios = <&pca1 3 GPIO_ACTIVE_LOW>;
120			linux,code = <4>;
121		};
122
123		fan4-presence {
124			label = "fan4-presence";
125			gpios = <&pca1 4 GPIO_ACTIVE_LOW>;
126			linux,code = <5>;
127		};
128
129		fan5-presence {
130			label = "fan5-presence";
131			gpios = <&pca1 5 GPIO_ACTIVE_LOW>;
132			linux,code = <6>;
133		};
134
135		fan6-presence {
136			label = "fan6-presence";
137			gpios = <&pca1 6 GPIO_ACTIVE_LOW>;
138			linux,code = <7>;
139		};
140
141		fan7-presence {
142			label = "fan7-presence";
143			gpios = <&pca1 7 GPIO_ACTIVE_LOW>;
144			linux,code = <8>;
145		};
146	};
147
148	leds {
149		compatible = "gpio-leds";
150
151		power {
152			label = "power";
153			/* TODO: dummy gpio */
154			gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>;
155		};
156
157		init-ok {
158			label = "init-ok";
159			gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>;
160		};
161
162		front-memory {
163			label = "front-memory";
164			gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
165		};
166
167		front-syshot {
168			label = "front-syshot";
169			gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
170		};
171
172		front-syshealth {
173			label = "front-syshealth";
174			gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
175		};
176
177		front-fan {
178			label = "front-fan";
179			gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
180		};
181
182		front-psu {
183			label = "front-psu";
184			gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
185		};
186
187		identify {
188			label = "identify";
189			gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>;
190		};
191	};
192
193	iio-hwmon-battery {
194		compatible = "iio-hwmon";
195		io-channels = <&adc 15>;
196	};
197
198	iio-hwmon {
199		compatible = "iio-hwmon";
200		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
201			<&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>,
202			<&adc 10>, <&adc 11>, <&adc 12>, <&adc 13>, <&adc 14>;
203	};
204
205};
206
207&gpio {
208	gpio-line-names =
209	/*A0-A7*/	"","","","","","","","",
210	/*B0-B7*/	"","","front-psu","checkstop","cfam-reset","","","init-ok",
211	/*C0-C7*/	"","","","","","","","",
212	/*D0-D7*/	"","","","","","","","",
213	/*E0-E7*/	"","","","","","","","",
214	/*F0-F7*/	"ps0-presence","ps1-presence","","","front-memory","","","",
215	/*G0-G7*/	"","","","","","","","",
216	/*H0-H7*/	"","","","","front-fan","","","",
217	/*I0-I7*/	"front-syshealth","front-syshot","mux-gpios","enable-gpios","","","","",
218	/*J0-J7*/	"","","","","","","","",
219	/*K0-K7*/	"","","","","","","","",
220	/*L0-L7*/	"","","","","","","","",
221	/*M0-M7*/	"","","","","","","","",
222	/*N0-N7*/	"","","","","","","","",
223	/*O0-O7*/	"","","","","","","","",
224	/*P0-P7*/	"","","","","","","","",
225	/*Q0-Q7*/	"","","","","","","","",
226	/*R0-R7*/	"","power","trans-gpios","","","","","",
227	/*S0-S7*/	"","","","","","","","",
228	/*T0-T7*/	"","","","","","","","",
229	/*U0-U7*/	"","","","","","","","",
230	/*V0-V7*/	"","","","","","","","",
231	/*W0-W7*/	"","","","","","","","",
232	/*X0-X7*/	"","","","","","","","",
233	/*Y0-Y7*/	"","","","","","","","",
234	/*Z0-Z7*/	"","","","","","","","identify",
235	/*AA0-AA7*/	"clock-gpios","","data-gpios","","","","","",
236	/*AB0-AB7*/	"","","","","","","","",
237	/*AC0-AC7*/	"","","","","","","","";
238};
239
240&fmc {
241	status = "okay";
242
243	flash@0 {
244		status = "okay";
245		label = "bmc";
246		m25p,fast-read;
247		spi-max-frequency = <50000000>;
248#include "openbmc-flash-layout.dtsi"
249	};
250};
251
252&spi1 {
253	status = "okay";
254	pinctrl-names = "default";
255	pinctrl-0 = <&pinctrl_spi1_default>;
256
257	flash@0 {
258		status = "okay";
259		label = "pnor";
260		m25p,fast-read;
261		spi-max-frequency = <100000000>;
262	};
263};
264
265&uart1 {
266	/* Rear RS-232 connector */
267	status = "okay";
268	pinctrl-names = "default";
269	pinctrl-0 = <&pinctrl_txd1_default
270			&pinctrl_rxd1_default
271			&pinctrl_nrts1_default
272			&pinctrl_ndtr1_default
273			&pinctrl_ndsr1_default
274			&pinctrl_ncts1_default
275			&pinctrl_ndcd1_default
276			&pinctrl_nri1_default>;
277};
278
279&uart2 {
280	/* Test Point */
281	status = "okay";
282	pinctrl-names = "default";
283	pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
284};
285
286&uart3 {
287	/* APSS */
288	status = "okay";
289	pinctrl-names = "default";
290	pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
291};
292
293&uart5 {
294	status = "okay";
295};
296
297&lpc_ctrl {
298	status = "okay";
299	memory-region = <&flash_memory>;
300	flash = <&spi1>;
301};
302
303&mac0 {
304	status = "okay";
305	pinctrl-names = "default";
306	pinctrl-0 = <&pinctrl_rmii1_default>;
307	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
308		 <&syscon ASPEED_CLK_MAC1RCLK>;
309	clock-names = "MACCLK", "RCLK";
310	use-ncsi;
311};
312
313&mac1 {
314	status = "okay";
315	pinctrl-names = "default";
316	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
317};
318
319&i2c0 {
320	/* LCD */
321	status = "okay";
322};
323
324&i2c1 {
325	status = "okay";
326
327	eeprom@50 {
328		compatible = "atmel,24c256";
329		reg = <0x50>;
330		label = "fru";
331	};
332
333};
334
335&i2c2 {
336	status = "okay";
337
338	tmp112@48 {
339		compatible = "ti,tmp112";
340		reg = <0x48>;
341		label = "inlet";
342	};
343
344	tmp112@49 {
345		compatible = "ti,tmp112";
346		reg = <0x49>;
347		label = "outlet";
348	};
349
350	i2c-switch@70 {
351		compatible = "nxp,pca9546";
352		reg = <0x70>;
353		#address-cells = <1>;
354		#size-cells = <0>;
355
356		i2c@0 {
357			#address-cells = <1>;
358			#size-cells = <0>;
359			reg = <0>;
360
361			tmp112@4a {
362				compatible = "ti,tmp112";
363				reg = <0x4a>;
364				label = "psu_inlet";
365			};
366
367		};
368
369		i2c@1 {
370			#address-cells = <1>;
371			#size-cells = <0>;
372			reg = <1>;
373
374			tmp112@4a {
375				compatible = "ti,tmp112";
376				reg = <0x4a>;
377				label = "ocp_zone";
378			};
379		};
380
381		i2c@2 {
382			#address-cells = <1>;
383			#size-cells = <0>;
384			reg = <2>;
385
386			tmp112@4a {
387				compatible = "ti,tmp112";
388				reg = <0x4a>;
389				label = "bmc_zone";
390			};
391		};
392
393		i2c@3 {
394			#address-cells = <1>;
395			#size-cells = <0>;
396			reg = <3>;
397
398			tmp112@7c {
399				compatible = "microchip,emc1413";
400				reg = <0x7c>;
401			};
402		};
403
404	};
405};
406
407&i2c3 {
408	/* Riser Card */
409	status = "okay";
410};
411
412&i2c4 {
413	status = "okay";
414
415	rtc@68 {
416		compatible = "dallas,ds3232";
417		reg = <0x68>;
418	};
419};
420
421&i2c5 {
422	/* vr  */
423	status = "okay";
424};
425
426&i2c6 {
427	/* bp card */
428	status = "okay";
429};
430
431&i2c7 {
432	status = "okay";
433
434	i2c-switch@70 {
435		compatible = "nxp,pca9546";
436		reg = <0x70>;
437		#address-cells = <1>;
438		#size-cells = <0>;
439
440		i2c@0 {
441			#address-cells = <1>;
442			#size-cells = <0>;
443			reg = <0>;
444
445			adm1278@10 {
446				compatible = "adi,adm1278";
447				reg = <0x10>;
448			};
449
450			adm1278@13 {
451				compatible = "adi,adm1278";
452				reg = <0x13>;
453			};
454
455			adm1278@50 {
456				compatible = "adi,adm1278";
457				reg = <0x50>;
458			};
459
460			adm1278@53 {
461				compatible = "adi,adm1278";
462				reg = <0x53>;
463			};
464
465		};
466
467		/*pcie riser*/
468
469	};
470};
471
472&i2c8 {
473	status = "okay";
474
475	pca0: pca9555@20 {
476		compatible = "nxp,pca9555";
477		reg = <0x20>;
478		#address-cells = <1>;
479		#size-cells = <0>;
480
481		gpio-controller;
482		#gpio-cells = <2>;
483
484		gpio@0 {
485			reg = <0>;
486			type = <PCA955X_TYPE_GPIO>;
487		};
488
489		gpio@1 {
490			reg = <1>;
491			type = <PCA955X_TYPE_GPIO>;
492		};
493
494		gpio@2 {
495			reg = <2>;
496			type = <PCA955X_TYPE_GPIO>;
497		};
498
499		gpio@3 {
500			reg = <3>;
501			type = <PCA955X_TYPE_GPIO>;
502		};
503
504		gpio@4 {
505			reg = <4>;
506			type = <PCA955X_TYPE_GPIO>;
507		};
508
509		gpio@5 {
510			reg = <5>;
511			type = <PCA955X_TYPE_GPIO>;
512		};
513
514		gpio@6 {
515			reg = <6>;
516			type = <PCA955X_TYPE_GPIO>;
517		};
518
519		gpio@7 {
520			reg = <7>;
521			type = <PCA955X_TYPE_GPIO>;
522		};
523
524	};
525
526	pca1: pca9555@21 {
527		compatible = "nxp,pca9555";
528		reg = <0x21>;
529		#address-cells = <1>;
530		#size-cells = <0>;
531
532		gpio-controller;
533		#gpio-cells = <2>;
534
535		gpio@0 {
536			reg = <0>;
537			type = <PCA955X_TYPE_GPIO>;
538		};
539
540		gpio@1 {
541			reg = <1>;
542			type = <PCA955X_TYPE_GPIO>;
543		};
544
545		gpio@2 {
546			reg = <2>;
547			type = <PCA955X_TYPE_GPIO>;
548		};
549
550		gpio@3 {
551			reg = <3>;
552			type = <PCA955X_TYPE_GPIO>;
553		};
554
555		gpio@4 {
556			reg = <4>;
557			type = <PCA955X_TYPE_GPIO>;
558		};
559
560		gpio@5 {
561			reg = <5>;
562			type = <PCA955X_TYPE_GPIO>;
563		};
564
565		gpio@6 {
566			reg = <6>;
567			type = <PCA955X_TYPE_GPIO>;
568		};
569
570		gpio@7 {
571			reg = <7>;
572			type = <PCA955X_TYPE_GPIO>;
573		};
574	};
575
576	pca2: pca9555@22 {
577		compatible = "nxp,pca9555";
578		reg = <0x22>;
579		#address-cells = <1>;
580		#size-cells = <0>;
581
582		gpio-controller;
583		#gpio-cells = <2>;
584
585		gpio@0 {
586			reg = <0>;
587			type = <PCA955X_TYPE_GPIO>;
588		};
589
590		gpio@1 {
591			reg = <1>;
592			type = <PCA955X_TYPE_GPIO>;
593		};
594
595		gpio@2 {
596			reg = <2>;
597			type = <PCA955X_TYPE_GPIO>;
598		};
599
600		gpio@3 {
601			reg = <3>;
602			type = <PCA955X_TYPE_GPIO>;
603		};
604
605		gpio@4 {
606			reg = <4>;
607			type = <PCA955X_TYPE_GPIO>;
608		};
609
610		gpio@5 {
611			reg = <5>;
612			type = <PCA955X_TYPE_GPIO>;
613		};
614
615		gpio@6 {
616			reg = <6>;
617			type = <PCA955X_TYPE_GPIO>;
618		};
619
620		gpio@7 {
621			reg = <7>;
622			type = <PCA955X_TYPE_GPIO>;
623		};
624	};
625
626	pca3: pca9555@23 {
627		compatible = "nxp,pca9555";
628		reg = <0x23>;
629		#address-cells = <1>;
630		#size-cells = <0>;
631
632		gpio-controller;
633		#gpio-cells = <2>;
634
635		gpio@0 {
636			reg = <0>;
637			type = <PCA955X_TYPE_GPIO>;
638		};
639
640		gpio@1 {
641			reg = <1>;
642			type = <PCA955X_TYPE_GPIO>;
643		};
644
645		gpio@2 {
646			reg = <2>;
647			type = <PCA955X_TYPE_GPIO>;
648		};
649
650		gpio@3 {
651			reg = <3>;
652			type = <PCA955X_TYPE_GPIO>;
653		};
654
655		gpio@4 {
656			reg = <4>;
657			type = <PCA955X_TYPE_GPIO>;
658		};
659
660		gpio@5 {
661			reg = <5>;
662			type = <PCA955X_TYPE_GPIO>;
663		};
664
665		gpio@6 {
666			reg = <6>;
667			type = <PCA955X_TYPE_GPIO>;
668		};
669
670		gpio@7 {
671			reg = <7>;
672			type = <PCA955X_TYPE_GPIO>;
673		};
674	};
675
676	pca4: pca9555@24 {
677		compatible = "nxp,pca9555";
678		reg = <0x24>;
679		#address-cells = <1>;
680		#size-cells = <0>;
681
682		gpio-controller;
683		#gpio-cells = <2>;
684
685		gpio@0 {
686			reg = <0>;
687			type = <PCA955X_TYPE_GPIO>;
688		};
689
690		gpio@1 {
691			reg = <1>;
692			type = <PCA955X_TYPE_GPIO>;
693		};
694
695		gpio@2 {
696			reg = <2>;
697			type = <PCA955X_TYPE_GPIO>;
698		};
699
700		gpio@3 {
701			reg = <3>;
702			type = <PCA955X_TYPE_GPIO>;
703		};
704
705		gpio@4 {
706			reg = <4>;
707			type = <PCA955X_TYPE_GPIO>;
708		};
709
710		gpio@5 {
711			reg = <5>;
712			type = <PCA955X_TYPE_GPIO>;
713		};
714
715		gpio@6 {
716			reg = <6>;
717			type = <PCA955X_TYPE_GPIO>;
718		};
719
720		gpio@7 {
721			reg = <7>;
722			type = <PCA955X_TYPE_GPIO>;
723		};
724	};
725
726	pca5: pca9555@25 {
727		compatible = "nxp,pca9555";
728		reg = <0x25>;
729		#address-cells = <1>;
730		#size-cells = <0>;
731
732		gpio-controller;
733		#gpio-cells = <2>;
734
735		gpio@0 {
736			reg = <0>;
737			type = <PCA955X_TYPE_GPIO>;
738		};
739
740		gpio@1 {
741			reg = <1>;
742			type = <PCA955X_TYPE_GPIO>;
743		};
744
745		gpio@2 {
746			reg = <2>;
747			type = <PCA955X_TYPE_GPIO>;
748		};
749
750		gpio@3 {
751			reg = <3>;
752			type = <PCA955X_TYPE_GPIO>;
753		};
754
755		gpio@4 {
756			reg = <4>;
757			type = <PCA955X_TYPE_GPIO>;
758		};
759
760		gpio@5 {
761			reg = <5>;
762			type = <PCA955X_TYPE_GPIO>;
763		};
764
765		gpio@6 {
766			reg = <6>;
767			type = <PCA955X_TYPE_GPIO>;
768		};
769
770		gpio@7 {
771			reg = <7>;
772			type = <PCA955X_TYPE_GPIO>;
773		};
774	};
775
776};
777
778&i2c9 {
779	/* cpld */
780	status = "okay";
781};
782
783&i2c10 {
784	/* hdd bp */
785	status = "okay";
786};
787
788&i2c11 {
789	status = "okay";
790
791	power-supply@58 {
792		compatible = "inspur,ipsps1";
793		reg = <0x58>;
794	};
795
796	power-supply@59 {
797		compatible = "inspur,ipsps1";
798		reg = <0x59>;
799	};
800};
801
802&i2c12 {
803	/* odcc */
804	status = "okay";
805};
806
807&vuart {
808	status = "okay";
809};
810
811&gfx {
812	status = "okay";
813	memory-region = <&gfx_memory>;
814};
815
816&pinctrl {
817	aspeed,external-nodes = <&gfx &lhc>;
818};
819
820&wdt1 {
821	aspeed,reset-type = "none";
822	aspeed,external-signal;
823	aspeed,ext-push-pull;
824	aspeed,ext-active-high;
825
826	pinctrl-names = "default";
827	pinctrl-0 = <&pinctrl_wdtrst1_default>;
828};
829
830&ibt {
831	status = "okay";
832
833};
834
835&adc {
836	status = "okay";
837	pinctrl-names = "default";
838	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
839	 &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default
840	 &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default
841	 &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default
842	 &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default
843	 &pinctrl_adc14_default &pinctrl_adc15_default>;
844};
845
846&vhub {
847	status = "okay";
848};
849
850&video {
851	status = "okay";
852	memory-region = <&video_engine_memory>;
853};
854
855&pwm_tacho {
856	status = "okay";
857	pinctrl-names = "default";
858	pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
859		&pinctrl_pwm2_default &pinctrl_pwm3_default
860		&pinctrl_pwm4_default &pinctrl_pwm5_default
861		&pinctrl_pwm6_default &pinctrl_pwm7_default>;
862
863	fan@0 {
864		reg = <0x00>;
865		aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
866	};
867
868	fan@1 {
869		reg = <0x01>;
870		aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
871	};
872
873	fan@2 {
874		reg = <0x02>;
875		aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
876	};
877
878	fan@3 {
879		reg = <0x03>;
880		aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
881	};
882
883	fan@4 {
884		reg = <0x04>;
885		aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
886	};
887
888	fan@5 {
889		reg = <0x05>;
890		aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
891	};
892
893	fan@6 {
894		reg = <0x06>;
895		aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
896	};
897
898	fan@7 {
899		reg = <0x07>;
900		aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
901	};
902
 
 
 
 
 
 
903};
904
905#include "ibm-power9-dual.dtsi"
v6.2
  1// SPDX-License-Identifier: GPL-2.0+
  2/dts-v1/;
  3#include "aspeed-g5.dtsi"
  4#include <dt-bindings/gpio/aspeed-gpio.h>
  5#include <dt-bindings/leds/leds-pca955x.h>
  6#include <dt-bindings/interrupt-controller/irq.h>
  7
  8/ {
  9	model = "FP5280G2 BMC";
 10	compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500";
 11
 12	chosen {
 13		stdout-path = &uart5;
 14		bootargs = "console=ttyS4,115200 earlycon";
 15	};
 16
 17	memory@80000000 {
 18		reg = <0x80000000 0x20000000>;
 19	};
 20
 21	reserved-memory {
 22		#address-cells = <1>;
 23		#size-cells = <1>;
 24		ranges;
 25
 26		vga_memory: framebuffer@9f000000 {
 27			no-map;
 28			reg = <0x9f000000 0x01000000>; /* 16M */
 29		};
 30
 31		flash_memory: region@98000000 {
 32			no-map;
 33			reg = <0x98000000 0x04000000>; /* 64M */
 34		};
 35
 36		coldfire_memory: codefire_memory@9ef00000 {
 37			reg = <0x9ef00000 0x00100000>;
 38			no-map;
 39		};
 40
 41		gfx_memory: framebuffer {
 42			size = <0x01000000>;
 43			alignment = <0x01000000>;
 44			compatible = "shared-dma-pool";
 45			reusable;
 46		};
 47
 48		video_engine_memory: jpegbuffer {
 49			size = <0x02000000>;	/* 32M */
 50			alignment = <0x01000000>;
 51			compatible = "shared-dma-pool";
 52			reusable;
 53		};
 54	};
 55
 56	fsi: gpio-fsi {
 57		compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
 58		#address-cells = <2>;
 59		#size-cells = <0>;
 60		no-gpio-delays;
 61
 62		memory-region = <&coldfire_memory>;
 63		aspeed,sram = <&sram>;
 64		aspeed,cvic = <&cvic>;
 65
 66		clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
 67		data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
 68		mux-gpios = <&gpio ASPEED_GPIO(I, 2) GPIO_ACTIVE_HIGH>;
 69		enable-gpios = <&gpio ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
 70		trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
 71	};
 72
 73	gpio-keys {
 74		compatible = "gpio-keys";
 75
 76		event-checkstop {
 77			label = "checkstop";
 78			gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
 79			linux,code = <ASPEED_GPIO(B, 3)>;
 80		};
 81
 82		event-ps0-presence {
 83			label = "ps0-presence";
 84			gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>;
 85			linux,code = <ASPEED_GPIO(F, 0)>;
 86		};
 87
 88		event-ps1-presence {
 89			label = "ps1-presence";
 90			gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
 91			linux,code = <ASPEED_GPIO(F, 1)>;
 92		};
 93
 94	};
 95
 96	gpio-keys-polled {
 97		compatible = "gpio-keys-polled";
 98		poll-interval = <1000>;
 99
100		event-fan0-presence {
101			label = "fan0-presence";
102			gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
103			linux,code = <1>;
104		};
105
106		event-fan1-presence {
107			label = "fan1-presence";
108			gpios = <&pca1 1 GPIO_ACTIVE_LOW>;
109			linux,code = <2>;
110		};
111
112		event-fan2-presence {
113			label = "fan2-presence";
114			gpios = <&pca1 2 GPIO_ACTIVE_LOW>;
115			linux,code = <3>;
116		};
117
118		event-fan3-presence {
119			label = "fan3-presence";
120			gpios = <&pca1 3 GPIO_ACTIVE_LOW>;
121			linux,code = <4>;
122		};
123
124		event-fan4-presence {
125			label = "fan4-presence";
126			gpios = <&pca1 4 GPIO_ACTIVE_LOW>;
127			linux,code = <5>;
128		};
129
130		event-fan5-presence {
131			label = "fan5-presence";
132			gpios = <&pca1 5 GPIO_ACTIVE_LOW>;
133			linux,code = <6>;
134		};
135
136		event-fan6-presence {
137			label = "fan6-presence";
138			gpios = <&pca1 6 GPIO_ACTIVE_LOW>;
139			linux,code = <7>;
140		};
141
142		event-fan7-presence {
143			label = "fan7-presence";
144			gpios = <&pca1 7 GPIO_ACTIVE_LOW>;
145			linux,code = <8>;
146		};
147	};
148
149	leds {
150		compatible = "gpio-leds";
151
152		power {
153			label = "power";
154			/* TODO: dummy gpio */
155			gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>;
156		};
157
158		init-ok {
159			label = "init-ok";
160			gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>;
161		};
162
163		front-memory {
164			label = "front-memory";
165			gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
166		};
167
168		front-syshot {
169			label = "front-syshot";
170			gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
171		};
172
173		front-syshealth {
174			label = "front-syshealth";
175			gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
176		};
177
178		front-fan {
179			label = "front-fan";
180			gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
181		};
182
183		front-psu {
184			label = "front-psu";
185			gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
186		};
187
188		identify {
189			label = "identify";
190			gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>;
191		};
192	};
193
194	iio-hwmon-battery {
195		compatible = "iio-hwmon";
196		io-channels = <&adc 15>;
197	};
198
199	iio-hwmon {
200		compatible = "iio-hwmon";
201		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
202			<&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>,
203			<&adc 10>, <&adc 11>, <&adc 12>, <&adc 13>, <&adc 14>;
204	};
205
206};
207
208&gpio {
209	gpio-line-names =
210	/*A0-A7*/	"","","","","","","","",
211	/*B0-B7*/	"","","front-psu","checkstop","cfam-reset","","","init-ok",
212	/*C0-C7*/	"","","","","","","","",
213	/*D0-D7*/	"","","","","","","","",
214	/*E0-E7*/	"","","","","","","","",
215	/*F0-F7*/	"ps0-presence","ps1-presence","","","front-memory","","","",
216	/*G0-G7*/	"","","","","","","","",
217	/*H0-H7*/	"","","","","front-fan","","","",
218	/*I0-I7*/	"front-syshealth","front-syshot","mux-gpios","enable-gpios","","","","",
219	/*J0-J7*/	"","","","","","","","",
220	/*K0-K7*/	"","","","","","","","",
221	/*L0-L7*/	"","","","","","","","",
222	/*M0-M7*/	"","","","","","","","",
223	/*N0-N7*/	"","","","","","","","",
224	/*O0-O7*/	"","","","","","","","",
225	/*P0-P7*/	"","","","","","","","",
226	/*Q0-Q7*/	"","","","","","","","",
227	/*R0-R7*/	"","power","trans-gpios","","","","","",
228	/*S0-S7*/	"","","","","","","","",
229	/*T0-T7*/	"","","","","","","","",
230	/*U0-U7*/	"","","","","","","","",
231	/*V0-V7*/	"","","","","","","","",
232	/*W0-W7*/	"","","","","","","","",
233	/*X0-X7*/	"","","","","","","","",
234	/*Y0-Y7*/	"","","","","","","","",
235	/*Z0-Z7*/	"","","","","","","","identify",
236	/*AA0-AA7*/	"clock-gpios","","data-gpios","","","","","",
237	/*AB0-AB7*/	"","","","","","","","",
238	/*AC0-AC7*/	"","","","","","","","";
239};
240
241&fmc {
242	status = "okay";
243
244	flash@0 {
245		status = "okay";
246		label = "bmc";
247		m25p,fast-read;
248		spi-max-frequency = <50000000>;
249#include "openbmc-flash-layout-64.dtsi"
250	};
251};
252
253&spi1 {
254	status = "okay";
255	pinctrl-names = "default";
256	pinctrl-0 = <&pinctrl_spi1_default>;
257
258	flash@0 {
259		status = "okay";
260		label = "pnor";
261		m25p,fast-read;
262		spi-max-frequency = <100000000>;
263	};
264};
265
266&uart1 {
267	/* Rear RS-232 connector */
268	status = "okay";
269	pinctrl-names = "default";
270	pinctrl-0 = <&pinctrl_txd1_default
271			&pinctrl_rxd1_default
272			&pinctrl_nrts1_default
273			&pinctrl_ndtr1_default
274			&pinctrl_ndsr1_default
275			&pinctrl_ncts1_default
276			&pinctrl_ndcd1_default
277			&pinctrl_nri1_default>;
278};
279
280&uart2 {
281	/* Test Point */
282	status = "okay";
283	pinctrl-names = "default";
284	pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
285};
286
287&uart3 {
288	/* APSS */
289	status = "okay";
290	pinctrl-names = "default";
291	pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
292};
293
294&uart5 {
295	status = "okay";
296};
297
298&lpc_ctrl {
299	status = "okay";
300	memory-region = <&flash_memory>;
301	flash = <&spi1>;
302};
303
304&mac0 {
305	status = "okay";
306	pinctrl-names = "default";
307	pinctrl-0 = <&pinctrl_rmii1_default>;
308	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
309		 <&syscon ASPEED_CLK_MAC1RCLK>;
310	clock-names = "MACCLK", "RCLK";
311	use-ncsi;
312};
313
314&mac1 {
315	status = "okay";
316	pinctrl-names = "default";
317	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
318};
319
320&i2c0 {
321	/* LCD */
322	status = "okay";
323};
324
325&i2c1 {
326	status = "okay";
327
328	eeprom@50 {
329		compatible = "atmel,24c256";
330		reg = <0x50>;
331		label = "fru";
332	};
333
334};
335
336&i2c2 {
337	status = "okay";
338
339	tmp112@48 {
340		compatible = "ti,tmp112";
341		reg = <0x48>;
342		label = "inlet";
343	};
344
345	tmp112@49 {
346		compatible = "ti,tmp112";
347		reg = <0x49>;
348		label = "outlet";
349	};
350
351	i2c-switch@70 {
352		compatible = "nxp,pca9546";
353		reg = <0x70>;
354		#address-cells = <1>;
355		#size-cells = <0>;
356
357		i2c@0 {
358			#address-cells = <1>;
359			#size-cells = <0>;
360			reg = <0>;
361
362			tmp112@4a {
363				compatible = "ti,tmp112";
364				reg = <0x4a>;
365				label = "psu_inlet";
366			};
367
368		};
369
370		i2c@1 {
371			#address-cells = <1>;
372			#size-cells = <0>;
373			reg = <1>;
374
375			tmp112@4a {
376				compatible = "ti,tmp112";
377				reg = <0x4a>;
378				label = "ocp_zone";
379			};
380		};
381
382		i2c@2 {
383			#address-cells = <1>;
384			#size-cells = <0>;
385			reg = <2>;
386
387			tmp112@4a {
388				compatible = "ti,tmp112";
389				reg = <0x4a>;
390				label = "bmc_zone";
391			};
392		};
393
394		i2c@3 {
395			#address-cells = <1>;
396			#size-cells = <0>;
397			reg = <3>;
398
399			tmp112@7c {
400				compatible = "microchip,emc1413";
401				reg = <0x7c>;
402			};
403		};
404
405	};
406};
407
408&i2c3 {
409	/* Riser Card */
410	status = "okay";
411};
412
413&i2c4 {
414	status = "okay";
415
416	rtc@68 {
417		compatible = "dallas,ds3232";
418		reg = <0x68>;
419	};
420};
421
422&i2c5 {
423	/* vr  */
424	status = "okay";
425};
426
427&i2c6 {
428	/* bp card */
429	status = "okay";
430};
431
432&i2c7 {
433	status = "okay";
434
435	i2c-switch@70 {
436		compatible = "nxp,pca9546";
437		reg = <0x70>;
438		#address-cells = <1>;
439		#size-cells = <0>;
440
441		i2c@0 {
442			#address-cells = <1>;
443			#size-cells = <0>;
444			reg = <0>;
445
446			adm1278@10 {
447				compatible = "adi,adm1278";
448				reg = <0x10>;
449			};
450
451			adm1278@13 {
452				compatible = "adi,adm1278";
453				reg = <0x13>;
454			};
455
456			adm1278@50 {
457				compatible = "adi,adm1278";
458				reg = <0x50>;
459			};
460
461			adm1278@53 {
462				compatible = "adi,adm1278";
463				reg = <0x53>;
464			};
465
466		};
467
468		/*pcie riser*/
469
470	};
471};
472
473&i2c8 {
474	status = "okay";
475
476	pca0: pca9555@20 {
477		compatible = "nxp,pca9555";
478		reg = <0x20>;
479		#address-cells = <1>;
480		#size-cells = <0>;
481
482		gpio-controller;
483		#gpio-cells = <2>;
484
485		gpio@0 {
486			reg = <0>;
487			type = <PCA955X_TYPE_GPIO>;
488		};
489
490		gpio@1 {
491			reg = <1>;
492			type = <PCA955X_TYPE_GPIO>;
493		};
494
495		gpio@2 {
496			reg = <2>;
497			type = <PCA955X_TYPE_GPIO>;
498		};
499
500		gpio@3 {
501			reg = <3>;
502			type = <PCA955X_TYPE_GPIO>;
503		};
504
505		gpio@4 {
506			reg = <4>;
507			type = <PCA955X_TYPE_GPIO>;
508		};
509
510		gpio@5 {
511			reg = <5>;
512			type = <PCA955X_TYPE_GPIO>;
513		};
514
515		gpio@6 {
516			reg = <6>;
517			type = <PCA955X_TYPE_GPIO>;
518		};
519
520		gpio@7 {
521			reg = <7>;
522			type = <PCA955X_TYPE_GPIO>;
523		};
524
525	};
526
527	pca1: pca9555@21 {
528		compatible = "nxp,pca9555";
529		reg = <0x21>;
530		#address-cells = <1>;
531		#size-cells = <0>;
532
533		gpio-controller;
534		#gpio-cells = <2>;
535
536		gpio@0 {
537			reg = <0>;
538			type = <PCA955X_TYPE_GPIO>;
539		};
540
541		gpio@1 {
542			reg = <1>;
543			type = <PCA955X_TYPE_GPIO>;
544		};
545
546		gpio@2 {
547			reg = <2>;
548			type = <PCA955X_TYPE_GPIO>;
549		};
550
551		gpio@3 {
552			reg = <3>;
553			type = <PCA955X_TYPE_GPIO>;
554		};
555
556		gpio@4 {
557			reg = <4>;
558			type = <PCA955X_TYPE_GPIO>;
559		};
560
561		gpio@5 {
562			reg = <5>;
563			type = <PCA955X_TYPE_GPIO>;
564		};
565
566		gpio@6 {
567			reg = <6>;
568			type = <PCA955X_TYPE_GPIO>;
569		};
570
571		gpio@7 {
572			reg = <7>;
573			type = <PCA955X_TYPE_GPIO>;
574		};
575	};
576
577	pca2: pca9555@22 {
578		compatible = "nxp,pca9555";
579		reg = <0x22>;
580		#address-cells = <1>;
581		#size-cells = <0>;
582
583		gpio-controller;
584		#gpio-cells = <2>;
585
586		gpio@0 {
587			reg = <0>;
588			type = <PCA955X_TYPE_GPIO>;
589		};
590
591		gpio@1 {
592			reg = <1>;
593			type = <PCA955X_TYPE_GPIO>;
594		};
595
596		gpio@2 {
597			reg = <2>;
598			type = <PCA955X_TYPE_GPIO>;
599		};
600
601		gpio@3 {
602			reg = <3>;
603			type = <PCA955X_TYPE_GPIO>;
604		};
605
606		gpio@4 {
607			reg = <4>;
608			type = <PCA955X_TYPE_GPIO>;
609		};
610
611		gpio@5 {
612			reg = <5>;
613			type = <PCA955X_TYPE_GPIO>;
614		};
615
616		gpio@6 {
617			reg = <6>;
618			type = <PCA955X_TYPE_GPIO>;
619		};
620
621		gpio@7 {
622			reg = <7>;
623			type = <PCA955X_TYPE_GPIO>;
624		};
625	};
626
627	pca3: pca9555@23 {
628		compatible = "nxp,pca9555";
629		reg = <0x23>;
630		#address-cells = <1>;
631		#size-cells = <0>;
632
633		gpio-controller;
634		#gpio-cells = <2>;
635
636		gpio@0 {
637			reg = <0>;
638			type = <PCA955X_TYPE_GPIO>;
639		};
640
641		gpio@1 {
642			reg = <1>;
643			type = <PCA955X_TYPE_GPIO>;
644		};
645
646		gpio@2 {
647			reg = <2>;
648			type = <PCA955X_TYPE_GPIO>;
649		};
650
651		gpio@3 {
652			reg = <3>;
653			type = <PCA955X_TYPE_GPIO>;
654		};
655
656		gpio@4 {
657			reg = <4>;
658			type = <PCA955X_TYPE_GPIO>;
659		};
660
661		gpio@5 {
662			reg = <5>;
663			type = <PCA955X_TYPE_GPIO>;
664		};
665
666		gpio@6 {
667			reg = <6>;
668			type = <PCA955X_TYPE_GPIO>;
669		};
670
671		gpio@7 {
672			reg = <7>;
673			type = <PCA955X_TYPE_GPIO>;
674		};
675	};
676
677	pca4: pca9555@24 {
678		compatible = "nxp,pca9555";
679		reg = <0x24>;
680		#address-cells = <1>;
681		#size-cells = <0>;
682
683		gpio-controller;
684		#gpio-cells = <2>;
685
686		gpio@0 {
687			reg = <0>;
688			type = <PCA955X_TYPE_GPIO>;
689		};
690
691		gpio@1 {
692			reg = <1>;
693			type = <PCA955X_TYPE_GPIO>;
694		};
695
696		gpio@2 {
697			reg = <2>;
698			type = <PCA955X_TYPE_GPIO>;
699		};
700
701		gpio@3 {
702			reg = <3>;
703			type = <PCA955X_TYPE_GPIO>;
704		};
705
706		gpio@4 {
707			reg = <4>;
708			type = <PCA955X_TYPE_GPIO>;
709		};
710
711		gpio@5 {
712			reg = <5>;
713			type = <PCA955X_TYPE_GPIO>;
714		};
715
716		gpio@6 {
717			reg = <6>;
718			type = <PCA955X_TYPE_GPIO>;
719		};
720
721		gpio@7 {
722			reg = <7>;
723			type = <PCA955X_TYPE_GPIO>;
724		};
725	};
726
727	pca5: pca9555@25 {
728		compatible = "nxp,pca9555";
729		reg = <0x25>;
730		#address-cells = <1>;
731		#size-cells = <0>;
732
733		gpio-controller;
734		#gpio-cells = <2>;
735
736		gpio@0 {
737			reg = <0>;
738			type = <PCA955X_TYPE_GPIO>;
739		};
740
741		gpio@1 {
742			reg = <1>;
743			type = <PCA955X_TYPE_GPIO>;
744		};
745
746		gpio@2 {
747			reg = <2>;
748			type = <PCA955X_TYPE_GPIO>;
749		};
750
751		gpio@3 {
752			reg = <3>;
753			type = <PCA955X_TYPE_GPIO>;
754		};
755
756		gpio@4 {
757			reg = <4>;
758			type = <PCA955X_TYPE_GPIO>;
759		};
760
761		gpio@5 {
762			reg = <5>;
763			type = <PCA955X_TYPE_GPIO>;
764		};
765
766		gpio@6 {
767			reg = <6>;
768			type = <PCA955X_TYPE_GPIO>;
769		};
770
771		gpio@7 {
772			reg = <7>;
773			type = <PCA955X_TYPE_GPIO>;
774		};
775	};
776
777};
778
779&i2c9 {
780	/* cpld */
781	status = "okay";
782};
783
784&i2c10 {
785	/* hdd bp */
786	status = "okay";
787};
788
789&i2c11 {
790	status = "okay";
791
792	power-supply@58 {
793		compatible = "inspur,ipsps1";
794		reg = <0x58>;
795	};
796
797	power-supply@59 {
798		compatible = "inspur,ipsps1";
799		reg = <0x59>;
800	};
801};
802
803&i2c12 {
804	/* odcc */
805	status = "okay";
806};
807
808&vuart {
809	status = "okay";
810};
811
812&gfx {
813	status = "okay";
814	memory-region = <&gfx_memory>;
815};
816
817&pinctrl {
818	aspeed,external-nodes = <&gfx &lhc>;
819};
820
821&wdt1 {
822	aspeed,reset-type = "none";
823	aspeed,external-signal;
824	aspeed,ext-push-pull;
825	aspeed,ext-active-high;
826
827	pinctrl-names = "default";
828	pinctrl-0 = <&pinctrl_wdtrst1_default>;
829};
830
831&ibt {
832	status = "okay";
833
834};
835
836&adc {
837	status = "okay";
838	pinctrl-names = "default";
839	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
840	 &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default
841	 &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default
842	 &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default
843	 &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default
844	 &pinctrl_adc14_default &pinctrl_adc15_default>;
845};
846
847&vhub {
848	status = "okay";
849};
850
851&video {
852	status = "okay";
853	memory-region = <&video_engine_memory>;
854};
855
856&pwm_tacho {
857	status = "okay";
858	pinctrl-names = "default";
859	pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
860		&pinctrl_pwm2_default &pinctrl_pwm3_default
861		&pinctrl_pwm4_default &pinctrl_pwm5_default
862		&pinctrl_pwm6_default &pinctrl_pwm7_default>;
863
864	fan@0 {
865		reg = <0x00>;
866		aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
867	};
868
869	fan@1 {
870		reg = <0x01>;
871		aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
872	};
873
874	fan@2 {
875		reg = <0x02>;
876		aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
877	};
878
879	fan@3 {
880		reg = <0x03>;
881		aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
882	};
883
884	fan@4 {
885		reg = <0x04>;
886		aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
887	};
888
889	fan@5 {
890		reg = <0x05>;
891		aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
892	};
893
894	fan@6 {
895		reg = <0x06>;
896		aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
897	};
898
899	fan@7 {
900		reg = <0x07>;
901		aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
902	};
903
904};
905
906&kcs3 {
907	status = "okay";
908	aspeed,lpc-io-reg = <0xca2>;
909	aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
910};
911
912#include "ibm-power9-dual.dtsi"