Merge tag 'aspeed-5.16-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorArnd Bergmann <arnd@arndb.de>
Tue, 19 Oct 2021 21:58:41 +0000 (23:58 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 19 Oct 2021 21:58:43 +0000 (23:58 +0200)
ASPEED device tree updates for 5.15

 - New machines:

  * TYAN S7106 BMC, a x86 server from about four years ago

 - Descriptions for the AST2600 ADC, which now has an upstream driver

 - Lots of GPIO line names. The OpenBMC project has adopted a scheme for
   naming the lines, and new additions will follow this guide

 - New I2C devices for Rainier, Everest, EthanolX, Mt Jade

 - Fixes for fp5280g2 which has seen some recent development, including
   the addtion of a QEmu machine for testing

* tag 'aspeed-5.16-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc:
  ARM: dts: aspeed: fp5280g2: Use the 64M layout
  ARM: dts: aspeed: Add TYAN S7106 BMC machine
  ARM: dts: aspeed: rainier: Add power-config-full-load gpio
  ARM: dts: aspeed: p10bmc: Define secure boot gpio
  ARM: dts: aspeed: mtjade: Add some gpios
  ARM: dts: aspeed: Add ADC for AST2600 and enable for Rainier and Everest
  ARM: dts: everest: Define name for gpio line B6
  ARM: dts: everest: Define name for gpio line Q2
  ARM: dts: rainier: Define name for gpio line Q2
  ARM: dts: everest: Add 'factory-reset-toggle' as GPIOF6
  ARM: dts: aspeed: everest: Add I2C bus 15 muxes
  ARM: dts: aspeed: rainier: Add system LEDs
  ARM: dts: aspeed: amd-ethanolx: Add FRU EEPROM
  ARM: dts: fp5280g2: Enable KCS 3 for MCTP binding

Link: https://lore.kernel.org/r/CACPK8XdrMzY9tzdof7KpzxKquTo7GcWW4N9Zqwtmmu73C7htXA@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts
arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts [new file with mode: 0644]
arch/arm/boot/dts/aspeed-g6.dtsi

index 73ed0b4..98f5a98 100644 (file)
@@ -1508,4 +1508,5 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
        aspeed-bmc-opp-zaius.dtb \
        aspeed-bmc-portwell-neptune.dtb \
        aspeed-bmc-quanta-q71l.dtb \
-       aspeed-bmc-supermicro-x11spi.dtb
+       aspeed-bmc-supermicro-x11spi.dtb \
+       aspeed-bmc-tyan-s7106.dtb
index 79d1784..6406a0f 100644 (file)
 //24LC128 EEPROM
 &i2c3 {
        status = "okay";
+       eeprom@50 {
+               compatible = "atmel,24c256";
+               reg = <0x50>;
+               pagesize = <64>;
+       };
 };
 
 //P0 Power regulators
index 57b0c45..3515d55 100644 (file)
                        linux,code = <ASPEED_GPIO(J, 1)>;
                };
 
+               S0_scp_auth_fail {
+                       label = "S0_SCP_AUTH_FAIL";
+                       gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
+                       linux,code = <ASPEED_GPIO(J, 2)>;
+               };
+
+               S1_scp_auth_fail {
+                       label = "S1_SCP_AUTH_FAIL";
+                       gpios = <&gpio ASPEED_GPIO(Z, 5) GPIO_ACTIVE_LOW>;
+                       linux,code = <ASPEED_GPIO(Z, 5)>;
+               };
+
                S1_overtemp {
                        label = "S1_OVERTEMP";
                        gpios = <&gpio ASPEED_GPIO(Z, 6) GPIO_ACTIVE_LOW>;
        /*Q0-Q7*/       "","","","","","UID_BUTTON","","",
        /*R0-R7*/       "","","BMC_EXT_HIGHTEMP_L","OCP_AUX_PWREN",
                        "OCP_MAIN_PWREN","RESET_BUTTON","","",
-       /*S0-S7*/       "","","","","","","","",
+       /*S0-S7*/       "","","","","RTC_BAT_SEN_EN","","","",
        /*T0-T7*/       "","","","","","","","",
        /*U0-U7*/       "","","","","","","","",
        /*V0-V7*/       "","","","","","","","",
                        "S1_BMC_DDR_ADR","","","","",
        /*AC0-AC7*/     "SYS_PWR_GD","","","","","BMC_READY","SLAVE_PRESENT_L",
                        "BMC_OCP_PG";
+
+       i2c4_o_en {
+               gpio-hog;
+               gpios = <ASPEED_GPIO(Y, 2) GPIO_ACTIVE_HIGH>;
+               output-high;
+               line-name = "BMC_I2C4_O_EN";
+       };
 };
index 2efd706..19a67e6 100644 (file)
                i2c32 = &i2c14mux1chn1;
                i2c33 = &i2c14mux1chn2;
                i2c34 = &i2c14mux1chn3;
+               i2c35 = &i2c15mux0chn0;
+               i2c36 = &i2c15mux0chn1;
+               i2c37 = &i2c15mux0chn2;
+               i2c38 = &i2c15mux0chn3;
+               i2c39 = &i2c15mux1chn0;
+               i2c40 = &i2c15mux1chn1;
+               i2c41 = &i2c15mux1chn2;
+               i2c42 = &i2c15mux1chn3;
+               i2c43 = &i2c15mux2chn0;
+               i2c44 = &i2c15mux2chn1;
+               i2c45 = &i2c15mux2chn2;
+               i2c46 = &i2c15mux2chn3;
 
                serial4 = &uart5;
 
                        gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_LOW>;
                };
        };
