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 
0007 / {
0008         model = "Mihawk BMC";
0009         compatible = "ibm,mihawk-bmc", "aspeed,ast2500";
0010 
0011         aliases {
0012                 i2c215 = &bus6_mux215;
0013                 i2c216 = &bus6_mux216;
0014                 i2c217 = &bus6_mux217;
0015                 i2c218 = &bus6_mux218;
0016                 i2c219 = &bus6_mux219;
0017                 i2c220 = &bus6_mux220;
0018                 i2c221 = &bus6_mux221;
0019                 i2c222 = &bus6_mux222;
0020                 i2c223 = &bus7_mux223;
0021                 i2c224 = &bus7_mux224;
0022                 i2c225 = &bus7_mux225;
0023                 i2c226 = &bus7_mux226;
0024                 i2c227 = &bus7_mux227;
0025                 i2c228 = &bus7_mux228;
0026                 i2c229 = &bus7_mux229;
0027                 i2c230 = &bus7_mux230;
0028                 i2c231 = &bus9_mux231;
0029                 i2c232 = &bus9_mux232;
0030                 i2c233 = &bus9_mux233;
0031                 i2c234 = &bus9_mux234;
0032                 i2c235 = &bus9_mux235;
0033                 i2c236 = &bus9_mux236;
0034                 i2c237 = &bus9_mux237;
0035                 i2c238 = &bus9_mux238;
0036                 i2c239 = &bus10_mux239;
0037                 i2c240 = &bus10_mux240;
0038                 i2c241 = &bus10_mux241;
0039                 i2c242 = &bus10_mux242;
0040                 i2c243 = &bus10_mux243;
0041                 i2c244 = &bus10_mux244;
0042                 i2c245 = &bus10_mux245;
0043                 i2c246 = &bus10_mux246;
0044                 i2c247 = &bus12_mux247;
0045                 i2c248 = &bus12_mux248;
0046                 i2c249 = &bus12_mux249;
0047                 i2c250 = &bus12_mux250;
0048                 i2c251 = &bus13_mux251;
0049                 i2c252 = &bus13_mux252;
0050                 i2c253 = &bus13_mux253;
0051                 i2c254 = &bus13_mux254;
0052                 i2c255 = &bus13_mux255;
0053                 i2c256 = &bus13_mux256;
0054                 i2c257 = &bus13_mux257;
0055                 i2c258 = &bus13_mux258;
0056         };
0057 
0058         chosen {
0059                 stdout-path = &uart5;
0060                 bootargs = "console=ttyS4,115200 earlycon";
0061         };
0062 
0063         memory@80000000 {
0064                 reg = <0x80000000 0x20000000>;
0065         };
0066 
0067         reserved-memory {
0068                 #address-cells = <1>;
0069                 #size-cells = <1>;
0070                 ranges;
0071 
0072                 flash_memory: region@98000000 {
0073                         no-map;
0074                         reg = <0x98000000 0x04000000>; /* 64M */
0075                 };
0076 
0077                 gfx_memory: framebuffer {
0078                         size = <0x01000000>;
0079                         alignment = <0x01000000>;
0080                         compatible = "shared-dma-pool";
0081                         reusable;
0082                 };
0083 
0084                 video_engine_memory: jpegbuffer {
0085                         size = <0x02000000>;
0086                         alignment = <0x01000000>;
0087                         compatible = "shared-dma-pool";
0088                         reusable;
0089                 };
0090         };
0091 
0092         gpio-keys {
0093                 compatible = "gpio-keys";
0094 
0095                 event-air-water {
0096                         label = "air-water";
0097                         gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>;
0098                         linux,code = <ASPEED_GPIO(F, 6)>;
0099                 };
0100 
0101                 event-checkstop {
0102                         label = "checkstop";
0103                         gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
0104                         linux,code = <ASPEED_GPIO(J, 2)>;
0105                 };
0106 
0107                 event-ps0-presence {
0108                         label = "ps0-presence";
0109                         gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>;
0110                         linux,code = <ASPEED_GPIO(Z, 2)>;
0111                 };
0112 
0113                 event-ps1-presence {
0114                         label = "ps1-presence";
0115                         gpios = <&gpio ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
0116                         linux,code = <ASPEED_GPIO(Z, 0)>;
0117                 };
0118 
0119                 button-id {
0120                         label = "id-button";
0121                         gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
0122                         linux,code = <ASPEED_GPIO(F, 1)>;
0123                 };
0124         };
0125 
0126         gpio-keys-polled {
0127                 compatible = "gpio-keys-polled";
0128                 poll-interval = <1000>;
0129 
0130                 event-fan0-presence {
0131                         label = "fan0-presence";
0132                         gpios = <&pca9552 9 GPIO_ACTIVE_LOW>;
0133                         linux,code = <9>;
0134                 };
0135 
0136                 event-fan1-presence {
0137                         label = "fan1-presence";
0138                         gpios = <&pca9552 10 GPIO_ACTIVE_LOW>;
0139                         linux,code = <10>;
0140                 };
0141 
0142                 event-fan2-presence {
0143                         label = "fan2-presence";
0144                         gpios = <&pca9552 11 GPIO_ACTIVE_LOW>;
0145                         linux,code = <11>;
0146                 };
0147 
0148                 event-fan3-presence {
0149                         label = "fan3-presence";
0150                         gpios = <&pca9552 12 GPIO_ACTIVE_LOW>;
0151                         linux,code = <12>;
0152                 };
0153 
0154                 event-fan4-presence {
0155                         label = "fan4-presence";
0156                         gpios = <&pca9552 13 GPIO_ACTIVE_LOW>;
0157                         linux,code = <13>;
0158                 };
0159 
0160                 event-fan5-presence {
0161                         label = "fan5-presence";
0162                         gpios = <&pca9552 14 GPIO_ACTIVE_LOW>;
0163                         linux,code = <14>;
0164                 };
0165         };
0166 
0167         leds {
0168                 compatible = "gpio-leds";
0169 
0170                 front-fault {
0171                         retain-state-shutdown;
0172                         default-state = "keep";
0173                         gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_LOW>;
0174                 };
0175 
0176                 power-button {
0177                         retain-state-shutdown;
0178                         default-state = "keep";
0179                         gpios = <&gpio ASPEED_GPIO(AA, 1) GPIO_ACTIVE_LOW>;
0180                 };
0181 
0182                 front-id {
0183                         retain-state-shutdown;
0184                         default-state = "keep";
0185                         gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_LOW>;
0186                 };
0187 
0188 
0189                 fan0 {
0190                         retain-state-shutdown;
0191                         default-state = "keep";
0192                         gpios = <&pca9552 0 GPIO_ACTIVE_LOW>;
0193                 };
0194 
0195                 fan1 {
0196                         retain-state-shutdown;
0197                         default-state = "keep";
0198                         gpios = <&pca9552 1 GPIO_ACTIVE_LOW>;
0199                 };
0200 
0201                 fan2 {
0202                         retain-state-shutdown;
0203                         default-state = "keep";
0204                         gpios = <&pca9552 2 GPIO_ACTIVE_LOW>;
0205                 };
0206 
0207                 fan3 {
0208                         retain-state-shutdown;
0209                         default-state = "keep";
0210                         gpios = <&pca9552 3 GPIO_ACTIVE_LOW>;
0211                 };
0212 
0213                 fan4 {
0214                         retain-state-shutdown;
0215                         default-state = "keep";
0216                         gpios = <&pca9552 4 GPIO_ACTIVE_LOW>;
0217                 };
0218 
0219                 fan5 {
0220                         retain-state-shutdown;
0221                         default-state = "keep";
0222                         gpios = <&pca9552 5 GPIO_ACTIVE_LOW>;
0223                 };
0224         };
0225 
0226         fsi: gpio-fsi {
0227                 compatible = "fsi-master-gpio", "fsi-master";
0228                 #address-cells = <2>;
0229                 #size-cells = <0>;
0230                 no-gpio-delays;
0231 
0232                 clock-gpios = <&gpio ASPEED_GPIO(E, 6) GPIO_ACTIVE_HIGH>;
0233                 data-gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_HIGH>;
0234                 mux-gpios = <&gpio ASPEED_GPIO(E, 5) GPIO_ACTIVE_HIGH>;
0235                 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
0236                 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
0237         };
0238         iio-hwmon-12v {
0239                 compatible = "iio-hwmon";
0240                 io-channels = <&adc 0>;
0241         };
0242 
0243         iio-hwmon-5v {
0244                 compatible = "iio-hwmon";
0245                 io-channels = <&adc 1>;
0246         };
0247 
0248         iio-hwmon-3v {
0249                 compatible = "iio-hwmon";
0250                 io-channels = <&adc 2>;
0251         };
0252 
0253         iio-hwmon-vdd0 {
0254                 compatible = "iio-hwmon";
0255                 io-channels = <&adc 3>;
0256         };
0257 
0258         iio-hwmon-vdd1 {
0259                 compatible = "iio-hwmon";
0260                 io-channels = <&adc 4>;
0261         };
0262 
0263         iio-hwmon-vcs0 {
0264                 compatible = "iio-hwmon";
0265                 io-channels = <&adc 5>;
0266         };
0267 
0268         iio-hwmon-vcs1 {
0269                 compatible = "iio-hwmon";
0270                 io-channels = <&adc 6>;
0271         };
0272 
0273         iio-hwmon-vdn0 {
0274                 compatible = "iio-hwmon";
0275                 io-channels = <&adc 7>;
0276         };
0277 
0278         iio-hwmon-vdn1 {
0279                 compatible = "iio-hwmon";
0280                 io-channels = <&adc 8>;
0281         };
0282 
0283         iio-hwmon-vio0 {
0284                 compatible = "iio-hwmon";
0285                 io-channels = <&adc 9>;
0286         };
0287 
0288         iio-hwmon-vio1 {
0289                 compatible = "iio-hwmon";
0290                 io-channels = <&adc 10>;
0291         };
0292 
0293         iio-hwmon-vddra {
0294                 compatible = "iio-hwmon";
0295                 io-channels = <&adc 11>;
0296         };
0297 
0298         iio-hwmon-battery {
0299                 compatible = "iio-hwmon";
0300                 io-channels = <&adc 12>;
0301         };
0302 
0303         iio-hwmon-vddrb {
0304                 compatible = "iio-hwmon";
0305                 io-channels = <&adc 13>;
0306         };
0307 
0308         iio-hwmon-vddrc {
0309                 compatible = "iio-hwmon";
0310                 io-channels = <&adc 14>;
0311         };
0312 
0313         iio-hwmon-vddrd {
0314                 compatible = "iio-hwmon";
0315                 io-channels = <&adc 15>;
0316         };
0317 };
0318 
0319 &pwm_tacho {
0320         status = "okay";
0321         pinctrl-names = "default";
0322         pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
0323                 &pinctrl_pwm2_default &pinctrl_pwm3_default
0324                 &pinctrl_pwm4_default &pinctrl_pwm5_default>;
0325 
0326         fan@0 {
0327                 reg = <0x00>;
0328                 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
0329         };
0330 
0331         fan@1 {
0332                 reg = <0x01>;
0333                 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
0334         };
0335 
0336         fan@2 {
0337                 reg = <0x02>;
0338                 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
0339         };
0340 
0341         fan@3 {
0342                 reg = <0x03>;
0343                 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
0344         };
0345 
0346         fan@4 {
0347                 reg = <0x04>;
0348                 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
0349         };
0350 
0351         fan@5 {
0352                 reg = <0x05>;
0353                 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
0354         };
0355 
0356         fan@6 {
0357                 reg = <0x00>;
0358                 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
0359         };
0360 
0361         fan@7 {
0362                 reg = <0x01>;
0363                 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
0364         };
0365 
0366         fan@8 {
0367                 reg = <0x02>;
0368                 aspeed,fan-tach-ch = /bits/ 8 <0x08>;
0369         };
0370 
0371         fan@9 {
0372                 reg = <0x03>;
0373                 aspeed,fan-tach-ch = /bits/ 8 <0x09>;
0374         };
0375 
0376         fan@10 {
0377                 reg = <0x04>;
0378                 aspeed,fan-tach-ch = /bits/ 8 <0x0a>;
0379         };
0380 
0381         fan@11 {
0382                 reg = <0x05>;
0383                 aspeed,fan-tach-ch = /bits/ 8 <0x0b>;
0384         };
0385 };
0386 
0387 &gpio {
0388         gpio-line-names =
0389         /*A0-A7*/       "","cfam-reset","","","","","","",
0390         /*B0-B7*/       "","","","","","","","",
0391         /*C0-C7*/       "","","","","","","","",
0392         /*D0-D7*/       "fsi-enable","","","","","","","",
0393         /*E0-E7*/       "","","","","","fsi-mux","fsi-clock","fsi-data",
0394         /*F0-F7*/       "","id-button","","","","","air-water","",
0395         /*G0-G7*/       "","","","","","","","",
0396         /*H0-H7*/       "","","","","","","","",
0397         /*I0-I7*/       "","","","","","","","",
0398         /*J0-J7*/       "","","checkstop","","","","","",
0399         /*K0-K7*/       "","","","","","","","",
0400         /*L0-L7*/       "","","","","","","","",
0401         /*M0-M7*/       "","","","","","","","",
0402         /*N0-N7*/       "","","","","","","","",
0403         /*O0-O7*/       "","","","","","","","",
0404         /*P0-P7*/       "","","","","","","","",
0405         /*Q0-Q7*/       "","","","","","","","",
0406         /*R0-R7*/       "","","fsi-trans","","","","","",
0407         /*S0-S7*/       "","","","","","","","",
0408         /*T0-T7*/       "","","","","","","","",
0409         /*U0-U7*/       "","","","","","","","",
0410         /*V0-V7*/       "","","","","","","","",
0411         /*W0-W7*/       "","","","","","","","",
0412         /*X0-X7*/       "","","","","","","","",
0413         /*Y0-Y7*/       "","","","","","","","",
0414         /*Z0-Z7*/       "presence-ps1","","presence-ps0","","","","","",
0415         /*AA0-AA7*/     "led-front-fault","power-button","led-front-id","","","","","",
0416         /*AB0-AB7*/     "","","","","","","","",
0417         /*AC0-AC7*/     "","","","","","","","";
0418 };
0419 
0420 &fmc {
0421         status = "okay";
0422         flash@0 {
0423                 status = "okay";
0424                 label = "bmc";
0425                 m25p,fast-read;
0426                 spi-max-frequency = <50000000>;
0427                 partitions {
0428                         #address-cells = < 1 >;
0429                         #size-cells = < 1 >;
0430                         compatible = "fixed-partitions";
0431                         u-boot@0 {
0432                                 reg = < 0 0x60000 >;
0433                                 label = "u-boot";
0434                         };
0435                         u-boot-env@60000 {
0436                                 reg = < 0x60000 0x20000 >;
0437                                 label = "u-boot-env";
0438                         };
0439                         obmc-ubi@80000 {
0440                                 reg = < 0x80000 0x1F80000 >;
0441                                 label = "obmc-ubi";
0442                         };
0443                 };
0444         };
0445         flash@1 {
0446                 status = "okay";
0447                 label = "alt-bmc";
0448                 m25p,fast-read;
0449                 spi-max-frequency = <50000000>;
0450                 partitions {
0451                         #address-cells = < 1 >;
0452                         #size-cells = < 1 >;
0453                         compatible = "fixed-partitions";
0454                         u-boot@0 {
0455                                 reg = < 0 0x60000 >;
0456                                 label = "alt-u-boot";
0457                         };
0458                         u-boot-env@60000 {
0459                                 reg = < 0x60000 0x20000 >;
0460                                 label = "alt-u-boot-env";
0461                         };
0462                         obmc-ubi@80000 {
0463                                 reg = < 0x80000 0x1F80000 >;
0464                                 label = "alt-obmc-ubi";
0465                         };
0466                 };
0467         };
0468 };
0469 
0470 &spi1 {
0471         status = "okay";
0472         pinctrl-names = "default";
0473         pinctrl-0 = <&pinctrl_spi1_default>;
0474 
0475         flash@0 {
0476                 status = "okay";
0477                 label = "pnor";
0478                 m25p,fast-read;
0479                 spi-max-frequency = <100000000>;
0480         };
0481 };
0482 
0483 &lpc_ctrl {
0484         status = "okay";
0485         memory-region = <&flash_memory>;
0486         flash = <&spi1>;
0487 };
0488 
0489 &uart1 {
0490         /* Rear RS-232 connector */
0491         status = "okay";
0492 
0493         pinctrl-names = "default";
0494         pinctrl-0 = <&pinctrl_txd1_default
0495                         &pinctrl_rxd1_default
0496                         &pinctrl_nrts1_default
0497                         &pinctrl_ndtr1_default
0498                         &pinctrl_ndsr1_default
0499                         &pinctrl_ncts1_default
0500                         &pinctrl_ndcd1_default
0501                         &pinctrl_nri1_default>;
0502 };
0503 
0504 &uart2 {
0505         /* APSS */
0506         status = "okay";
0507 
0508         pinctrl-names = "default";
0509         pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
0510 };
0511 
0512 &uart5 {
0513         status = "okay";
0514 };
0515 
0516 &mac0 {
0517         status = "okay";
0518 
0519         pinctrl-names = "default";
0520         pinctrl-0 = <&pinctrl_rmii1_default>;
0521         clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
0522                  <&syscon ASPEED_CLK_MAC1RCLK>;
0523         clock-names = "MACCLK", "RCLK";
0524         use-ncsi;
0525 };
0526 
0527 &mac1 {
0528         status = "okay";
0529 
0530         pinctrl-names = "default";
0531         pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
0532 };
0533 
0534 &i2c0 {
0535         status = "disabled";
0536 };
0537 
0538 &i2c1 {
0539         status = "disabled";
0540 };
0541 
0542 &i2c2 {
0543         status = "okay";
0544 
0545         /* SAMTEC P0 */
0546         /* SAMTEC P1 */
0547 
0548 };
0549 
0550 &i2c3 {
0551         status = "okay";
0552 
0553         /* APSS */
0554         /* CPLD */
0555 
0556         /* PCA9516 (repeater) ->
0557          *    CLK Buffer 9FGS9092
0558          *    CLK Buffer 9DBL0651BKILFT
0559          *    CLK Buffer 9DBL0651BKILFT
0560          *    Power Supply 0
0561          *    Power Supply 1
0562          *    PCA 9552 LED
0563          */
0564 
0565         power-supply@58 {
0566                 compatible = "ibm,cffps1";
0567                 reg = <0x58>;
0568         };
0569 
0570         power-supply@5b {
0571                 compatible = "ibm,cffps1";
0572                 reg = <0x5b>;
0573         };
0574 
0575         pca9552: pca9552@60 {
0576                 compatible = "nxp,pca9552";
0577                 reg = <0x60>;
0578                 #address-cells = <1>;
0579                 #size-cells = <0>;
0580                 gpio-controller;
0581                 #gpio-cells = <2>;
0582 
0583                 gpio@0 {
0584                         reg = <0>;
0585                         type = <PCA955X_TYPE_GPIO>;
0586                 };
0587                 gpio@1 {
0588                         reg = <1>;
0589                         type = <PCA955X_TYPE_GPIO>;
0590                 };
0591                 gpio@2 {
0592                         reg = <2>;
0593                         type = <PCA955X_TYPE_GPIO>;
0594                 };
0595                 gpio@3 {
0596                         reg = <3>;
0597                         type = <PCA955X_TYPE_GPIO>;
0598                 };
0599                 gpio@4 {
0600                         reg = <4>;
0601                         type = <PCA955X_TYPE_GPIO>;
0602                 };
0603                 gpio@5 {
0604                         reg = <5>;
0605                         type = <PCA955X_TYPE_GPIO>;
0606                 };
0607                 gpio@6 {
0608                         reg = <6>;
0609                         type = <PCA955X_TYPE_GPIO>;
0610                 };
0611                 gpio@7 {
0612                         reg = <7>;
0613                         type = <PCA955X_TYPE_GPIO>;
0614                 };
0615                 gpio@8 {
0616                         reg = <8>;
0617                         type = <PCA955X_TYPE_GPIO>;
0618                 };
0619                 gpio@9 {
0620                         reg = <9>;
0621                         type = <PCA955X_TYPE_GPIO>;
0622                 };
0623                 gpio@10 {
0624                         reg = <10>;
0625                         type = <PCA955X_TYPE_GPIO>;
0626                 };
0627                 gpio@11 {
0628                         reg = <11>;
0629                         type = <PCA955X_TYPE_GPIO>;
0630                 };
0631                 gpio@12 {
0632                         reg = <12>;
0633                         type = <PCA955X_TYPE_GPIO>;
0634                 };
0635                 gpio@13 {
0636                         reg = <13>;
0637                         type = <PCA955X_TYPE_GPIO>;
0638                 };
0639                 gpio@14 {
0640                         reg = <14>;
0641                         type = <PCA955X_TYPE_GPIO>;
0642                 };
0643                 gpio@15 {
0644                         reg = <15>;
0645                         type = <PCA955X_TYPE_GPIO>;
0646                 };
0647 
0648         };
0649 
0650 };
0651 
0652 &i2c4 {
0653         status = "okay";
0654 
0655         /* CP0 VDD & VCS : IR35221 */
0656         /* CP0 VDN : IR35221 */
0657         /* CP0 VIO : IR38064 */
0658         /* CP0 VDDR : PXM1330 */
0659 
0660         ir35221@70 {
0661                 compatible = "infineon,ir35221";
0662                 reg = <0x70>;
0663         };
0664 
0665         ir35221@72 {
0666                 compatible = "infineon,ir35221";
0667                 reg = <0x72>;
0668         };
0669 
0670 };
0671 
0672 &i2c5 {
0673         status = "okay";
0674 
0675         /* CP0 VDD & VCS : IR35221 */
0676         /* CP0 VDN : IR35221 */
0677         /* CP0 VIO : IR38064 */
0678         /* CP0 VDDR : PXM1330 */
0679 
0680         ir35221@70 {
0681                 compatible = "infineon,ir35221";
0682                 reg = <0x70>;
0683         };
0684 
0685         ir35221@72 {
0686                 compatible = "infineon,ir35221";
0687                 reg = <0x72>;
0688         };
0689 
0690 };
0691 
0692 &i2c6 {
0693         status = "okay";
0694 
0695         /* pca9548 -> NVMe1 to 8 */
0696 
0697         pca9548@70 {
0698                 compatible = "nxp,pca9548";
0699                 #address-cells = <1>;
0700                 #size-cells = <0>;
0701                 reg = <0x70>;
0702 
0703                 bus7_mux223: i2c@0 {
0704                         #address-cells = <1>;
0705                         #size-cells = <0>;
0706                         reg = <0>;
0707                 };
0708 
0709                 bus7_mux224: i2c@1 {
0710                         #address-cells = <1>;
0711                         #size-cells = <0>;
0712                         reg = <1>;
0713                 };
0714 
0715                 bus7_mux225: i2c@2 {
0716                         #address-cells = <1>;
0717                         #size-cells = <0>;
0718                         reg = <2>;
0719                 };
0720 
0721                 bus7_mux226: i2c@3 {
0722                         #address-cells = <1>;
0723                         #size-cells = <0>;
0724                         reg = <3>;
0725                 };
0726 
0727                 bus7_mux227: i2c@4 {
0728                         #address-cells = <1>;
0729                         #size-cells = <0>;
0730                         reg = <4>;
0731                 };
0732 
0733                 bus7_mux228: i2c@5 {
0734                         #address-cells = <1>;
0735                         #size-cells = <0>;
0736                         reg = <5>;
0737                 };
0738 
0739                 bus7_mux229: i2c@6 {
0740                         #address-cells = <1>;
0741                         #size-cells = <0>;
0742                         reg = <6>;
0743                 };
0744 
0745                 bus7_mux230: i2c@7 {
0746                         #address-cells = <1>;
0747                         #size-cells = <0>;
0748                         reg = <7>;
0749                 };
0750         };
0751 
0752 };
0753 
0754 &i2c7 {
0755         status = "okay";
0756 
0757         /* pca9548 -> NVMe9 to 16 */
0758 
0759         pca9548@70 {
0760                 compatible = "nxp,pca9548";
0761                 #address-cells = <1>;
0762                 #size-cells = <0>;
0763                 reg = <0x70>;
0764 
0765                 bus6_mux215: i2c@0 {
0766                         #address-cells = <1>;
0767                         #size-cells = <0>;
0768                         reg = <0>;
0769                 };
0770 
0771                 bus6_mux216: i2c@1 {
0772                         #address-cells = <1>;
0773                         #size-cells = <0>;
0774                         reg = <1>;
0775                 };
0776 
0777                 bus6_mux217: i2c@2 {
0778                         #address-cells = <1>;
0779                         #size-cells = <0>;
0780                         reg = <2>;
0781                 };
0782 
0783                 bus6_mux218: i2c@3 {
0784                         #address-cells = <1>;
0785                         #size-cells = <0>;
0786                         reg = <3>;
0787                 };
0788 
0789                 bus6_mux219: i2c@4 {
0790                         #address-cells = <1>;
0791                         #size-cells = <0>;
0792                         reg = <4>;
0793                 };
0794 
0795                 bus6_mux220: i2c@5 {
0796                         #address-cells = <1>;
0797                         #size-cells = <0>;
0798                         reg = <5>;
0799                 };
0800 
0801                 bus6_mux221: i2c@6 {
0802                         #address-cells = <1>;
0803                         #size-cells = <0>;
0804                         reg = <6>;
0805                 };
0806 
0807                 bus6_mux222: i2c@7 {
0808                         #address-cells = <1>;
0809                         #size-cells = <0>;
0810                         reg = <7>;
0811                 };
0812         };
0813 
0814 };
0815 
0816 &i2c8 {
0817         status = "okay";
0818 
0819         eeprom@50 {
0820                 compatible = "atmel,24c64";
0821                 reg = <0x50>;
0822         };
0823 };
0824 
0825 &i2c9 {
0826         status = "okay";
0827 
0828         /* pca9545 Riser ->
0829         *       PCIe x8  Slot3
0830         *       PCIe x16 slot4
0831         *       PCIe x8  slot5
0832         *       I2C BMC RISER PCA9554
0833         *       BMC SCL/SDA PCA9554
0834         *       PCA9554
0835         */
0836 
0837         /* pca9545 ->
0838         *       PCIe x16 Slot1
0839         *       PCIe x8  slot2
0840         *       PEX8748
0841         */
0842 
0843         pca9545riser@70 {
0844                 compatible = "nxp,pca9545";
0845                 #address-cells = <1>;
0846                 #size-cells = <0>;
0847                 reg = <0x70>;
0848 
0849                 i2c-mux-idle-disconnect;
0850                 interrupt-controller;
0851                 #interrupt-cells = <2>;
0852 
0853                 bus9_mux231: i2c@0 {
0854                         #address-cells = <1>;
0855                         #size-cells = <0>;
0856                         reg = <0>;
0857 
0858                         tca9554@39 {
0859                                 compatible = "ti,tca9554";
0860                                 reg = <0x39>;
0861                                 gpio-controller;
0862                                 #gpio-cells = <2>;
0863 
0864                                 smbus0-hog {
0865                                         gpio-hog;
0866                                         gpios = <4 GPIO_ACTIVE_HIGH>;
0867                                         output-high;
0868                                         line-name = "smbus0";
0869                                 };
0870                         };
0871 
0872                         tmp431@4c {
0873                                 compatible = "ti,tmp401";
0874                                 reg = <0x4c>;
0875                         };
0876                 };
0877 
0878                 bus9_mux232: i2c@1 {
0879                         #address-cells = <1>;
0880                         #size-cells = <0>;
0881                         reg = <1>;
0882 
0883                         tca9554@39 {
0884                                 compatible = "ti,tca9554";
0885                                 reg = <0x39>;
0886                                 gpio-controller;
0887                                 #gpio-cells = <2>;
0888 
0889                                 smbus1-hog {
0890                                         gpio-hog;
0891                                         gpios = <4 GPIO_ACTIVE_HIGH>;
0892                                         output-high;
0893                                         line-name = "smbus1";
0894                                 };
0895                         };
0896 
0897                         tmp431@4c {
0898                                 compatible = "ti,tmp401";
0899                                 reg = <0x4c>;
0900                         };
0901                 };
0902 
0903                 bus9_mux233: i2c@2 {
0904                         #address-cells = <1>;
0905                         #size-cells = <0>;
0906                         reg = <2>;
0907                 };
0908 
0909                 bus9_mux234: i2c@3 {
0910                         #address-cells = <1>;
0911                         #size-cells = <0>;
0912                         reg = <3>;
0913                 };
0914         };
0915 
0916         pca9545@71 {
0917                 compatible = "nxp,pca9545";
0918                 #address-cells = <1>;
0919                 #size-cells = <0>;
0920                 reg = <0x71>;
0921 
0922                 i2c-mux-idle-disconnect;
0923                 interrupt-controller;
0924                 #interrupt-cells = <2>;
0925 
0926                 bus9_mux235: i2c@0 {
0927                         #address-cells = <1>;
0928                         #size-cells = <0>;
0929                         reg = <0>;
0930 
0931                         tca9554@39 {
0932                                 compatible = "ti,tca9554";
0933                                 reg = <0x39>;
0934                                 gpio-controller;
0935                                 #gpio-cells = <2>;
0936 
0937                                 smbus2-hog {
0938                                         gpio-hog;
0939                                         gpios = <4 GPIO_ACTIVE_HIGH>;
0940                                         output-high;
0941                                         line-name = "smbus2";
0942                                 };
0943                         };
0944 
0945                         tmp431@4c {
0946                                 compatible = "ti,tmp401";
0947                                 reg = <0x4c>;
0948                         };
0949                 };
0950 
0951                 bus9_mux236: i2c@1 {
0952                         #address-cells = <1>;
0953                         #size-cells = <0>;
0954                         reg = <1>;
0955 
0956                         tca9554@39 {
0957                                 compatible = "ti,tca9554";
0958                                 reg = <0x39>;
0959                                 gpio-controller;
0960                                 #gpio-cells = <2>;
0961 
0962                                 smbus3-hog {
0963                                         gpio-hog;
0964                                         gpios = <4 GPIO_ACTIVE_HIGH>;
0965                                         output-high;
0966                                         line-name = "smbus3";
0967                                 };
0968                         };
0969 
0970                         tmp431@4c {
0971                                 compatible = "ti,tmp401";
0972                                 reg = <0x4c>;
0973                         };
0974                 };
0975 
0976                 bus9_mux237: i2c@2 {
0977                         #address-cells = <1>;
0978                         #size-cells = <0>;
0979                         reg = <2>;
0980                 };
0981 
0982                 bus9_mux238: i2c@3 {
0983                         #address-cells = <1>;
0984                         #size-cells = <0>;
0985                         reg = <3>;
0986                 };
0987         };
0988 };
0989 
0990 &i2c10 {
0991         status = "okay";
0992 
0993         /* pca9545 Riser ->
0994         *       PCIe x8  Slot8
0995         *       PCIe x16 slot9
0996         *       PCIe x8  slot10
0997         *       I2C BMC RISER PCA9554
0998         *       BMC SCL/SDA PCA9554
0999         *       PCA9554
1000         */
1001 
1002         /* pca9545 ->
1003         *       PCIe x16 Slot1
1004         *       PCIe x8  slot2
1005         *       PEX8748
1006         */
1007 
1008         pca9545riser@70 {
1009                 compatible = "nxp,pca9545";
1010                 #address-cells = <1>;
1011                 #size-cells = <0>;
1012                 reg = <0x70>;
1013 
1014                 i2c-mux-idle-disconnect;
1015                 interrupt-controller;
1016                 #interrupt-cells = <2>;
1017 
1018                 bus10_mux239: i2c@0 {
1019                         #address-cells = <1>;
1020                         #size-cells = <0>;
1021                         reg = <0>;
1022 
1023                         tca9554@39 {
1024                                 compatible = "ti,tca9554";
1025                                 reg = <0x39>;
1026                                 gpio-controller;
1027                                 #gpio-cells = <2>;
1028 
1029                                 smbus4-hog {
1030                                         gpio-hog;
1031                                         gpios = <4 GPIO_ACTIVE_HIGH>;
1032                                         output-high;
1033                                         line-name = "smbus4";
1034                                 };
1035                         };
1036 
1037                         tmp431@4c {
1038                                 compatible = "ti,tmp401";
1039                                 reg = <0x4c>;
1040                         };
1041                 };
1042 
1043                 bus10_mux240: i2c@1 {
1044                         #address-cells = <1>;
1045                         #size-cells = <0>;
1046                         reg = <1>;
1047 
1048                         tca9554@39 {
1049                                 compatible = "ti,tca9554";
1050                                 reg = <0x39>;
1051                                 gpio-controller;
1052                                 #gpio-cells = <2>;
1053 
1054                                 smbus5-hog {
1055                                         gpio-hog;
1056                                         gpios = <4 GPIO_ACTIVE_HIGH>;
1057                                         output-high;
1058                                         line-name = "smbus5";
1059                                 };
1060                         };
1061 
1062                         tmp431@4c {
1063                                 compatible = "ti,tmp401";
1064                                 reg = <0x4c>;
1065                         };
1066                 };
1067 
1068                 bus10_mux241: i2c@2 {
1069                         #address-cells = <1>;
1070                         #size-cells = <0>;
1071                         reg = <2>;
1072                 };
1073 
1074                 bus10_mux242: i2c@3 {
1075                         #address-cells = <1>;
1076                         #size-cells = <0>;
1077                         reg = <3>;
1078                 };
1079         };
1080 
1081         pca9545@71 {
1082                 compatible = "nxp,pca9545";
1083                 #address-cells = <1>;
1084                 #size-cells = <0>;
1085                 reg = <0x71>;
1086 
1087                 i2c-mux-idle-disconnect;
1088                 interrupt-controller;
1089                 #interrupt-cells = <2>;
1090 
1091                 bus10_mux243: i2c@0 {
1092                         #address-cells = <1>;
1093                         #size-cells = <0>;
1094                         reg = <0>;
1095 
1096                         tca9554@39 {
1097                                 compatible = "ti,tca9554";
1098                                 reg = <0x39>;
1099                                 gpio-controller;
1100                                 #gpio-cells = <2>;
1101 
1102                                 smbus6-hog {
1103                                         gpio-hog;
1104                                         gpios = <4 GPIO_ACTIVE_HIGH>;
1105                                         output-high;
1106                                         line-name = "smbus6";
1107                                 };
1108                         };
1109 
1110                         tmp431@4c {
1111                                 compatible = "ti,tmp401";
1112                                 reg = <0x4c>;
1113                         };
1114                 };
1115 
1116                 bus10_mux244: i2c@1 {
1117                         #address-cells = <1>;
1118                         #size-cells = <0>;
1119                         reg = <1>;
1120 
1121                         tca9554@39 {
1122                                 compatible = "ti,tca9554";
1123                                 reg = <0x39>;
1124                                 gpio-controller;
1125                                 #gpio-cells = <2>;
1126 
1127                                 smbus7-hog {
1128                                         gpio-hog;
1129                                         gpios = <4 GPIO_ACTIVE_HIGH>;
1130                                         output-high;
1131                                         line-name = "smbus7";
1132                                 };
1133                         };
1134 
1135                         tmp431@4c {
1136                                 compatible = "ti,tmp401";
1137                                 reg = <0x4c>;
1138                         };
1139                 };
1140 
1141                 bus10_mux245: i2c@2 {
1142                         #address-cells = <1>;
1143                         #size-cells = <0>;
1144                         reg = <2>;
1145                 };
1146 
1147                 bus10_mux246: i2c@3 {
1148                         #address-cells = <1>;
1149                         #size-cells = <0>;
1150                         reg = <3>;
1151                 };
1152         };
1153 };
1154 
1155 &i2c11 {
1156         status = "okay";
1157 
1158         /* TPM */
1159         /* RTC RX8900CE */
1160         /* FPGA for power sequence */
1161         /* TMP275A */
1162         /* TMP275A */
1163         /* EMC1462 */
1164 
1165         tpm@57 {
1166                 compatible = "infineon,slb9645tt";
1167                 reg = <0x57>;
1168         };
1169 
1170         rtc@32 {
1171                 compatible = "epson,rx8900";
1172                 reg = <0x32>;
1173         };
1174 
1175         tmp275@48 {
1176                 compatible = "ti,tmp275";
1177                 reg = <0x48>;
1178         };
1179 
1180         tmp275@49 {
1181                 compatible = "ti,tmp275";
1182                 reg = <0x49>;
1183         };
1184 
1185         /* chip emc1462 use emc1403 driver */
1186         emc1403@4c {
1187                 compatible = "smsc,emc1403";
1188                 reg = <0x4c>;
1189         };
1190 
1191 };
1192 
1193 &i2c12 {
1194         status = "okay";
1195 
1196         /* pca9545 ->
1197         *       SAS BP1
1198         *       SAS BP2
1199         *       NVMe BP
1200         *       M.2 riser
1201         */
1202 
1203         pca9545@70 {
1204                 compatible = "nxp,pca9545";
1205                 #address-cells = <1>;
1206                 #size-cells = <0>;
1207                 reg = <0x70>;
1208 
1209                 interrupt-controller;
1210                 #interrupt-cells = <2>;
1211 
1212                 bus12_mux247: i2c@0 {
1213                         #address-cells = <1>;
1214                         #size-cells = <0>;
1215                         reg = <0>;
1216 
1217                         eeprom@50 {
1218                                 compatible = "atmel,24c64";
1219                                 reg = <0x50>;
1220                         };
1221                 };
1222 
1223                 bus12_mux248: i2c@1 {
1224                         #address-cells = <1>;
1225                         #size-cells = <0>;
1226                         reg = <1>;
1227 
1228                         eeprom@50 {
1229                                 compatible = "atmel,24c64";
1230                                 reg = <0x50>;
1231                         };
1232                 };
1233 
1234                 bus12_mux249: i2c@2 {
1235                         #address-cells = <1>;
1236                         #size-cells = <0>;
1237                         reg = <2>;
1238 
1239                         eeprom@50 {
1240                                 compatible = "atmel,24c64";
1241                                 reg = <0x50>;
1242                         };
1243                 };
1244 
1245                 bus12_mux250: i2c@3 {
1246                         #address-cells = <1>;
1247                         #size-cells = <0>;
1248                         reg = <3>;
1249 
1250                         tmp275@48 {
1251                                 compatible = "ti,tmp275";
1252                                 reg = <0x48>;
1253                         };
1254                 };
1255 
1256         };
1257 
1258 };
1259 
1260 &i2c13 {
1261         status = "okay";
1262 
1263         /* pca9548 ->
1264         *       NVMe BP
1265         *       NVMe HDD17 to 24
1266         */
1267 
1268         pca9548@70 {
1269                 compatible = "nxp,pca9548";
1270                 #address-cells = <1>;
1271                 #size-cells = <0>;
1272                 reg = <0x70>;
1273                 bus13_mux251: i2c@0 {
1274                         #address-cells = <1>;
1275                         #size-cells = <0>;
1276                         reg = <0>;
1277                 };
1278 
1279                 bus13_mux252: i2c@1 {
1280                         #address-cells = <1>;
1281                         #size-cells = <0>;
1282                         reg = <1>;
1283                 };
1284 
1285                 bus13_mux253: i2c@2 {
1286                         #address-cells = <1>;
1287                         #size-cells = <0>;
1288                         reg = <2>;
1289                 };
1290 
1291                 bus13_mux254: i2c@3 {
1292                         #address-cells = <1>;
1293                         #size-cells = <0>;
1294                         reg = <3>;
1295                 };
1296 
1297                 bus13_mux255: i2c@4 {
1298                         #address-cells = <1>;
1299                         #size-cells = <0>;
1300                         reg = <4>;
1301                 };
1302 
1303                 bus13_mux256: i2c@5 {
1304                         #address-cells = <1>;
1305                         #size-cells = <0>;
1306                         reg = <5>;
1307                 };
1308 
1309                 bus13_mux257: i2c@6 {
1310                         #address-cells = <1>;
1311                         #size-cells = <0>;
1312                         reg = <6>;
1313                 };
1314 
1315                 bus13_mux258: i2c@7 {
1316                         #address-cells = <1>;
1317                         #size-cells = <0>;
1318                         reg = <7>;
1319                 };
1320         };
1321 };
1322 
1323 &vuart {
1324         status = "okay";
1325 };
1326 
1327 &gfx {
1328         status = "okay";
1329         memory-region = <&gfx_memory>;
1330 };
1331 
1332 &adc {
1333         status = "okay";
1334         pinctrl-names = "default";
1335         pinctrl-0 = <&pinctrl_adc0_default
1336                         &pinctrl_adc1_default
1337                         &pinctrl_adc2_default
1338                         &pinctrl_adc3_default
1339                         &pinctrl_adc4_default
1340                         &pinctrl_adc5_default
1341                         &pinctrl_adc6_default
1342                         &pinctrl_adc7_default
1343                         &pinctrl_adc8_default
1344                         &pinctrl_adc9_default
1345                         &pinctrl_adc10_default
1346                         &pinctrl_adc11_default
1347                         &pinctrl_adc12_default
1348                         &pinctrl_adc13_default
1349                         &pinctrl_adc14_default
1350                         &pinctrl_adc15_default>;
1351 };
1352 
1353 &wdt1 {
1354         aspeed,reset-type = "none";
1355         aspeed,external-signal;
1356         aspeed,ext-push-pull;
1357         aspeed,ext-active-high;
1358 
1359         pinctrl-names = "default";
1360         pinctrl-0 = <&pinctrl_wdtrst1_default>;
1361 };
1362 
1363 &wdt2 {
1364         aspeed,alt-boot;
1365 };
1366 
1367 &ibt {
1368         status = "okay";
1369 };
1370 
1371 &vhub {
1372         status = "okay";
1373 };
1374 
1375 &video {
1376         status = "okay";
1377         memory-region = <&video_engine_memory>;
1378 };
1379 
1380 #include "ibm-power9-dual.dtsi"
1381