Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 /dts-v1/;
0003 #include "aspeed-g5.dtsi"
0004 #include <dt-bindings/gpio/aspeed-gpio.h>
0005 #include <dt-bindings/leds/leds-pca955x.h>
0006 #include <dt-bindings/interrupt-controller/irq.h>
0007 
0008 / {
0009         model = "FP5280G2 BMC";
0010         compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500";
0011 
0012         chosen {
0013                 stdout-path = &uart5;
0014                 bootargs = "console=ttyS4,115200 earlycon";
0015         };
0016 
0017         memory@80000000 {
0018                 reg = <0x80000000 0x20000000>;
0019         };
0020 
0021         reserved-memory {
0022                 #address-cells = <1>;
0023                 #size-cells = <1>;
0024                 ranges;
0025 
0026                 vga_memory: framebuffer@9f000000 {
0027                         no-map;
0028                         reg = <0x9f000000 0x01000000>; /* 16M */
0029                 };
0030 
0031                 flash_memory: region@98000000 {
0032                         no-map;
0033                         reg = <0x98000000 0x04000000>; /* 64M */
0034                 };
0035 
0036                 coldfire_memory: codefire_memory@9ef00000 {
0037                         reg = <0x9ef00000 0x00100000>;
0038                         no-map;
0039                 };
0040 
0041                 gfx_memory: framebuffer {
0042                         size = <0x01000000>;
0043                         alignment = <0x01000000>;
0044                         compatible = "shared-dma-pool";
0045                         reusable;
0046                 };
0047 
0048                 video_engine_memory: jpegbuffer {
0049                         size = <0x02000000>;    /* 32M */
0050                         alignment = <0x01000000>;
0051                         compatible = "shared-dma-pool";
0052                         reusable;
0053                 };
0054         };
0055 
0056         fsi: gpio-fsi {
0057                 compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
0058                 #address-cells = <2>;
0059                 #size-cells = <0>;
0060                 no-gpio-delays;
0061 
0062                 memory-region = <&coldfire_memory>;
0063                 aspeed,sram = <&sram>;
0064                 aspeed,cvic = <&cvic>;
0065 
0066                 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
0067                 data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
0068                 mux-gpios = <&gpio ASPEED_GPIO(I, 2) GPIO_ACTIVE_HIGH>;
0069                 enable-gpios = <&gpio ASPEED_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
0070                 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
0071         };
0072 
0073         gpio-keys {
0074                 compatible = "gpio-keys";
0075 
0076                 event-checkstop {
0077                         label = "checkstop";
0078                         gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
0079                         linux,code = <ASPEED_GPIO(B, 3)>;
0080                 };
0081 
0082                 event-ps0-presence {
0083                         label = "ps0-presence";
0084                         gpios = <&gpio ASPEED_GPIO(F, 0) GPIO_ACTIVE_LOW>;
0085                         linux,code = <ASPEED_GPIO(F, 0)>;
0086                 };
0087 
0088                 event-ps1-presence {
0089                         label = "ps1-presence";
0090                         gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
0091                         linux,code = <ASPEED_GPIO(F, 1)>;
0092                 };
0093 
0094         };
0095 
0096         gpio-keys-polled {
0097                 compatible = "gpio-keys-polled";
0098                 poll-interval = <1000>;
0099 
0100                 event-fan0-presence {
0101                         label = "fan0-presence";
0102                         gpios = <&pca1 0 GPIO_ACTIVE_LOW>;
0103                         linux,code = <1>;
0104                 };
0105 
0106                 event-fan1-presence {
0107                         label = "fan1-presence";
0108                         gpios = <&pca1 1 GPIO_ACTIVE_LOW>;
0109                         linux,code = <2>;
0110                 };
0111 
0112                 event-fan2-presence {
0113                         label = "fan2-presence";
0114                         gpios = <&pca1 2 GPIO_ACTIVE_LOW>;
0115                         linux,code = <3>;
0116                 };
0117 
0118                 event-fan3-presence {
0119                         label = "fan3-presence";
0120                         gpios = <&pca1 3 GPIO_ACTIVE_LOW>;
0121                         linux,code = <4>;
0122                 };
0123 
0124                 event-fan4-presence {
0125                         label = "fan4-presence";
0126                         gpios = <&pca1 4 GPIO_ACTIVE_LOW>;
0127                         linux,code = <5>;
0128                 };
0129 
0130                 event-fan5-presence {
0131                         label = "fan5-presence";
0132                         gpios = <&pca1 5 GPIO_ACTIVE_LOW>;
0133                         linux,code = <6>;
0134                 };
0135 
0136                 event-fan6-presence {
0137                         label = "fan6-presence";
0138                         gpios = <&pca1 6 GPIO_ACTIVE_LOW>;
0139                         linux,code = <7>;
0140                 };
0141 
0142                 event-fan7-presence {
0143                         label = "fan7-presence";
0144                         gpios = <&pca1 7 GPIO_ACTIVE_LOW>;
0145                         linux,code = <8>;
0146                 };
0147         };
0148 
0149         leds {
0150                 compatible = "gpio-leds";
0151 
0152                 power {
0153                         label = "power";
0154                         /* TODO: dummy gpio */
0155                         gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>;
0156                 };
0157 
0158                 init-ok {
0159                         label = "init-ok";
0160                         gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>;
0161                 };
0162 
0163                 front-memory {
0164                         label = "front-memory";
0165                         gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>;
0166                 };
0167 
0168                 front-syshot {
0169                         label = "front-syshot";
0170                         gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
0171                 };
0172 
0173                 front-syshealth {
0174                         label = "front-syshealth";
0175                         gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>;
0176                 };
0177 
0178                 front-fan {
0179                         label = "front-fan";
0180                         gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
0181                 };
0182 
0183                 front-psu {
0184                         label = "front-psu";
0185                         gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
0186                 };
0187 
0188                 identify {
0189                         label = "identify";
0190                         gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>;
0191                 };
0192         };
0193 
0194         iio-hwmon-battery {
0195                 compatible = "iio-hwmon";
0196                 io-channels = <&adc 15>;
0197         };
0198 
0199         iio-hwmon {
0200                 compatible = "iio-hwmon";
0201                 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
0202                         <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>,
0203                         <&adc 10>, <&adc 11>, <&adc 12>, <&adc 13>, <&adc 14>;
0204         };
0205 
0206 };
0207 
0208 &gpio {
0209         gpio-line-names =
0210         /*A0-A7*/       "","","","","","","","",
0211         /*B0-B7*/       "","","front-psu","checkstop","cfam-reset","","","init-ok",
0212         /*C0-C7*/       "","","","","","","","",
0213         /*D0-D7*/       "","","","","","","","",
0214         /*E0-E7*/       "","","","","","","","",
0215         /*F0-F7*/       "ps0-presence","ps1-presence","","","front-memory","","","",
0216         /*G0-G7*/       "","","","","","","","",
0217         /*H0-H7*/       "","","","","front-fan","","","",
0218         /*I0-I7*/       "front-syshealth","front-syshot","mux-gpios","enable-gpios","","","","",
0219         /*J0-J7*/       "","","","","","","","",
0220         /*K0-K7*/       "","","","","","","","",
0221         /*L0-L7*/       "","","","","","","","",
0222         /*M0-M7*/       "","","","","","","","",
0223         /*N0-N7*/       "","","","","","","","",
0224         /*O0-O7*/       "","","","","","","","",
0225         /*P0-P7*/       "","","","","","","","",
0226         /*Q0-Q7*/       "","","","","","","","",
0227         /*R0-R7*/       "","power","trans-gpios","","","","","",
0228         /*S0-S7*/       "","","","","","","","",
0229         /*T0-T7*/       "","","","","","","","",
0230         /*U0-U7*/       "","","","","","","","",
0231         /*V0-V7*/       "","","","","","","","",
0232         /*W0-W7*/       "","","","","","","","",
0233         /*X0-X7*/       "","","","","","","","",
0234         /*Y0-Y7*/       "","","","","","","","",
0235         /*Z0-Z7*/       "","","","","","","","identify",
0236         /*AA0-AA7*/     "clock-gpios","","data-gpios","","","","","",
0237         /*AB0-AB7*/     "","","","","","","","",
0238         /*AC0-AC7*/     "","","","","","","","";
0239 };
0240 
0241 &fmc {
0242         status = "okay";
0243 
0244         flash@0 {
0245                 status = "okay";
0246                 label = "bmc";
0247                 m25p,fast-read;
0248                 spi-max-frequency = <50000000>;
0249 #include "openbmc-flash-layout-64.dtsi"
0250         };
0251 };
0252 
0253 &spi1 {
0254         status = "okay";
0255         pinctrl-names = "default";
0256         pinctrl-0 = <&pinctrl_spi1_default>;
0257 
0258         flash@0 {
0259                 status = "okay";
0260                 label = "pnor";
0261                 m25p,fast-read;
0262                 spi-max-frequency = <100000000>;
0263         };
0264 };
0265 
0266 &uart1 {
0267         /* Rear RS-232 connector */
0268         status = "okay";
0269         pinctrl-names = "default";
0270         pinctrl-0 = <&pinctrl_txd1_default
0271                         &pinctrl_rxd1_default
0272                         &pinctrl_nrts1_default
0273                         &pinctrl_ndtr1_default
0274                         &pinctrl_ndsr1_default
0275                         &pinctrl_ncts1_default
0276                         &pinctrl_ndcd1_default
0277                         &pinctrl_nri1_default>;
0278 };
0279 
0280 &uart2 {
0281         /* Test Point */
0282         status = "okay";
0283         pinctrl-names = "default";
0284         pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
0285 };
0286 
0287 &uart3 {
0288         /* APSS */
0289         status = "okay";
0290         pinctrl-names = "default";
0291         pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
0292 };
0293 
0294 &uart5 {
0295         status = "okay";
0296 };
0297 
0298 &lpc_ctrl {
0299         status = "okay";
0300         memory-region = <&flash_memory>;
0301         flash = <&spi1>;
0302 };
0303 
0304 &mac0 {
0305         status = "okay";
0306         pinctrl-names = "default";
0307         pinctrl-0 = <&pinctrl_rmii1_default>;
0308         clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
0309                  <&syscon ASPEED_CLK_MAC1RCLK>;
0310         clock-names = "MACCLK", "RCLK";
0311         use-ncsi;
0312 };
0313 
0314 &mac1 {
0315         status = "okay";
0316         pinctrl-names = "default";
0317         pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
0318 };
0319 
0320 &i2c0 {
0321         /* LCD */
0322         status = "okay";
0323 };
0324 
0325 &i2c1 {
0326         status = "okay";
0327 
0328         eeprom@50 {
0329                 compatible = "atmel,24c256";
0330                 reg = <0x50>;
0331                 label = "fru";
0332         };
0333 
0334 };
0335 
0336 &i2c2 {
0337         status = "okay";
0338 
0339         tmp112@48 {
0340                 compatible = "ti,tmp112";
0341                 reg = <0x48>;
0342                 label = "inlet";
0343         };
0344 
0345         tmp112@49 {
0346                 compatible = "ti,tmp112";
0347                 reg = <0x49>;
0348                 label = "outlet";
0349         };
0350 
0351         i2c-switch@70 {
0352                 compatible = "nxp,pca9546";
0353                 reg = <0x70>;
0354                 #address-cells = <1>;
0355                 #size-cells = <0>;
0356 
0357                 i2c@0 {
0358                         #address-cells = <1>;
0359                         #size-cells = <0>;
0360                         reg = <0>;
0361 
0362                         tmp112@4a {
0363                                 compatible = "ti,tmp112";
0364                                 reg = <0x4a>;
0365                                 label = "psu_inlet";
0366                         };
0367 
0368                 };
0369 
0370                 i2c@1 {
0371                         #address-cells = <1>;
0372                         #size-cells = <0>;
0373                         reg = <1>;
0374 
0375                         tmp112@4a {
0376                                 compatible = "ti,tmp112";
0377                                 reg = <0x4a>;
0378                                 label = "ocp_zone";
0379                         };
0380                 };
0381 
0382                 i2c@2 {
0383                         #address-cells = <1>;
0384                         #size-cells = <0>;
0385                         reg = <2>;
0386 
0387                         tmp112@4a {
0388                                 compatible = "ti,tmp112";
0389                                 reg = <0x4a>;
0390                                 label = "bmc_zone";
0391                         };
0392                 };
0393 
0394                 i2c@3 {
0395                         #address-cells = <1>;
0396                         #size-cells = <0>;
0397                         reg = <3>;
0398 
0399                         tmp112@7c {
0400                                 compatible = "microchip,emc1413";
0401                                 reg = <0x7c>;
0402                         };
0403                 };
0404 
0405         };
0406 };
0407 
0408 &i2c3 {
0409         /* Riser Card */
0410         status = "okay";
0411 };
0412 
0413 &i2c4 {
0414         status = "okay";
0415 
0416         rtc@68 {
0417                 compatible = "dallas,ds3232";
0418                 reg = <0x68>;
0419         };
0420 };
0421 
0422 &i2c5 {
0423         /* vr  */
0424         status = "okay";
0425 };
0426 
0427 &i2c6 {
0428         /* bp card */
0429         status = "okay";
0430 };
0431 
0432 &i2c7 {
0433         status = "okay";
0434 
0435         i2c-switch@70 {
0436                 compatible = "nxp,pca9546";
0437                 reg = <0x70>;
0438                 #address-cells = <1>;
0439                 #size-cells = <0>;
0440 
0441                 i2c@0 {
0442                         #address-cells = <1>;
0443                         #size-cells = <0>;
0444                         reg = <0>;
0445 
0446                         adm1278@10 {
0447                                 compatible = "adi,adm1278";
0448                                 reg = <0x10>;
0449                         };
0450 
0451                         adm1278@13 {
0452                                 compatible = "adi,adm1278";
0453                                 reg = <0x13>;
0454                         };
0455 
0456                         adm1278@50 {
0457                                 compatible = "adi,adm1278";
0458                                 reg = <0x50>;
0459                         };
0460 
0461                         adm1278@53 {
0462                                 compatible = "adi,adm1278";
0463                                 reg = <0x53>;
0464                         };
0465 
0466                 };
0467 
0468                 /*pcie riser*/
0469 
0470         };
0471 };
0472 
0473 &i2c8 {
0474         status = "okay";
0475 
0476         pca0: pca9555@20 {
0477                 compatible = "nxp,pca9555";
0478                 reg = <0x20>;
0479                 #address-cells = <1>;
0480                 #size-cells = <0>;
0481 
0482                 gpio-controller;
0483                 #gpio-cells = <2>;
0484 
0485                 gpio@0 {
0486                         reg = <0>;
0487                         type = <PCA955X_TYPE_GPIO>;
0488                 };
0489 
0490                 gpio@1 {
0491                         reg = <1>;
0492                         type = <PCA955X_TYPE_GPIO>;
0493                 };
0494 
0495                 gpio@2 {
0496                         reg = <2>;
0497                         type = <PCA955X_TYPE_GPIO>;
0498                 };
0499 
0500                 gpio@3 {
0501                         reg = <3>;
0502                         type = <PCA955X_TYPE_GPIO>;
0503                 };
0504 
0505                 gpio@4 {
0506                         reg = <4>;
0507                         type = <PCA955X_TYPE_GPIO>;
0508                 };
0509 
0510                 gpio@5 {
0511                         reg = <5>;
0512                         type = <PCA955X_TYPE_GPIO>;
0513                 };
0514 
0515                 gpio@6 {
0516                         reg = <6>;
0517                         type = <PCA955X_TYPE_GPIO>;
0518                 };
0519 
0520                 gpio@7 {
0521                         reg = <7>;
0522                         type = <PCA955X_TYPE_GPIO>;
0523                 };
0524 
0525         };
0526 
0527         pca1: pca9555@21 {
0528                 compatible = "nxp,pca9555";
0529                 reg = <0x21>;
0530                 #address-cells = <1>;
0531                 #size-cells = <0>;
0532 
0533                 gpio-controller;
0534                 #gpio-cells = <2>;
0535 
0536                 gpio@0 {
0537                         reg = <0>;
0538                         type = <PCA955X_TYPE_GPIO>;
0539                 };
0540 
0541                 gpio@1 {
0542                         reg = <1>;
0543                         type = <PCA955X_TYPE_GPIO>;
0544                 };
0545 
0546                 gpio@2 {
0547                         reg = <2>;
0548                         type = <PCA955X_TYPE_GPIO>;
0549                 };
0550 
0551                 gpio@3 {
0552                         reg = <3>;
0553                         type = <PCA955X_TYPE_GPIO>;
0554                 };
0555 
0556                 gpio@4 {
0557                         reg = <4>;
0558                         type = <PCA955X_TYPE_GPIO>;
0559                 };
0560 
0561                 gpio@5 {
0562                         reg = <5>;
0563                         type = <PCA955X_TYPE_GPIO>;
0564                 };
0565 
0566                 gpio@6 {
0567                         reg = <6>;
0568                         type = <PCA955X_TYPE_GPIO>;
0569                 };
0570 
0571                 gpio@7 {
0572                         reg = <7>;
0573                         type = <PCA955X_TYPE_GPIO>;
0574                 };
0575         };
0576 
0577         pca2: pca9555@22 {
0578                 compatible = "nxp,pca9555";
0579                 reg = <0x22>;
0580                 #address-cells = <1>;
0581                 #size-cells = <0>;
0582 
0583                 gpio-controller;
0584                 #gpio-cells = <2>;
0585 
0586                 gpio@0 {
0587                         reg = <0>;
0588                         type = <PCA955X_TYPE_GPIO>;
0589                 };
0590 
0591                 gpio@1 {
0592                         reg = <1>;
0593                         type = <PCA955X_TYPE_GPIO>;
0594                 };
0595 
0596                 gpio@2 {
0597                         reg = <2>;
0598                         type = <PCA955X_TYPE_GPIO>;
0599                 };
0600 
0601                 gpio@3 {
0602                         reg = <3>;
0603                         type = <PCA955X_TYPE_GPIO>;
0604                 };
0605 
0606                 gpio@4 {
0607                         reg = <4>;
0608                         type = <PCA955X_TYPE_GPIO>;
0609                 };
0610 
0611                 gpio@5 {
0612                         reg = <5>;
0613                         type = <PCA955X_TYPE_GPIO>;
0614                 };
0615 
0616                 gpio@6 {
0617                         reg = <6>;
0618                         type = <PCA955X_TYPE_GPIO>;
0619                 };
0620 
0621                 gpio@7 {
0622                         reg = <7>;
0623                         type = <PCA955X_TYPE_GPIO>;
0624                 };
0625         };
0626 
0627         pca3: pca9555@23 {
0628                 compatible = "nxp,pca9555";
0629                 reg = <0x23>;
0630                 #address-cells = <1>;
0631                 #size-cells = <0>;
0632 
0633                 gpio-controller;
0634                 #gpio-cells = <2>;
0635 
0636                 gpio@0 {
0637                         reg = <0>;
0638                         type = <PCA955X_TYPE_GPIO>;
0639                 };
0640 
0641                 gpio@1 {
0642                         reg = <1>;
0643                         type = <PCA955X_TYPE_GPIO>;
0644                 };
0645 
0646                 gpio@2 {
0647                         reg = <2>;
0648                         type = <PCA955X_TYPE_GPIO>;
0649                 };
0650 
0651                 gpio@3 {
0652                         reg = <3>;
0653                         type = <PCA955X_TYPE_GPIO>;
0654                 };
0655 
0656                 gpio@4 {
0657                         reg = <4>;
0658                         type = <PCA955X_TYPE_GPIO>;
0659                 };
0660 
0661                 gpio@5 {
0662                         reg = <5>;
0663                         type = <PCA955X_TYPE_GPIO>;
0664                 };
0665 
0666                 gpio@6 {
0667                         reg = <6>;
0668                         type = <PCA955X_TYPE_GPIO>;
0669                 };
0670 
0671                 gpio@7 {
0672                         reg = <7>;
0673                         type = <PCA955X_TYPE_GPIO>;
0674                 };
0675         };
0676 
0677         pca4: pca9555@24 {
0678                 compatible = "nxp,pca9555";
0679                 reg = <0x24>;
0680                 #address-cells = <1>;
0681                 #size-cells = <0>;
0682 
0683                 gpio-controller;
0684                 #gpio-cells = <2>;
0685 
0686                 gpio@0 {
0687                         reg = <0>;
0688                         type = <PCA955X_TYPE_GPIO>;
0689                 };
0690 
0691                 gpio@1 {
0692                         reg = <1>;
0693                         type = <PCA955X_TYPE_GPIO>;
0694                 };
0695 
0696                 gpio@2 {
0697                         reg = <2>;
0698                         type = <PCA955X_TYPE_GPIO>;
0699                 };
0700 
0701                 gpio@3 {
0702                         reg = <3>;
0703                         type = <PCA955X_TYPE_GPIO>;
0704                 };
0705 
0706                 gpio@4 {
0707                         reg = <4>;
0708                         type = <PCA955X_TYPE_GPIO>;
0709                 };
0710 
0711                 gpio@5 {
0712                         reg = <5>;
0713                         type = <PCA955X_TYPE_GPIO>;
0714                 };
0715 
0716                 gpio@6 {
0717                         reg = <6>;
0718                         type = <PCA955X_TYPE_GPIO>;
0719                 };
0720 
0721                 gpio@7 {
0722                         reg = <7>;
0723                         type = <PCA955X_TYPE_GPIO>;
0724                 };
0725         };
0726 
0727         pca5: pca9555@25 {
0728                 compatible = "nxp,pca9555";
0729                 reg = <0x25>;
0730                 #address-cells = <1>;
0731                 #size-cells = <0>;
0732 
0733                 gpio-controller;
0734                 #gpio-cells = <2>;
0735 
0736                 gpio@0 {
0737                         reg = <0>;
0738                         type = <PCA955X_TYPE_GPIO>;
0739                 };
0740 
0741                 gpio@1 {
0742                         reg = <1>;
0743                         type = <PCA955X_TYPE_GPIO>;
0744                 };
0745 
0746                 gpio@2 {
0747                         reg = <2>;
0748                         type = <PCA955X_TYPE_GPIO>;
0749                 };
0750 
0751                 gpio@3 {
0752                         reg = <3>;
0753                         type = <PCA955X_TYPE_GPIO>;
0754                 };
0755 
0756                 gpio@4 {
0757                         reg = <4>;
0758                         type = <PCA955X_TYPE_GPIO>;
0759                 };
0760 
0761                 gpio@5 {
0762                         reg = <5>;
0763                         type = <PCA955X_TYPE_GPIO>;
0764                 };
0765 
0766                 gpio@6 {
0767                         reg = <6>;
0768                         type = <PCA955X_TYPE_GPIO>;
0769                 };
0770 
0771                 gpio@7 {
0772                         reg = <7>;
0773                         type = <PCA955X_TYPE_GPIO>;
0774                 };
0775         };
0776 
0777 };
0778 
0779 &i2c9 {
0780         /* cpld */
0781         status = "okay";
0782 };
0783 
0784 &i2c10 {
0785         /* hdd bp */
0786         status = "okay";
0787 };
0788 
0789 &i2c11 {
0790         status = "okay";
0791 
0792         power-supply@58 {
0793                 compatible = "inspur,ipsps1";
0794                 reg = <0x58>;
0795         };
0796 
0797         power-supply@59 {
0798                 compatible = "inspur,ipsps1";
0799                 reg = <0x59>;
0800         };
0801 };
0802 
0803 &i2c12 {
0804         /* odcc */
0805         status = "okay";
0806 };
0807 
0808 &vuart {
0809         status = "okay";
0810 };
0811 
0812 &gfx {
0813         status = "okay";
0814         memory-region = <&gfx_memory>;
0815 };
0816 
0817 &pinctrl {
0818         aspeed,external-nodes = <&gfx &lhc>;
0819 };
0820 
0821 &wdt1 {
0822         aspeed,reset-type = "none";
0823         aspeed,external-signal;
0824         aspeed,ext-push-pull;
0825         aspeed,ext-active-high;
0826 
0827         pinctrl-names = "default";
0828         pinctrl-0 = <&pinctrl_wdtrst1_default>;
0829 };
0830 
0831 &ibt {
0832         status = "okay";
0833 
0834 };
0835 
0836 &adc {
0837         status = "okay";
0838         pinctrl-names = "default";
0839         pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
0840          &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default
0841          &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default
0842          &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default
0843          &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default
0844          &pinctrl_adc14_default &pinctrl_adc15_default>;
0845 };
0846 
0847 &vhub {
0848         status = "okay";
0849 };
0850 
0851 &video {
0852         status = "okay";
0853         memory-region = <&video_engine_memory>;
0854 };
0855 
0856 &pwm_tacho {
0857         status = "okay";
0858         pinctrl-names = "default";
0859         pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
0860                 &pinctrl_pwm2_default &pinctrl_pwm3_default
0861                 &pinctrl_pwm4_default &pinctrl_pwm5_default
0862                 &pinctrl_pwm6_default &pinctrl_pwm7_default>;
0863 
0864         fan@0 {
0865                 reg = <0x00>;
0866                 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
0867         };
0868 
0869         fan@1 {
0870                 reg = <0x01>;
0871                 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
0872         };
0873 
0874         fan@2 {
0875                 reg = <0x02>;
0876                 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
0877         };
0878 
0879         fan@3 {
0880                 reg = <0x03>;
0881                 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
0882         };
0883 
0884         fan@4 {
0885                 reg = <0x04>;
0886                 aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
0887         };
0888 
0889         fan@5 {
0890                 reg = <0x05>;
0891                 aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
0892         };
0893 
0894         fan@6 {
0895                 reg = <0x06>;
0896                 aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
0897         };
0898 
0899         fan@7 {
0900                 reg = <0x07>;
0901                 aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
0902         };
0903 
0904 };
0905 
0906 &kcs3 {
0907         status = "okay";
0908         aspeed,lpc-io-reg = <0xca2>;
0909         aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
0910 };
0911 
0912 #include "ibm-power9-dual.dtsi"