@@ -632,6 +632,36 @@ eeprom@51 {
&i2c3 {
status = "okay";
+
+ // HDD CPLD IOEXP 0x10
+ io_expander13: gpio@10 {
+ compatible = "nxp,pca9555";
+ interrupt-parent = <&gpio0>;
+ interrupts = <ASPEED_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
+ reg = <0x10>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+
+ // HDD CPLD IOEXP 0x11
+ io_expander14: gpio@11 {
+ compatible = "nxp,pca9555";
+ interrupt-parent = <&gpio0>;
+ interrupts = <ASPEED_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
+ reg = <0x11>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+
+ // HDD CPLD IOEXP 0x12
+ io_expander15: gpio@12 {
+ compatible = "nxp,pca9555";
+ interrupt-parent = <&gpio0>;
+ interrupts = <ASPEED_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
+ reg = <0x12>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
};
&i2c4 {
@@ -1067,3 +1097,38 @@ &io_expander12 {
"PRSNT_CHASSIS1_LEAK_CABLE_R_N","PRSNT_CHASSIS0_LEAK_CABLE_R_N";
};
+&io_expander13 {
+ gpio-line-names =
+ "wP3V3_RUNTIME_FLT_HDD0","wP12V_RUNTIME_FLT_HDD0",
+ "wP3V3_AUX_RUNTIME_FLT_HDD0","",
+ "Host_PERST_SEQPWR_FLT_HDD0","wP3V3_SEQPWR_FLT_HDD0",
+ "wP12V_SEQPWR_FLT_HDD0","wP3V3_AUX_SEQPWR_FLT_HDD0",
+ "wP3V3_RUNTIME_FLT_HDD1","wP12V_RUNTIME_FLT_HDD1",
+ "wP3V3_AUX_RUNTIME_FLT_HDD1","",
+ "Host_PERST_SEQPWR_FLT_HDD1","wP3V3_SEQPWR_FLT_HDD1",
+ "wP12V_SEQPWR_FLT_HDD1","wP3V3_AUX_SEQPWR_FLT_HDD1";
+};
+
+&io_expander14 {
+ gpio-line-names =
+ "wP3V3_RUNTIME_FLT_HDD2","wP12V_RUNTIME_FLT_HDD2",
+ "wP3V3_AUX_RUNTIME_FLT_HDD2","",
+ "Host_PERST_SEQPWR_FLT_HDD2","wP3V3_SEQPWR_FLT_HDD2",
+ "wP12V_SEQPWR_FLT_HDD2","wP3V3_AUX_SEQPWR_FLT_HDD2",
+ "wP3V3_RUNTIME_FLT_HDD3","wP12V_RUNTIME_FLT_HDD3",
+ "wP3V3_AUX_RUNTIME_FLT_HDD3","",
+ "Host_PERST_SEQPWR_FLT_HDD3","wP3V3_SEQPWR_FLT_HDD3",
+ "wP12V_SEQPWR_FLT_HDD3","wP3V3_AUX_SEQPWR_FLT_HDD3";
+};
+
+&io_expander15 {
+ gpio-line-names =
+ "P3V3_HDD3_FAULT_R","P3V3_HDD2_FAULT_R",
+ "P3V3_HDD1_FAULT_R","P3V3_HDD0_FAULT_R",
+ "P12V_HDD3_FLT_L","P12V_HDD2_FLT_L",
+ "P12V_HDD1_FLT_L","P12V_HDD0_FLT_L",
+ "HDD_23_PWRBRK_N_R","HDD_01_PWRBRK_N_R",
+ "","",
+ "HDD3_PRSNT_N_R","HDD2_PRSNT_N_R",
+ "HDD1_PRSNT_N_R","HDD0_PRSNT_N_R";
+};
Add HDD board CPLD IO expender based on latest CPLD firmware support. Signed-off-by: Potin Lai <potin.lai.pt@gmail.com> --- .../dts/aspeed/aspeed-bmc-facebook-catalina.dts | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+)