Skip to contentSkip to conversation

Revise Meta Santabarbara devicetree

PATCH In review Fred Chen 2 participants 4 messages Nov 25, 2025 – Nov 27, 2025

Subsystems (2)
lore
Share & tools
lore

Fred Chen

author
#0 lore raw

cover Revise Meta Santabarbara devicetree

Summary:
Revise linux device tree entry related to Meta (Facebook) Santabarbara.
- Add IO expander node on the switch board
- Add SGPIO line names to control ASIC module power
- Add IPMB node for OCP debug card
Fred Chen (2):
ARM: dts: aspeed: santabarbara: Add swb IO expander and gpio line
names
ARM: dts: aspeed: santabarbara: Enable ipmb device for OCP debug card

 .../aspeed-bmc-facebook-santabarbara.dts      | 29 ++++++++++++++++---
 1 file changed, 25 insertions(+), 4 deletions(-)
Signature · 1 line
2.49.0
author
#1 lore raw

PATCH 1/2 ARM: dts: aspeed: santabarbara: Add swb IO expander and gpio line names

Add IO expander emulated by the switch board CPLD to handle UART and SPI mux control signals. Also add SGPIO labels with FM_MODULE_PWR_EN_N_* signals, which control power to each ASIC module individually.

---
 .../aspeed-bmc-facebook-santabarbara.dts      | 22 +++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts +18 -4
index f74f463cc878..4312ead311df 100644
@@ -1328,6 +1328,20 @@ eeprom@50 {
 &i2c12 {
 	status = "okay";
 
+	gpio@27 {
+		compatible = "nxp,pca9555";
+		reg = <0x27>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		gpio-line-names =
+			"PEX0_MODE_SEL1_R","PEX0_MODE_SEL2_R",
+			"PEX0_MODE_SEL3_R","PEX0_MODE_SEL4_R",
+			"","","","",
+			"UART_MUX_SEL","RST_SMB_NIC_R_N",
+			"RST_SMB_N","RST_CP2102N_N",
+			"SPI_MUX_SEL","","","";
+	};
+
 	// SWB FRU
 	eeprom@52 {
 		compatible = "atmel,24c64";
@@ -1758,11 +1772,11 @@ &sgpiom0 {
 	"","BIOS_DEBUG_MODE",
 	/*H0-H3 line 112-119*/
 	"FM_IOEXP_U538_INT_N","",
-	"FM_IOEXP_U539_INT_N","",
-	"FM_IOEXP_U540_INT_N","",
-	"FM_IOEXP_U541_INT_N","",
+	"FM_IOEXP_U539_INT_N","FM_MODULE_PWR_EN_N_1B",
+	"FM_IOEXP_U540_INT_N","FM_MODULE_PWR_EN_N_2B",
+	"FM_IOEXP_U541_INT_N","FM_MODULE_PWR_EN_N_3B",
 	/*H4-H7 line 120-127*/
-	"FM_IOEXP_PDB2_U1003_INT_N","",
+	"FM_IOEXP_PDB2_U1003_INT_N","FM_MODULE_PWR_EN_N_4B",
 	"","",
 	"","",
 	"FM_MAIN_PWREN_RMC_EN_ISO_R","",
Signature · 1 line
2.49.0
author
#2 lore raw

PATCH 2/2 ARM: dts: aspeed: santabarbara: Enable ipmb device for OCP debug card

In reply to Fred Chen

Add an IPMB node for OCP debug card to support IPMI communication.

---
 .../boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts   | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts +7 -0
index 4312ead311df..0a3e2e241063 100644
@@ -845,7 +845,14 @@ temperature-sensor@49 {
 };
 
 &i2c7 {
+	multi-master;
 	status = "okay";
+
+	ipmb@10 {
+		compatible = "ipmb-dev";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+		i2c-protocol;
+	};
 };
 
 &i2c8 {
Signature · 1 line
2.49.0
maintainer
#3 lore raw
In reply to Fred Chen
Quoted 11 lines · Fred Chen

Summary:
Revise linux device tree entry related to Meta (Facebook) Santabarbara.
- Add IO expander node on the switch board
- Add SGPIO line names to control ASIC module power
- Add IPMB node for OCP debug card
Fred Chen (2):
ARM: dts: aspeed: santabarbara: Add swb IO expander and gpio line
names
ARM: dts: aspeed: santabarbara: Enable ipmb device for OCP debug card

[...]

Thanks, I've applied this to the BMC tree.

Signature · 1 line
Andrew Jeffery <[email protected]>