GNU Linux-libre 6.1.90-gnu
[releases.git] / arch / arm / boot / dts / aspeed-bmc-inspur-fp5280g2.dts
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"