Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 // Copyright (c) 2020 Quanta Computer Inc. George.Hung@quantatw.com
0003 
0004 /dts-v1/;
0005 #include "nuvoton-npcm730.dtsi"
0006 #include <dt-bindings/gpio/gpio.h>
0007 
0008 / {
0009         model = "Quanta GBS Board (Device Tree)";
0010         compatible = "quanta,gbs-bmc","nuvoton,npcm730";
0011 
0012         aliases {
0013                 ethernet1 = &gmac0;
0014                 serial0 = &serial0;
0015                 serial1 = &serial1;
0016                 serial2 = &serial2;
0017                 serial3 = &serial3;
0018                 i2c0 = &i2c0;
0019                 i2c1 = &i2c1;
0020                 i2c2 = &i2c2;
0021                 i2c3 = &i2c3;
0022                 i2c4 = &i2c4;
0023                 i2c5 = &i2c5;
0024                 i2c6 = &i2c6;
0025                 i2c7 = &i2c7;
0026                 i2c8 = &i2c8;
0027                 i2c9 = &i2c9;
0028                 i2c10 = &i2c10;
0029                 i2c11 = &i2c11;
0030                 i2c12 = &i2c12;
0031                 i2c13 = &i2c13;
0032                 i2c14 = &i2c14;
0033                 i2c15 = &i2c15;
0034                 i2c16 = &i2c0_slotPE0_0;
0035                 i2c17 = &i2c0_slotPE1_1;
0036                 i2c18 = &i2c0_slotUSB_2;
0037                 i2c19 = &i2c0_3;
0038                 i2c20 = &i2c5_i2cool_0;
0039                 i2c21 = &i2c5_i2cool_1;
0040                 i2c22 = &i2c5_i2cool_2;
0041                 i2c23 = &i2c5_hsbp_fru_3;
0042                 i2c24 = &i2c6_u2_15_0;
0043                 i2c25 = &i2c6_u2_14_1;
0044                 i2c26 = &i2c6_u2_13_2;
0045                 i2c27 = &i2c6_u2_12_3;
0046                 i2c28 = &i2c7_u2_11_0;
0047                 i2c29 = &i2c7_u2_10_1;
0048                 i2c30 = &i2c7_u2_9_2;
0049                 i2c31 = &i2c7_u2_8_3;
0050                 i2c32 = &i2c9_vddcr_cpu;
0051                 i2c33 = &i2c9_vddcr_soc;
0052                 i2c34 = &i2c9_vddio_efgh;
0053                 i2c35 = &i2c9_vddio_abcd;
0054                 i2c36 = &i2c10_u2_7_0;
0055                 i2c37 = &i2c10_u2_6_1;
0056                 i2c38 = &i2c10_u2_5_2;
0057                 i2c39 = &i2c10_u2_4_3;
0058                 i2c40 = &i2c11_clk_buf0_0;
0059                 i2c41 = &i2c11_clk_buf1_1;
0060                 i2c42 = &i2c11_clk_buf2_2;
0061                 i2c43 = &i2c11_clk_buf3_3;
0062                 i2c44 = &i2c14_u2_3_0;
0063                 i2c45 = &i2c14_u2_2_1;
0064                 i2c46 = &i2c14_u2_1_2;
0065                 i2c47 = &i2c14_u2_0_3;
0066                 fiu0 = &fiu0;
0067                 fiu1 = &fiu3;
0068         };
0069 
0070         chosen {
0071                 stdout-path = &serial0;
0072         };
0073 
0074         memory {
0075                 reg = <0 0x40000000>;
0076         };
0077 
0078         gpio-keys {
0079                 compatible = "gpio-keys";
0080                 sas-cable0 {
0081                         label = "sas-cable0";
0082                         gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
0083                         linux,code = <73>;
0084                 };
0085 
0086                 sas-cable1 {
0087                         label = "sas-cable1";
0088                         gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
0089                         linux,code = <72>;
0090                 };
0091 
0092                 sas-cable2 {
0093                         label = "sas-cable2";
0094                         gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
0095                         linux,code = <71>;
0096                 };
0097 
0098                 sas-cable3 {
0099                         label = "sas-cable3";
0100                         gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
0101                         linux,code = <70>;
0102                 };
0103 
0104                 sata0 {
0105                         label = "sata0";
0106                         gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
0107                         linux,code = <5>;
0108                 };
0109 
0110                 hsbp-cable {
0111                         label = "hsbp-cable";
0112                         gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
0113                         linux,code = <57>;
0114                 };
0115 
0116                 fanbd-cable {
0117                         label = "fanbd-cable";
0118                         gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
0119                         linux,code = <58>;
0120                 };
0121 
0122                 bp12v-cable {
0123                         label = "bp12v-cable";
0124                         gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
0125                         linux,code = <69>;
0126                 };
0127 
0128                 pe-slot0 {
0129                         label = "pe-slot0";
0130                         gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
0131                         linux,code = <120>;
0132                 };
0133 
0134                 pe-slot1 {
0135                         label = "pe-slot1";
0136                         gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
0137                         linux,code = <121>;
0138                 };
0139         };
0140 
0141         iio-hwmon {
0142                 compatible = "iio-hwmon";
0143                 io-channels = <&adc 1>, <&adc 2>;
0144         };
0145 
0146         iio-hwmon-battery {
0147                 compatible = "iio-hwmon";
0148                 io-channels = <&adc 0>;
0149         };
0150 
0151         leds {
0152                 compatible = "gpio-leds";
0153 
0154                 heartbeat { /* gpio153 */
0155                         gpios = <&gpio4 25 GPIO_ACTIVE_LOW>;
0156                         linux,default-trigger = "heartbeat";
0157                 };
0158 
0159                 attention { /* gpio215 */
0160                         gpios = <&gpio6 23 GPIO_ACTIVE_HIGH>;
0161                         default-state = "off";
0162                 };
0163 
0164                 sys_boot_status { /* gpio216 */
0165                         gpios = <&gpio6 24 GPIO_ACTIVE_HIGH>;
0166                         default-state = "keep";
0167                         retain-state-shutdown;
0168                 };
0169 
0170                 bmc_fault { /* gpio217 */
0171                         gpios = <&gpio6 25 GPIO_ACTIVE_HIGH>;
0172                         default-state = "off";
0173                         linux,default-trigger = "panic";
0174                         panic-indicator;
0175                 };
0176 
0177                 led_u2_0_locate {
0178                         gpios = <&pca9535_ledlocate 3 GPIO_ACTIVE_LOW>;
0179                         default-state = "off";
0180                 };
0181 
0182                 led_u2_1_locate {
0183                         gpios = <&pca9535_ledlocate 2 GPIO_ACTIVE_LOW>;
0184                         default-state = "off";
0185                 };
0186 
0187                 led_u2_2_locate {
0188                         gpios = <&pca9535_ledlocate 1 GPIO_ACTIVE_LOW>;
0189                         default-state = "off";
0190                 };
0191 
0192                 led_u2_3_locate {
0193                         gpios = <&pca9535_ledlocate 0 GPIO_ACTIVE_LOW>;
0194                         default-state = "off";
0195                 };
0196 
0197                 led_u2_4_locate {
0198                         gpios = <&pca9535_ledlocate 7 GPIO_ACTIVE_LOW>;
0199                         default-state = "off";
0200                 };
0201 
0202                 led_u2_5_locate {
0203                         gpios = <&pca9535_ledlocate 6 GPIO_ACTIVE_LOW>;
0204                         default-state = "off";
0205                 };
0206 
0207                 led_u2_6_locate {
0208                         gpios = <&pca9535_ledlocate 5 GPIO_ACTIVE_LOW>;
0209                         default-state = "off";
0210                 };
0211 
0212                 led_u2_7_locate {
0213                         gpios = <&pca9535_ledlocate 4 GPIO_ACTIVE_LOW>;
0214                         default-state = "off";
0215                 };
0216 
0217                 led_u2_8_locate {
0218                         gpios = <&pca9535_ledlocate 11 GPIO_ACTIVE_LOW>;
0219                         default-state = "off";
0220                 };
0221 
0222                 led_u2_9_locate {
0223                         gpios = <&pca9535_ledlocate 10 GPIO_ACTIVE_LOW>;
0224                         default-state = "off";
0225                 };
0226 
0227                 led_u2_10_locate {
0228                         gpios = <&pca9535_ledlocate 9 GPIO_ACTIVE_LOW>;
0229                         default-state = "off";
0230                 };
0231 
0232                 led_u2_11_locate {
0233                         gpios = <&pca9535_ledlocate 8 GPIO_ACTIVE_LOW>;
0234                         default-state = "off";
0235                 };
0236 
0237                 led_u2_12_locate {
0238                         gpios = <&pca9535_ledlocate 15 GPIO_ACTIVE_LOW>;
0239                         default-state = "off";
0240                 };
0241 
0242                 led_u2_13_locate {
0243                         gpios = <&pca9535_ledlocate 14 GPIO_ACTIVE_LOW>;
0244                         default-state = "off";
0245                 };
0246 
0247                 led_u2_14_locate {
0248                         gpios = <&pca9535_ledlocate 13 GPIO_ACTIVE_LOW>;
0249                         default-state = "off";
0250                 };
0251 
0252                 led_u2_15_locate {
0253                         gpios = <&pca9535_ledlocate 12 GPIO_ACTIVE_LOW>;
0254                         default-state = "off";
0255                 };
0256 
0257                 led_u2_0_fault {
0258                         gpios = <&pca9535_ledfault 3 GPIO_ACTIVE_LOW>;
0259                         default-state = "off";
0260                 };
0261 
0262                 led_u2_1_fault {
0263                         gpios = <&pca9535_ledfault 2 GPIO_ACTIVE_LOW>;
0264                         default-state = "off";
0265                 };
0266 
0267                 led_u2_2_fault {
0268                         gpios = <&pca9535_ledfault 1 GPIO_ACTIVE_LOW>;
0269                         default-state = "off";
0270                 };
0271 
0272                 led_u2_3_fault {
0273                         gpios = <&pca9535_ledfault 0 GPIO_ACTIVE_LOW>;
0274                         default-state = "off";
0275                 };
0276 
0277                 led_u2_4_fault {
0278                         gpios = <&pca9535_ledfault 7 GPIO_ACTIVE_LOW>;
0279                         default-state = "off";
0280                 };
0281 
0282                 led_u2_5_fault {
0283                         gpios = <&pca9535_ledfault 6 GPIO_ACTIVE_LOW>;
0284                         default-state = "off";
0285                 };
0286 
0287                 led_u2_6_fault {
0288                         gpios = <&pca9535_ledfault 5 GPIO_ACTIVE_LOW>;
0289                         default-state = "off";
0290                 };
0291 
0292                 led_u2_7_fault {
0293                         gpios = <&pca9535_ledfault 4 GPIO_ACTIVE_LOW>;
0294                         default-state = "off";
0295                 };
0296 
0297                 led_u2_8_fault {
0298                         gpios = <&pca9535_ledfault 11 GPIO_ACTIVE_LOW>;
0299                         default-state = "off";
0300                 };
0301 
0302                 led_u2_9_fault {
0303                         gpios = <&pca9535_ledfault 10 GPIO_ACTIVE_LOW>;
0304                         default-state = "off";
0305                 };
0306 
0307                 led_u2_10_fault {
0308                         gpios = <&pca9535_ledfault 9 GPIO_ACTIVE_LOW>;
0309                         default-state = "off";
0310                 };
0311 
0312                 led_u2_11_fault {
0313                         gpios = <&pca9535_ledfault 8 GPIO_ACTIVE_LOW>;
0314                         default-state = "off";
0315                 };
0316 
0317                 led_u2_12_fault {
0318                         gpios = <&pca9535_ledfault 15 GPIO_ACTIVE_LOW>;
0319                         default-state = "off";
0320                 };
0321 
0322                 led_u2_13_fault {
0323                         gpios = <&pca9535_ledfault 14 GPIO_ACTIVE_LOW>;
0324                         default-state = "off";
0325                 };
0326 
0327                 led_u2_14_fault {
0328                         gpios = <&pca9535_ledfault 13 GPIO_ACTIVE_LOW>;
0329                         default-state = "off";
0330                 };
0331 
0332                 led_u2_15_fault {
0333                         gpios = <&pca9535_ledfault 12 GPIO_ACTIVE_LOW>;
0334                         default-state = "off";
0335                 };
0336 
0337         };
0338 
0339         seven-seg-disp {
0340                 compatible = "seven-seg-gpio-dev";
0341                 refresh-interval-ms = /bits/ 16 <600>;
0342                 clock-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
0343                 data-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
0344                 clear-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
0345         };
0346 
0347         pcie-slot {
0348                 pcie1: pcie-slot@1 {
0349                         label = "PE0";
0350                 };
0351                 pcie2: pcie-slot@2 {
0352                         label = "PE1";
0353                 };
0354         };
0355 };
0356 
0357 &fiu0 {
0358         pinctrl-names = "default";
0359         pinctrl-0 = <&spi0cs1_pins>;
0360         status = "okay";
0361         flash@0 {
0362                 compatible = "jedec,spi-nor";
0363                 #address-cells = <1>;
0364                 #size-cells = <1>;
0365                 reg = <0>;
0366                 spi-max-frequency = <20000000>;
0367                 spi-rx-bus-width = <2>;
0368                 label = "bmc";
0369                 partitions@80000000 {
0370                         compatible = "fixed-partitions";
0371                         #address-cells = <1>;
0372                         #size-cells = <1>;
0373                         u-boot@0 {
0374                                 label = "u-boot";
0375                                 reg = <0x0000000 0xf0000>;
0376                         };
0377                         image-descriptor@f0000 {
0378                                 label = "image-descriptor";
0379                                 reg = <0xf0000 0x10000>;
0380                         };
0381                         hoth-update@100000 {
0382                                 label = "hoth-update";
0383                                 reg = <0x100000 0x100000>;
0384                         };
0385                         kernel@200000 {
0386                                 label = "kernel";
0387                                 reg = <0x200000 0x500000>;
0388                         };
0389                         rofs@700000 {
0390                                 label = "rofs";
0391                                 reg = <0x700000 0x35f0000>;
0392                         };
0393                         rwfs@3cf0000 {
0394                                 label = "rwfs";
0395                                 reg = <0x3cf0000 0x300000>;
0396                         };
0397                         hoth-mailbox@3ff0000 {
0398                                 label = "hoth-mailbox";
0399                                 reg = <0x3ff0000 0x10000>;
0400                         };
0401                 };
0402         };
0403 };
0404 
0405 &fiu3 {
0406         pinctrl-0 = <&spi3_pins>, <&spi3cs1_pins>;
0407         status = "okay";
0408 
0409         flash@0 {
0410                 compatible = "jedec,spi-nor";
0411                 #address-cells = <1>;
0412                 #size-cells = <1>;
0413                 reg = <0>;
0414                 spi-max-frequency = <50000000>;
0415                 spi-rx-bus-width = <2>;
0416                 m25p,fast-read;
0417                 label = "pnor";
0418         };
0419         flash@1 {
0420                 compatible = "jedec,spi-nor";
0421                 #address-cells = <1>;
0422                 #size-cells = <1>;
0423                 reg = <1>;
0424                 spi-max-frequency = <50000000>;
0425                 spi-rx-bus-width = <2>;
0426                 m25p,fast-read;
0427         };
0428 };
0429 
0430 &gcr {
0431         serial_port_mux: uart-mux-controller {
0432                 compatible = "mmio-mux";
0433                 #mux-control-cells = <1>;
0434                 mux-reg-masks = <0x38 0x07>;
0435                 idle-states = <2>; /* Serial port mode 3 (takeover) */
0436         };
0437 
0438         uart1_mode_mux: uart1-mode-mux-controller {
0439                 compatible = "mmio-mux";
0440                 #mux-control-cells = <1>;
0441                 mux-reg-masks = <0x64 0x01000000>;
0442                 idle-states = <0>; /* Set UART1 mode to normal (follow SPMOD) */
0443         };
0444 };
0445 
0446 &gmac0 {
0447         status = "okay";
0448         phy-mode = "rgmii-id";
0449         snps,eee-force-disable;
0450 };
0451 
0452 &ehci1 {
0453         status = "okay";
0454 };
0455 
0456 &watchdog1 {
0457         status = "okay";
0458 };
0459 
0460 &rng {
0461         status = "okay";
0462 };
0463 
0464 &serial0 {
0465         status = "okay";
0466 };
0467 
0468 &serial1 {
0469         status = "okay";
0470 };
0471 
0472 &serial2 {
0473         status = "okay";
0474 };
0475 
0476 &serial3 {
0477         status = "okay";
0478 };
0479 
0480 &adc {
0481         #io-channel-cells = <1>;
0482         status = "okay";
0483 };
0484 
0485 &lpc_kcs {
0486         kcs1: kcs1@0 {
0487                 status = "okay";
0488         };
0489 
0490         kcs2: kcs2@0 {
0491                 status = "okay";
0492         };
0493 
0494         kcs3: kcs3@0 {
0495                 status = "okay";
0496         };
0497 };
0498 
0499 &spi1 {
0500         cs-gpios = <&gpio4 19 GPIO_ACTIVE_HIGH>; /* dummy - gpio147 */
0501         pinctrl-names = "default";
0502         pinctrl-0 = <&gpio224ol_pins &gpio227o_pins
0503                         &gpio228_pins>;
0504         status = "okay";
0505 
0506         jtag_master@0 {
0507                 compatible = "nuvoton,npcm750-jtag-master";
0508                 spi-max-frequency = <25000000>;
0509                 reg = <0>;
0510                 status = "okay";
0511 
0512                 pinctrl-names = "pspi", "gpio";
0513                 pinctrl-0 = <&pspi2_pins>;
0514                 pinctrl-1 = <&gpio224ol_pins &gpio227o_pins
0515                                 &gpio228_pins>;
0516 
0517                 tck-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
0518                 tdi-gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>;
0519                 tdo-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
0520                 tms-gpios = <&gpio7 6 GPIO_ACTIVE_HIGH>;
0521         };
0522 };
0523 
0524 &i2c0 {
0525         clock-frequency = <100000>;
0526         status = "okay";
0527 
0528         i2c-switch@71 {
0529                 compatible = "nxp,pca9546";
0530                 #address-cells = <1>;
0531                 #size-cells = <0>;
0532                 reg = <0x71>;
0533                 i2c-mux-idle-disconnect;
0534                 reset-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
0535 
0536                 i2c0_slotPE0_0: i2c@0 {
0537                         #address-cells = <1>;
0538                         #size-cells = <0>;
0539                         reg = <0>;
0540                         pcie-slot = &pcie1;
0541                 };
0542 
0543                 i2c0_slotPE1_1: i2c@1 {
0544                         #address-cells = <1>;
0545                         #size-cells = <0>;
0546                         reg = <1>;
0547                         pcie-slot = &pcie2;
0548                 };
0549 
0550                 i2c0_slotUSB_2: i2c@2 {
0551                         #address-cells = <1>;
0552                         #size-cells = <0>;
0553                         reg = <2>;
0554                 };
0555 
0556                 i2c0_3: i2c@3 {
0557                         #address-cells = <1>;
0558                         #size-cells = <0>;
0559                         reg = <3>;
0560                 };
0561         };
0562 };
0563 
0564 &i2c1 {
0565         clock-frequency = <100000>;
0566         status = "okay";
0567 
0568         pca9535_ifdet: pca9535-ifdet@24 {
0569                 compatible = "nxp,pca9535";
0570                 reg = <0x24>;
0571                 gpio-controller;
0572                 #gpio-cells = <2>;
0573         };
0574 
0575         pca9535_pwren: pca9535-pwren@20 {
0576                 compatible = "nxp,pca9535";
0577                 reg = <0x20>;
0578                 gpio-controller;
0579                 #gpio-cells = <2>;
0580 
0581                 gpio-line-names =
0582                         "pwr_u2_3_en","pwr_u2_2_en",
0583                         "pwr_u2_1_en","pwr_u2_0_en",
0584                         "pwr_u2_7_en","pwr_u2_6_en",
0585                         "pwr_u2_5_en","pwr_u2_4_en",
0586                         "pwr_u2_11_en","pwr_u2_10_en",
0587                         "pwr_u2_9_en","pwr_u2_8_en",
0588                         "pwr_u2_15_en","pwr_u2_14_en",
0589                         "pwr_u2_13_en","pwr_u2_12_en";
0590         };
0591 
0592         pca9535_pwrgd: pca9535-pwrgd@21 {
0593                 compatible = "nxp,pca9535";
0594                 reg = <0x21>;
0595                 gpio-controller;
0596                 #gpio-cells = <2>;
0597         };
0598 
0599         pca9535_ledlocate: pca9535-ledlocate@22 {
0600                 compatible = "nxp,pca9535";
0601                 reg = <0x22>;
0602                 gpio-controller;
0603                 #gpio-cells = <2>;
0604 
0605         };
0606 
0607         pca9535_ledfault: pca9535-ledfault@23 {
0608                 compatible = "nxp,pca9535";
0609                 reg = <0x23>;
0610                 gpio-controller;
0611                 #gpio-cells = <2>;
0612 
0613         };
0614 
0615         pca9535_pwrdisable: pca9535-pwrdisable@25 {
0616                 compatible = "nxp,pca9535";
0617                 reg = <0x25>;
0618                 gpio-controller;
0619                 #gpio-cells = <2>;
0620 
0621                 gpio-line-names =
0622                         "u2_3_pwr_dis","u2_2_pwr_dis",
0623                         "u2_1_pwr_dis","u2_0_pwr_dis",
0624                         "u2_7_pwr_dis","u2_6_pwr_dis",
0625                         "u2_5_pwr_dis","u2_4_pwr_dis",
0626                         "u2_11_pwr_dis","u2_10_pwr_dis",
0627                         "u2_9_pwr_dis","u2_8_pwr_dis",
0628                         "u2_15_pwr_dis","u2_14_pwr_dis",
0629                         "u2_13_pwr_dis","u2_12_pwr_dis";
0630         };
0631 
0632         pca9535_perst: pca9535-perst@26 {
0633                 compatible = "nxp,pca9535";
0634                 reg = <0x26>;
0635                 gpio-controller;
0636                 #gpio-cells = <2>;
0637 
0638                 gpio-line-names =
0639                         "u2_15_perst","u2_14_perst",
0640                         "u2_13_perst","u2_12_perst",
0641                         "u2_11_perst","u2_10_perst",
0642                         "u2_9_perst","u2_8_perst",
0643                         "u2_7_perst","u2_6_perst",
0644                         "u2_5_perst","u2_4_perst",
0645                         "u2_3_perst","u2_2_perst",
0646                         "u2_1_perst","u2_0_perst";
0647         };
0648 };
0649 
0650 &i2c2 {
0651         clock-frequency = <100000>;
0652         status = "okay";
0653 
0654         sbtsi@4c {
0655                 compatible = "amd,sbtsi";
0656                 reg = <0x4c>;
0657         };
0658 };
0659 
0660 &i2c5 {
0661         clock-frequency = <100000>;
0662         status = "okay";
0663 
0664         mb_fru@50 {
0665                 compatible = "atmel,24c64";
0666                 reg = <0x50>;
0667         };
0668 
0669         i2c-switch@71 {
0670                 compatible = "nxp,pca9546";
0671                 #address-cells = <1>;
0672                 #size-cells = <0>;
0673                 reg = <0x71>;
0674                 i2c-mux-idle-disconnect;
0675 
0676                 i2c5_i2cool_0: i2c@0 {
0677                         #address-cells = <1>;
0678                         #size-cells = <0>;
0679                         reg = <0>;
0680                         max31725@54 {
0681                                 compatible = "maxim,max31725";
0682                                 reg = <0x54>;
0683                                 status = "okay";
0684                         };
0685                 };
0686 
0687                 i2c5_i2cool_1: i2c@1 {
0688                         #address-cells = <1>;
0689                         #size-cells = <0>;
0690                         reg = <1>;
0691                         max31725@55 {
0692                                 compatible = "maxim,max31725";
0693                                 reg = <0x55>;
0694                                 status = "okay";
0695                         };
0696                 };
0697 
0698                 i2c5_i2cool_2: i2c@2 {
0699                         #address-cells = <1>;
0700                         #size-cells = <0>;
0701                         reg = <2>;
0702                         max31725@5d {
0703                                 compatible = "maxim,max31725";
0704                                 reg = <0x5d>;
0705                                 status = "okay";
0706                         };
0707                         fan_fru@51 {
0708                                 compatible = "atmel,24c64";
0709                                 reg = <0x51>;
0710                         };
0711                 };
0712 
0713                 i2c5_hsbp_fru_3: i2c@3 {
0714                         #address-cells = <1>;
0715                         #size-cells = <0>;
0716                         reg = <3>;
0717                         hsbp_fru@52 {
0718                                 compatible = "atmel,24c64";
0719                                 reg = <0x52>;
0720                                 status = "okay";
0721                         };
0722                 };
0723         };
0724 };
0725 
0726 &i2c6 {
0727         clock-frequency = <100000>;
0728         status = "okay";
0729 
0730         i2c-switch@73 {
0731                 compatible = "nxp,pca9545";
0732                 #address-cells = <1>;
0733                 #size-cells = <0>;
0734                 reg = <0x73>;
0735                 i2c-mux-idle-disconnect;
0736 
0737                 i2c6_u2_15_0: i2c@0 {
0738                         #address-cells = <1>;
0739                         #size-cells = <0>;
0740                         reg = <0>;
0741                 };
0742 
0743                 i2c6_u2_14_1: i2c@1 {
0744                         #address-cells = <1>;
0745                         #size-cells = <0>;
0746                         reg = <1>;
0747                 };
0748                 i2c6_u2_13_2: i2c@2 {
0749                         #address-cells = <1>;
0750                         #size-cells = <0>;
0751                         reg = <2>;
0752                 };
0753 
0754                 i2c6_u2_12_3: i2c@3 {
0755                         #address-cells = <1>;
0756                         #size-cells = <0>;
0757                         reg = <3>;
0758                 };
0759         };
0760 };
0761 
0762 &i2c7 {
0763         clock-frequency = <100000>;
0764         status = "okay";
0765 
0766         i2c-switch@72 {
0767                 compatible = "nxp,pca9545";
0768                 #address-cells = <1>;
0769                 #size-cells = <0>;
0770                 reg = <0x72>;
0771                 i2c-mux-idle-disconnect;
0772 
0773                 i2c7_u2_11_0: i2c@0 {
0774                         #address-cells = <1>;
0775                         #size-cells = <0>;
0776                         reg = <0>;
0777                 };
0778 
0779                 i2c7_u2_10_1: i2c@1 {
0780                         #address-cells = <1>;
0781                         #size-cells = <0>;
0782                         reg = <1>;
0783                 };
0784                 i2c7_u2_9_2: i2c@2 {
0785                         #address-cells = <1>;
0786                         #size-cells = <0>;
0787                         reg = <2>;
0788                 };
0789 
0790                 i2c7_u2_8_3: i2c@3 {
0791                         #address-cells = <1>;
0792                         #size-cells = <0>;
0793                         reg = <3>;
0794                 };
0795         };
0796 };
0797 
0798 &i2c8 {
0799         clock-frequency = <100000>;
0800         status = "okay";
0801 
0802         i2c8_adm1272: adm1272@10 {
0803                 compatible = "adi,adm1272";
0804                 #address-cells = <1>;
0805                 #size-cells = <0>;
0806                 reg = <0x10>;
0807                 shunt-resistor-micro-ohms = <300>;
0808         };
0809 };
0810 
0811 &i2c9 {
0812         clock-frequency = <100000>;
0813         status = "okay";
0814 
0815         i2c-switch@71 {
0816                 compatible = "nxp,pca9546";
0817                 #address-cells = <1>;
0818                 #size-cells = <0>;
0819                 reg = <0x71>;
0820                 i2c-mux-idle-disconnect;
0821                 reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
0822 
0823                 i2c9_vddcr_cpu: i2c@0 {
0824                         #address-cells = <1>;
0825                         #size-cells = <0>;
0826                         reg = <0>;
0827                         vrm@60 {
0828                                 compatible = "isil,isl68137";
0829                                 reg = <0x60>;
0830                         };
0831                 };
0832 
0833                 i2c9_vddcr_soc: i2c@1 {
0834                         #address-cells = <1>;
0835                         #size-cells = <0>;
0836                         reg = <1>;
0837                         vrm@61 {
0838                                 compatible = "isil,isl68137";
0839                                 reg = <0x61>;
0840                         };
0841                 };
0842 
0843                 i2c9_vddio_efgh: i2c@2 {
0844                         #address-cells = <1>;
0845                         #size-cells = <0>;
0846                         reg = <2>;
0847                         vrm@63 {
0848                                 compatible = "isil,isl68137";
0849                                 reg = <0x63>;
0850                         };
0851                 };
0852 
0853                 i2c9_vddio_abcd: i2c@3 {
0854                         #address-cells = <1>;
0855                         #size-cells = <0>;
0856                         reg = <3>;
0857                         vrm@45 {
0858                                 compatible = "isil,isl68137";
0859                                 reg = <0x45>;
0860                         };
0861                 };
0862         };
0863 };
0864 
0865 &i2c10 {
0866         clock-frequency = <100000>;
0867         status = "okay";
0868 
0869         i2c-switch@71 {
0870                 compatible = "nxp,pca9545";
0871                 #address-cells = <1>;
0872                 #size-cells = <0>;
0873                 reg = <0x71>;
0874                 i2c-mux-idle-disconnect;
0875 
0876                 i2c10_u2_7_0: i2c@0 {
0877                         #address-cells = <1>;
0878                         #size-cells = <0>;
0879                         reg = <0>;
0880                 };
0881 
0882                 i2c10_u2_6_1: i2c@1 {
0883                         #address-cells = <1>;
0884                         #size-cells = <0>;
0885                         reg = <1>;
0886                 };
0887                 i2c10_u2_5_2: i2c@2 {
0888                         #address-cells = <1>;
0889                         #size-cells = <0>;
0890                         reg = <2>;
0891                 };
0892 
0893                 i2c10_u2_4_3: i2c@3 {
0894                         #address-cells = <1>;
0895                         #size-cells = <0>;
0896                         reg = <3>;
0897                 };
0898         };
0899 };
0900 
0901 &i2c11 {
0902         clock-frequency = <100000>;
0903         status = "okay";
0904 
0905         i2c-switch@76 {
0906                 compatible = "nxp,pca9545";
0907                 #address-cells = <1>;
0908                 #size-cells = <0>;
0909                 reg = <0x76>;
0910                 i2c-mux-idle-disconnect;
0911 
0912                 i2c11_clk_buf0_0: i2c@0 {
0913                         #address-cells = <1>;
0914                         #size-cells = <0>;
0915                         reg = <0>;
0916                 };
0917 
0918                 i2c11_clk_buf1_1: i2c@1 {
0919                         #address-cells = <1>;
0920                         #size-cells = <0>;
0921                         reg = <1>;
0922                 };
0923                 i2c11_clk_buf2_2: i2c@2 {
0924                         #address-cells = <1>;
0925                         #size-cells = <0>;
0926                         reg = <2>;
0927                 };
0928 
0929                 i2c11_clk_buf3_3: i2c@3 {
0930                         #address-cells = <1>;
0931                         #size-cells = <0>;
0932                         reg = <3>;
0933                 };
0934         };
0935 };
0936 
0937 &i2c12 {
0938         clock-frequency = <100000>;
0939         status = "okay";
0940 
0941         max34451@4e {
0942                 compatible = "maxim,max34451";
0943                 reg = <0x4e>;
0944         };
0945         vrm@5d {
0946                 compatible = "isil,isl68137";
0947                 reg = <0x5d>;
0948         };
0949         vrm@5e {
0950                 compatible = "isil,isl68137";
0951                 reg = <0x5e>;
0952         };
0953 };
0954 
0955 &i2c13 {
0956         clock-frequency = <100000>;
0957         status = "okay";
0958 };
0959 
0960 &i2c14 {
0961         clock-frequency = <100000>;
0962         status = "okay";
0963 
0964         i2c-switch@70 {
0965                 compatible = "nxp,pca9545";
0966                 #address-cells = <1>;
0967                 #size-cells = <0>;
0968                 reg = <0x70>;
0969                 i2c-mux-idle-disconnect;
0970 
0971                 i2c14_u2_3_0: i2c@0 {
0972                         #address-cells = <1>;
0973                         #size-cells = <0>;
0974                         reg = <0>;
0975                 };
0976 
0977                 i2c14_u2_2_1: i2c@1 {
0978                         #address-cells = <1>;
0979                         #size-cells = <0>;
0980                         reg = <1>;
0981                 };
0982 
0983                 i2c14_u2_1_2: i2c@2 {
0984                         #address-cells = <1>;
0985                         #size-cells = <0>;
0986                         reg = <2>;
0987                 };
0988 
0989                 i2c14_u2_0_3: i2c@3 {
0990                         #address-cells = <1>;
0991                         #size-cells = <0>;
0992                         reg = <3>;
0993                 };
0994         };
0995 };
0996 
0997 &pwm_fan {
0998         pinctrl-names = "default";
0999         pinctrl-0 = <
1000                 &pwm0_pins &pwm1_pins
1001                 &pwm2_pins &pwm3_pins
1002                 &pwm4_pins
1003                 &fanin0_pins &fanin1_pins
1004                 &fanin2_pins &fanin3_pins
1005                 &fanin4_pins
1006         >;
1007         status = "okay";
1008 
1009         fan@0 {
1010                 reg = <0x00>;
1011                 fan-tach-ch = /bits/ 8 <0x00>;
1012         };
1013         fan@1 {
1014                 reg = <0x01>;
1015                 fan-tach-ch = /bits/ 8 <0x01>;
1016         };
1017         fan@2 {
1018                 reg = <0x02>;
1019                 fan-tach-ch = /bits/ 8 <0x02>;
1020         };
1021         fan@3 {
1022                 reg = <0x04>;
1023                 fan-tach-ch = /bits/ 8 <0x04>;
1024         };
1025         fan@4 {
1026                 reg = <0x03>;
1027                 fan-tach-ch = /bits/ 8 <0x03>;
1028         };
1029 };
1030 
1031 &pinctrl {
1032         pinctrl-names = "default";
1033 
1034         gpio0: gpio@f0010000 {
1035                 /* POWER_OUT=gpio07, RESET_OUT=gpio06, PS_PWROK=gpio13 */
1036                 gpio-line-names =
1037                 /*0-31*/
1038                 "","","","","","","RESET_OUT","POWER_OUT",
1039                 "","","","","","PS_PWROK","","",
1040                 "","","","","","","","",
1041                 "","","","","","","","";
1042         };
1043         gpio1: gpio@f0011000 {
1044                 /* SIO_POWER_GOOD=gpio59 */
1045                 gpio-line-names =
1046                 /*32-63*/
1047                 "","","","","","","","",
1048                 "","","","","","","","",
1049                 "","","","","","","","",
1050                 "","","","SIO_POWER_GOOD","","","","";
1051         };
1052         gpio2: gpio@f0012000 {
1053                 bmc_usb_mux_oe_n {
1054                         gpio-hog;
1055                         gpios = <25 GPIO_ACTIVE_HIGH>;
1056                         output-low;
1057                         line-name = "bmc-usb-mux-oe-n";
1058                 };
1059                 bmc_usb_mux_sel {
1060                         gpio-hog;
1061                         gpios = <26 GPIO_ACTIVE_HIGH>;
1062                         output-low;
1063                         line-name = "bmc-usb-mux-sel";
1064                 };
1065                 bmc_usb2517_reset_n {
1066                         gpio-hog;
1067                         gpios = <27 GPIO_ACTIVE_LOW>;
1068                         output-low;
1069                         line-name = "bmc-usb2517-reset-n";
1070                 };
1071         };
1072         gpio3: gpio@f0013000 {
1073                 assert_cpu0_reset {
1074                         gpio-hog;
1075                         gpios = <14 GPIO_ACTIVE_HIGH>;
1076                         output-low;
1077                         line-name = "assert-cpu0-reset";
1078                 };
1079                 assert_pwrok_cpu0_n {
1080                         gpio-hog;
1081                         gpios = <15 GPIO_ACTIVE_HIGH>;
1082                         output-low;
1083                         line-name = "assert-pwrok-cpu0-n";
1084                 };
1085                 assert_cpu0_prochot {
1086                         gpio-hog;
1087                         gpios = <16 GPIO_ACTIVE_HIGH>;
1088                         output-low;
1089                         line-name = "assert-cpu0-prochot";
1090                 };
1091         };
1092         gpio4: gpio@f0014000 {
1093                 /* POST_COMPLETE=gpio143 */
1094                 gpio-line-names =
1095                         /*128-159*/
1096                         "","","","","","","","",
1097                         "","","","","","","","POST_COMPLETE",
1098                         "","","","","","","","",
1099                         "","","","","","","","";
1100         };
1101         gpio5: gpio@f0015000 {
1102                 /* POWER_BUTTON=gpio177 */
1103                 gpio-line-names =
1104                         /*160-191*/
1105                         "","","","","","","","",
1106                         "","","","","","","","",
1107                         "","POWER_BUTTON","","","","","","",
1108                         "","","","","","","","";
1109         };
1110         gpio6: gpio@f0016000 {
1111                 /* SIO_S5=gpio199, RESET_BUTTON=gpio203 */
1112                 gpio-line-names =
1113                         /*192-223*/
1114                         "","","","","","","","SIO_S5",
1115                         "","","","RESET_BUTTON","","","","",
1116                         "","","","","","","","",
1117                         "","","","","","","","";
1118         };
1119 
1120         gpio224ol_pins: gpio224ol-pins {
1121                 pins = "GPIO224/SPIXCK";
1122                 bias-disable;
1123                 output-low;
1124         };
1125         gpio227o_pins: gpio227o-pins {
1126                 pins = "GPIO227/nSPIXCS0";
1127                 bias-disable;
1128                 output-high;
1129         };
1130         gpio228_pins: gpio228-pins {
1131                 pins = "GPIO228/nSPIXCS1";
1132                 bias-disable;
1133                 input-enable;
1134         };
1135 };