Skip to contentSkip to conversation

Add Meta (Facebook) Ventura BMC (AST2600)

PATCH Superseded P.K. Lee 3 participants 5 messages Jul 16, 2025 – Jul 21, 2025

Subsystems (2)

v9 of 13 Superseded Latest is v13 →

lore
Share & tools
lore

P.K. Lee

author
#0 lore raw

v9 cover Add Meta (Facebook) Ventura BMC (AST2600)

Add Linux device tree entry related to Meta (Facebook) Ventura specific devices connected to the BMC (AST2600) SoC. The purpose of Ventura is to detect liquid leakage from all compute trays, switch trays and rack sensors within the rack, log the events, and take necessary actions accordingly.

---
v1:
1. Create ventura dts file.
2. Add commit msg.
3. Use format-patch to generate patch.
4. Add subject prefixes matching the subsystem.
---
v2:
1. Modify email content.
---
v3:
1. Add mail list.
---
v4:
1. Apply git send-email --thread option.
2. Sort nodes in the dts alphanumerically.
---
v5:
1. Run scripts/checkpatch.pl and fix reported warnings.
2. Remove unnecessary 88E6393X CONFIG FRU.
---
v6:
1. Add a new stage for the DTS change.
2. Run scripts/checkpatch.pl and fix reported error.
3. Fix the issue in a separate patch.
---
v7:
1. Fix broken indentation in the device tree file.
2. Sort nodes alphabetically, then by address if equal.
3. Rename fan sensor nodes from 'hwmon' to 'fan-controller'.
---
v8:
1. This patch series has significant changes compared to previous versions, and quite some time has passed since the last submission.Therefore, previously received Acked-by/Reviewed-by/Tested-by tags are not included in this version.
If needed, tags can be added again after review of thisnew version.
---
v9:
1. Reordered the node sequence under i2c5.
2. Added a description of the platform's intended use to the commit messages.
3. Added 3 GPIO expanders to i2c10 and defined the necessary GPIO line names.
---
P.K. Lee (2):
dt-bindings: arm: aspeed: add Meta Ventura board
ARM: dts: aspeed: ventura: add Meta Ventura BMC

 .../bindings/arm/aspeed/aspeed.yaml           |    1 +
 arch/arm/boot/dts/aspeed/Makefile             |    1 +
 .../aspeed/aspeed-bmc-facebook-ventura.dts    | 1553 +++++++++++++++++
 3 files changed, 1555 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH v9 1/2 dt-bindings: arm: aspeed: add Meta Ventura board

Document the new compatibles used on Meta Ventura.

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index 2f92b8ab08fa..98ea2b3e0eb1 100644
@@ -86,6 +86,7 @@ properties:
               - facebook,greatlakes-bmc
               - facebook,harma-bmc
               - facebook,minerva-cmc
+              - facebook,ventura-rmc
               - facebook,yosemite4-bmc
               - ibm,blueridge-bmc
               - ibm,everest-bmc
Signature · 1 line
2.43.0
author
#3 lore raw

PATCH v9 2/2 ARM: dts: aspeed: ventura: add Meta Ventura BMC

In reply to P.K. Lee

Add Linux device tree related to Meta (Facebook) Ventura specific devices connected to the BMC (AST2600) SoC. The purpose of Ventura is to detect liquid leakage from all compute trays, switch trays and rack sensors within the rack, log the events, and take necessary actions accordingly.

---
 arch/arm/boot/dts/aspeed/Makefile             |    1 +
 .../aspeed/aspeed-bmc-facebook-ventura.dts    | 1553 +++++++++++++++++
 2 files changed, 1554 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index c4f064e4b073..5ed6042eea97 100644
@@ -27,6 +27,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-facebook-minerva.dtb \
 	aspeed-bmc-facebook-minipack.dtb \
 	aspeed-bmc-facebook-tiogapass.dtb \
+	aspeed-bmc-facebook-ventura.dtb \
 	aspeed-bmc-facebook-wedge40.dtb \
 	aspeed-bmc-facebook-wedge100.dtb \
 	aspeed-bmc-facebook-wedge400.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +1553 -0

1,553 lines not on this page · raw message

Signature · 1 line
2.43.0
Acked-by on v9 1/2
#2 lore raw

Re: [PATCH v9 1/2] dt-bindings: arm: aspeed: add Meta Ventura board

