[PATCH linux dev-5.10] ARM:dts: Re-config some GPIO pins in dts
Joel Stanley
joel at jms.id.au
Tue Mar 15 11:04:06 AEDT 2022
On Mon, 14 Mar 2022 at 20:11, Ashwin Murali <Ashwin.Murali at fii-na.com> wrote:
>
> Hello Joel,
>
> Thanks for taking the time to review the patch and for your feedback. Is it possible to have the patch be merged into 5.15 and have it be backported to 5.10? We would ideally like to have the change on 5.10.
No. There is no one publicly working on v5.10.
v5.15 is an LTS and will out live the v5.10 kernel. If you're working
on a new system, I recommend basing it on v5.15.
>
> Thank you,
> Ashwin
>
>
> ________________________________
> From: Joel Stanley <joel at jms.id.au>
> Sent: Wednesday, March 9, 2022 5:21 PM
> To: Ashwin Murali <Ashwin.Murali at FII-NA.com>
> Cc: OpenBMC Maillist <openbmc at lists.ozlabs.org>; Benjamin Fair <benjaminfair at google.com>; Vivekanand Veeracholan <vveerach at google.com>; Lancelot Kao <lancelot.cy.kao at fii-na.com>; Mustafa Shehabi <Mustafa.Shehabi at fii-na.com>
> Subject: Re: [PATCH linux dev-5.10] ARM:dts: Re-config some GPIO pins in dts
>
> Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, contact your IT Department
>
>
> Hi Ashwin,
>
> I noticed in the subject you're referring to the v5.10 kernel. This is
> no longer developed or supported.
>
> Please put your machine name in the subject:
>
> ARM: dts: npcm: kudo: Reconfig GPIO pins
>
> Except your patch does more than that, so reconsider the description.
>
> On Wed, 9 Mar 2022 at 23:16, Ashwin Murali <ashwin.murali at fii-na.com> wrote:
> >
> > Modified dts for Fii kudo project to match the current
> > configuration in the Fii kudo kernel dts
> > 1-Re-config some gpio pins base on some H/W request
> > 2-Add tla2024 device into ADC
> > 3-Change compatible driver max34440 to max34451
> > 4-Define S1_PRESENT_CPLD_N to support cpu present in Entity Manager
> > 5-Add Nuvoton BMC NPCM BIOS post code (BPC) driver
> > 6-Disable eMMC
>
> You could consider splitting this into a series of patches to make it
> easier to review.
>
> >
> > Signed-off-by: Lancelot Kao <lancelot.cy.kao at fii-na.com>
> > Signed-off-by: Mustafa Shehabi <mustafa.shehabi at fii-na.com>
> > Signed-off-by: Ashwin Murali <ashwin.murali at fii-na.com>
>
> Are these all authors of the patch?
>
> > ---
> > arch/arm/boot/dts/nuvoton-npcm730-kudo.dts | 1456 ++++++++++++++++----
> > 1 file changed, 1164 insertions(+), 292 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/nuvoton-npcm730-kudo.dts b/arch/arm/boot/dts/nuvoton-npcm730-kudo.dts
> > index 82a104b2a65f..2ee0f1d3cb58 100644
> > --- a/arch/arm/boot/dts/nuvoton-npcm730-kudo.dts
> > +++ b/arch/arm/boot/dts/nuvoton-npcm730-kudo.dts
> > @@ -7,15 +7,22 @@
> > #include <dt-bindings/gpio/gpio.h>
> >
> > / {
> > - model = "Fii Kudo Board";
> > + model = "Fii Kudo Board (Device Tree)";
>
> Why do you add (Device Tree) here?
>
> > compatible = "fii,kudo", "nuvoton,npcm730";
> >
> > aliases {
> > + ethernet0 = &emc0;
> > ethernet1 = &gmac0;
> > serial0 = &serial0;
> > serial1 = &serial1;
> > serial2 = &serial2;
> > serial3 = &serial3;
> > + /* emmc0 = &sdhci0; */
> > + udc5 = &udc5;
> > + udc6 = &udc6;
> > + udc7 = &udc7;
> > + udc8 = &udc8;
> > + vdma = &vdma;
> > i2c1 = &i2c1;
> > i2c2 = &i2c2;
> > i2c3 = &i2c3;
> > @@ -31,14 +38,50 @@
> > i2c13 = &i2c13;
> > i2c14 = &i2c14;
> > i2c15 = &i2c15;
> > - spi0 = &spi0;
> > + i2c16 = &i2c16;
> > + i2c17 = &i2c17;
> > + i2c18 = &i2c18;
> > + i2c19 = &i2c19;
> > + i2c20 = &i2c20;
> > + i2c21 = &i2c21;
> > + i2c22 = &i2c22;
> > + i2c23 = &i2c23;
> > + i2c24 = &i2c24;
> > + i2c25 = &i2c25;
> > + i2c26 = &i2c26;
> > + i2c27 = &i2c27;
> > + i2c28 = &i2c28;
> > + i2c29 = &i2c29;
> > + i2c30 = &i2c30;
> > + i2c31 = &i2c31;
> > + i2c32 = &i2c32;
> > + i2c33 = &i2c33;
> > + i2c34 = &i2c34;
> > + i2c35 = &i2c35;
> > + i2c36 = &i2c36;
> > + i2c37 = &i2c37;
> > + i2c38 = &i2c38;
> > + i2c39 = &i2c39;
> > + i2c40 = &i2c40;
> > + i2c41 = &i2c41;
> > + i2c42 = &i2c42;
> > + i2c43 = &i2c43;
> > + i2c44 = &i2c44;
> > + i2c45 = &i2c45;
> > + i2c46 = &i2c46;
> > + i2c47 = &i2c47;
> > + i2c48 = &i2c48;
> > + i2c49 = &i2c49;
> > + i2c50 = &i2c50;
> > + i2c51 = &i2c51;
> > + /* spi0 = &spi0; */
> > spi1 = &spi1;
> > fiu0 = &fiu0;
> > fiu1 = &fiu3;
> > };
> >
> > chosen {
> > - stdout-path = &serial3;
> > + stdout-path = &serial0;
> > };
> >
> > memory {
> > @@ -48,334 +91,791 @@
> > iio-hwmon {
> > compatible = "iio-hwmon";
> > io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
> > - <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
> > + <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>, <&tla2024 0>, <&tla2024 1>;
> > };
> >
> > - jtag_master {
> > - compatible = "nuvoton,npcm750-jtag-master";
> > - #address-cells = <1>;
> > - #size-cells = <1>;
> > -
> > - // dev/jtag0
> > - dev-num = <0>;
> > - // pspi or gpio
> > - mode = "pspi";
> > -
> > - // pspi2
> > - pspi-controller = <2>;
> > - reg = <0xf0201000 0x1000>;
> > - interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
> > - clocks = <&clk NPCM7XX_CLK_APB5>;
> > -
> > - // TCK, TDI, TDO, TMS
> > - jtag-gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>,
> > - <&gpio0 18 GPIO_ACTIVE_HIGH>,
> > - <&gpio0 17 GPIO_ACTIVE_HIGH>,
> > - <&gpio0 16 GPIO_ACTIVE_HIGH>;
> > - };
> > -
> > - leds {
> > + /* leds {
> > compatible = "gpio-leds";
> > heartbeat {
> > - label = "heartbeat";
> > - gpios = <&gpio0 14 1>;
> > + label = "heartbeat";
> > + gpios = <&gpio0 7 1>;
> > };
> > - };
> > + }; */
> >
> > pinctrl: pinctrl at f0800000 {
> > - gpio61oh_pins: gpio61oh-pins {
> > - pins = "GPO61/nDTR1_BOUT1/STRAP6";
> > + /* LED Pins */
> > + gpio7oh_pins: gpio7oh-pins {
> > + pins = "GPIO7/IOX2D0/SMB2DSCL";
> > + label = "LED_BMC_LIVE";
> > bias-disable;
> > output-high;
> > };
> > - gpio62oh_pins: gpio62oh-pins {
> > - pins = "GPO62/nRTST1/STRAP5";
> > + gpio24ol_pins: gpio24ol-pins {
> > + pins = "GPIO24/IOXHDO";
> > + label = "BMC_FAULT_LED";
> > bias-disable;
> > - output-high;
> > + output-low;
> > };
> > - gpio161ol_pins: gpio161ol-pins {
> > - pins = "GPIO161/nLFRAME/nESPICS";
> > + gpio169ol_pins: gpio169ol-pins {
> > + pins = "GPIO169/nSCIPME";
> > + label = "SYS_ERR_LED";
> > bias-disable;
> > output-low;
> > };
> > - gpio163i_pins: gpio163i-pins {
> > - pins = "GPIO163/LCLK/ESPICLK";
> > +
> > + /* JTAG Pins */
> > + gpio17_pins: gpio17-pins{
> > + pins = "GPIO17/PSPI2DI/SMB4DEN";
> > bias-disable;
> > input-enable;
> > };
> > - gpio167ol_pins: gpio167ol-pins {
> > - pins = "GPIO167/LAD3/ESPI_IO3";
> > + gpio18o_pins: gpio18o-pins{
> > + pins = "GPIO18/PSPI2D0/SMB4BSDA";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio19ol_pins: gpio19ol-pins{
> > + pins = "GPIO19/PSPI2CK/SMB4BSCL";
> > bias-disable;
> > output-low;
> > };
> > - gpio95i_pins: gpio95i-pins {
> > - pins = "GPIO95/nLRESET/nESPIRST";
> > +
> > + /* Mux Pins */
> > + /* UART Mux Pins */
> > + gpio167oh_pins: gpio167oh-pins {
> > + pins = "GPIO167/LAD3/ESPI_IO3";
> > + label = "S0_UART0_BMC_SEL";
> > bias-disable;
> > - input-enable;
> > + output-high;
> > };
> > - gpio65ol_pins: gpio65ol-pins {
> > - pins = "GPIO65/FANIN1";
> > + gpio161oh_pins: gpio161oh-pins {
> > + pins = "GPIO161/nLFRAME/nESPICS";
> > + label = "S0_UART1_BMC_SEL";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio177oh_pins: gpio177oh-pins {
> > + pins = "GPIO177/PSPI1DI/FANIN17";
> > + label = "S1_UART1_BMC_SEL";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio198ol_pins: gpio198ol-pins {
> > + pins = "GPIO198/SMB0DSDA";
> > + label = "SX_BMC_UART1_SEL";
> > bias-disable;
> > output-low;
> > };
> > - gpio66oh_pins: gpio66oh-pins {
> > - pins = "GPIO66/FANIN2";
> > + /* I2C Mux Pins */
> > + gpio87oh_pins: gpio87oh-pins {
> > + pins = "GPIO87/R2RXD0";
> > + label = "BMC_I2C0_MUX4_RST_N";
> > bias-disable;
> > output-high;
> > };
> > - gpio67oh_pins: gpio67oh-pins {
> > - pins = "GPIO67/FANIN3";
> > + gpio88oh_pins: gpio88oh-pins {
> > + pins = "GPIO88/R2RXD1";
> > + label = "BMC_I2C1_MUX1_RST_N";
> > bias-disable;
> > output-high;
> > };
> > - gpio68ol_pins: gpio68ol-pins {
> > - pins = "GPIO68/FANIN4";
> > + gpio89oh_pins: gpio89oh-pins {
> > + pins = "GPIO89/R2CRSDV";
> > + label = "BMC_I2C1_MUX2_RST_N";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio91oh_pins: gpio91oh-pins {
> > + pins = "GPIO91/R2MDC";
> > + label = "BMC_I2C4_MUX3_RST_N";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio168oh_pins: gpio168oh-pins {
> > + pins = "GPIO168/nCLKRUN/nESPIALERT";
> > + label = "BMC_I2C_BACKUP_SEL";
> > + bias-pull-up;
> > + output-high;
> > + };
> > + /* I3C Mux Pin */
> > + gpio12oh_pins: gpio12oh-pins{
> > + pins = "GPIO12/GSPICK/SMB5BSCL";
> > + label = "I3C_MUX_RST_N";
> > + bias-disable;
> > + output-high;
> > + };
> > + /* JTAG Mux Pins */
> > + gpio218oh_pins: gpio218oh-pins {
> > + pins = "GPIO218/nWDO1";
> > + label = "BMC_JTAG_MUX_1";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio164ol_pins: gpio164ol-pins {
> > + pins = "GPIO164/LAD0/ESPI_IO0";
> > + label = "BMC_JTAG_SEL";
> > bias-disable;
> > output-low;
> > };
> > - gpio69i_pins: gpio69i-pins {
> > + gpio16oh_pins: gpio16oh-pins {
> > + pins = "GPIO16/LKGPO0";
> > + label = "JTAG_TMS_BMC_MUX";
> > + bias-disable;
> > + output-high;
> > + };
> > + /* CPU Mux Pins */
> > + gpio84ol_pins: gpio84ol-pins {
> > + pins = "GPIO84/R2TXD0";
> > + label = "BMC_CPU_DDR_I2C_SEL";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio85ol_pins: gpio85ol-pins {
> > + pins = "GPIO85/R2TXD1";
> > + label = "BMC_CPU_EEPROM_I2C_SEL";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio86ol_pins: gpio86ol-pins {
> > + pins = "GPIO86/R2TXEN";
> > + label = "BMC_CPU_PMBUS_SEL";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio120ol_pins: gpio120ol-pins {
> > + pins = "GPIO120/SMB2CSDA";
> > + label = "BMC_CPU_RTC_I2C_SEL";
> > + bias-disable;
> > + output-low;
> > + };
> > + /* Control Pins */
> > + /*gpio10oh_pins: gpio10oh-pins { */
> > + gpio10oh_pins: gpio10oh-pins {
> > + pins = "GPIO10/IOXHLD";
> > + label = "MON_EVT_BMC_ALIVE";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio137oh_pins: gpio137oh-pins {
> > + pins = "GPIO137/SD1DT1";
> > + label = "MON_BMC_ALIVE";
> > + bias-disable;
> > + output-high;
> > + };
> > + /* gpio69oh_pins: gpio69oh-pins { */
> > + gpio69ol_pins: gpio69ol-pins {
> > pins = "GPIO69/FANIN5";
> > + label = "S0_BMC_OK";
> > bias-disable;
> > - input-enable;
> > + /* output-high; */
> > + output-low;
> > + };
> > + gpio94ol_pins: gpio94ol-pins {
> > + pins = "GPIO94/nKBRST/SMB5DSDA";
> > + label = "VIRTUAL_RESEAT";
> > + bias-disable;
> > + output-low;
> > };
> > - gpio70ol_pins: gpio70ol-pins {
> > + gpio203ol_pins: gpio203ol-pins {
> > + pins = "GPIO203/FANIN16";
> > + label = "BMC_PWRBTN_OUT";
> > + bias-disable;
> > + output-low;
> > + };
> > + /* graceful shutdown trigger */
> > + gpio70oh_pins: gpio70oh-pins {
> > pins = "GPIO70/FANIN6";
> > + label = "S0_SHD_REQ_N";
> > + persist-enable;
> > + output-high;
> > + };
> > + gpio90oh_pins: gpio90oh-pins {
> > + pins = "GPIO90/R2RXERR";
> > + label = "BMC_I2C4_IO_EXPANDER_RST_N";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio196ol_pins: gpio196ol-pins {
> > + pins = "GPIO196/SMB0CSCL";
> > + label = "BMC_JTAG_DAISYCHAIN_DIS";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio197oh_pins: gpio197oh-pins {
> > + pins = "GPIO197/SMB0DEN";
> > + label = "FULL_SPEED_N";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio14oh_pins: gpio14oh-pins {
> > + pins = "GPIO14/GSPIDI/SMB5CSCL";
> > + label = "PE_THROTTLE_N";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio66ol_pins: gpio66ol-pins {
> > + pins = "GPIO66/FANIN2";
> > + label = "S0_PLIMIT";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio67ol_pins: gpio67ol-pins {
> > + pins = "GPIO67/FANIN3";
> > + label = "S0_RTC_LOCK";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio125ol_pins: gpio125ol-pins {
> > + pins = "GPIO125/SMB1CSCL";
> > + label = "S1_PLIMIT";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio4ol_pins: gpio4ol-pins {
> > + pins = "GPIO4/IOX2DI/SMB1DSDA";
> > + label = "RST_POST_N";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio5ol_pins: gpio5ol-pins {
> > + pins = "GPIO5/IOX2LD/SMB1DSCL";
> > + label = "JTAG_MUX_R_EN_N";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio46ol_pins: gpio46ol-pins {
> > + pins = "GPIO46/nDSR1/JTCK2";
> > + label = "ROT_CPU_RST_N";
> > bias-disable;
> > output-low;
> > };
> > + gpio187ol_pins: gpio187ol-pins {
> > + pins = "GPIO187/nSPI3CS1";
> > + label = "BMC_FWSPI_HOLD_R_N";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio165ol_pins: gpio165ol-pins {
> > + pins = "GPIO165/LAD1/ESPI_IO1";
> > + label = "BMC_JTAG_SPARE";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio166ol_pins: gpio166ol-pins {
> > + pins = "GPIO166/LAD2/ESPI_IO2";
> > + label = "BMC_JTAG_SRST_N";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio77oh_pins: gpio77oh-pins {
> > + pins = "GPIO77/FANIN13";
> > + label = "S0_DDR_SAVE";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio170ol_pins: gpio170ol-pins {
> > + pins = "GPIO170/nSMI";
> > + label = "BMC_I2C6_RESET_N";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio175ol_pins: gpio175ol-pins {
> > + pins = "GPIO175/PSPI1CK/FANIN19";
> > + label = "BMC_FWSPI_WP_R_N";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio206oh_pins: gpio206oh-pins {
> > + pins = "GPIO206/HSYNC2";
> > + label = "FM_BMC_FRU_EEPROM_WP";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio219oh_pins: gpio219oh-pins {
> > + pins = "GPIO219/nWDO2";
> > + label = "BMC_I2C7_RST_N";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio15oh_pins: gpio15oh-pins {
> > + pins = "GPIO15/GSPICS/SMB5CSDA";
> > + label = "PE4_BRICK_EN";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio139ol_pins: gpio139ol-pins {
> > + pins = "GPIO139/SD1DT3";
> > + label = "HSC_A_FAULT_N";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio141oh_pins: gpio141oh-pins {
> > + pins = "GPIO141/SD1WP";
> > + label = "PLD_SYS_RST_BT_N";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio202ol_pins: gpio202ol-pins {
> > + pins = "GPIO202/SMB0CSDA";
> > + label = "BMC_SYS_PSON_N";
> > + bias-disable;
> > + output-low;
> > + };
> > + /* Monitor Pins */
> > + gpio192i_pins: gpio192i-pins {
> > + pins = "GPIO192";
> > + label = "BMC_PWR_BTN_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio199i_pins: gpio199i-pins {
> > + pins = "GPIO199/SMB0DSCL";
> > + label = "BMC_PSU_PG";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio13i_pins: gpio13i-pins {
> > + pins = "GPIO13/GSPIDO/SMB5BSDA";
> > + label = "S0_RESET_OUT_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio25i_pins: gpio25i-pins {
> > + pins = "GPIO25/IOXHDI";
> > + label = "S1_I2C9_ALERT_R_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio59i_pins: gpio59i-pins {
> > + pins = "GPIO59/SMB3DSDA";
> > + label = "SATA0_PRSNT_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio60i_pins: gpio60i-pins {
> > + pins = "GPIO60/SMB3DSCL";
> > + label = "S0_SCP_AUTH_FAILURE_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio6i_pins: gpio6i-pins {
> > + pins = "GPIO6/IOX2CK/SMB2DSDA";
> > + label = "IRQ_SMB_DCBO_MAX34451_ALERT_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio11i_pins: gpio11i-pins {
> > + pins = "GPIO11/IOXHCK";
> > + label = "S0_I2C4_ALERT_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio162i_pins: gpio162i-pins {
> > + pins = "GPIO162/SERIRQ";
> > + label = "S1_BMC_SPARE_R";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio163i_pins: gpio163i-pins {
> > + pins = "GPIO163/LCLK/ESPICLK";
> > + label = "S0_BMC_VRD3_P0V75_FAULT_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio37i_pins: gpio37i-pins {
> > + pins = "GPIO37/SMB3CSDA";
> > + label = "S1_BMC_VRD3_P0V75_FAULT_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio93i_pins: gpio93i-pins {
> > + pins = "GPIO93/GA20/SMB5DSCL";
> > + label = "FAN_FAIL_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio64i_pins: gpio64i-pins {
> > + pins = "GPIO64/FANIN0";
> > + label = "BMC_S0_GPIO0_DDR_ADR";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio68i_pins: gpio68i-pins {
> > + pins = "GPIO68/FANIN4";
> > + label = "S0_I2C3_ALERT_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > gpio71i_pins: gpio71i-pins {
> > pins = "GPIO71/FANIN7";
> > + label = "S1_SLAVE_PRESENT_BUFF_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio72i_pins: gpio72i-pins {
> > pins = "GPIO72/FANIN8";
> > + label = "S0_OVERTEMP_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio73i_pins: gpio73i-pins {
> > pins = "GPIO73/FANIN9";
> > + label = "S0_HIGHTEMP_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio74i_pins: gpio74i-pins {
> > pins = "GPIO74/FANIN10";
> > + label = "S0_FAULT_ALERT_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio75i_pins: gpio75i-pins {
> > pins = "GPIO75/FANIN11";
> > + label = "S0_SHD_ACK_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio76i_pins: gpio76i-pins {
> > pins = "GPIO76/FANIN12";
> > - bias-disable;
> > - input-enable;
> > - };
> > - gpio77i_pins: gpio77i-pins {
> > - pins = "GPIO77/FANIN13";
> > + label = "S0_REBOOT_ACK_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio78i_pins: gpio78i-pins {
> > pins = "GPIO78/FANIN14";
> > + label = "S0_PRESENT_CPLD_N";
> > bias-disable;
> > input-enable;
> > };
> > - gpio79ol_pins: gpio79ol-pins {
> > + gpio79i_pins: gpio79i-pins {
> > pins = "GPIO79/FANIN15";
> > + label = "S01_ALERT3_SALT3_N";
> > bias-disable;
> > - output-low;
> > + input-enable;
> > };
> > - gpio80oh_pins: gpio80oh-pins {
> > + gpio80i_pins: gpio80i-pins {
> > pins = "GPIO80/PWM0";
> > + label = "S1_GPI2_SPECIAL_BOOT";
> > bias-disable;
> > - output-high;
> > + input-enable;
> > };
> > gpio81i_pins: gpio81i-pins {
> > pins = "GPIO81/PWM1";
> > + label = "S0_BMC_VRD0_VDDC_FAULT_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio82i_pins: gpio82i-pins {
> > pins = "GPIO82/PWM2";
> > + label = "S0_BMC_VRD1_VDDQ0123_FAULT_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio83i_pins: gpio83i-pins {
> > pins = "GPIO83/PWM3";
> > + label = "S1_BMC_VRD2_VDDQ4567_FAULT_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio144i_pins: gpio144i-pins {
> > pins = "GPIO144/PWM4";
> > + label = "S1_BMC_VRD1_VDDQ0123_FAULT_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio145i_pins: gpio145i-pins {
> > pins = "GPIO145/PWM5";
> > + label = "S1_BMC_VRD0_VDDC_FAULT_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio146i_pins: gpio146i-pins {
> > pins = "GPIO146/PWM6";
> > + label = "S0_BMC_VRD2_VDDQ4567_FAULT_N";
> > bias-disable;
> > input-enable;
> > };
> > - gpio147oh_pins: gpio147oh-pins {
> > + gpio147i_pins: gpio147i-pins {
> > pins = "GPIO147/PWM7";
> > + label = "S0_BMC_GPIOAC5_R";
> > bias-disable;
> > - output-high;
> > - };
> > - gpio168ol_pins: gpio168ol-pins {
> > - pins = "GPIO168/nCLKRUN/nESPIALERT";
> > - bias-disable;
> > - output-low;
> > - };
> > - gpio169oh_pins: gpio169oh-pins {
> > - pins = "GPIO169/nSCIPME";
> > - bias-disable;
> > - output-high;
> > + input-enable;
> > };
> > - gpio170ol_pins: gpio170ol-pins {
> > - pins = "GPIO170/nSMI";
> > + gpio160i_pins: gpio160i-pins {
> > + pins = "GPIO160/CLKOUT/RNGOSCOUT";
> > + label = "RST_BMC_MB_MAX34451_N";
> > bias-disable;
> > - output-low;
> > + input-enable;
> > };
> > - gpio218oh_pins: gpio218oh-pins {
> > - pins = "GPIO218/nWDO1";
> > + gpio231i_pins: gpio231i-pins {
> > + pins = "GPIO231/nCLKREQ";
> > + label = "FM_SYS_THROTTLE_LVC3_PLD";
> > bias-disable;
> > - output-high;
> > + input-enable;
> > };
> > - gpio37i_pins: gpio37i-pins {
> > - pins = "GPIO37/SMB3CSDA";
> > + gpio9i_pins: gpio9i-pins {
> > + pins = "GPIO9/LKGPO2";
> > + label = "FM_SEQ_BMC_PCIRST_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio38i_pins: gpio38i-pins {
> > pins = "GPIO38/SMB3CSCL";
> > + label = "BMC_SALT1_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio39i_pins: gpio39i-pins {
> > pins = "GPIO39/SMB3BSDA";
> > + label = "BMC_SALT8_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio40i_pins: gpio40i-pins {
> > pins = "GPIO40/SMB3BSCL";
> > + label = "BMC_SALT0_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio92i_pins: gpio92i-pins {
> > + pins = "GPIO92/R2MDIO";
> > + label = "BMC_SMB_ALERT_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio121i_pins: gpio121i-pins {
> > pins = "GPIO121/SMB2CSCL";
> > + label = "S1_OVERTEMP_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio122i_pins: gpio122i-pins {
> > pins = "GPIO122/SMB2BSDA";
> > + label = "S1_SCP_AUTH_FAILURE_N";
> > bias-disable;
> > input-enable;
> > };
> > gpio123i_pins: gpio123i-pins {
> > pins = "GPIO123/SMB2BSCL";
> > + label = "S1_FW_BOOT_OK";
> > bias-disable;
> > input-enable;
> > };
> > gpio124i_pins: gpio124i-pins {
> > pins = "GPIO124/SMB1CSDA";
> > + label = "S1_FAULT_ALERT_N";
> > bias-disable;
> > input-enable;
> > };
> > - gpio125i_pins: gpio125i-pins {
> > - pins = "GPIO125/SMB1CSCL";
> > + gpio126i_pins: gpio126i-pins {
> > + pins = "GPIO126/SMB1BSDA";
> > + label = "S1_HIGHTEMP_N";
> > bias-disable;
> > input-enable;
> > };
> > - gpio126i_pins: gpio126i-pins {
> > - pins = "GPIO126/SMB1BSDA";
> > + gpio136i_pins: gpio136i-pins {
> > + pins = "GPIO136/SD1DT0";
> > + label = "S1_PRESENT_CPLD_N";
> > bias-disable;
> > input-enable;
> > };
> > - gpio127i_pins: gpio127i-pins {
> > - pins = "GPIO127/SMB1BSCL";
> > + gpio138i_pins: gpio138i-pins {
> > + pins = "GPIO138/SD1DT2";
> > + label = "CPU_BIOS_RECOVER_JMPR";
> > bias-disable;
> > input-enable;
> > };
> > - gpio136i_pins: gpio136i-pins {
> > - pins = "GPIO136/SD1DT0";
> > + gpio140i_pins: gpio140i-pins {
> > + pins = "GPIO140/SD1CLK";
> > + label = "PLD_BMC_SRST_N";
> > bias-disable;
> > input-enable;
> > };
> > - gpio137oh_pins: gpio137oh-pins {
> > - pins = "GPIO137/SD1DT1";
> > + gpio142i_pins: gpio142i-pins {
> > + pins = "GPIO142/SD1CMD";
> > + label = "ROT_CPU_RST_AUTH_N";
> > + bias-disable;
> > + input-enable;
> > + };
> > + /* fiu3 */
> > + gpio188o_pins: gpio188o-pins {
> > + pins = "GPIO188/SPI3D2/nSPI3CS2";
> > bias-disable;
> > output-high;
> > };
> > - gpio138i_pins: gpio138i-pins {
> > - pins = "GPIO138/SD1DT2";
> > + gpio189_pins: gpio189-pins {
> > + pins = "GPIO189/SPI3D3/nSPI3CS3";
> > bias-disable;
> > input-enable;
> > };
> > - gpio139i_pins: gpio139i-pins {
> > - pins = "GPIO139/SD1DT3";
> > + gpio190i_pins: gpio190i-pins{
> > + pins = "GPIO190/nPRD_SMI";
> > + label = "S0_GPI2_SPECIAL_BOOT";
> > bias-disable;
> > input-enable;
> > };
> > - gpio140i_pins: gpio140i-pins {
> > - pins = "GPIO140/SD1CLK";
> > + gpio194i_pins: gpio194i-pins {
> > + pins = "GPIO194/SMB0BSCL";
> > + label = "S0_FW_BOOT_OK";
> > + bias-disable;
> > + input-enable;
> > + };
> > + gpio195i_pins: gpio195i-pins {
> > + pins = "GPIO195/SMB0BSDA";
> > + label = "BMC_CON1_SEL";
> > bias-disable;
> > input-enable;
> > };
> > - gpio141i_pins: gpio141i-pins {
> > - pins = "GPIO141/SD1WP";
> > - bias-disable;
> > - input-enable;
> > + /* Changed for DVT due to HW change */
> > + gpio143ol_pins: gpio143ol-pins {
> > + pins = "GPIO143/SD1CD/SD1PWR";
> > + label = "HPM_STBY_RST";
> > + bias-disable;
> > + output-low;
> > + };
> > + gpio205i_pins: gpio205i-pins {
> > + pins = "GPIO205/DDC2SDA";
> > + label = "SYS_PWROK_GF_CPLD";
> > + input-enable;
> > + };
> > + gpio207i_pins: gpio207i-pins {
> > + pins = "GPIO207/VSYNC2";
> > + label = "RST_PLTRST_BUF_N";
> > + input-enable;
> > + };
> > + gpio228i_pins: gpio228i-pins {
> > + pins = "GPIO228/nSPIXCS1";
> > + label = "S0_SCP_FAIL";
> > + input-enable;
> > + };
> > + gpio230i_pins: gpio230i-pins {
> > + pins = "GPIO230/SPIXD3";
> > + label = "SPI_AUTH_FAIL";
> > + input-enable;
> > + };
> > + /* CPU Reset set to high after BMC OK */
> > + gpio65oh_pins: gpio65oh-pins {
> > + pins = "GPIO65/FANIN1";
> > + label = "BMC_S0_SYSRESET_N";
> > + bias-disable;
> > + output-high;
> > + };
> > + gpio127oh_pins: gpio127oh-pins {
> > + pins = "GPIO127/SMB1BSCL";
> > + label = "BMC_S1_SYSRESET_N";
> > + bias-disable;
> > + output-high;
> > + };
> > + };
> > +
> > + ahb {
> > + udc5:udc at f0835000 {
> > + status = "okay";
> > + };
> > + udc6:udc at f0836000 {
> > + status = "okay";
> > + };
> > + udc7:udc at f0837000 {
> > + status = "okay";
> > + };
> > + udc8:udc at f0838000 {
> > + status = "okay";
> > + };
> > + apb {
> > + lpc_host at 7000 {
> > + lpc_snoop at 40 {
> > + compatible = "nuvoton,npcm750-lpc-bpc-snoop";
> > + reg = <0x40 0x14>;
> > + snoop-ports = <0x80>;
> > + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
> > + status = "okay";
> > + };
> > + };
> > + };
> > + };
> > + pcie-slot {
> > + pcie0: pcie-slot at 0 {
> > + label = "slot0";
> > };
> > - gpio190oh_pins: gpio190oh-pins {
> > - pins = "GPIO190/nPRD_SMI";
> > - bias-disable;
> > - output-high;
> > + pcie1: pcie-slot at 1 {
> > + label = "slot1";
> > };
> > - gpio191oh_pins: gpio191oh-pins {
> > - pins = "GPIO191";
> > - bias-disable;
> > - output-high;
> > + pcie2: pcie-slot at 2 {
> > + label = "slot2";
> > };
> > - gpio195ol_pins: gpio195ol-pins {
> > - pins = "GPIO195/SMB0BSDA";
> > - bias-disable;
> > - output-low;
> > + pcie3: pcie-slot at 3 {
> > + label = "slot3";
> > };
> > - gpio196ol_pins: gpio196ol-pins {
> > - pins = "GPIO196/SMB0CSCL";
> > - bias-disable;
> > - output-low;
> > + pcie4: pcie-slot at 4 {
> > + label = "slot4";
> > };
> > - gpio199i_pins: gpio199i-pins {
> > - pins = "GPIO199/SMB0DSCL";
> > - bias-disable;
> > - input-enable;
> > + pcie5: pcie-slot at 5 {
> > + label = "slot5";
> > };
> > - gpio202ol_pins: gpio202ol-pins {
> > - pins = "GPIO202/SMB0CSDA";
> > - bias-disable;
> > - output-low;
> > + pcie6: pcie-slot at 6 {
> > + label = "slot6";
> > + };
> > + pcie7: pcie-slot at 7 {
> > + label = "slot7";
> > };
> > };
> > };
> > -
> > &gmac0 {
> > phy-mode = "rgmii-id";
> > snps,eee-force-disable;
> > status = "okay";
> > };
> >
> > +&emc0 {
> > + phy-mode = "rmii";
> > + status = "okay";
> > + fixed-link {
> > + speed = <100>;
> > + full-duplex;
> > + };
> > +};
> > +
> > &ehci1 {
> > status = "okay";
> > };
> >
> > +&ohci1 {
> > + status = "okay";
> > +};
> > +
> > +&aes {
> > + status = "okay";
> > +};
> > +
> > +&sha {
> > + status = "okay";
> > +};
> > +
> > +&spi1 {
> > + cs-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&gpio17_pins &gpio18o_pins
> > + &gpio19ol_pins>;
> > + status = "okay";
> > + jtag_master {
> > + compatible = "nuvoton,npcm750-jtag-master";
> > + spi-max-frequency = <25000000>;
> > + reg = <0>;
> > +
> > + pinctrl-names = "pspi", "gpio";
> > + pinctrl-0 = <&pspi2_pins>;
> > + pinctrl-1 = <&gpio17_pins &gpio18o_pins
> > + &gpio19ol_pins>;
> > +
> > + tck-gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
> > + tdi-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
> > + tdo-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
> > + tms-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
> > + status = "okay";
> > + };
> > +};
> > +
> > &fiu0 {
> > pinctrl-names = "default";
> > pinctrl-0 = <&spi0cs1_pins>;
> > @@ -397,42 +897,29 @@
> > reg = <0x0000000 0xC0000>;
> > read-only;
> > };
> > - u-boot-env at 100000{
> > - label = "u-boot-env";
> > - reg = <0x00100000 0x40000>;
> > + image-descriptor at f0000 {
> > + label = "image-descriptor";
> > + reg = <0xf0000 0x10000>;
> > + };
> > + hoth-update at 100000 {
> > + label = "hoth-update";
> > + reg = <0x100000 0x100000>;
> > };
> > kernel at 200000 {
> > label = "kernel";
> > - reg = <0x0200000 0x600000>;
> > + reg = <0x200000 0x500000>;
> > };
> > - rofs at 800000 {
> > + rofs at 700000 {
> > label = "rofs";
> > - reg = <0x800000 0x3500000>;
> > + reg = <0x700000 0x35f0000>;
> > };
> > - rwfs at 3d00000 {
> > + rwfs at 3cf0000 {
> > label = "rwfs";
> > - reg = <0x3d00000 0x300000>;
> > - };
> > - };
> > - };
> > - spi-nor at 1 {
> > - compatible = "jedec,spi-nor";
> > - #address-cells = <1>;
> > - #size-cells = <1>;
> > - reg = <1>;
> > - spi-max-frequency = <5000000>;
> > - spi-rx-bus-width = <2>;
> > - partitions at 88000000 {
> > - compatible = "fixed-partitions";
> > - #address-cells = <1>;
> > - #size-cells = <1>;
> > - spare1 at 0 {
> > - label = "spi0-cs1-spare1";
> > - reg = <0x0 0x800000>;
> > + reg = <0x3cf0000 0x300000>;
> > };
> > - spare2 at 800000 {
> > - label = "spi0-cs1-spare2";
> > - reg = <0x800000 0x0>;
> > + hoth-mailbox at 3ff0000 {
> > + label = "hoth-mailbox";
> > + reg = <0x3ff0000 0x10000>;
> > };
> > };
> > };
> > @@ -440,29 +927,56 @@
> >
> > &fiu3 {
> > pinctrl-0 = <&spi3_pins>;
> > + status = "okay";
> > +
> > spi-nor at 0 {
> > compatible = "jedec,spi-nor";
> > #address-cells = <1>;
> > #size-cells = <1>;
> > + spi-rx-bus-width = <2>;
> > reg = <0>;
> > - spi-max-frequency = <5000000>;
> > + label = "bios";
> > + };
> > + spi-nor at 3 {
> > + compatible = "jedec,spi-nor";
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > spi-rx-bus-width = <2>;
> > - partitions at A0000000 {
> > - compatible = "fixed-partitions";
> > - #address-cells = <1>;
> > - #size-cells = <1>;
> > - system1 at 0 {
> > - label = "bios";
> > - reg = <0x0 0x0>;
> > - };
> > - system2 at 800000 {
> > - label = "spi3-system2";
> > - reg = <0x800000 0x0>;
> > - };
> > - };
> > + reg = <3>;
> > + label = "bios";
> > };
> > };
> >
> > +/* emmc */
> > +/* &sdhci0 {
> > + status = "okay";
> > +}; */
> > +
> > +/* USB */
> > +&ehci1 {
> > + status = "okay";
> > +};
> > +
> > +&ohci1 {
> > + status = "okay";
> > +};
> > +
> > +&vdma {
> > + status = "okay";
> > +};
> > +
> > +&pcimbox {
> > + status = "okay";
> > +};
> > +
> > +&vcd {
> > + status = "okay";
> > +};
> > +
> > +&ece {
> > + status = "okay";
> > +};
> > +
> > &watchdog1 {
> > status = "okay";
> > };
> > @@ -492,7 +1006,12 @@
> > status = "okay";
> > };
> >
> > +&otp {
> > + status = "okay";
> > +};
> > +
> > &i2c1 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > i2c-switch at 75 {
> > compatible = "nxp,pca9548";
> > @@ -501,72 +1020,78 @@
> > reg = <0x75>;
> > i2c-mux-idle-disconnect;
> >
> > - i2c at 2 {
> > + i2c16: i2c at 0 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0>;
> > + };
> > +
> > + i2c17: i2c at 1 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <1>;
> > + };
> > +
> > + i2c18: i2c at 2 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <2>;
> >
> > - // Rear-Fan
> > - max31790 at 58 {
> > + /* Rear-Fan */
> > + max31790 at 2c {
> > compatible = "maxim,max31790";
> > - reg = <0x58>;
> > + reg = <0x2c>;
> > };
> > };
> >
> > - i2c at 3 {
> > + i2c19: i2c at 3 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <3>;
> > -
> > - // Mid-Fan
> > - max31790 at 58 {
> > - compatible = "maxim,max31790";
> > - reg = <0x58>;
> > - };
> > };
> >
> > - i2c-bus at 4 {
> > + i2c20: i2c at 4 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <4>;
> >
> > - // INLET1_T
> > + /* INLET1_T */
> > lm75 at 5c {
> > compatible = "ti,lm75";
> > reg = <0x5c>;
> > };
> > };
> >
> > - i2c-bus at 5 {
> > + i2c21: i2c at 5 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <5>;
> >
> > - // OUTLET1_T
> > + /* OUTLET3_T */
> > lm75 at 5c {
> > compatible = "ti,lm75";
> > reg = <0x5c>;
> > };
> > };
> >
> > - i2c-bus at 6 {
> > + i2c22: i2c at 6 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <6>;
> >
> > - // OUTLET2_T
> > + /* OUTLET2_T */
> > lm75 at 5c {
> > compatible = "ti,lm75";
> > reg = <0x5c>;
> > };
> > };
> >
> > - i2c-bus at 7 {
> > + i2c23: i2c at 7 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <7>;
> >
> > - // OUTLET3_T
> > + /* OUTLET1_T */
> > lm75 at 5c {
> > compatible = "ti,lm75";
> > reg = <0x5c>;
> > @@ -580,38 +1105,81 @@
> > reg = <0x77>;
> > i2c-mux-idle-disconnect;
> >
> > - i2c-bus at 2 {
> > + i2c24: i2c at 0 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0>;
> > + };
> > +
> > + i2c25: i2c at 1 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <1>;
> > + };
> > +
> > + i2c26: i2c at 2 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <2>;
> >
> > - // STB-T
> > + /* STB-T */
> > pmbus at 74 {
> > compatible = "pmbus";
> > reg = <0x74>;
> > };
> > };
> > +
> > + i2c27: i2c at 3 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <3>;
> > +
> > + /* 48V PMBUS this is a Generic PMBus Device */
> > + pmbus at 1f {
> > + compatible = "pmbus";
> > + reg = <0x1f>;
> > + };
> > + };
> > +
> > + i2c28: i2c at 4 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <4>;
> > + };
> > +
> > + i2c29: i2c at 5 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <5>;
> > + };
> > +
> > + i2c30: i2c at 6 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <6>;
> > + };
> > +
> > + i2c31: i2c at 7 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <7>;
> > + };
> > };
> > };
> >
> > &i2c2 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > - smpro at 4f {
> > - compatible = "ampere,smpro";
> > - reg = <0x4f>;
> > - };
> > -
> > - smpro at 4e {
> > - compatible = "ampere,smpro";
> > - reg = <0x4e>;
> > - };
> > };
> >
> > &i2c3 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > + pcie-slot = &pcie0;
> > };
> >
> > &i2c4 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > i2c-switch at 77 {
> > compatible = "nxp,pca9548";
> > @@ -620,70 +1188,138 @@
> > reg = <0x77>;
> > i2c-mux-idle-disconnect;
> >
> > - i2c-bus at 0 {
> > + i2c32: i2c at 0 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <0>;
> >
> > - // ADC sensors
> > + /* ADC sensors */
> > adm1266 at 40 {
> > compatible = "adi,adm1266";
> > reg = <0x40>;
> > };
> > + /* ADC sensors */
> > + adm1266 at 41 {
> > + compatible = "adi,adm1266";
> > + reg = <0x41>;
> > + };
> > };
> >
> > - i2c-bus at 1 {
> > + i2c33: i2c at 1 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <1>;
> >
> > - // ADC sensors
> > - adm1266 at 41 {
> > - compatible = "adi,adm1266";
> > - reg = <0x41>;
> > + /* SKM sensors */
> > + skm at 55 {
> > + compatible = "atmel,24c64";
> > + reg = <0x55>;
> > + pagesize = <0x20>;
> > };
> > };
> > +
> > + i2c34: i2c at 2 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <2>;
> > + };
> > +
> > + i2c35: i2c at 3 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <3>;
> > + };
> > +
> > + i2c36: i2c at 4 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <4>;
> > +
> > + /* gpio expander */
> > + pca6416 at 20 {
> > + compatible = "ti,tca6416";
> > + reg = <0x20>;
> > + gpio-controller;
> > + #gpio-cells = <2>;
> > + };
> > + };
> > +
> > + i2c37: i2c at 5 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <5>;
> > + };
> > +
> > + i2c38: i2c at 6 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <6>;
> > + };
> > +
> > + i2c39: i2c at 7 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <7>;
> > + };
> > + };
> > +
> > + mbfru at 50 {
> > + compatible = "atmel,24c64";
> > + reg = <0x50>;
> > };
> > };
> >
> > &i2c5 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > + pcie-slot = &pcie1;
> > };
> >
> > &i2c6 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > + pcie-slot = &pcie2;
> > };
> >
> > &i2c7 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > + pcie-slot = &pcie3;
> > };
> >
> > &i2c8 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > + pcie-slot = &pcie4;
> > };
> >
> > &i2c9 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > + pcie-slot = &pcie5;
> > };
> >
> > &i2c10 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > + pcie-slot = &pcie6;
> > };
> >
> > &i2c11 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > + pcie-slot = &pcie7;
> > };
> >
> > &i2c12 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > - ssif-bmc at 10 {
> > - compatible = "ssif-bmc";
> > - reg = <0x10>;
> > - };
> > };
> >
> > &i2c13 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > +
> > i2c-switch at 77 {
> > compatible = "nxp,pca9548";
> > #address-cells = <1>;
> > @@ -691,135 +1327,371 @@
> > reg = <0x77>;
> > i2c-mux-idle-disconnect;
> >
> > - i2c-bus at 3 {
> > + i2c40: i2c at 0 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0>;
> > + };
> > + i2c41: i2c at 1 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <1>;
> > +
> > + rtc at 51 {
> > + compatible = "nxp,pcf85063";
> > + reg = <0x51>;
> > + quartz-load-femtofarads = <12500>;
> > + };
> > + };
> > + i2c42: i2c at 2 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <2>;
> > +
> > + /* M2_ZONE_T */
> > + lm75 at 48 {
> > + compatible = "ti,lm75";
> > + reg = <0x48>;
> > + };
> > + };
> > +
> > + i2c43: i2c at 3 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <3>;
> >
> > - // M2_ZONE_T
> > - lm75 at 28 {
> > + /* BATT_ZONE_T */
> > + lm75 at 49 {
> > compatible = "ti,lm75";
> > - reg = <0x28>;
> > + reg = <0x49>;
> > };
> > };
> >
> > - i2c-bus at 4 {
> > + i2c44: i2c at 4 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <4>;
> >
> > - // BATT_ZONE_T
> > - lm75 at 29 {
> > + /* NBM1_ZONE_T */
> > + lm75 at 48 {
> > compatible = "ti,lm75";
> > - reg = <0x29>;
> > + reg = <0x48>;
> > };
> > };
> > -
> > - i2c-bus at 5 {
> > + i2c45: i2c at 5 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <5>;
> >
> > - // NBM1_ZONE_T
> > - lm75 at 28 {
> > + /* NBM2_ZONE_T */
> > + lm75 at 49 {
> > compatible = "ti,lm75";
> > - reg = <0x28>;
> > + reg = <0x49>;
> > };
> > };
> > - i2c-bus at 6 {
> > + i2c46: i2c at 6 {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > reg = <6>;
> >
> > - // NBM2_ZONE_T
> > - lm75 at 29 {
> > - compatible = "ti,lm75";
> > - reg = <0x29>;
> > + tla2024: tla2024 at 48 {
> > + compatible = "ti,tla2024";
> > + reg = <0x48>;
> > + scale = <2>;
> > + #io-channel-cells = <1>;
> > +
> > + channel at 0 {
> > + single-channel = <0>;
> > + };
> > +
> > + channel at 2 {
> > + single-channel = <2>;
> > + };
> > };
> > };
> > + i2c47: i2c at 7 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <7>;
> > + };
> > };
> > };
> >
> > &i2c14 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > + /* ADC sensors - DC */
> > + max34451 at 59 {
> > + compatible = "maxim,max34451";
> > + reg = <0X59>;
> > + };
> > + bmcfru at 55 {
> > + compatible = "atmel,24c64";
> > + reg = <0x55>;
> > + };
> > };
> >
> > &i2c15 {
> > + clock-frequency = <100000>;
> > status = "okay";
> > +
> > + i2c-switch at 72 {
> > + compatible = "nxp,pca9545";
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0x72>;
> > + i2c-mux-idle-disconnect;
> > +
> > + i2c48: i2c at 0 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0>;
> > + };
> > + i2c49: i2c at 1 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <1>;
> > + };
> > + i2c50: i2c at 2 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <2>;
> > + };
> > + i2c51: i2c at 3
> > + {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <3>;
> > + };
> > + };
> > };
> >
> > -&spi0 {
> > - cs-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
> > - status = "okay";
> > +&gpio0 {
> > + gpio-line-names =
> > + /* GPIO0 */
> > + "", "", "", "",
> > + "", "", "DCBO_SEQ_ALERT_N", "",
> > + "", "", "", "",
> > + "", "RESET_BUTTON", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "";
> > +};
> > +&gpio1 {
> > + gpio-line-names =
> > + /* GPIO1 */
> > + "", "", "", "",
> > + "", "S1_BMC_VRD3_P0V75_FAULT_N", "BMC_SALT1_N", "BMC_SALT8_N",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "S0_SCP_AUTH_FAILURE_N", "", "", "";
> > +};
> > +&gpio2 {
> > + gpio-line-names =
> > + /* GPIO2 */
> > + "", "RESET_OUT_BUTTON", "", "",
> > + "", "", "POWER_OUT_OFF", "",
> > + "S0_OVERTEMP", "S0_HIGHTEMP", "", "SHD_ACK",
> > + "REBOOT_ACK", "", "", "",
> > + "", "S0_BMC_VRD0_VDDC_FAULT_N", "S0_BMC_VRD1_VDDQ0123_FAULT_N", "S1_BMC_VRD2_VDDQ4567_FAULT_N",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "RESET_OUT", "";
> > +};
> > +&gpio3 {
> > + gpio-line-names =
> > + "", "", "", "", /* 0-3 */
> > + "", "", "", "", /* 4-7 */
> > + "", "", "", "", /* 8-11 */
> > + "", "", "", "", /* 12-15 */
> > + "", "", "", "", /* 16 - 19 */
> > + "", "", "", "", /* 20 - 23 */
> > + "", "S1_OVERTEMP", "", "", /* 24 - 27 */
> > + "", "", "S1_HIGHTEMP", ""; /* 28- 31 */
> > +};
> > +&gpio4 {
> > + gpio-line-names =
> > + /* GPIO4 */
> > + "", "", "", "",
> > + "", "", "", "",
> > + "S1_PRESENT_CPLD_N", "", "", "HSC_A_FAULT_N",
> > + "", "", "PWR_SEQ_FAULT", "HPM_STBY_RST_N",
> > + "S1_BMC_VRD1_VDDQ0123_FAULT_N", "S1_BMC_VRD0_VDDC_FAULT_N", "S0_BMC_VRD2_VDDQ4567_FAULT_N", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "";
> > +};
> > +&gpio5 {
> > + gpio-line-names =
> > + "", "", "", "S0_BMC_VRD3_P0V75_FAULT_N",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "";
> > +};
> > +&gpio6 {
> > + gpio-line-names =
> > + /* GPIO6 */
> > + "POWER_BUTTON", "", "S0_FW_BOOT_OK", "",
> > + "", "", "", "HPM_STBY_RDY",
> > + "PS_PWROK", "", "", "POWER_OUT_ON",
> > + "S5_N_STATUS", "SYS_PWROK_GF_CPLD", "", "RST_PLTRST_BUF_N",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "";
> > +};
> > +&gpio7 {
> > + gpio-line-names =
> > + "", "", "", "",
> > + "S0_SCP_FAIL", "", "SPI_AUTH_FAIL", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "",
> > + "", "", "", "";
> > };
> >
> > +
> > &pinctrl {
> > pinctrl-names = "default";
> > pinctrl-0 = <
> > - &gpio61oh_pins
> > - &gpio62oh_pins
> > - &gpio161ol_pins
> > - &gpio163i_pins
> > - &gpio167ol_pins
> > - &gpio95i_pins
> > - &gpio65ol_pins
> > - &gpio66oh_pins
> > - &gpio67oh_pins
> > - &gpio68ol_pins
> > - &gpio69i_pins
> > - &gpio70ol_pins
> > - &gpio71i_pins
> > - &gpio72i_pins
> > - &gpio73i_pins
> > - &gpio74i_pins
> > - &gpio75i_pins
> > - &gpio76i_pins
> > - &gpio77i_pins
> > - &gpio78i_pins
> > - &gpio79ol_pins
> > - &gpio80oh_pins
> > - &gpio81i_pins
> > - &gpio82i_pins
> > - &gpio83i_pins
> > - &gpio144i_pins
> > - &gpio145i_pins
> > - &gpio146i_pins
> > - &gpio147oh_pins
> > - &gpio168ol_pins
> > - &gpio169oh_pins
> > - &gpio170ol_pins
> > - &gpio218oh_pins
> > - &gpio37i_pins
> > - &gpio38i_pins
> > - &gpio39i_pins
> > - &gpio40i_pins
> > - &gpio121i_pins
> > - &gpio122i_pins
> > - &gpio123i_pins
> > - &gpio124i_pins
> > - &gpio125i_pins
> > - &gpio126i_pins
> > - &gpio127i_pins
> > - &gpio136i_pins
> > - &gpio137oh_pins
> > - &gpio138i_pins
> > - &gpio139i_pins
> > - &gpio140i_pins
> > - &gpio141i_pins
> > - &gpio190oh_pins
> > - &gpio191oh_pins
> > - &gpio195ol_pins
> > - &gpio196ol_pins
> > - &gpio199i_pins
> > - &gpio202ol_pins
> > - >;
> > + /* LED Pins*/
> > + &gpio7oh_pins
> > + &gpio24ol_pins
> > + &gpio169ol_pins
> > +
> > + /* Mux Pins */
> > + /* UART Mux*/
> > + &gpio167oh_pins
> > + &gpio161oh_pins
> > + &gpio177oh_pins
> > + &gpio198ol_pins
> > +
> > + &gpio87oh_pins
> > + &gpio88oh_pins
> > + &gpio89oh_pins
> > + &gpio91oh_pins
> > + &gpio168oh_pins
> > + &gpio12oh_pins
> > + &gpio218oh_pins
> > + &gpio164ol_pins
> > + &gpio16oh_pins
> > + &gpio84ol_pins
> > + &gpio85ol_pins
> > + &gpio86ol_pins
> > + &gpio120ol_pins
> > +
> > + /* Control Pins */
> > + &gpio10oh_pins
> > + &gpio137oh_pins
> > + &gpio69ol_pins
> > + &gpio203ol_pins
> > + &gpio70oh_pins
> > + &gpio94ol_pins
> > + &gpio90oh_pins
> > + &gpio196ol_pins
> > + &gpio197oh_pins
> > + &gpio14oh_pins
> > + &gpio66ol_pins
> > + &gpio67ol_pins
> > + &gpio125ol_pins
> > + &gpio4ol_pins
> > + &gpio5ol_pins
> > + &gpio46ol_pins
> > + &gpio187ol_pins
> > + &gpio165ol_pins
> > + &gpio166ol_pins
> > + &gpio77oh_pins
> > + &gpio170ol_pins
> > + &gpio206oh_pins
> > + &gpio175ol_pins
> > + &gpio219oh_pins
> > + &gpio15oh_pins
> > + &gpio139ol_pins
> > + &gpio141oh_pins
> > + &gpio202ol_pins
> > +
> > + /* Monitor Pins */
> > + &gpio192i_pins
> > + &gpio199i_pins
> > + &gpio13i_pins
> > + &gpio25i_pins
> > + &gpio59i_pins
> > + &gpio60i_pins
> > + &gpio6i_pins
> > + &gpio11i_pins
> > + &gpio162i_pins
> > + &gpio163i_pins
> > + &gpio37i_pins
> > + &gpio93i_pins
> > + &gpio64i_pins
> > + &gpio68i_pins
> > + &gpio71i_pins
> > + &gpio72i_pins
> > + &gpio73i_pins
> > + &gpio74i_pins
> > + &gpio75i_pins
> > + &gpio76i_pins
> > + &gpio78i_pins
> > + &gpio79i_pins
> > + &gpio80i_pins
> > + &gpio81i_pins
> > + &gpio82i_pins
> > + &gpio83i_pins
> > + &gpio144i_pins
> > + &gpio145i_pins
> > + &gpio146i_pins
> > + &gpio147i_pins
> > + &gpio160i_pins
> > + &gpio231i_pins
> > + &gpio9i_pins
> > + &gpio38i_pins
> > + &gpio39i_pins
> > + &gpio40i_pins
> > + &gpio92i_pins
> > + &gpio121i_pins
> > + &gpio122i_pins
> > + &gpio123i_pins
> > + &gpio124i_pins
> > + &gpio126i_pins
> > + &gpio136i_pins
> > + &gpio138i_pins
> > + &gpio140i_pins
> > + &gpio142i_pins
> > + &gpio190i_pins
> > + &gpio194i_pins
> > + &gpio195i_pins
> > + &gpio143ol_pins
> > + &gpio205i_pins
> > + &gpio207i_pins
> > + &gpio228i_pins
> > + &gpio230i_pins
> > +
> > + /* BSP RX/TX */
> > + &bmcuart0a_pins /* BSP RX/TX */
> > + /* BU1 RX/TD */
> > + &bmcuart1_pins /* BU1 RX/TD */
> > + /* TX/RX D2 */
> > + &uart2_pins /* TX/RX D2 */
> > + /* Set system reset to high */
> > + &gpio65oh_pins
> > + &gpio127oh_pins
> > + >;
> > };
> >
> > &gcr {
> > serial_port_mux: mux-controller {
> > compatible = "mmio-mux";
> > #mux-control-cells = <1>;
> > -
> > mux-reg-masks = <0x38 0x07>;
> > idle-states = <2>;
> > };
> > --
> > 2.17.1
> >
More information about the openbmc
mailing list