* [PATCH v1 0/2] Revise Meta Santabarbara devicetree
@ 2025-11-25 13:59 Fred Chen
2025-11-25 13:59 ` [PATCH v1 1/2] ARM: dts: aspeed: santabarbara: Add swb IO expander and gpio line names Fred Chen
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Fred Chen @ 2025-11-25 13:59 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel
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(-)
--
2.49.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v1 1/2] ARM: dts: aspeed: santabarbara: Add swb IO expander and gpio line names
2025-11-25 13:59 [PATCH v1 0/2] Revise Meta Santabarbara devicetree Fred Chen
@ 2025-11-25 13:59 ` Fred Chen
2025-11-25 13:59 ` [PATCH v1 2/2] ARM: dts: aspeed: santabarbara: Enable ipmb device for OCP debug card Fred Chen
2025-11-27 0:26 ` [PATCH v1 0/2] Revise Meta Santabarbara devicetree Andrew Jeffery
2 siblings, 0 replies; 4+ messages in thread
From: Fred Chen @ 2025-11-25 13:59 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel
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.
Signed-off-by: Fred Chen <fredchen.openbmc@gmail.com>
---
.../aspeed-bmc-facebook-santabarbara.dts | 22 +++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts
index f74f463cc878..4312ead311df 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts
@@ -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","",
--
2.49.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v1 2/2] ARM: dts: aspeed: santabarbara: Enable ipmb device for OCP debug card
2025-11-25 13:59 [PATCH v1 0/2] Revise Meta Santabarbara devicetree Fred Chen
2025-11-25 13:59 ` [PATCH v1 1/2] ARM: dts: aspeed: santabarbara: Add swb IO expander and gpio line names Fred Chen
@ 2025-11-25 13:59 ` Fred Chen
2025-11-27 0:26 ` [PATCH v1 0/2] Revise Meta Santabarbara devicetree Andrew Jeffery
2 siblings, 0 replies; 4+ messages in thread
From: Fred Chen @ 2025-11-25 13:59 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel
Add an IPMB node for OCP debug card to support IPMI communication.
Signed-off-by: Fred Chen <fredchen.openbmc@gmail.com>
---
.../boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts
index 4312ead311df..0a3e2e241063 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts
@@ -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 {
--
2.49.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 0/2] Revise Meta Santabarbara devicetree
2025-11-25 13:59 [PATCH v1 0/2] Revise Meta Santabarbara devicetree Fred Chen
2025-11-25 13:59 ` [PATCH v1 1/2] ARM: dts: aspeed: santabarbara: Add swb IO expander and gpio line names Fred Chen
2025-11-25 13:59 ` [PATCH v1 2/2] ARM: dts: aspeed: santabarbara: Enable ipmb device for OCP debug card Fred Chen
@ 2025-11-27 0:26 ` Andrew Jeffery
2 siblings, 0 replies; 4+ messages in thread
From: Andrew Jeffery @ 2025-11-27 0:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Fred Chen
On Tue, 25 Nov 2025 21:59:29 +0800, Fred Chen wrote:
> 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.
--
Andrew Jeffery <andrew@codeconstruct.com.au>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-11-27 0:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-25 13:59 [PATCH v1 0/2] Revise Meta Santabarbara devicetree Fred Chen
2025-11-25 13:59 ` [PATCH v1 1/2] ARM: dts: aspeed: santabarbara: Add swb IO expander and gpio line names Fred Chen
2025-11-25 13:59 ` [PATCH v1 2/2] ARM: dts: aspeed: santabarbara: Enable ipmb device for OCP debug card Fred Chen
2025-11-27 0:26 ` [PATCH v1 0/2] Revise Meta Santabarbara devicetree Andrew Jeffery
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®