In reply to P.K. Lee
Quoted 6 lines · P.K. Lee

Document the new compatibles used on Meta Ventura.

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)

---

<form letter>
This is an automated instruction, just in case, because many review tags are being ignored. If you know the process, you can skip it (please do not feel offended by me posting it here - no bad intentions intended). If you do not know the process, here is a short explanation:

Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.

Full context and explanation:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577
</form letter>

Best regards,
Krzysztof

maintainer
#4 lore raw

Re: [PATCH v9 2/2] ARM: dts: aspeed: ventura: add Meta Ventura BMC

In reply to P.K. Lee
Quoted 18 lines · P.K. Lee

Add Linux device tree related to Meta (Facebook) Ventura specific devices connected to the BMC (AST2600) SoC. The purpose of Ventura is to detect liquid leakage from all compute trays, switch trays and rack sensors within the rack, log the events, and take necessary actions accordingly.

---
 arch/arm/boot/dts/aspeed/Makefile             |    1 + .../aspeed/aspeed-bmc-facebook-ventura.dts    | 1553 +++++++++++++++++

 2 files changed, 1554 insertions(+)

 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts

arch/arm/boot/dts/aspeed/Makefile +0 -0
index c4f064e4b073..5ed6042eea97 100644

arch/arm/boot/dts/aspeed/Makefile dtb-$(CONFIG_ARCH_ASPEED) += \ · line 30

Quoted 4 lines
arch/arm/boot/dts/aspeed/Makefile +1 -0
@@ -27,6 +27,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
         aspeed-bmc-facebook-minerva.dtb \
         aspeed-bmc-facebook-minipack.dtb \
         aspeed-bmc-facebook-tiogapass.dtb \
+       aspeed-bmc-facebook-ventura.dtb \

I'm hitting a conflict here, can you please rebase this series on top of aspeed/dt from [1]?

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/bmc/linux.git/

arch/arm/boot/dts/aspeed/Makefile dtb-$(CONFIG_ARCH_ASPEED) += \

Quoted 7 lines
arch/arm/boot/dts/aspeed/Makefile +7 -0
+
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x80000000 0x80000000>;
+       };
+
+    p1v8_bmc_aux: regulator-p1v8-bmc-aux {

Can you please fix the indentation here?

Quoted 6 lines

+               compatible = "regulator-fixed"; +               regulator-name = "p1v8_bmc_aux"; +               regulator-min-microvolt = <1800000>; +               regulator-max-microvolt = <1800000>; +               regulator-always-on;
+       };

arch/arm/boot/dts/aspeed/Makefile

Quoted 10 lines
arch/arm/boot/dts/aspeed/Makefile +10 -0
+
+       p2v5_bmc_aux: regulator-p2v5-bmc-aux {
+               compatible = "regulator-fixed";
+               regulator-name = "p2v5_bmc_aux";
+               regulator-min-microvolt = <2500000>;
+               regulator-max-microvolt = <2500000>;
+               regulator-always-on;
+       };
+
+    spi1_gpio: spi {

And again here?

Please check the entire devicetree for similar issues.

Quoted 18 lines

+               compatible = "spi-gpio";
+               #address-cells = <1>;
+               #size-cells = <0>;

arch/arm/boot/dts/aspeed/Makefile +15 -0
+
+               sck-gpios = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
+               mosi-gpios = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
+               miso-gpios = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
+               cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
+               num-chipselects = <1>;
+
+               tpm@0 {
+                       compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
+                       spi-max-frequency = <33000000>;
+                       reg = <0>;
+               };
+       };
+};
+

[...]

arch/arm/boot/dts/aspeed/Makefile

Quoted 12 lines

+               i2c3mux0ch3: i2c@3 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <3>;

arch/arm/boot/dts/aspeed/Makefile +8 -0
+
+                       // Fan Board 0 FRU
+                       eeprom@56 {
+                               compatible = "atmel,24c128";
+                               reg = <0x56>;
+                       };
+
+                       fan_leds_g1_gpio: gpio@21 {

Please make sure the devicetree meets the style guide[2], particularly the order of nodes:

https://docs.kernel.org/devicetree/bindings/dts-coding-style.html#order-of-nodes

Here, devices should be listed in ascending order of address.

Please check the entire devicetree.

[2]: https://docs.kernel.org/devicetree/bindings/dts-coding-style.html

Andrew