+
+       iio-hwmon {
+               compatible = "iio-hwmon";
+               io-channels = <&adc1 7>;
+       };
+};
+
+&adc1 {
+       status = "okay";
+       aspeed,int-vref-microvolt = <2500000>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
+                                &pinctrl_adc10_default &pinctrl_adc11_default
+                                &pinctrl_adc12_default &pinctrl_adc13_default
+                                &pinctrl_adc14_default &pinctrl_adc15_default>;
 };
 
 &gpio0 {
        gpio-line-names =
        /*A0-A7*/       "","","","","","","","",
-       /*B0-B7*/       "USERSPACE_RSTIND_BUFF","","","","","","","",
+       /*B0-B7*/       "USERSPACE_RSTIND_BUFF","","","","","","checkstop","",
        /*C0-C7*/       "","","","","","","","",
        /*D0-D7*/       "","","","","","","","",
        /*E0-E7*/       "","","","","","","","",
        /*F0-F7*/       "PIN_HOLE_RESET_IN_N","","",
-                               "PIN_HOLE_RESET_OUT_N","","","","",
+                               "PIN_HOLE_RESET_OUT_N","","",
+                               "factory-reset-toggle","",
        /*G0-G7*/       "","","","","","","","",
        /*H0-H7*/       "led-rtc-battery","led-bmc","led-rear-enc-id0","led-rear-enc-fault0","","","","",
-       /*I0-I7*/       "","","","","","","","",
+       /*I0-I7*/       "","","","","","","bmc-secure-boot","",
        /*J0-J7*/       "","","","","","","","",
        /*K0-K7*/       "","","","","","","","",
        /*L0-L7*/       "","","","","","","","",
        /*N0-N7*/       "","","","","","","","",
        /*O0-O7*/       "","","","","","","","",
        /*P0-P7*/       "","","","","led-pcieslot-power","","","",
-       /*Q0-Q7*/       "","","","","","","","",
+       /*Q0-Q7*/       "","","regulator-standby-faulted","","","","","",
        /*R0-R7*/       "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","I2C_FLASH_MICRO_N","","",
        /*S0-S7*/       "","","","","","","","",
        /*T0-T7*/       "","","","","","","","",
 
 &i2c15 {
        status = "okay";
+
+       i2c-switch@70 {
+               compatible = "nxp,pca9546";
+               reg = <0x70>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               i2c-mux-idle-disconnect;
+
+               i2c15mux0chn0: i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+
+               i2c15mux0chn1: i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <1>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+
+               i2c15mux0chn2: i2c@2 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <2>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+
+               i2c15mux0chn3: i2c@3 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <3>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+       };
+
+       i2c-switch@71 {
+               compatible = "nxp,pca9546";
+               reg = <0x71>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               i2c-mux-idle-disconnect;
+
+               i2c15mux1chn0: i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+
+               i2c15mux1chn1: i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <1>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+
+               i2c15mux1chn2: i2c@2 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <2>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+
+               i2c15mux1chn3: i2c@3 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <3>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+       };
+
+       i2c-switch@72 {
+               compatible = "nxp,pca9546";
+               reg = <0x72>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               i2c-mux-idle-disconnect;
+
+               i2c15mux2chn0: i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+
+               i2c15mux2chn1: i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <1>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+
+               i2c15mux2chn2: i2c@2 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <2>;
+               };
+
+               i2c15mux2chn3: i2c@3 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <3>;
+               };
+       };
 };
 
 &ehci1 {
index 6419c97..d70a91c 100644 (file)
                        linux,code = <11>;
                };
        };
+
+       iio-hwmon {
+               compatible = "iio-hwmon";
+               io-channels = <&adc1 7>;
+       };
+};
+
+&adc1 {
+       status = "okay";
+       aspeed,int-vref-microvolt = <2500000>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
+               &pinctrl_adc10_default &pinctrl_adc11_default
+               &pinctrl_adc12_default &pinctrl_adc13_default
+               &pinctrl_adc14_default &pinctrl_adc15_default>;
 };
 
 &ehci1 {
        /*F0-F7*/       "","","","","","","","",
        /*G0-G7*/       "","","","","","","","",
        /*H0-H7*/       "","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","",
-       /*I0-I7*/       "","","","","","","","",
+       /*I0-I7*/       "","","","","","","bmc-secure-boot","",
        /*J0-J7*/       "","","","","","","","",
        /*K0-K7*/       "","","","","","","","",
        /*L0-L7*/       "","","","","","","","",
        /*N0-N7*/       "","","","","","","","",
        /*O0-O7*/       "","","","usb-power","","","","",
        /*P0-P7*/       "","","","","pcieslot-power","","","",
-       /*Q0-Q7*/       "cfam-reset","","","","","","","",
+       /*Q0-Q7*/       "cfam-reset","","regulator-standby-faulted","","","","","",
        /*R0-R7*/       "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","","",
        /*S0-S7*/       "presence-ps0","presence-ps1","presence-ps2","presence-ps3",
                                "","","","",
                reg = <0x4a>;
        };
 
