<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Joel Stanley <<a href="mailto:joel@jms.id.au">joel@jms.id.au</a>> 于2021年5月24日周一 上午10:40写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 24 May 2021 at 00:30, <<a href="mailto:guopingjn@gmail.com" target="_blank">guopingjn@gmail.com</a>> wrote:<br>
><br>
> From: Ping Guo <<a href="mailto:guoping@inspur.com" target="_blank">guoping@inspur.com</a>><br>
><br>
> The Inspur NF5280M6 is an x86 platform server with an AST2500-based BMC.<br>
> This dts file provides a basic configuration for its OpenBMC<br>
> development.<br>
><br>
> Signed-off-by: George Liu <<a href="mailto:liuxiwei@inspur.com" target="_blank">liuxiwei@inspur.com</a>><br>
> Signed-off-by: Ping Guo <<a href="mailto:guoping@inspur.com" target="_blank">guoping@inspur.com</a>><br>
> ---<br>
>  arch/arm/boot/dts/Makefile                    |   1 +<br>
>  .../boot/dts/aspeed-bmc-inspur-nf5280m6.dts   | 725 ++++++++++++++++++<br>
>  2 files changed, 726 insertions(+)<br>
>  create mode 100644 arch/arm/boot/dts/aspeed-bmc-inspur-nf5280m6.dts<br>
><br>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile<br>
> index 03b5424bafa8..cc2580f1e99b 100644<br>
> --- a/arch/arm/boot/dts/Makefile<br>
> +++ b/arch/arm/boot/dts/Makefile<br>
> @@ -1405,6 +1405,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \<br>
>         aspeed-bmc-ibm-rainier-4u.dtb \<br>
>         aspeed-bmc-intel-s2600wf.dtb \<br>
>         aspeed-bmc-inspur-fp5280g2.dtb \<br>
> +       aspeed-bmc-inspur-nf5280m6.dtb \<br>
>         aspeed-bmc-lenovo-hr630.dtb \<br>
>         aspeed-bmc-lenovo-hr855xg2.dtb \<br>
>         aspeed-bmc-microsoft-olympus.dtb \<br>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-inspur-nf5280m6.dts b/arch/arm/boot/dts/aspeed-bmc-inspur-nf5280m6.dts<br>
> new file mode 100644<br>
> index 000000000000..7ea0e3ae8ffd<br>
> --- /dev/null<br>
> +++ b/arch/arm/boot/dts/aspeed-bmc-inspur-nf5280m6.dts<br>
> @@ -0,0 +1,725 @@<br>
> +// SPDX-License-Identifier: GPL-2.0<br>
> +// Copyright (c) 2021 Inspur Corporation<br>
> +/dts-v1/;<br>
> +<br>
> +#include "aspeed-g5.dtsi"<br>
> +#include <dt-bindings/gpio/aspeed-gpio.h><br>
> +#include <dt-bindings/i2c/i2c.h><br>
> +#include <dt-bindings/leds/leds-pca955x.h><br>
> +<br>
> +/ {<br>
> +       model = "NF5280M6 BMC";<br>
> +       compatible = "inspur,nf5280m6-bmc", "aspeed,ast2500";<br>
> +<br>
> +       chosen {<br>
> +               stdout-path = &uart5;<br>
> +               bootargs = "console=ttyS4,115200 earlyprintk";<br>
> +       };<br>
> +<br>
> +       memory@80000000 {<br>
> +               reg = <0x80000000 0x40000000>;<br>
> +       };<br>
> +<br>
> +       reserved-memory {<br>
> +               #address-cells = <1>;<br>
> +               #size-cells = <1>;<br>
> +               ranges;<br>
> +<br>
> +               vga_memory: framebuffer@9f000000 {<br>
> +                       no-map;<br>
> +                       reg = <0x9f000000 0x01000000>; /* 16M */<br>
> +               };<br>
> +<br>
> +               gfx_memory: framebuffer {<br>
> +                       size = <0x01000000>;<br>
> +                       alignment = <0x01000000>;<br>
> +                       compatible = "shared-dma-pool";<br>
> +                       reusable;<br>
> +               };<br>
> +<br>
> +               video_engine_memory: jpegbuffer {<br>
> +                       size = <0x02000000>;    /* 32M */<br>
> +                       alignment = <0x01000000>;<br>
> +                       compatible = "shared-dma-pool";<br>
> +                       reusable;<br>
> +               };<br>
> +<br>
> +               flash_memory: region@98000000 {<br>
> +                       no-map;<br>
> +                       reg = <0x98000000 0x04000000>; /* 64M */<br>
<br>
Are you sure you need this? This is used by the aspeed-lpc-ctrl driver<br>
to map a region of the AHB into the LPC address space. This is<br>
normally only used by PowerPC systems.<br>
</blockquote><div>Thanks,I think we don't neet this.I will modify this property. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> +               };<br>
> +       };<br>
> +<br>
> +       leds {<br>
> +           compatible = "gpio-leds";<br>
> +<br>
> +               bmc_alive {<br>
> +                       label = "bmc_alive";<br>
> +                       gpios = <&gpio ASPEED_GPIO(B, 0) GPIO_ACTIVE_LOW>;<br>
> +                       linux,default-trigger = "timer";<br>
> +                       led-pattern = <1000 1000>;<br>
> +               };<br>
> +<br>
> +               front-fan {<br>
> +                       label = "front-fan";<br>
> +                       gpios = <&gpio ASPEED_GPIO(F,2) GPIO_ACTIVE_LOW>;<br>
> +               };<br>
> +<br>
> +           front-psu {<br>
> +                       label = "front-psu";<br>
> +                       gpios = <&gpio ASPEED_GPIO(F,3) GPIO_ACTIVE_LOW>;<br>
> +               };<br>
> +<br>
> +           front-syshot {<br>
> +                       label = "front-syshot";<br>
> +                       gpios = <&gpio ASPEED_GPIO(J, 3) GPIO_ACTIVE_LOW>;<br>
> +               };<br>
> +<br>
> +               front-memory {<br>
> +                       label = "front-memory";<br>
> +                       gpios = <&gpio ASPEED_GPIO(S, 7) GPIO_ACTIVE_LOW>;<br>
> +               };<br>
> +<br>
> +               identify {<br>
> +                       label = "identify";<br>
> +                       gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_LOW>;<br>
> +               };<br>
> +       };<br>
> +<br>
> +       iio-hwmon {<br>
> +               compatible = "iio-hwmon";<br>
> +               io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,<br>
> +                       <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,<br>
> +                       <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,<br>
> +                       <&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;<br>
> +       };<br>
> +};<br>
> +<br>
> +&fmc {<br>
> +       status = "okay";<br>
> +       flash@0 {<br>
> +               status = "okay";<br>
> +               m25p,fast-read;<br>
> +               label = "bmc";<br>
> +               spi-max-frequency = <50000000>;<br>
> +#include "openbmc-flash-layout.dtsi"<br>
> +       };<br>
> +};<br>
> +<br>
> +&spi1 {<br>
> +       status = "okay";<br>
> +       pinctrl-names = "default";<br>
> +       pinctrl-0 = <&pinctrl_spi1_default>;<br>
> +       flash@0 {<br>
> +               status = "okay";<br>
> +               m25p,fast-read;<br>
> +               label = "bios";<br>
> +               spi-max-frequency = <100000000>;<br>
> +       };<br>
> +};<br>
> +<br>
> +&uart1 {<br>
> +       status = "okay";<br>
> +};<br>
> +<br>
> +&uart5 {<br>
> +       status = "okay";<br>
> +};<br>
> +<br>
> +&mac0 {<br>
> +       status = "okay";<br>
> +<br>
> +       pinctrl-names = "default";<br>
> +       pinctrl-0 = <&pinctrl_rmii1_default>;<br>
> +       clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,<br>
> +               <&syscon ASPEED_CLK_MAC1RCLK>;<br>
> +       clock-names = "MACCLK", "RCLK";<br>
> +       use-ncsi;<br>
> +};<br>
> +<br>
> +&mac1 {<br>
> +       status = "okay";<br>
> +<br>
> +       pinctrl-names = "default";<br>
> +       pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;<br>
> +};<br>
> +<br>
> +&gpio {<br>
> +       power_out {<br>
> +               gpios = <ASPEED_GPIO(AA, 7) GPIO_ACTIVE_LOW>;<br>
> +               output-low;<br>
> +       };<br>
> +};<br>
> +<br>
> +&gpio {<br>
> +       status = "okay";<br>
> +       /* Enable GPIOE0 and GPIOE2 pass-through by default */<br>
> +       pinctrl-names = "pass-through";<br>
> +       pinctrl-0 = <&pinctrl_gpie0_default<br>
> +                       &pinctrl_gpie2_default>;<br>
> +       gpio-line-names =<br>
> +       /*A0-A7*/       "","MAC2LINK","BMC_RESET_CPLD","","BMC_SCL9","","MAC2MDC_R","",<br>
> +       /*B0-B7*/       "BMC_INIT_OK","FM_SKU_ID2","FM_SPD_DDRCPU_LVLSHFT_DIS_R_N",<br>
> +                               "FM_CPU_MSMI_CATERR_LVT3_BMC_N","","FM_CPU0_PROCHOT_LVT3_N",<br>
> +                               "FM_CPU_MEM_THERMTRIP_LVT3_N","BIOS_LOAD_DEFAULT_R_N",<br>
> +       /*C0-C7*/       "","","","","","","","",<br>
> +       /*D0-D7*/       "","BMC_SD2CMD","BMC_SD2DAT0","BMC_SD2DAT1","BMC_SD2DAT2",<br>
> +                               "BMC_SD2DAT3","BMC_SD2DET","BMC_SD2WPT",<br>
> +       /*E0-E7*/       "FM_BOARD_ID0","FM_BOARD_ID1","FM_BOARD_ID2","FM_BOARD_ID3",<br>
> +                               "FM_BOARD_ID4","FM_BOARD_ID5","","",<br>
> +       /*F0-F7*/       "PSU1_PRESENT_N","PSU2_PRESENT_N","FAN_FAULT_LED_N","PSU_FAULT_LED_N",<br>
> +                               "BIOS_DEBUG_MODE_N","FP_LCD_RESET","FAN_TYPE_SEL",<br>
> +                               "RST_GLB_RST_WARN_N",<br>
> +       /*G0-G7*/       "IRQ_LPTM21L_ALERT_N","IRQ_PLD_ALERT_N","AC_FAIL_N","FP_LCD_PRESENT_BMC",<br>
> +                               "BMC_JTAG_TCK_MUX_SEL","BMC_BIOS_RESERVED","SYS_NMI_N","BMC_NMI_N",<br>
> +       /*H0-H7*/       "JTAG_BMC_TDI","JTAG_BMC_TDO","JTAG_BMC_TCK","JTAG_BMC_TMS","FM_BOARD_ID6",<br>
> +                               "FM_SKU_ID0","IRQ_SML1_PMBUS_ALERT_N","IRQ_SML0_ALERT_MUX_N",<br>
> +       /*I0-I7*/       "FM_CPU_ERR0_LVT3_BMC_N","FM_CPU_ERR1_LVT3_BMC_N","FM_BMC_PCH_SCI_LPC_N",<br>
> +                               "FM_SYS_THROTTLE_LVC3","SPI2_PCH_CS0_N","","","",<br>
> +       /*J0-J7*/       "FM_CPU0_SKTOCC_LVT3_N","FM_CPU1_SKTOCC_LVT3_N","","SYSHOT_FAULT_LED_N",<br>
> +                               "VGA_HSYNC","VGA_VSYNC","","",<br>
> +       /*K0-K7*/       "","","","","","","","",<br>
> +       /*L0-L7*/       "","","","","","","SYS_UART_TXD1","SYS_UART_RXD1",<br>
> +       /*M0-M7*/       "","","","","","","","",<br>
> +       /*N0-N7*/       "","","","","","","","",<br>
> +       /*O0-O7*/       "","","","","","","","",<br>
> +       /*P0-P7*/       "","","","","","","","",<br>
> +       /*Q0-Q7*/       "","","","","","","FM_PCH_BMC_THERMTRIP_N","INTRUDER_N",<br>
> +       /*R0-R7*/       "SPI_BMC_BOOT_CS1_R_N","FM_CPU_MEMHOT_LVC3_N",<br>
> +                               "DBP_CPU_PREQ_N","FM_CPU_ERR2_LVT3_BMC_N",<br>
> +                               "RISER_NCSI_EN_N","","LOM_NCSI_EN_N","OCP_NCSI_EN_N",<br>
> +       /*S0-S7*/       "BMC_XDP_PRDY_N","SIO_POWER_GOOD","BMC_PWR_DEBUG_R_N","BMC_DEBUG_EN_R_N","",<br>
> +                               "GPIOS5_BMC","","GPIOS7_BMC",<br>
> +       /*T0-T7*/       "","","","","","","","",<br>
> +       /*U0-U7*/       "","","","","","","","",<br>
> +       /*V0-V7*/       "","","","","","","","",<br>
> +       /*W0-W7*/       "","","","","","","","",<br>
> +       /*X0-X7*/       "","","","","","","","",<br>
> +       /*Y0-Y7*/       "","BMC_DET_UID_N","BMC_JTAG_SEL","SIO_ONCONTROL","","","","",<br>
> +       /*Z0-Z7*/       "XDP_PRESENT_N","DBP_SYSPWROK","BMC_JTAG_SEL","FM_SMI_ACTIVE_N","",<br>
> +                               "GPIOZ5","","",<br>
> +       /*AA0-AA7*/     "FP_BMC_SYSLED_N","PS_PWROK","RST_PLTRST_BMC_N","HDA_SDO_BMC",<br>
> +                               "FM_SLPS4_R_N","","POWER_BUTTON","POWER_OUT",<br>
> +       /*AB0-AB7*/     "RESET_OUT","RESET_BUTTON","BIOS_REFLASH","POST_COMPLETE","","","","",<br>
> +       /*AC0-AC7*/     "","","","","","","","";<br>
> +};<br>
> +<br>
> +&i2c0 {<br>
> +       /* FP_LCD */<br>
> +       status = "okay";<br>
> +};<br>
> +<br>
> +&i2c1 {<br>
> +       status = "okay";<br>
> +<br>
> +       eeprom@50 {<br>
> +               compatible = "atmel,24c256";<br>
> +               reg = <0x50>;<br>
> +               label = "fru";<br>
> +       };<br>
> +};<br>
> +<br>
> +&i2c2 {<br>
> +       status = "okay";<br>
> +<br>
> +       tmp112@48 {<br>
> +               compatible = "ti,tmp112";<br>
> +               reg = <0x48>;<br>
> +               label = "inlet";<br>
> +       };<br>
> +<br>
> +       tmp112@49 {<br>
> +               compatible = "ti,tmp112";<br>
> +               reg = <0x49>;<br>
> +               label = "outlet";<br>
> +       };<br>
> +<br>
> +       pca9548@70 {<br>
> +               compatible = "nxp,pca9548";<br>
> +               reg = <0x70>;<br>
> +       };<br>
> +};<br>
> +<br>
> +&i2c3 {<br>
> +       status = "okay";<br>
> +<br>
> +       pca9548@70 {<br>
> +               compatible = "nxp,pca9548";<br>
> +               reg = <0x70>;<br>
> +       };<br>
> +<br>
> +       pca9548@71 {<br>
> +               compatible = "nxp,pca9548";<br>
> +               reg = <0x71>;<br>
> +       };<br>
> +<br>
> +       pca9548@72 {<br>
> +               compatible = "nxp,pca9548";<br>
> +               reg = <0x72>;<br>
> +       };<br>
> +};<br>
> +<br>
> +&i2c4 {<br>
> +       /* IPMB */<br>
> +       status = "okay";<br>
> +};<br>
> +<br>
> +&i2c5 {<br>
> +       status = "okay";<br>
> +<br>
> +       pca9548@70 {<br>
> +               compatible = "nxp,pca9548";<br>
> +               reg = <0x70>;<br>
> +       };<br>
> +};<br>
> +<br>
> +&i2c6 {<br>
> +       status = "okay";<br>
> +<br>
> +       pca9548@70 {<br>
> +               compatible = "nxp,pca9548";<br>
> +               reg = <0x70>;<br>
> +       };<br>
> +};<br>
> +<br>
> +&i2c7 {<br>
> +       status = "okay";<br>
> +<br>
> +       adm1278@33 {<br>
> +               compatible = "adi,adm1293";<br>
> +               reg = <0x33>;<br>
> +       };<br>
> +<br>
> +       adm1278@32 {<br>
> +               compatible = "adi,adm1293";<br>
> +               reg = <0x32>;<br>
> +       };<br>
> +<br>
> +       adm1278@20 {<br>
> +               compatible = "adi,adm1293";<br>
> +               reg = <0x20>;<br>
> +       };<br>
> +};<br>
> +<br>
> +&i2c8 {<br>
> +       status = "okay";<br>
> +<br>
> +       pca0: pca9555@23 {<br>
> +               compatible = "nxp,pca9555";<br>
> +               reg = <0x23>;<br>
> +               #address-cells = <1>;<br>
> +               #size-cells = <0>;<br>
> +<br>
> +               gpio-controller;<br>
> +               #gpio-cells = <2>;<br>
> +<br>
> +               gpio@0 {<br>
> +                       reg = <0>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@1 {<br>
> +                       reg = <1>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@2 {<br>
> +                       reg = <2>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@3 {<br>
> +                       reg = <3>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@4 {<br>
> +                       reg = <4>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@5 {<br>
> +                       reg = <5>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@6 {<br>
> +                       reg = <6>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +       };<br>
> +<br>
> +       pca1: pca9555@22 {<br>
> +               compatible = "nxp,pca9555";<br>
> +               reg = <0x22>;<br>
> +               #address-cells = <1>;<br>
> +               #size-cells = <0>;<br>
> +<br>
> +               gpio-controller;<br>
> +               #gpio-cells = <2>;<br>
> +<br>
> +               gpio@0 {<br>
> +                       reg = <0>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@1 {<br>
> +                       reg = <1>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@2 {<br>
> +                       reg = <2>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@3 {<br>
> +                       reg = <3>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@4 {<br>
> +                       reg = <4>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@5 {<br>
> +                       reg = <5>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@6 {<br>
> +                       reg = <6>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@7 {<br>
> +                       reg = <7>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +       };<br>
> +<br>
> +       pca2: pca9555@20 {<br>
> +               compatible = "nxp,pca9555";<br>
> +               reg = <0x20>;<br>
> +               #address-cells = <1>;<br>
> +               #size-cells = <0>;<br>
> +<br>
> +               gpio-controller;<br>
> +               #gpio-cells = <2>;<br>
> +<br>
> +               gpio@0 {<br>
> +                       reg = <0>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@1 {<br>
> +                       reg = <1>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@2 {<br>
> +                       reg = <2>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@3 {<br>
> +                       reg = <3>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@4 {<br>
> +                       reg = <4>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@5 {<br>
> +                       reg = <5>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@6 {<br>
> +                       reg = <6>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@7 {<br>
> +                       reg = <7>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +       };<br>
> +<br>
> +       pca3: pca9555@21 {<br>
> +               compatible = "nxp,pca9555";<br>
> +               reg = <0x21>;<br>
> +               #address-cells = <1>;<br>
> +               #size-cells = <0>;<br>
> +<br>
> +               gpio-controller;<br>
> +               #gpio-cells = <2>;<br>
> +<br>
> +               gpio@0 {<br>
> +                       reg = <0>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@1 {<br>
> +                       reg = <1>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@2 {<br>
> +                       reg = <2>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@3 {<br>
> +                       reg = <3>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@4 {<br>
> +                       reg = <4>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@5 {<br>
> +                       reg = <5>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@6 {<br>
> +                       reg = <6>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@7 {<br>
> +                       reg = <7>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +       };<br>
> +};<br>
> +<br>
> +&i2c9 {<br>
> +       /* cpld */<br>
> +       status = "okay";<br>
> +};<br>
> +<br>
> +&i2c10 {<br>
> +       status = "okay";<br>
> +<br>
> +       pca4: pca9555@24 {<br>
> +               compatible = "nxp,pca9555";<br>
> +               reg = <0x24>;<br>
> +               #address-cells = <1>;<br>
> +               #size-cells = <0>;<br>
> +<br>
> +               gpio-controller;<br>
> +               #gpio-cells = <2>;<br>
> +<br>
> +               gpio@0 {<br>
> +                       reg = <0>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@1 {<br>
> +                       reg = <1>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@2 {<br>
> +                       reg = <2>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@3 {<br>
> +                       reg = <3>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@4 {<br>
> +                       reg = <4>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@5 {<br>
> +                       reg = <5>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@6 {<br>
> +                       reg = <6>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@7 {<br>
> +                       reg = <7>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +       };<br>
> +<br>
> +       pca5: pca9555@25 {<br>
> +               compatible = "nxp,pca9555";<br>
> +               reg = <0x25>;<br>
> +               #address-cells = <1>;<br>
> +               #size-cells = <0>;<br>
> +<br>
> +               gpio-controller;<br>
> +               #gpio-cells = <2>;<br>
> +<br>
> +               gpio@0 {<br>
> +                       reg = <0>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@1 {<br>
> +                       reg = <1>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@2 {<br>
> +                       reg = <2>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@3 {<br>
> +                       reg = <3>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@4 {<br>
> +                       reg = <4>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@5 {<br>
> +                       reg = <5>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +<br>
> +               gpio@6 {<br>
> +                       reg = <6>;<br>
> +                       type = <PCA955X_TYPE_GPIO>;<br>
> +               };<br>
> +       };<br>
> +};<br>
> +<br>
> +&i2c11 {<br>
> +       status = "okay";<br>
> +<br>
> +       power-supply@58 {<br>
> +               compatible = "inspur,ipsps1";<br>
> +               reg = <0x58>;<br>
> +       };<br>
> +<br>
> +       power-supply@59 {<br>
> +               compatible = "inspur,ipsps1";<br>
> +               reg = <0x59>;<br>
> +       };<br>
> +};<br>
> +<br>
> +&i2c12 {<br>
> +       status = "okay";<br>
> +};<br>
> +<br>
> +&i2c13 {<br>
> +       status = "okay";<br>
> +};<br>
> +<br>
> +&lpc_ctrl {<br>
> +       status = "okay";<br>
> +       memory-region = <&flash_memory>;<br>
> +       flash = <&spi1>;<br>
<br>
As I described before, most of the time this driver is only used by<br>
the hiomap daemon on Power systems.<br>
<br>
> +};<br>
> +<br>
> +&gfx {<br>
> +       status = "okay";<br>
> +       memory-region = <&gfx_memory>;<br>
> +};<br>
<br>
This is the BMC display device. You only need to enable it if you are<br>
running code on the BMC to<br>
<br>
It is not related to using the BMC has a host PCIe display device.<br>
<br></blockquote><div>Will modify too. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> +<br>
> +&pinctrl {<br>
> +       aspeed,external-nodes = <&gfx &lhc>;<br>
> +};<br>
> +<br>
> +&pwm_tacho {<br>
> +       status = "okay";<br>
> +       pinctrl-names = "default";<br>
> +       pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default<br>
> +               &pinctrl_pwm2_default &pinctrl_pwm3_default<br>
> +               &pinctrl_pwm4_default &pinctrl_pwm5_default<br>
> +               &pinctrl_pwm6_default &pinctrl_pwm7_default>;<br>
> +<br>
> +       fan@0 {<br>
> +               reg = <0x00>;<br>
> +               aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;<br>
> +       };<br>
> +<br>
> +       fan@1 {<br>
> +               reg = <0x01>;<br>
> +               aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;<br>
> +       };<br>
> +<br>
> +       fan@2 {<br>
> +               reg = <0x02>;<br>
> +               aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;<br>
> +       };<br>
> +<br>
> +       fan@3 {<br>
> +               reg = <0x03>;<br>
> +               aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;<br>
> +       };<br>
> +<br>
> +       fan@4 {<br>
> +               reg = <0x04>;<br>
> +               aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;<br>
> +       };<br>
> +<br>
> +       fan@5 {<br>
> +               reg = <0x05>;<br>
> +               aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;<br>
> +       };<br>
> +<br>
> +       fan@6 {<br>
> +               reg = <0x06>;<br>
> +               aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;<br>
> +       };<br>
> +<br>
> +       fan@7 {<br>
> +               reg = <0x07>;<br>
> +               aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;<br>
> +       };<br>
> +};<br>
> +<br>
> +&kcs3 {<br>
> +       status = "okay";<br>
> +       kcs_addr = <0xca2>;<br>
> +};<br>
> +<br>
> +&kcs4 {<br>
> +       status = "okay";<br>
> +       kcs_addr = <0xca4>;<br>
> +};<br>
> +<br>
> +&adc {<br>
> +       status = "okay";<br>
> +       pinctrl-names = "default";<br>
> +       pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default<br>
> +        &pinctrl_adc2_default &pinctrl_adc3_default &pinctrl_adc4_default<br>
> +        &pinctrl_adc5_default &pinctrl_adc6_default &pinctrl_adc7_default<br>
> +        &pinctrl_adc8_default &pinctrl_adc9_default &pinctrl_adc10_default<br>
> +        &pinctrl_adc11_default &pinctrl_adc12_default &pinctrl_adc13_default<br>
> +        &pinctrl_adc14_default &pinctrl_adc15_default>;<br>
> +};<br>
> +<br>
> +&vhub {<br>
> +       status = "okay";<br>
> +};<br>
> +<br>
> +&video {<br>
> +       status = "okay";<br>
> +       memory-region = <&video_engine_memory>;<br>
> +};<br>
> +<br>
> +&vuart {<br>
> +       status = "okay";<br>
> +};<br>
> --<br>
> 2.17.1<br>
><br>
</blockquote></div></div>