<div dir="ltr">Hi,<br>I have added chips TCA9554 and PCA9552  which will be used for presence detect of FRUs, and line-names for miscellaneous GPIOs  .<br><div><br></div><div>From 38a17b3376c601a3796c1147b374d6aabfc8c12d Mon Sep 17 00:00:00 2001<br>From: Alpana Kumari <<a href="mailto:alpankum@in.ibm.com">alpankum@in.ibm.com</a>><br>Date: Thu, 10 Dec 2020 00:04:55 -0600<br>Subject: [PATCH] Adding chips TCA9554 and PCA9552, to expose the presence<br> detect lines for the op-panel, TPM, DASD planers, cable-cards, DCMs, VRMs.<br> And line-names for miscellaneous GPIOs.<br><br>Change-Id: If4d7df8db5f30fb4c1155d39c50c560251fc9660<br>Signed-off-by: Alpana Kumari <<a href="mailto:alpankum@in.ibm.com">alpankum@in.ibm.com</a>><br>---<br> arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 176 ++++++++++++++++++++++++++-<br> 1 file changed, 171 insertions(+), 5 deletions(-)<br><br>diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts<br>index bcc4568..8f9f4cd 100644<br>--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts<br>+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts<br>@@ -196,11 +196,11 @@<br> &gpio0 {<br>    gpio-line-names =<br>    /*A0-A7*/   "","","","","","","","",<br>-   /*B0-B7*/   "","","","","","","checkstop","",<br>+   /*B0-B7*/   "USERSPACE_RSTIND_BUFF","","","","","","checkstop","",<br>    /*C0-C7*/   "","","","","","","","",<br>    /*D0-D7*/   "","","","","","","","",<br>    /*E0-E7*/   "","","","","","","","",<br>-   /*F0-F7*/   "","","","","","","","",<br>+   /*F0-F7*/   "PIN_HOLE_RESET_IN_N","","","PIN_HOLE_RESET_OUT_N","","","","",<br>    /*G0-G7*/   "","","","","","","","",<br>    /*H0-H7*/   "","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","",<br>    /*I0-I7*/   "","","","","","","","",<br>@@ -212,12 +212,12 @@<br>    /*O0-O7*/   "","","","usb-power","","","","",<br>    /*P0-P7*/   "","","","","pcieslot-power","","","",<br>    /*Q0-Q7*/   "cfam-reset","","","","","","","",<br>-   /*R0-R7*/   "","","","","","","","",<br>+   /*R0-R7*/   "","","","","","I2C_FLASH_MICRO_N","","",<br>    /*S0-S7*/   "presence-ps0","presence-ps1","presence-ps2","presence-ps3",<br>                "","","","",<br>    /*T0-T7*/   "","","","","","","","",<br>    /*U0-U7*/   "","","","","","","","",<br></div><div>-   /*V0-V7*/   "","","","","","","","",<br>+   /*V0-V7*/   "","BMC_3RESTART_ATTEMPT_P","","","","","","",<br>    /*W0-W7*/   "","","","","","","","",<br>    /*X0-X7*/   "","","","","","","","",<br>    /*Y0-Y7*/   "","","","","","","","",<br>@@ -629,6 +629,65 @@<br>        reg = <0x51>;<br>    };<br><br>+   tca_pres1: tca9554@20{<br>+       compatible = "ti,tca9554";<br>+       reg = <0x20>;<br>+       #address-cells = <1>;<br>+       #size-cells = <0>;<br>+<br>+       gpio-controller;<br>+       #gpio-cells = <2>;<br>+<br>+       gpio-line-names = "",<br>+           "RUSSEL_FW_I2C_ENABLE_N",<br>+           "RUSSEL_OPPANEL_PRESENCE_N",<br>+           "BLYTH_OPPANEL_PRESENCE_N",<br>+           "CPU_TPM_CARD_PRESENT_N",<br>+           "DASD_BP2_PRESENT_N",<br>+           "DASD_BP1_PRESENT_N",<br>+           "DASD_BP0_PRESENT_N";<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></div><div>+<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>@@ -665,6 +724,104 @@<br>        compatible = "ibm,cffps";<br>        reg = <0x69>;<br>    };<br>+<br>+   pca_pres1: pca9552@61 {<br>+       compatible = "nxp,pca9552";<br>+       reg = <0x61>;<br>+       #address-cells = <1>;<br>+       #size-cells = <0>;<br>+<br></div><div>+       gpio-controller;<br>+       #gpio-cells = <2>;<br>+<br>+       gpio-line-names =<br>+           "SLOT0_PRSNT_EN_RSVD", "SLOT1_PRSNT_EN_RSVD",<br>+           "SLOT2_PRSNT_EN_RSVD", "SLOT3_PRSNT_EN_RSVD",<br>+           "SLOT4_PRSNT_EN_RSVD", "SLOT0_EXPANDER_PRSNT_N",<br>+           "SLOT1_EXPANDER_PRSNT_N", "SLOT2_EXPANDER_PRSNT_N",<br>+           "SLOT3_EXPANDER_PRSNT_N", "SLOT4_EXPANDER_PRSNT_N",<br>+           "", "", "", "", "", "";<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></div><div>+       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>+       gpio@8 {<br>+           reg = <8>;<br>+           type = <PCA955X_TYPE_GPIO>;<br>+       };<br>+<br>+       gpio@9 {<br>+           reg = <9>;<br>+           type = <PCA955X_TYPE_GPIO>;<br>+       };<br>+<br>+       gpio@10 {<br>+           reg = <10>;<br>+           type = <PCA955X_TYPE_GPIO>;<br>+       };<br>+<br>+       gpio@11 {<br>+           reg = <11>;<br>+           type = <PCA955X_TYPE_GPIO>;<br>+       };<br>+<br>+       gpio@12 {<br>+           reg = <12>;<br>+           type = <PCA955X_TYPE_GPIO>;<br>+       };<br>+<br>+       gpio@13 {<br>+           reg = <13>;<br>+           type = <PCA955X_TYPE_GPIO>;<br>+       };<br>+<br>+       gpio@14 {<br></div><div>+           reg = <14>;<br>+           type = <PCA955X_TYPE_GPIO>;<br>+       };<br>+<br>+       gpio@15 {<br>+           reg = <15>;<br>+           type = <PCA955X_TYPE_GPIO>;<br>+       };<br>+   };<br> };<br><br> &i2c4 {<br>@@ -1004,7 +1161,7 @@<br>        reg = <0x51>;<br>    };<br><br>-   pca1: pca9552@61 {<br>+   pca_pres3: pca9552@61 {<br>        compatible = "nxp,pca9552";<br>        reg = <0x61>;<br>        #address-cells = <1>;<br>@@ -1012,6 +1169,15 @@<br>        gpio-controller;<br>        #gpio-cells = <2>;<br><br>+       gpio-line-names =<br>+           "SLOT6_PRSNT_EN_RSVD", "SLOT7_PRSNT_EN_RSVD",<br>+           "SLOT8_PRSNT_EN_RSVD", "SLOT9_PRSNT_EN_RSVD",<br>+           "SLOT10_PRSNT_EN_RSVD", "SLOT11_PRSNT_EN_RSVD",<br>+           "SLOT6_EXPANDER_PRSNT_N", "SLOT7_EXPANDER_PRSNT_N",<br>+           "SLOT8_EXPANDER_PRSNT_N", "SLOT9_EXPANDER_PRSNT_N",<br>+           "SLOT10_EXPANDER_PRSNT_N", "SLOT11_EXPANDER_PRSNT_N",<br>+           "", "", "", "";<br>+<br>        gpio@0 {<br>            reg = <0>;<br>            type = <PCA955X_TYPE_GPIO>;<br>--<br>1.8.3.1<br><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Alpana</div></div>