+       pca9551@60 {
+               compatible = "nxp,pca9551";
+               reg = <0x60>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               led@0 {
+                       label = "cablecard0-cxp-top";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@1 {
+                       label = "cablecard0-cxp-bot";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               gpio@2 {
+                       reg = <2>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@3 {
+                       reg = <3>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@4 {
+                       reg = <4>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@5 {
+                       reg = <5>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@6 {
+                       reg = <6>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@7 {
+                       reg = <7>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+       };
+
        pca9546@70 {
                compatible = "nxp,pca9546";
                reg = <0x70>;
                reg = <0x49>;
        };
 
+       pca9551@60 {
+               compatible = "nxp,pca9551";
+               reg = <0x60>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               led@0 {
+                       label = "cablecard3-cxp-top";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@1 {
+                       label = "cablecard3-cxp-bot";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               gpio@2 {
+                       reg = <2>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@3 {
+                       reg = <3>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@4 {
+                       reg = <4>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@5 {
+                       reg = <5>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@6 {
+                       reg = <6>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@7 {
+                       reg = <7>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+       };
+
+       pca9551@61 {
+               compatible = "nxp,pca9551";
+               reg = <0x61>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               led@0 {
+                       label = "cablecard4-cxp-top";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@1 {
+                       label = "cablecard4-cxp-bot";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               gpio@2 {
+                       reg = <2>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@3 {
+                       reg = <3>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@4 {
+                       reg = <4>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@5 {
+                       reg = <5>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@6 {
+                       reg = <6>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@7 {
+                       reg = <7>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+       };
+
        pca9546@70 {
                compatible = "nxp,pca9546";
                reg = <0x70>;
        multi-master;
        status = "okay";
 
-       si7021-a20@40 {
-               compatible = "silabs,si7020";
-               reg = <0x40>;
-       };
-
-       tmp275@48 {
-               compatible = "ti,tmp275";
-               reg = <0x48>;
-       };
-
-       max: max31785@52 {
-               compatible = "maxim,max31785a";
-               reg = <0x52>;
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               fan0: fan@0 {
-                       compatible = "pmbus-fan";
-                       reg = <0>;
-                       tach-pulses = <2>;
-               };
-
-               fan1: fan@1 {
-                       compatible = "pmbus-fan";
-                       reg = <1>;
-                       tach-pulses = <2>;
-               };
-
-               fan2: fan@2 {
-                       compatible = "pmbus-fan";
-                       reg = <2>;
-                       tach-pulses = <2>;
-               };
-
-               fan3: fan@3 {
-                       compatible = "pmbus-fan";
-                       reg = <3>;
-                       tach-pulses = <2>;
-               };
-
-               fan4: fan@4 {
-                       compatible = "pmbus-fan";
-                       reg = <4>;
-                       tach-pulses = <2>;
-               };
-
-               fan5: fan@5 {
-                       compatible = "pmbus-fan";
-                       reg = <5>;
-                       tach-pulses = <2>;
-               };
-       };
-
-       pca0: pca9552@61 {
-               compatible = "nxp,pca9552";
-               reg = <0x61>;
+       pca9552@30 {
+               compatible = "ibm,pca9552";
+               reg = <0x30>;
                #address-cells = <1>;
                #size-cells = <0>;
 
                gpio-controller;
                #gpio-cells = <2>;
 
-               gpio@0 {
+               led@0 {
+                       label = "pcieslot0";
                        reg = <0>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@1 {
+               led@1 {
+                       label = "pcieslot1";
                        reg = <1>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@2 {
+               led@2 {
+                       label = "pcieslot2";
                        reg = <2>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@3 {
+               led@3 {
+                       label = "pcieslot3";
                        reg = <3>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@4 {
+               led@4 {
+                       label = "pcieslot4";
                        reg = <4>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@5 {
+               led@5 {
+                       label = "cpu1";
                        reg = <5>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@6 {
+               led@6 {
+                       label = "cpu-vrm1";
                        reg = <6>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
                gpio@7 {
                        type = <PCA955X_TYPE_GPIO>;
                };
 
-               gpio@8 {
+               led@8 {
+                       label = "lcd-russel";
                        reg = <8>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
                gpio@9 {
                };
        };
 
-       ibm-panel@62 {
-               compatible = "ibm,op-panel";
-               reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
-       };
+       pca9552@31 {
+               compatible = "ibm,pca9552";
+               reg = <0x31>;
+               #address-cells = <1>;
+               #size-cells = <0>;
 
-       dps: dps310@76 {
-               compatible = "infineon,dps310";
-               reg = <0x76>;
-               #io-channel-cells = <0>;
-       };
+               gpio-controller;
+               #gpio-cells = <2>;
 
-       eeprom@50 {
-               compatible = "atmel,24c64";
-               reg = <0x50>;
-       };
+               led@0 {
+                       label = "ddimm0";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-       eeprom@51 {
-               compatible = "atmel,24c64";
-               reg = <0x51>;
-       };
-};
+               led@1 {
+                       label = "ddimm1";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-&i2c8 {
-       status = "okay";
+               led@2 {
+                       label = "ddimm2";
+                       reg = <2>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-       ucd90320@11 {
-               compatible = "ti,ucd90320";
-               reg = <0x11>;
-       };
+               led@3 {
+                       label = "ddimm3";
+                       reg = <3>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-       rtc@32 {
-               compatible = "epson,rx8900";
-               reg = <0x32>;
-       };
+               led@4 {
+                       label = "ddimm4";
+                       reg = <4>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-       tmp275@48 {
-               compatible = "ti,tmp275";
-               reg = <0x48>;
-       };
+               led@5 {
+                       label = "ddimm5";
+                       reg = <5>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@6 {
+                       label = "ddimm6";
+                       reg = <6>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@7 {
+                       label = "ddimm7";
+                       reg = <7>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@8 {
+                       label = "ddimm8";
+                       reg = <8>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@9 {
+                       label = "ddimm9";
+                       reg = <9>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@10 {
+                       label = "ddimm10";
+                       reg = <10>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@11 {
+                       label = "ddimm11";
+                       reg = <11>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@12 {
+                       label = "ddimm12";
+                       reg = <12>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@13 {
+                       label = "ddimm13";
+                       reg = <13>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@14 {
+                       label = "ddimm14";
+                       reg = <14>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@15 {
+                       label = "ddimm15";
+                       reg = <15>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+       };
+
+       pca9552@32 {
+               compatible = "ibm,pca9552";
+               reg = <0x32>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               led@0 {
+                       label = "ddimm16";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@1 {
+                       label = "ddimm17";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@2 {
+                       label = "ddimm18";
+                       reg = <2>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@3 {
+                       label = "ddimm19";
+                       reg = <3>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@4 {
+                       label = "ddimm20";
+                       reg = <4>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@5 {
+                       label = "ddimm21";
+                       reg = <5>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@6 {
+                       label = "ddimm22";
+                       reg = <6>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@7 {
+                       label = "ddimm23";
+                       reg = <7>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@8 {
+                       label = "ddimm24";
+                       reg = <8>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@9 {
+                       label = "ddimm25";
+                       reg = <9>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@10 {
+                       label = "ddimm26";
+                       reg = <10>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@11 {
+                       label = "ddimm27";
+                       reg = <11>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@12 {
+                       label = "ddimm28";
+                       reg = <12>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@13 {
+                       label = "ddimm29";
+                       reg = <13>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@14 {
+                       label = "ddimm30";
+                       reg = <14>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@15 {
+                       label = "ddimm31";
+                       reg = <15>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+       };
+
+       pca9552@33 {
+               compatible = "ibm,pca9552";
+               reg = <0x33>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               led@0 {
+                       label = "planar";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@1 {
+                       label = "cpu0";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               gpio@2 {
+                       reg = <2>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               led@3 {
+                       label = "dasd-pyramid0";
+                       reg = <3>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@4 {
+                       label = "dasd-pyramid1";
+                       reg = <4>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@5 {
+                       label = "dasd-pyramid2";
+                       reg = <5>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@6 {
+                       label = "cpu0-vrm0";
+                       reg = <6>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@7 {
+                       label = "rtc-battery";
+                       reg = <7>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@8 {
+                       label = "base-blyth";
+                       reg = <8>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@9 {
+                       label = "pcieslot6";
+                       reg = <9>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@10 {
+                       label = "pcieslot7";
+                       reg = <10>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@11 {
+                       label = "pcieslot8";
+                       reg = <11>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@12 {
+                       label = "pcieslot9";
+                       reg = <12>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@13 {
+                       label = "pcieslot10";
+                       reg = <13>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@14 {
+                       label = "pcieslot11";
+                       reg = <14>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@15 {
+                       label = "tpm-wilson";
+                       reg = <15>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+       };
+
+       si7021-a20@40 {
+               compatible = "silabs,si7020";
+               reg = <0x40>;
+       };
+
+       tmp275@48 {
+               compatible = "ti,tmp275";
+               reg = <0x48>;
+       };
+
+       max: max31785@52 {
+               compatible = "maxim,max31785a";
+               reg = <0x52>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               fan0: fan@0 {
+                       compatible = "pmbus-fan";
+                       reg = <0>;
+                       tach-pulses = <2>;
+               };
+
+               fan1: fan@1 {
+                       compatible = "pmbus-fan";
+                       reg = <1>;
+                       tach-pulses = <2>;
+               };
+
+               fan2: fan@2 {
+                       compatible = "pmbus-fan";
+                       reg = <2>;
+                       tach-pulses = <2>;
+               };
+
+               fan3: fan@3 {
+                       compatible = "pmbus-fan";
+                       reg = <3>;
+                       tach-pulses = <2>;
+               };
+
+               fan4: fan@4 {
+                       compatible = "pmbus-fan";
+                       reg = <4>;
+                       tach-pulses = <2>;
+               };
+
+               fan5: fan@5 {
+                       compatible = "pmbus-fan";
+                       reg = <5>;
+                       tach-pulses = <2>;
+               };
+       };
+
+       pca0: pca9552@61 {
+               compatible = "nxp,pca9552";
+               reg = <0x61>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               led@0 {
+                       label = "fan0";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@1 {
+                       label = "fan1";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@2 {
+                       label = "fan2";
+                       reg = <2>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@3 {
+                       label = "fan3";
+                       reg = <3>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@4 {
+                       label = "fan4";
+                       reg = <4>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@5 {
+                       label = "fan5";
+                       reg = <5>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               gpio@6 {
+                       reg = <6>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@7 {
+                       reg = <7>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@8 {
+                       reg = <8>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@9 {
+                       reg = <9>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@10 {
+                       reg = <10>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@11 {
+                       reg = <11>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@12 {
+                       reg = <12>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@13 {
+                       reg = <13>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@14 {
+                       reg = <14>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@15 {
+                       reg = <15>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+       };
+
+       ibm-panel@62 {
+               compatible = "ibm,op-panel";
+               reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
+       };
+
+       dps: dps310@76 {
+               compatible = "infineon,dps310";
+               reg = <0x76>;
+               #io-channel-cells = <0>;
+       };
+
+       eeprom@50 {
+               compatible = "atmel,24c64";
+               reg = <0x50>;
+       };
+
+       eeprom@51 {
+               compatible = "atmel,24c64";
+               reg = <0x51>;
+       };
+};
+
+&i2c8 {
+       status = "okay";
+
+       ucd90320@11 {
+               compatible = "ti,ucd90320";
+               reg = <0x11>;
+       };
+
+       rtc@32 {
+               compatible = "epson,rx8900";
+               reg = <0x32>;
+       };
+
+       tmp275@48 {
+               compatible = "ti,tmp275";
+               reg = <0x48>;
+       };
 
        tmp275@4a {
                compatible = "ti,tmp275";
                reg = <0x50>;
        };
 
-       eeprom@51 {
-               compatible = "atmel,24c64";
-               reg = <0x51>;
-       };
-
-       pca_pres2: pca9552@61 {
+       eeprom@51 {
+               compatible = "atmel,24c64";
+               reg = <0x51>;
+       };
+
+       pca_pres3: pca9552@60 {
+               compatible = "nxp,pca9552";
+               reg = <0x60>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               gpio-line-names =
+                       "", "", "", "", "", "", "", "",
+                       "", "", "", "", "", "", "power-config-full-load", "";
+       };
+
+       pca_pres2: pca9552@61 {
+               compatible = "nxp,pca9552";
+               reg = <0x61>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               gpio-line-names =
+                       "SLOT6_PRSNT_EN_RSVD", "SLOT7_PRSNT_EN_RSVD",
+                       "SLOT8_PRSNT_EN_RSVD", "SLOT9_PRSNT_EN_RSVD",
+                       "SLOT10_PRSNT_EN_RSVD", "SLOT11_PRSNT_EN_RSVD",
+                       "SLOT6_EXPANDER_PRSNT_N", "SLOT7_EXPANDER_PRSNT_N",
+                       "SLOT8_EXPANDER_PRSNT_N", "SLOT9_EXPANDER_PRSNT_N",
+                       "SLOT10_EXPANDER_PRSNT_N", "SLOT11_EXPANDER_PRSNT_N",
+                       "", "", "", "";
+
+               gpio@0 {
+                       reg = <0>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@1 {
+                       reg = <1>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@2 {
+                       reg = <2>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@3 {
+                       reg = <3>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@4 {
+                       reg = <4>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@5 {
+                       reg = <5>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@6 {
+                       reg = <6>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@7 {
+                       reg = <7>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@8 {
+                       reg = <8>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@9 {
+                       reg = <9>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@10 {
+                       reg = <10>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@11 {
+                       reg = <11>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@12 {
+                       reg = <12>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@13 {
+                       reg = <13>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@14 {
+                       reg = <14>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@15 {
+                       reg = <15>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+       };
+
+};
+
+&i2c9 {
+       status = "okay";
+
+       tmp423a@4c {
+               compatible = "ti,tmp423";
+               reg = <0x4c>;
+       };
+
+       tmp423b@4d {
+               compatible = "ti,tmp423";
+               reg = <0x4d>;
+       };
+
+       eeprom@50 {
+               compatible = "atmel,24c128";
+               reg = <0x50>;
+       };
+};
+
+&i2c10 {
+       status = "okay";
+
+       tmp423a@4c {
+               compatible = "ti,tmp423";
+               reg = <0x4c>;
+       };
+
+       tmp423b@4d {
+               compatible = "ti,tmp423";
+               reg = <0x4d>;
+       };
+
+       eeprom@50 {
+               compatible = "atmel,24c128";
+               reg = <0x50>;
+       };
+};
+
+&i2c11 {
+       status = "okay";
+
+       tmp275@48 {
+               compatible = "ti,tmp275";
+               reg = <0x48>;
+       };
+
+       tmp275@49 {
+               compatible = "ti,tmp275";
+               reg = <0x49>;
+       };
+
+       pca9551@60 {
+               compatible = "nxp,pca9551";
+               reg = <0x60>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               led@0 {
+                       label = "cablecard10-cxp-top";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@1 {
+                       label = "cablecard10-cxp-bot";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               gpio@2 {
+                       reg = <2>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@3 {
+                       reg = <3>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@4 {
+                       reg = <4>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@5 {
+                       reg = <5>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@6 {
+                       reg = <6>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@7 {
+                       reg = <7>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+       };
+
+       pca9546@70 {
+               compatible = "nxp,pca9546";
+               reg = <0x70>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "okay";
+               i2c-mux-idle-disconnect;
+
+               i2c11mux0chn0: i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c64";
+                               reg = <0x50>;
+                       };
+               };
+
+               i2c11mux0chn1: i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <1>;
+
+                       eeprom@51 {
+                               compatible = "atmel,24c64";
+                               reg = <0x51>;
+                       };
+               };
+       };
+};
+
+&i2c12 {
+       status = "okay";
+};
+
+&i2c13 {
+       status = "okay";
+
+       eeprom@50 {
+               compatible = "atmel,24c64";
+               reg = <0x50>;
+       };
+
+       pca9552@60 {
                compatible = "nxp,pca9552";
-               reg = <0x61>;
+               reg = <0x60>;
                #address-cells = <1>;
                #size-cells = <0>;
+
                gpio-controller;
                #gpio-cells = <2>;
 
-               gpio-line-names =
-                       "SLOT6_PRSNT_EN_RSVD", "SLOT7_PRSNT_EN_RSVD",
-                       "SLOT8_PRSNT_EN_RSVD", "SLOT9_PRSNT_EN_RSVD",
-                       "SLOT10_PRSNT_EN_RSVD", "SLOT11_PRSNT_EN_RSVD",
-                       "SLOT6_EXPANDER_PRSNT_N", "SLOT7_EXPANDER_PRSNT_N",
-                       "SLOT8_EXPANDER_PRSNT_N", "SLOT9_EXPANDER_PRSNT_N",
-                       "SLOT10_EXPANDER_PRSNT_N", "SLOT11_EXPANDER_PRSNT_N",
-                       "", "", "", "";
-
-               gpio@0 {
+               led@0 {
+                       label = "nvme0";
                        reg = <0>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@1 {
+               led@1 {
+                       label = "nvme1";
                        reg = <1>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@2 {
+               led@2 {
+                       label = "nvme2";
                        reg = <2>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@3 {
+               led@3 {
+                       label = "nvme3";
                        reg = <3>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@4 {
+               led@4 {
+                       label = "nvme4";
                        reg = <4>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@5 {
+               led@5 {
+                       label = "nvme5";
                        reg = <5>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@6 {
+               led@6 {
+                       label = "nvme6";
                        reg = <6>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               gpio@7 {
+               led@7 {
+                       label = "nvme7";
                        reg = <7>;
-                       type = <PCA955X_TYPE_GPIO>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
                gpio@8 {
                        type = <PCA955X_TYPE_GPIO>;
                };
        };
-
 };
 
-&i2c9 {
+&i2c14 {
        status = "okay";
 
-       tmp423a@4c {
-               compatible = "ti,tmp423";
-               reg = <0x4c>;
-       };
-
-       tmp423b@4d {
-               compatible = "ti,tmp423";
-               reg = <0x4d>;
-       };
-
        eeprom@50 {
-               compatible = "atmel,24c128";
+               compatible = "atmel,24c64";
                reg = <0x50>;
        };
-};
 
-&i2c10 {
-       status = "okay";
+       pca9552@60 {
+               compatible = "nxp,pca9552";
+               reg = <0x60>;
+               #address-cells = <1>;
+               #size-cells = <0>;
 
-       tmp423a@4c {
-               compatible = "ti,tmp423";
-               reg = <0x4c>;
-       };
+               gpio-controller;
+               #gpio-cells = <2>;
 
-       tmp423b@4d {
-               compatible = "ti,tmp423";
-               reg = <0x4d>;
-       };
+               led@0 {
+                       label = "nvme8";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-       eeprom@50 {
-               compatible = "atmel,24c128";
-               reg = <0x50>;
-       };
-};
+               led@1 {
+                       label = "nvme9";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-&i2c11 {
-       status = "okay";
+               led@2 {
+                       label = "nvme10";
+                       reg = <2>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-       tmp275@48 {
-               compatible = "ti,tmp275";
-               reg = <0x48>;
-       };
+               led@3 {
+                       label = "nvme11";
+                       reg = <3>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-       tmp275@49 {
-               compatible = "ti,tmp275";
-               reg = <0x49>;
-       };
+               led@4 {
+                       label = "nvme12";
+                       reg = <4>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-       pca9546@70 {
-               compatible = "nxp,pca9546";
-               reg = <0x70>;
-               #address-cells = <1>;
-               #size-cells = <0>;
-               status = "okay";
-               i2c-mux-idle-disconnect;
+               led@5 {
+                       label = "nvme13";
+                       reg = <5>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-               i2c11mux0chn0: i2c@0 {
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-                       reg = <0>;
+               led@6 {
+                       label = "nvme14";
+                       reg = <6>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
 
-                       eeprom@50 {
-                               compatible = "atmel,24c64";
-                               reg = <0x50>;
-                       };
+               led@7 {
+                       label = "nvme15";
+                       reg = <7>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
                };
 
-               i2c11mux0chn1: i2c@1 {
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-                       reg = <1>;
+               gpio@8 {
+                       reg = <8>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
 
-                       eeprom@51 {
-                               compatible = "atmel,24c64";
-                               reg = <0x51>;
-                       };
+               gpio@9 {
+                       reg = <9>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
-       };
-};
 
-&i2c12 {
-       status = "okay";
-};
+               gpio@10 {
+                       reg = <10>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
 
-&i2c13 {
-       status = "okay";
+               gpio@11 {
+                       reg = <11>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
 
-       eeprom@50 {
-               compatible = "atmel,24c64";
-               reg = <0x50>;
-       };
-};
+               gpio@12 {
+                       reg = <12>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
 
-&i2c14 {
-       status = "okay";
+               gpio@13 {
+                       reg = <13>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
 
-       eeprom@50 {
-               compatible = "atmel,24c64";
-               reg = <0x50>;
+               gpio@14 {
+                       reg = <14>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@15 {
+                       reg = <15>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
        };
 };
 
                compatible = "atmel,24c64";
                reg = <0x50>;
        };
+
+       pca9552@60 {
+               compatible = "nxp,pca9552";
+               reg = <0x60>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               led@0 {
+                       label = "nvme16";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@1 {
+                       label = "nvme17";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@2 {
+                       label = "nvme18";
+                       reg = <2>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@3 {
+                       label = "nvme19";
+                       reg = <3>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@4 {
+                       label = "nvme20";
+                       reg = <4>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@5 {
+                       label = "nvme21";
+                       reg = <5>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@6 {
+                       label = "nvme22";
+                       reg = <6>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@7 {
+                       label = "nvme23";
+                       reg = <7>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               gpio@8 {
+                       reg = <8>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@9 {
+                       reg = <9>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@10 {
+                       reg = <10>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@11 {
+                       reg = <11>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@12 {
+                       reg = <12>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@13 {
+                       reg = <13>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@14 {
+                       reg = <14>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+
+               gpio@15 {
+                       reg = <15>;
+                       type = <PCA955X_TYPE_GPIO>;
+               };
+       };
 };
 
 &vuart1 {
index 1752f32..60a39ea 100644 (file)
@@ -3,6 +3,7 @@
 #include "aspeed-g5.dtsi"
 #include <dt-bindings/gpio/aspeed-gpio.h>
 #include <dt-bindings/leds/leds-pca955x.h>
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
        model = "FP5280G2 BMC";
                label = "bmc";
                m25p,fast-read;
                spi-max-frequency = <50000000>;
-#include "openbmc-flash-layout.dtsi"
+#include "openbmc-flash-layout-64.dtsi"
        };
 };
 
 
 };
 
+&kcs3 {
+       status = "okay";
+       aspeed,lpc-io-reg = <0xca2>;
+       aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+};
+
 #include "ibm-power9-dual.dtsi"
diff --git a/arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts b/arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts
new file mode 100644 (file)
index 0000000..68f332e
--- /dev/null
@@ -0,0 +1,488 @@
+// SPDX-License-Identifier: GPL-2.0+
+/dts-v1/;
+
+#include "aspeed-g5.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+
+/ {
+       model = "Tyan S7106 BMC";
+       compatible = "tyan,s7106-bmc", "aspeed,ast2500";
+
+       chosen {
+               stdout-path = &uart5;
+               bootargs = "console=ttyS4,115200 earlycon";
+       };
+
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x80000000 0x20000000>;
+       };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               p2a_memory: region@987f0000 {
+                       no-map;
+                       reg = <0x987f0000 0x00010000>; /* 64KB */
+               };
+
+               vga_memory: framebuffer@9f000000 {
+                       no-map;
+                       reg = <0x9f000000 0x01000000>; /* 16M */
+               };
+
+               gfx_memory: framebuffer {
+                       size = <0x01000000>; /* 16M */
+                       alignment = <0x01000000>;
+                       compatible = "shared-dma-pool";
+                       reusable;
+               };
+       };
+
+       leds {
+               compatible = "gpio-leds";
+
+               identify {
+                       gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>;
+               };
+
+               heartbeat {
+                       gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;
+               };
+       };
+
+       iio-hwmon {
+               compatible = "iio-hwmon";
+               io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
+                       <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
+                       <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
+                       <&adc 12>, <&adc 13>, <&adc 14>;
+       };
+
+       iio-hwmon-battery {
+               compatible = "iio-hwmon";
+               io-channels = <&adc 15>;
+       };
+};
+
+&fmc {
+       status = "okay";
+       flash@0 {
+               label = "bmc";
+               status = "okay";
+               m25p,fast-read;
+#include "openbmc-flash-layout.dtsi"
+       };
+};
+
+&spi1 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_spi1_default>;
+
+       flash@0 {
+               status = "okay";
+               label = "pnor";
+               m25p,fast-read;
+       };
+};
+
+&uart1 {
+       /* Rear RS-232 connector */
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_txd1_default
+                       &pinctrl_rxd1_default>;
+};
+
+&uart2 {
+       /* RS-232 connector on header */
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_txd2_default
+                       &pinctrl_rxd2_default>;
+};
+
+&uart3 {
+       /* Alternative to vuart to internally connect (route) to uart1
+        * when vuart cannot be used due to BIOS limitations.
+        */
+       status = "okay";
+};
+
+&uart4 {
+       /* Alternative to vuart to internally connect (route) to the
+        * external port usually used by uart1 when vuart cannot be
+        * used due to BIOS limitations.
+        */
+       status = "okay";
+};
+
+&uart5 {
+       /* BMC "debug" (console) UART; connected to RS-232 connector
+        * on header; selectable via jumpers as alternative to uart2
+        */
+       status = "okay";
+};
+
+&vuart {
+       status = "okay";
+};
+
+&lpc_ctrl {
+       status = "okay";
+};
+
+&p2a {
+       status = "okay";
+       memory-region = <&p2a_memory>;
+};
+
+&lpc_snoop {
+       status = "okay";
+       snoop-ports = <0x80>;
+};
+
+&adc {
+       status = "okay";
+};
+
+&vhub {
+       status = "okay";
+};
+
+&pwm_tacho {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_pwm0_default
+                       &pinctrl_pwm1_default
+                       &pinctrl_pwm3_default
+                       &pinctrl_pwm4_default>;
+
+       /* CPU fan #0 */
+       fan@0 {
+               reg = <0x00>;
+               aspeed,fan-tach-ch = /bits/ 8 <0x00>;
+       };
+
+       /* CPU fan #1 */
+       fan@1 {
+               reg = <0x01>;
+               aspeed,fan-tach-ch = /bits/ 8 <0x01>;
+       };
+
+       /* PWM group for chassis fans #1, #2, #3 and #4  */
+       fan@2 {
+               reg = <0x03>;
+               aspeed,fan-tach-ch = /bits/ 8 <0x02>;
+       };
+
+       fan@3 {
+               reg = <0x03>;
+               aspeed,fan-tach-ch = /bits/ 8 <0x03>;
+       };
+
+       fan@4 {
+               reg = <0x03>;
+               aspeed,fan-tach-ch = /bits/ 8 <0x04>;
+       };
+
+       fan@5 {
+               reg = <0x03>;
+               aspeed,fan-tach-ch = /bits/ 8 <0x05>;
+       };
+
+       /* PWM group for chassis fans #5 and #6  */
+       fan@6 {
+               reg = <0x04>;
+               aspeed,fan-tach-ch = /bits/ 8 <0x06>;
+       };
+
+       fan@7 {
+               reg = <0x04>;
+               aspeed,fan-tach-ch = /bits/ 8 <0x07>;
+       };
+};
+
+&i2c0 {
+       status = "okay";
+
+       /* Hardware monitor with temperature sensors */
+       nct7802@28 {
+               compatible = "nuvoton,nct7802";
+               reg = <0x28>;
+       };
+
+       /* Also connected to:
+        * - IPMB pin header
+        * - CPU #0 memory error LED @ 0x3A
+        * - CPU #1 memory error LED @ 0x3C
+        */
+};
+
+&i2c1 {
+       /* Directly connected to PCH SMBUS #0 */
+       status = "okay";
+};
+
+&i2c2 {
+       status = "okay";
+
+       /* BMC EEPROM, incl. mainboard FRU */
+       eeprom@50 {
+               compatible = "atmel,24c256";
+               reg = <0x50>;
+       };
+
+       /* Also connected to:
+        * - fan header
+        * - mini-SAS HD connector
+        * - SSATA SGPIO
+        * - via switch (BMC_SMB3_PCH_IE_SML3_EN, active low)
+        *   to PCH SMBUS #3
+        */
+};
+
+&i2c3 {
+       status = "okay";
+
+       /* PSU1 FRU @ 0xA0 */
+       eeprom@50 {
+               compatible = "atmel,24c02";
+               reg = <0x50>;
+       };
+
+       /* PSU2 FRU @ 0xA2 */
+       eeprom@51 {
+               compatible = "atmel,24c02";
+               reg = <0x51>;
+       };
+
+       /* PSU1 @ 0xB0 */
+       power-supply@58 {
+               compatible = "pmbus";
+               reg = <0x58>;
+       };
+
+       /* PSU2 @ 0xB2 */
+       power-supply@59 {
+               compatible = "pmbus";
+               reg = <0x59>;
+       };
+
+       /* Also connected to:
+        * - PCH SMBUS #1
+        */
+};
+
+&i2c4 {
+       status = "okay";
+
+       /* Connected to:
+        * - PCH SMBUS #2
+        */
+
+       /* Connected via switch to:
+        * - CPU #0 channels ABC VDDQ @ 0x80
+        * - CPU #0 channels DEF VDDQ @ 0x81
+        * - CPU #1 channels ABC VDDQ @ 0x82
+        * - CPU #1 channels DEF VDDQ @ 0x83
+        * - CPU #0 VCCIO & VMCP @ 0x52
+        * - CPU #1 VCCIO & VMCP @ 0x53
+        * - CPU #0 VCCIN @ 0xC0
+        * - CPU #0 VSA @ 0xC2
+        * - CPU #1 VCCIN @ 0xC4
+        * - CPU #1 VSA @ 0xC6
+        * - J110
+        */
+};
+
+&i2c5 {
+       status = "okay";
+
+       /* Connected via switch (PCH_BMC_SMB_SW_P) to:
+        * - mainboard FRU @ 0xAE
+        * - XDP connector
+        * - ME debug header
+        * - clock buffer @ 0xD8
+        * - i2c4 via switch (PCH_VR_SMBUS_SW_P; controlled by PCH)
+        * - PCH SMBUS
+        */
+};
+
+&i2c6 {
+       status = "okay";
+
+       /* Connected via switch (BMC_PE_SMB_EN_1_N) to
+        * bus mux (selector BMC_PE_SMB_SW_BIT[1..0]) to:
+        * - 0,0: PCIE slot 1, SMB #1
+        * - 0,1: PCIE slot 1, SMB #2
+        * - 1,0: PCIE slot 2, SMB #1
+        * - 1,1: PCIE slot 2, SMB #2
+        */
+
+       /* Connected via switch (BMC_PE_SMB_EN_2_N) to
+        * bus mux (selector BMC_PE_SMB_SW_BIT[1..0]) to:
+        * - 0,0: OCP0 (A) SMB
+        * - 0,1: OCP0 (C) SMB
+        * - 1,0: OCP1 (A) SMB
+        * - 1,1: NC
+        */
+};
+
+&i2c7 {
+       status = "okay";
+
+       /* Connected to:
+        * - PCH SMBUS #4
+        */
+};
+
+&i2c8 {
+       status = "okay";
+
+       /* Not connected */
+};
+
+&mac0 {
+       status = "okay";
+       use-ncsi;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_rmii1_default>;
+};
+
+&mac1 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
+};
+
+&ibt {
+       status = "okay";
+};
+
+&kcs1 {
+       status = "okay";
+       aspeed,lpc-io-reg = <0xca8>;
+};
+
+&kcs3 {
+       status = "okay";
+       aspeed,lpc-io-reg = <0xca2>;
+};
+
+/* Enable BMC VGA output to show an early (pre-BIOS) boot screen */
+&gfx {
+       status = "okay";
+       memory-region = <&gfx_memory>;
+};
+
+/* We're following the GPIO naming as defined at
+ * https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md.
+ *
+ * Notes on led-identify and id-button:
+ * - A physical button is connected to id-button which
+ *   triggers the clock on a D flip-flop. The /Q output of the
+ *   flip-flop drives its D input.
+ * - The flip-flop's Q output drives led-identify which is
+ *   connected to LEDs.
+ * - With that, every button press toggles the LED between on and off.
+ *
+ * Notes on power-, reset- and nmi- button and control:
+ * - The -button signals can be used to monitor physical buttons.
+ * - The -control signals can be used to actuate the specific
+ *   operation.
+ * - In hardware, the -button signals are connected to the -control
+ *   signals through drivers with the -control signals being
+ *   protected through diodes.
+ */
+&gpio {
+       status = "okay";
+       gpio-line-names =
+       /*A0*/          "",
+       /*A1*/          "",
+       /*A2*/          "led-identify", /* in/out: BMC_IDLED_ON_N */
+       /*A3*/          "",
+       /*A4*/          "",
+       /*A5*/          "",
+       /*A6*/          "",
+       /*A7*/          "",
+       /*B0-B7*/       "","","","","","","","",
+       /*C0*/          "",
+       /*C1*/          "",
+       /*C2*/          "",
+       /*C3*/          "",
+       /*C4*/          "id-button", /* in/out: BMC_IDBTN_IN_OUT_N */
+       /*C5*/          "post-complete", /* in: FM_BIOS_POST_CMPLT_N */
+       /*C6*/          "",
+       /*C7*/          "",
+       /*D0*/          "",
+       /*D1*/          "",
+       /*D2*/          "power-chassis-good", /* in: SYS_PWROK_BUF */
+       /*D3*/          "platform-reset", /* in: SYS_PLTRST_N */
+       /*D4*/          "",
+       /*D5*/          "",
+       /*D6*/          "",
+       /*D7*/          "",
+       /*E0*/          "power-button", /* in: BMC_PWBTN_IN_N */
+       /*E1*/          "power-chassis-control", /* out: BMC_PWRBTN_OUT_N */
+       /*E2*/          "reset-button", /* in: BMC_RSTBTN_IN_N */
+       /*E3*/          "reset-control", /* out: BMC_RSTBTN_OUT_N */
+       /*E4*/          "nmi-button", /* in: BMC_NMIBTN_IN_N */
+       /*E5*/          "nmi-control", /* out: BMC_NMIBTN_OUT_N */
+       /*E6*/          "",
+       /*E7*/          "led-heartbeat", /* out: BMC_HEARTBRAT_LED_N */
+       /*F0*/          "",
+       /*F1*/          "clear-cmos-control", /* out: BMC_CLR_CMOS_N */
+       /*F2*/          "",
+       /*F3*/          "",
+       /*F4*/          "led-fault", /* out: AST_HW_FAULT_N */
+       /*F5*/          "",
+       /*F6*/          "",
+       /*F7*/          "",
+       /*G0*/          "BMC_PE_SMB_EN_1_N", /* out */
+       /*G1*/          "BMC_PE_SMB_EN_2_N", /* out */
+       /*G2*/          "",
+       /*G3*/          "",
+       /*G4*/          "",
+       /*G5*/          "",
+       /*G6*/          "",
+       /*G7*/          "",
+       /*H0-H7*/       "","","","","","","","",
+       /*I0-I7*/       "","","","","","","","",
+       /*J0-J7*/       "","","","","","","","",
+       /*K0-K7*/       "","","","","","","","",
+       /*L0-L7*/       "","","","","","","","",
+       /*M0-M7*/       "","","","","","","","",
+       /*N0-N7*/       "","","","","","","","",
+       /*O0-O7*/       "","","","","","","","",
+       /*P0-P7*/       "","","","","","","","",
+       /*Q0*/          "",
+       /*Q1*/          "",
+       /*Q2*/          "",
+       /*Q3*/          "",
+       /*Q4*/          "BMC_PE_SMB_SW_BIT0", /* out */
+       /*Q5*/          "BMC_PE_SMB_SW_BIT1", /* out */
+       /*Q6*/          "",
+       /*Q7*/          "",
+       /*R0-R7*/       "","","","","","","","",
+       /*S0-S7*/       "","","","","","","","",
+       /*T0-T7*/       "","","","","","","","",
+       /*U0-U7*/       "","","","","","","","",
+       /*V0-V7*/       "","","","","","","","",
+       /*W0-W7*/       "","","","","","","","",
+       /*X0-X7*/       "","","","","","","","",
+       /*Y0-Y7*/       "","","","","","","","",
+       /*Z0-Z7*/       "","","","","","","","",
+       /*AA0*/         "",
+       /*AA1*/         "",
+       /*AA2*/         "",
+       /*AA3*/         "BMC_SMB3_PCH_IE_SML3_EN", /* out */
+       /*AA4*/         "",
+       /*AA5*/         "",
+       /*AA6*/         "",
+       /*AA7*/         "",
+       /*AB0-AB7*/     "","","","","","","","";
+};
index 1b47be1..ee171b3 100644 (file)
                                status = "disabled";
                        };
 
+                       adc0: adc@1e6e9000 {
+                               compatible = "aspeed,ast2600-adc0";
+                               reg = <0x1e6e9000 0x100>;
+                               clocks = <&syscon ASPEED_CLK_APB2>;
+                               resets = <&syscon ASPEED_RESET_ADC>;
+                               interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
+                               #io-channel-cells = <1>;
+                               status = "disabled";
+                       };
+
+                       adc1: adc@1e6e9100 {
+                               compatible = "aspeed,ast2600-adc1";
+                               reg = <0x1e6e9100 0x100>;
+                               clocks = <&syscon ASPEED_CLK_APB2>;
+                               resets = <&syscon ASPEED_RESET_ADC>;
+                               interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
+                               #io-channel-cells = <1>;
+                               status = "disabled";
+                       };
+
                        gpio0: gpio@1e780000 {
                                #gpio-cells = <2>;
                                gpio-controller;