0001 // SPDX-License-Identifier: GPL-2.0
0002 // Copyright (c) 2019 Nuvoton Technology <kwliu@nuvoton.com>
0003 // Copyright (c) 2019 Quanta Computer Inc. <Samuel.Jiang@quantatw.com>
0004
0005 /dts-v1/;
0006 #include "nuvoton-npcm750.dtsi"
0007 #include "nuvoton-npcm750-runbmc-olympus-pincfg.dtsi"
0008
0009 #include <dt-bindings/i2c/i2c.h>
0010 #include <dt-bindings/gpio/gpio.h>
0011
0012 / {
0013 model = "Nuvoton npcm750 RunBMC Olympus";
0014 compatible = "nuvoton,npcm750";
0015
0016 aliases {
0017 ethernet1 = &gmac0;
0018 serial0 = &serial0;
0019 serial1 = &serial1;
0020 serial2 = &serial2;
0021 serial3 = &serial3;
0022 i2c0 = &i2c0;
0023 i2c1 = &i2c1;
0024 i2c2 = &i2c2;
0025 i2c3 = &i2c3;
0026 i2c4 = &i2c4;
0027 i2c5 = &i2c5;
0028 i2c6 = &i2c6;
0029 i2c7 = &i2c7;
0030 i2c8 = &i2c8;
0031 i2c9 = &i2c9;
0032 i2c10 = &i2c10;
0033 i2c11 = &i2c11;
0034 i2c12 = &i2c12;
0035 i2c13 = &i2c13;
0036 spi0 = &spi0;
0037 spi1 = &spi1;
0038 fiu0 = &fiu0;
0039 fiu1 = &fiu3;
0040 };
0041
0042 chosen {
0043 stdout-path = &serial3;
0044 };
0045
0046 memory {
0047 reg = <0 0x40000000>;
0048 };
0049
0050 iio-hwmon {
0051 compatible = "iio-hwmon";
0052 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
0053 <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
0054 };
0055
0056 leds {
0057 compatible = "gpio-leds";
0058 heartbeat {
0059 label = "heartbeat";
0060 gpios = <&gpio3 14 1>;
0061 };
0062
0063 identify {
0064 label = "identify";
0065 gpios = <&gpio3 15 1>;
0066 };
0067 };
0068
0069 jtag {
0070 compatible = "nuvoton,npcm750-jtag";
0071 enable_pspi_jtag = <1>;
0072 pspi-index = <2>;
0073 tck {
0074 label = "tck";
0075 gpios = <&gpio0 19 0>; /* gpio19 */
0076 regbase = <0xf0010000 0x1000>;
0077 };
0078
0079 tdi {
0080 label = "tdi";
0081 gpios = <&gpio0 18 0>; /* gpio18 */
0082 regbase = <0xf0010000 0x1000>;
0083 };
0084
0085 tdo {
0086 label = "tdo";
0087 gpios = <&gpio0 17 0>; /* gpio17 */
0088 regbase = <0xf0010000 0x1000>;
0089 };
0090 tms {
0091 label = "tms";
0092 gpios = <&gpio0 16 0>; /* gpio16 */
0093 regbase = <0xf0010000 0x1000>;
0094 };
0095 };
0096 };
0097
0098 &fiu0 {
0099 pinctrl-names = "default";
0100 pinctrl-0 = <&spi0cs1_pins>;
0101 status = "okay";
0102
0103 flash@0 {
0104 compatible = "jedec,spi-nor";
0105 #address-cells = <1>;
0106 #size-cells = <1>;
0107 reg = <0>;
0108 spi-rx-bus-width = <2>;
0109
0110 partitions@80000000 {
0111 compatible = "fixed-partitions";
0112 #address-cells = <1>;
0113 #size-cells = <1>;
0114 bmc@0{
0115 label = "bmc";
0116 reg = <0x000000 0x2000000>;
0117 };
0118 u-boot@0 {
0119 label = "u-boot";
0120 reg = <0x0000000 0x80000>;
0121 read-only;
0122 };
0123 u-boot-env@100000{
0124 label = "u-boot-env";
0125 reg = <0x00100000 0x40000>;
0126 };
0127 kernel@200000 {
0128 label = "kernel";
0129 reg = <0x0200000 0x600000>;
0130 };
0131 rofs@800000 {
0132 label = "rofs";
0133 reg = <0x800000 0x1500000>;
0134 };
0135 rwfs@1d00000 {
0136 label = "rwfs";
0137 reg = <0x1d00000 0x300000>;
0138 };
0139 };
0140 };
0141
0142 flash@1 {
0143 compatible = "jedec,spi-nor";
0144 #address-cells = <1>;
0145 #size-cells = <1>;
0146 reg = <1>;
0147 npcm,fiu-rx-bus-width = <2>;
0148
0149 partitions@88000000 {
0150 compatible = "fixed-partitions";
0151 #address-cells = <1>;
0152 #size-cells = <1>;
0153 spare1@0 {
0154 label = "spi0-cs1-spare1";
0155 reg = <0x0 0x800000>;
0156 };
0157 spare2@800000 {
0158 label = "spi0-cs1-spare2";
0159 reg = <0x800000 0x0>;
0160 };
0161 };
0162 };
0163 };
0164
0165 &fiu3 {
0166 pinctrl-0 = <&spi3_pins>;
0167 status = "okay";
0168
0169 flash@0 {
0170 compatible = "jedec,spi-nor";
0171 #address-cells = <1>;
0172 #size-cells = <1>;
0173 reg = <0>;
0174 spi-rx-bus-width = <2>;
0175
0176 partitions@A0000000 {
0177 compatible = "fixed-partitions";
0178 #address-cells = <1>;
0179 #size-cells = <1>;
0180 system1@0 {
0181 label = "spi3-system1";
0182 reg = <0x0 0x800000>;
0183 };
0184 system2@800000 {
0185 label = "spi3-system2";
0186 reg = <0x800000 0x0>;
0187 };
0188 };
0189 };
0190 };
0191
0192 &gcr {
0193 mux-controller {
0194 compatible = "mmio-mux";
0195 #mux-control-cells = <1>;
0196
0197 mux-reg-masks = <0x38 0x07>;
0198 idle-states = <6>;
0199 };
0200 };
0201
0202 &gmac0 {
0203 phy-mode = "rgmii-id";
0204 snps,eee-force-disable;
0205 status = "okay";
0206 };
0207
0208 &i2c1 {
0209 status = "okay";
0210
0211 i2c-switch@70 {
0212 compatible = "nxp,pca9548";
0213 #address-cells = <1>;
0214 #size-cells = <0>;
0215 reg = <0x70>;
0216 i2c-mux-idle-disconnect;
0217
0218 i2c_slot1a: i2c-bus@0 {
0219 #address-cells = <1>;
0220 #size-cells = <0>;
0221 reg = <0>;
0222 };
0223
0224 i2c_slot1b: i2c-bus@1 {
0225 #address-cells = <1>;
0226 #size-cells = <0>;
0227 reg = <1>;
0228 };
0229
0230 i2c_slot2a: i2c-bus@2 {
0231 #address-cells = <1>;
0232 #size-cells = <0>;
0233 reg = <2>;
0234 };
0235
0236 i2c_slot2b: i2c-bus@3 {
0237 #address-cells = <1>;
0238 #size-cells = <0>;
0239 reg = <3>;
0240 };
0241
0242 i2c_slot3: i2c-bus@4 {
0243 #address-cells = <1>;
0244 #size-cells = <0>;
0245 reg = <4>;
0246 };
0247
0248 i2c_slot4: i2c-bus@5 {
0249 #address-cells = <1>;
0250 #size-cells = <0>;
0251 reg = <5>;
0252 };
0253
0254 i2c_slot5: i2c-bus@6 {
0255 #address-cells = <1>;
0256 #size-cells = <0>;
0257 reg = <6>;
0258 };
0259 };
0260
0261 i2c-switch@71 {
0262 compatible = "nxp,pca9546";
0263 reg = <0x71>;
0264 #address-cells = <1>;
0265 #size-cells = <0>;
0266 i2c-mux-idle-disconnect;
0267
0268 i2c_m2_s1: i2c-bus@0 {
0269 #address-cells = <1>;
0270 #size-cells = <0>;
0271 reg = <0>;
0272 };
0273
0274 i2c_m2_s2: i2c-bus@1 {
0275 #address-cells = <1>;
0276 #size-cells = <0>;
0277 reg = <1>;
0278 };
0279 i2c_m2_s3: i2c-bus@2 {
0280 #address-cells = <1>;
0281 #size-cells = <0>;
0282 reg = <2>;
0283 };
0284
0285 i2c_m2_s4: i2c-bus@3 {
0286 #address-cells = <1>;
0287 #size-cells = <0>;
0288 reg = <3>;
0289 };
0290 };
0291 };
0292
0293 &i2c2 {
0294 status = "okay";
0295
0296 tmp421@4c {
0297 compatible = "ti,tmp421";
0298 reg = <0x4c>;
0299 };
0300
0301 power-supply@58 {
0302 compatible = "delta,dps800";
0303 reg = <0x58>;
0304 };
0305 };
0306
0307 &i2c3 {
0308 status = "okay";
0309 };
0310
0311 &i2c4 {
0312 status = "okay";
0313
0314 eeprom@54 {
0315 compatible = "atmel,24c64";
0316 reg = <0x54>;
0317 };
0318 };
0319
0320 &i2c5 {
0321 status = "okay";
0322
0323 i2c-slave-mqueue@10 {
0324 compatible = "i2c-slave-mqueue";
0325 reg = <(I2C_OWN_SLAVE_ADDRESS | 0x10)>;
0326 };
0327 };
0328
0329 &i2c6 {
0330 status = "okay";
0331
0332 ina219@40 {
0333 compatible = "ti,ina219";
0334 reg = <0x40>;
0335 };
0336 ina219@41 {
0337 compatible = "ti,ina219";
0338 reg = <0x41>;
0339 };
0340 ina219@44 {
0341 compatible = "ti,ina219";
0342 reg = <0x44>;
0343 };
0344 ina219@45 {
0345 compatible = "ti,ina219";
0346 reg = <0x45>;
0347 };
0348 tps53679@60 {
0349 compatible = "ti,tps53679";
0350 reg = <0x60>;
0351 };
0352 tps53659@62 {
0353 compatible = "ti,tps53659";
0354 reg = <0x62>;
0355 };
0356 tps53659@64 {
0357 compatible = "ti,tps53659";
0358 reg = <0x64>;
0359 };
0360 tps53622@67 {
0361 compatible = "ti,tps53622";
0362 reg = <0x67>;
0363 };
0364 tps53622@69 {
0365 compatible = "ti,tps53622";
0366 reg = <0x69>;
0367 };
0368 tps53679@70 {
0369 compatible = "ti,tps53679";
0370 reg = <0x70>;
0371 };
0372 tps53659@72 {
0373 compatible = "ti,tps53659";
0374 reg = <0x72>;
0375 };
0376 tps53659@74 {
0377 compatible = "ti,tps53659";
0378 reg = <0x74>;
0379 };
0380 tps53622@77 {
0381 compatible = "ti,tps53622";
0382 reg = <0x77>;
0383 };
0384 };
0385
0386 &i2c7 {
0387 status = "okay";
0388
0389 tmp421@4c {
0390 compatible = "ti,tmp421";
0391 reg = <0x4c>;
0392 };
0393 };
0394
0395 &i2c8 {
0396 status = "okay";
0397
0398 adm1278@11 {
0399 compatible = "adm1278";
0400 reg = <0x11>;
0401 Rsense = <500>;
0402 };
0403 };
0404
0405 &i2c9 {
0406 status = "okay";
0407 };
0408
0409 &i2c10 {
0410 status = "okay";
0411
0412 gpio: pca9555@27 {
0413 compatible = "nxp,pca9555";
0414 reg = <0x27>;
0415
0416 gpio-controller;
0417 #gpio-cells = <2>;
0418 };
0419 };
0420
0421 &i2c11 {
0422 status = "okay";
0423
0424 pca9539_g1a: pca9539-g1a@74 {
0425 compatible = "nxp,pca9539";
0426 reg = <0x74>;
0427 gpio-controller;
0428 #gpio-cells = <2>;
0429 reset-gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
0430 G1A_P0_0 {
0431 gpio-hog;
0432 gpios = <0 0>;
0433 output-high;
0434 line-name = "TPM_BMC_ALERT_N";
0435 };
0436 G1A_P0_1 {
0437 gpio-hog;
0438 gpios = <1 0>;
0439 input;
0440 line-name = "FM_BIOS_TOP_SWAP";
0441 };
0442 G1A_P0_2 {
0443 gpio-hog;
0444 gpios = <2 0>;
0445 input;
0446 line-name = "FM_BIOS_PREFRB2_GOOD";
0447 };
0448 G1A_P0_3 {
0449 gpio-hog;
0450 gpios = <3 0>;
0451 input;
0452 line-name = "BMC_SATAXPCIE_0TO3_SEL";
0453 };
0454 G1A_P0_4 {
0455 gpio-hog;
0456 gpios = <4 0>;
0457 input;
0458 line-name = "BMC_SATAXPCIE_4TO7_SEL";
0459 };
0460 G1A_P0_5 {
0461 gpio-hog;
0462 gpios = <5 0>;
0463 output-low;
0464 line-name = "FM_UV_ADR_TRIGGER_EN_N";
0465 };
0466 G1A_P0_6 {
0467 gpio-hog;
0468 gpios = <6 0>;
0469 input;
0470 line-name = "RM_THROTTLE_EN_N";
0471 };
0472 G1A_P1_0 {
0473 gpio-hog;
0474 gpios = <8 0>;
0475 input;
0476 line-name = "FM_BMC_TPM_PRES_N";
0477 };
0478 G1A_P1_1 {
0479 gpio-hog;
0480 gpios = <9 0>;
0481 input;
0482 line-name = "FM_CPU0_SKTOCC_LVT3_N";
0483 };
0484 G1A_P1_2 {
0485 gpio-hog;
0486 gpios = <10 0>;
0487 input;
0488 line-name = "FM_CPU1_SKTOCC_LVT3_N";
0489 };
0490 G1A_P1_3 {
0491 gpio-hog;
0492 gpios = <11 0>;
0493 input;
0494 line-name = "PSU1_ALERT_N";
0495 };
0496 G1A_P1_4 {
0497 gpio-hog;
0498 gpios = <12 0>;
0499 input;
0500 line-name = "PSU2_ALERT_N";
0501 };
0502 G1A_P1_5 {
0503 gpio-hog;
0504 gpios = <13 0>;
0505 input;
0506 line-name = "H_CPU0_FAST_WAKE_LVT3_N";
0507 };
0508 G1A_P1_6 {
0509 gpio-hog;
0510 gpios = <14 0>;
0511 output-high;
0512 line-name = "I2C_MUX1_RESET_N";
0513 };
0514 G1A_P1_7 {
0515 gpio-hog;
0516 gpios = <15 0>;
0517 input;
0518 line-name = "FM_CPU_CATERR_LVT3_N";
0519 };
0520 };
0521
0522 pca9539_g1b: pca9539-g1b@75 {
0523 compatible = "nxp,pca9539";
0524 reg = <0x75>;
0525 gpio-controller;
0526 #gpio-cells = <2>;
0527 G1B_P0_0 {
0528 gpio-hog;
0529 gpios = <0 0>;
0530 input;
0531 line-name = "PVDDQ_ABC_PINALERT_N";
0532 };
0533 G1B_P0_1 {
0534 gpio-hog;
0535 gpios = <1 0>;
0536 input;
0537 line-name = "PVDDQ_DEF_PINALERT_N";
0538 };
0539 G1B_P0_2 {
0540 gpio-hog;
0541 gpios = <2 0>;
0542 input;
0543 line-name = "PVDDQ_GHJ_PINALERT_N";
0544 };
0545 G1B_P0_3 {
0546 gpio-hog;
0547 gpios = <3 0>;
0548 input;
0549 line-name = "PVDDQ_KLM_PINALERT_N";
0550 };
0551 G1B_P0_5 {
0552 gpio-hog;
0553 gpios = <5 0>;
0554 input;
0555 line-name = "FM_BOARD_REV_ID0";
0556 };
0557 G1B_P0_6 {
0558 gpio-hog;
0559 gpios = <6 0>;
0560 input;
0561 line-name = "FM_BOARD_REV_ID1";
0562 };
0563 G1B_P0_7 {
0564 gpio-hog;
0565 gpios = <7 0>;
0566 input;
0567 line-name = "FM_BOARD_REV_ID2";
0568 };
0569 G1B_P1_0 {
0570 gpio-hog;
0571 gpios = <8 0>;
0572 input;
0573 line-name = "FM_OC_DETECT_EN_N";
0574 };
0575 G1B_P1_1 {
0576 gpio-hog;
0577 gpios = <9 0>;
0578 input;
0579 line-name = "FM_FLASH_DESC_OVERRIDE";
0580 };
0581 G1B_P1_2 {
0582 gpio-hog;
0583 gpios = <10 0>;
0584 output-low;
0585 line-name = "FP_PWR_ID_LED_N";
0586 };
0587 G1B_P1_3 {
0588 gpio-hog;
0589 gpios = <11 0>;
0590 output-low;
0591 line-name = "BMC_LED_PWR_GRN";
0592 };
0593 G1B_P1_4 {
0594 gpio-hog;
0595 gpios = <12 0>;
0596 output-low;
0597 line-name = "BMC_LED_PWR_AMBER";
0598 };
0599 G1B_P1_5 {
0600 gpio-hog;
0601 gpios = <13 0>;
0602 output-high;
0603 line-name = "FM_BMC_FAULT_LED_N";
0604 };
0605 G1B_P1_6 {
0606 gpio-hog;
0607 gpios = <14 0>;
0608 output-high;
0609 line-name = "FM_CPLD_BMC_PWRDN_N";
0610 };
0611 G1B_P1_7 {
0612 gpio-hog;
0613 gpios = <15 0>;
0614 output-high;
0615 line-name = "BMC_LED_CATERR_N";
0616 };
0617 };
0618 };
0619
0620 &i2c12 {
0621 status = "okay";
0622
0623 pca9539_g2a: pca9539-g2a@74 {
0624 compatible = "nxp,pca9539";
0625 reg = <0x74>;
0626 gpio-controller;
0627 #gpio-cells = <2>;
0628 reset-gpios = <&gpio5 28 GPIO_ACTIVE_LOW>;
0629 G2A_P0_0 {
0630 gpio-hog;
0631 gpios = <0 0>;
0632 output-high;
0633 line-name = "BMC_PON_RST_REQ_N";
0634 };
0635 G2A_P0_1 {
0636 gpio-hog;
0637 gpios = <1 0>;
0638 output-high;
0639 line-name = "BMC_RST_IND_REQ_N";
0640 };
0641 G2A_P0_2 {
0642 gpio-hog;
0643 gpios = <2 0>;
0644 input;
0645 line-name = "RST_BMC_RTCRST";
0646 };
0647 G2A_P0_3 {
0648 gpio-hog;
0649 gpios = <3 0>;
0650 output-high;
0651 line-name = "FM_BMC_PWRBTN_OUT_N";
0652 };
0653 G2A_P0_4 {
0654 gpio-hog;
0655 gpios = <4 0>;
0656 output-high;
0657 line-name = "RST_BMC_SYSRST_BTN_OUT_N";
0658 };
0659 G2A_P0_5 {
0660 gpio-hog;
0661 gpios = <5 0>;
0662 output-high;
0663 line-name = "FM_BATTERY_SENSE_EN_N";
0664 };
0665 G2A_P0_6 {
0666 gpio-hog;
0667 gpios = <6 0>;
0668 output-high;
0669 line-name = "FM_BMC_READY_N";
0670 };
0671 G2A_P0_7 {
0672 gpio-hog;
0673 gpios = <7 0>;
0674 input;
0675 line-name = "IRQ_BMC_PCH_SMI_LPC_N";
0676 };
0677 G2A_P1_0 {
0678 gpio-hog;
0679 gpios = <8 0>;
0680 input;
0681 line-name = "FM_SLOT4_CFG0";
0682 };
0683 G2A_P1_1 {
0684 gpio-hog;
0685 gpios = <9 0>;
0686 input;
0687 line-name = "FM_SLOT4_CFG1";
0688 };
0689 G2A_P1_2 {
0690 gpio-hog;
0691 gpios = <10 0>;
0692 input;
0693 line-name = "FM_NVDIMM_EVENT_N";
0694 };
0695 G2A_P1_3 {
0696 gpio-hog;
0697 gpios = <11 0>;
0698 input;
0699 line-name = "PSU1_BLADE_EN_N";
0700 };
0701 G2A_P1_4 {
0702 gpio-hog;
0703 gpios = <12 0>;
0704 input;
0705 line-name = "BMC_PCH_FNM";
0706 };
0707 G2A_P1_5 {
0708 gpio-hog;
0709 gpios = <13 0>;
0710 input;
0711 line-name = "FM_SOL_UART_CH_SEL";
0712 };
0713 G2A_P1_6 {
0714 gpio-hog;
0715 gpios = <14 0>;
0716 input;
0717 line-name = "FM_BIOS_POST_CMPLT_N";
0718 };
0719 };
0720
0721 pca9539_g2b: pca9539-g2b@75 {
0722 compatible = "nxp,pca9539";
0723 reg = <0x75>;
0724 gpio-controller;
0725 #gpio-cells = <2>;
0726 G2B_P0_0 {
0727 gpio-hog;
0728 gpios = <0 0>;
0729 input;
0730 line-name = "FM_CPU_MSMI_LVT3_N";
0731 };
0732 G2B_P0_1 {
0733 gpio-hog;
0734 gpios = <1 0>;
0735 input;
0736 line-name = "FM_BIOS_MRC_DEBUG_MSG_DIS";
0737 };
0738 G2B_P0_2 {
0739 gpio-hog;
0740 gpios = <2 0>;
0741 input;
0742 line-name = "FM_CPU1_DISABLE_BMC_N";
0743 };
0744 G2B_P0_3 {
0745 gpio-hog;
0746 gpios = <3 0>;
0747 output-low;
0748 line-name = "BMC_JTAG_SELECT";
0749 };
0750 G2B_P0_4 {
0751 gpio-hog;
0752 gpios = <4 0>;
0753 output-high;
0754 line-name = "PECI_MUX_SELECT";
0755 };
0756 G2B_P0_5 {
0757 gpio-hog;
0758 gpios = <5 0>;
0759 output-high;
0760 line-name = "I2C_MUX2_RESET_N";
0761 };
0762 G2B_P0_6 {
0763 gpio-hog;
0764 gpios = <6 0>;
0765 input;
0766 line-name = "FM_BMC_CPLD_PSU2_ON";
0767 };
0768 G2B_P0_7 {
0769 gpio-hog;
0770 gpios = <7 0>;
0771 output-high;
0772 line-name = "PSU2_ALERT_EN_N";
0773 };
0774 G2B_P1_0 {
0775 gpio-hog;
0776 gpios = <8 0>;
0777 output-high;
0778 line-name = "FM_CPU_BMC_INIT";
0779 };
0780 G2B_P1_1 {
0781 gpio-hog;
0782 gpios = <9 0>;
0783 output-high;
0784 line-name = "IRQ_BMC_PCH_SCI_LPC_N";
0785 };
0786 G2B_P1_2 {
0787 gpio-hog;
0788 gpios = <10 0>;
0789 output-low;
0790 line-name = "PMB_ALERT_EN_N";
0791 };
0792 G2B_P1_3 {
0793 gpio-hog;
0794 gpios = <11 0>;
0795 output-high;
0796 line-name = "FM_FAST_PROCHOT_EN_N";
0797 };
0798 G2B_P1_4 {
0799 gpio-hog;
0800 gpios = <12 0>;
0801 output-high;
0802 line-name = "BMC_NVDIMM_PRSNT_N";
0803 };
0804 G2B_P1_5 {
0805 gpio-hog;
0806 gpios = <13 0>;
0807 output-low;
0808 line-name = "FM_BACKUP_BIOS_SEL_H_BMC";
0809 };
0810 G2B_P1_6 {
0811 gpio-hog;
0812 gpios = <14 0>;
0813 output-high;
0814 line-name = "FM_PWRBRK_N";
0815 };
0816 };
0817 };
0818
0819 &i2c13 {
0820 status = "okay";
0821
0822 tmp75@4a {
0823 compatible = "ti,tmp75";
0824 reg = <0x4a>;
0825 status = "okay";
0826 };
0827 m24128_fru@51 {
0828 compatible = "atmel,24c128";
0829 reg = <0x51>;
0830 pagesize = <64>;
0831 status = "okay";
0832 };
0833 };
0834
0835 &pwm_fan {
0836 pinctrl-names = "default";
0837 pinctrl-0 = < &pwm0_pins &pwm1_pins
0838 &fanin0_pins &fanin1_pins
0839 &fanin2_pins &fanin3_pins
0840 &fanin4_pins &fanin5_pins
0841 &fanin6_pins &fanin7_pins
0842 &fanin8_pins &fanin9_pins
0843 &fanin10_pins &fanin11_pins>;
0844 status = "okay";
0845
0846 fan@0 {
0847 reg = <0x00>;
0848 fan-tach-ch = /bits/ 8 <0x00 0x01>;
0849 cooling-levels = <127 255>;
0850 };
0851 fan@1 {
0852 reg = <0x01>;
0853 fan-tach-ch = /bits/ 8 <0x02 0x03>;
0854 cooling-levels = /bits/ 8 <127 255>;
0855 };
0856 fan@2 {
0857 reg = <0x02>;
0858 fan-tach-ch = /bits/ 8 <0x04 0x05>;
0859 cooling-levels = /bits/ 8 <127 255>;
0860 };
0861 fan@3 {
0862 reg = <0x03>;
0863 fan-tach-ch = /bits/ 8 <0x06 0x07>;
0864 cooling-levels = /bits/ 8 <127 255>;
0865 };
0866 fan@4 {
0867 reg = <0x04>;
0868 fan-tach-ch = /bits/ 8 <0x08 0x09>;
0869 cooling-levels = /bits/ 8 <127 255>;
0870 };
0871 fan@5 {
0872 reg = <0x05>;
0873 fan-tach-ch = /bits/ 8 <0x0A 0x0B>;
0874 cooling-levels = /bits/ 8 <127 255>;
0875 };
0876 fan@6 {
0877 reg = <0x06>;
0878 fan-tach-ch = /bits/ 8 <0x0C 0x0D>;
0879 cooling-levels = /bits/ 8 <127 255>;
0880 };
0881 fan@7 {
0882 reg = <0x07>;
0883 fan-tach-ch = /bits/ 8 <0x0E 0x0F>;
0884 cooling-levels = /bits/ 8 <127 255>;
0885 };
0886 };
0887
0888 &ehci1 {
0889 status = "okay";
0890 };
0891
0892 &watchdog1 {
0893 status = "okay";
0894 };
0895
0896 &rng {
0897 status = "okay";
0898 };
0899
0900 &serial0 {
0901 status = "okay";
0902 };
0903
0904 &serial1 {
0905 status = "okay";
0906 };
0907
0908 &serial2 {
0909 status = "okay";
0910 };
0911
0912 &serial3 {
0913 status = "okay";
0914 };
0915
0916 &adc {
0917 #io-channel-cells = <1>;
0918 status = "okay";
0919 };
0920
0921 &kcs1 {
0922 status = "okay";
0923 };
0924
0925 &kcs2 {
0926 status = "okay";
0927 };
0928
0929 &kcs3 {
0930 status = "okay";
0931 };
0932
0933 &spi0 {
0934 cs-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
0935 status = "okay";
0936 };
0937
0938 &spi1 {
0939 status = "okay";
0940 };
0941
0942 &pinctrl {
0943 pinctrl-names = "default";
0944 pinctrl-0 = <
0945 /******* RunBMC inside Module pins *******/
0946 &gpio0ol_pins
0947 &gpio1ol_pins
0948 &gpio2ol_pins
0949 &gpio3ol_pins
0950 &gpio8o_pins
0951 &gpio9ol_pins
0952 &gpio12ol_pins
0953 &gpio13ol_pins
0954 &gpio14ol_pins
0955 &gpio15ol_pins
0956 &gpio37o_pins
0957 &gpio38_pins
0958 &gpio39_pins
0959 &gpio94ol_pins
0960 &gpio108ol_pins
0961 &gpio109ol_pins
0962 &gpio111ol_pins
0963 &gpio112ol_pins
0964 &gpio113ol_pins
0965 &gpio208_pins
0966 &gpio209ol_pins
0967 &gpio210ol_pins
0968 &gpio211ol_pins
0969 &gpio212ol_pins
0970 &gpio213ol_pins
0971 &gpio214ol_pins
0972 &gpio215ol_pins
0973 &gpio216ol_pins
0974 &gpio217ol_pins
0975 /******* RunBMC outside Connector pins *******/
0976 &gpio5_pins
0977 &gpio6_pins
0978 &gpio7_pins
0979 &gpio10_pins
0980 &gpio11_pins
0981 &gpio20_pins
0982 &gpio21_pins
0983 &gpio22o_pins
0984 &gpio23_pins
0985 &gpio24_pins
0986 &gpio25_pins
0987 &gpio30_pins
0988 &gpio31_pins
0989 &gpio40o_pins
0990 &gpio59_pins
0991 &gpio76_pins
0992 &gpio77_pins
0993 &gpio78o_pins
0994 &gpio79_pins
0995 &gpio82_pins
0996 &gpio83_pins
0997 &gpio84_pins
0998 &gpio85o_pins
0999 &gpio86ol_pins
1000 &gpio87_pins
1001 &gpio88_pins
1002 &gpio89_pins
1003 &gpio90_pins
1004 &gpio93_pins
1005 &gpio114o_pins
1006 &gpio115_pins
1007 &gpio120_pins
1008 &gpio121_pins
1009 &gpio122_pins
1010 &gpio123_pins
1011 &gpio124_pins
1012 &gpio125_pins
1013 &gpio126_pins
1014 &gpio127o_pins
1015 &gpio136_pins
1016 &gpio137_pins
1017 &gpio138_pins
1018 &gpio139_pins
1019 &gpio140_pins
1020 &gpio141_pins
1021 &gpio142_pins
1022 &gpio143_pins
1023 &gpio144_pins
1024 &gpio146_pins
1025 &gpio145_pins
1026 &gpio147_pins
1027 &gpio153o_pins
1028 &gpio155_pins
1029 &gpio160o_pins
1030 &gpio169o_pins
1031 &gpio188o_pins
1032 &gpio189_pins
1033 &gpio196_pins
1034 &gpio197_pins
1035 &gpio198o_pins
1036 &gpio199o_pins
1037 &gpio200_pins
1038 &gpio202_pins
1039 &gpio203o_pins
1040 &gpio224_pins
1041 &gpio225ol_pins
1042 &gpio226ol_pins
1043 &gpio227ol_pins
1044 &gpio228o_pins
1045 &gpio229o_pins
1046 &gpio230_pins
1047 &gpio231o_pins
1048 &ddc_pins
1049 &wdog1_pins
1050 &wdog2_pins
1051 >;
1052 };