Skip to contentSkip to conversation

Add Meta(Facebook) Santabarbara BMC(AST2600)

PATCH Superseded Fred Chen 3 participants 5 messages Jun 6, 2025 – Jun 13, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fred Chen

author
#0 lore raw

cover Add Meta(Facebook) Santabarbara BMC(AST2600)

Summary:
Add linux device tree entry related to Meta(Facebook) Santabarbara specific devices connected to BMC(AST2600) SoC.

Fred Chen (2):
dt-bindings: arm: aspeed: add Meta Santabarbara board
ARM: dts: aspeed: santabarbara: Add Meta Santabarbara BMC

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

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

Document the new compatibles used on Facebook Santabarbara.

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index 01333ac111fb..a965f1a03051 100644
@@ -87,6 +87,7 @@ properties:
               - facebook,greatlakes-bmc
               - facebook,harma-bmc
               - facebook,minerva-cmc
+              - facebook,santabarbara-bmc
               - facebook,yosemite4-bmc
               - ibm,blueridge-bmc
               - ibm,everest-bmc
Signature · 1 line
2.49.0
author
#2 lore raw

PATCH 2/2 ARM: dts: aspeed: santabarbara: Add Meta Santabarbara BMC

In reply to Fred Chen

Add linux device tree entry related to the Meta(Facebook) computer-node system use an AT2600 BMC.
This node is named "Santabarbara".

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed-bmc-facebook-santabarbara.dts      | 978 ++++++++++++++++++
 2 files changed, 979 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index 2e5f4833a073..6a8fb3addf0f 100644
@@ -27,6 +27,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-facebook-harma.dtb \
 	aspeed-bmc-facebook-minerva.dtb \
 	aspeed-bmc-facebook-minipack.dtb \
+	aspeed-bmc-facebook-santabarbara.dtb \
 	aspeed-bmc-facebook-tiogapass.dtb \
 	aspeed-bmc-facebook-wedge40.dtb \
 	aspeed-bmc-facebook-wedge100.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts new file +978 -0

978 lines not on this page · raw message

Signature · 1 line
2.49.0
#4 lore raw
In reply to Fred Chen
Quoted 8 lines · Fred Chen

Summary:
Add linux device tree entry related to Meta(Facebook) Santabarbara specific devices connected to BMC(AST2600) SoC.

Fred Chen (2):
dt-bindings: arm: aspeed: add Meta Santabarbara board
ARM: dts: aspeed: santabarbara: Add Meta Santabarbara BMC

Quoted 11 lines
 .../bindings/arm/aspeed/aspeed.yaml           |   1 +
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed-bmc-facebook-santabarbara.dts      | 978 ++++++++++++++++++
 3 files changed, 980 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts

--
2.49.0

My bot found new DTB warnings on the .dts files added or changed in this series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:

  pip3 install dtschema --upgrade

This patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: failed to guess base

If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically)

New warnings running 'make CHECK_DTBS=y for arch/arm/boot/dts/aspeed/' for [email protected]:

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: timer (arm,armv7-timer): 'clocks' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/timer/arm,arch_timer.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /sdram@1e6e0000: failed to match any schema with compatible: ['aspeed,ast2600-sdram-edac', 'syscon']
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: bus@1e600000 (aspeed,ast2600-ahbc): compatible: ['aspeed,ast2600-ahbc', 'syscon'] is too long
from schema $id: http://devicetree.org/schemas/bus/aspeed,ast2600-ahbc.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: syscon@1e6e2000 (aspeed,ast2600-scu): 'smp-memram@180' does not match any of the regexes: '^interrupt-controller@[0-9a-f]+$', '^p2a-control@[0-9a-f]+$', '^pinctrl(@[0-9a-f]+)?$', '^pinctrl-[0-9]+$', '^silicon-id@[0-9a-f]+$'
from schema $id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /ahb/apb@1e6e0000/syscon@1e6e2000/smp-memram@180: failed to match any schema with compatible: ['aspeed,ast2600-smpmem'] arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /ahb/apb@1e6e0000/display@1e6e6000: failed to match any schema with compatible: ['aspeed,ast2600-gfx', 'syscon']
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: adc@1e6e9000 (aspeed,ast2600-adc0): 'interrupts' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: adc@1e6e9100 (aspeed,ast2600-adc1): 'interrupts' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: crypto@1e6fa000 (aspeed,ast2600-acry): 'aspeed,ahbc' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/crypto/aspeed,ast2600-acry.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: sdc@1e740000 (aspeed,ast2600-sd-controller): sdhci@1e740100:compatible: ['aspeed,ast2600-sdhci', 'sdhci'] is too long
from schema $id: http://devicetree.org/schemas/mmc/aspeed,sdhci.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: sdc@1e740000 (aspeed,ast2600-sd-controller): sdhci@1e740200:compatible: ['aspeed,ast2600-sdhci', 'sdhci'] is too long
from schema $id: http://devicetree.org/schemas/mmc/aspeed,sdhci.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /ahb/sdc@1e740000/sdhci@1e740100: failed to match any schema with compatible: ['aspeed,ast2600-sdhci', 'sdhci']
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /ahb/sdc@1e740000/sdhci@1e740200: failed to match any schema with compatible: ['aspeed,ast2600-sdhci', 'sdhci']
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: gpio@1e780000 (aspeed,ast2600-gpio): 'pinctrl-0' is a dependency of 'pinctrl-names'
from schema $id: http://devicetree.org/schemas/pinctrl/pinctrl-consumer.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /ahb/apb@1e780000/timer@1e782000: failed to match any schema with compatible: ['aspeed,ast2600-timer']
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: lpc@1e789000 (aspeed,ast2600-lpc-v2): reg-io-width: 4 is not of type 'object'
from schema $id: http://devicetree.org/schemas/mfd/aspeed-lpc.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: lpc@1e789000 (aspeed,ast2600-lpc-v2): lpc-snoop@80: 'clocks' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/mfd/aspeed-lpc.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: kcs@24 (aspeed,ast2500-kcs-bmc-v2): 'clocks' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/ipmi/aspeed,ast2400-kcs-bmc.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: kcs@28 (aspeed,ast2500-kcs-bmc-v2): 'clocks' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/ipmi/aspeed,ast2400-kcs-bmc.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: kcs@2c (aspeed,ast2500-kcs-bmc-v2): 'clocks' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/ipmi/aspeed,ast2400-kcs-bmc.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: kcs@114 (aspeed,ast2500-kcs-bmc-v2): 'clocks' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/ipmi/aspeed,ast2400-kcs-bmc.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /ahb/apb@1e780000/lpc@1e789000/lhc@a0: failed to match any schema with compatible: ['aspeed,ast2600-lhc']
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /ahb/apb@1e780000/lpc@1e789000/ibt@140: failed to match any schema with compatible: ['aspeed,ast2600-ibt-bmc']
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: fsi@1e79b000 (aspeed,ast2600-fsi-master): compatible: ['aspeed,ast2600-fsi-master', 'fsi-master'] is too long
from schema $id: http://devicetree.org/schemas/fsi/aspeed,ast2600-fsi-master.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /ahb/apb@1e790000/fsi@1e79b000: failed to match any schema with compatible: ['aspeed,ast2600-fsi-master', 'fsi-master'] arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: fsi@1e79b100 (aspeed,ast2600-fsi-master): compatible: ['aspeed,ast2600-fsi-master', 'fsi-master'] is too long
from schema $id: http://devicetree.org/schemas/fsi/aspeed,ast2600-fsi-master.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /ahb/apb@1e790000/fsi@1e79b100: failed to match any schema with compatible: ['aspeed,ast2600-fsi-master', 'fsi-master'] arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: /ahb/apb@1e790000/dma-controller@1e79e000: failed to match any schema with compatible: ['aspeed,ast2600-udma']
arch/arm/boot/dts/aspeed/aspeed-bmc-opp-witherspoon.dtb: /gpio-fsi/cfam@0,0/hub@3400/cfam@1,0/hub@3400: failed to match any schema with compatible: ['fsi-master-hub']
arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: kcs@114 (aspeed,ast2500-kcs-bmc-v2): 'clocks' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/ipmi/aspeed,ast2400-kcs-bmc.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-inventec-transformers.dtb: /ahb/apb@1e790000/fsi@1e79b000: failed to match any schema with compatible: ['aspeed,ast2600-fsi-master', 'fsi-master']
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-blueridge.dtb: syscon@1e6e2000 (aspeed,ast2600-scu): 'smp-memram@180' does not match any of the regexes: '^interrupt-controller@[0-9a-f]+$', '^p2a-control@[0-9a-f]+$', '^pinctrl(@[0-9a-f]+)?$', '^pinctrl-[0-9]+$', '^silicon-id@[0-9a-f]+$'
from schema $id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#

maintainer
#3 lore raw

Re: [PATCH v1 2/2] ARM: dts: aspeed: santabarbara: Add Meta Santabarbara BMC

In reply to Fred Chen

Hi Fred,

Quoted 2 lines · Fred Chen

Add linux device tree entry related to the Meta(Facebook)

We're writing prose, not C function invocations. Please add a space after 'Meta':

Meta (Facebook)

Quoted 3 lines

computer-node
system use an AT2600 BMC.
This node is named "Santabarbara".

Can you add some more context for the platform design? It would be helpful for reviewing the devicetree content below.

Quoted 27 lines

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 + .../aspeed-bmc-facebook-santabarbara.dts      | 978 ++++++++++++++++++

 2 files changed, 979 insertions(+)

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

arch/arm/boot/dts/aspeed/Makefile +1 -0
index 2e5f4833a073..6a8fb3addf0f 100644
@@ -27,6 +27,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
         aspeed-bmc-facebook-harma.dtb \
         aspeed-bmc-facebook-minerva.dtb \
         aspeed-bmc-facebook-minipack.dtb \
+       aspeed-bmc-facebook-santabarbara.dtb \
         aspeed-bmc-facebook-tiogapass.dtb \
         aspeed-bmc-facebook-wedge40.dtb \
         aspeed-bmc-facebook-wedge100.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts new file +1 -0
new file mode 100644
index 000000000000..139b986bbfbf
@@ -0,0 +1,978 @@
+// SPDX-License-Identifier: GPL-2.0-or-later

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts line 11

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts new file +10 -0
+// Copyright 2025 Facebook Inc.
+
+/dts-v1/;
+#include "aspeed-g6.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/i2c/i2c.h>
+
+/ {
+       model = "Facebook Santabarbara BMC";
+       compatible = "facebook,santabarbara-bmc", "aspeed,ast2600";

Throughout the devicetree, can you make sure the nodes adhere to the ordering requirements defined in the documentation?

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

Quoted 763 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts new file +763 -0
+
+       aliases {
+               serial0 = &uart1;
+               serial2 = &uart3;
+               serial3 = &uart4;
+               serial4 = &uart5;
+               i2c16 = &i2c4mux0ch0;
+               i2c17 = &i2c4mux0ch1;
+               i2c18 = &i2c4mux0ch2;
+               i2c19 = &i2c4mux0ch3;
+               i2c20 = &i2c4mux0ch4;
+               i2c21 = &i2c4mux0ch5;
+               i2c22 = &i2c4mux0ch6;
+               i2c23 = &i2c4mux0ch7;
+               i2c24 = &i2c5mux0ch0;
+               i2c25 = &i2c5mux0ch1;
+               i2c26 = &i2c5mux0ch2;
+               i2c27 = &i2c5mux0ch3;
+               i2c28 = &i2c5mux1ch0;
+               i2c29 = &i2c5mux1ch1;
+               i2c30 = &i2c5mux1ch2;
+               i2c31 = &i2c5mux1ch3;
+               i2c32 = &i2c12mux0ch0;
+               i2c33 = &i2c12mux0ch1;
+               i2c34 = &i2c12mux0ch2;
+               i2c35 = &i2c12mux0ch3;
+               i2c36 = &i2c12mux0ch4;
+               i2c37 = &i2c12mux0ch5;
+               i2c38 = &i2c12mux0ch6;
+               i2c39 = &i2c12mux0ch7;
+       };
+
+       chosen {
+               stdout-path = "serial4:57600n8";
+       };
+
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x80000000 0x80000000>;
+       };
+
+       iio-hwmon {
+               compatible = "iio-hwmon";
+               io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
+                             <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
+                             <&adc1 2>;
+       };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led-0 {
+                       label = "bmc_heartbeat_amber";
+                       gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "heartbeat";
+               };
+
+               led-1 {
+                       label = "fp_id_amber";
+                       default-state = "off";
+                       gpios = <&gpio0 ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>;
+               };
+
+               led-2 {
+                       label = "power_blue";
+                       default-state = "off";
+                       gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>;
+               };
+       };
+
+       spi_gpio: spi {
+               status = "okay";
+               compatible = "spi-gpio";
+               #address-cells = <1>;
+               #size-cells = <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>;
+               num-chipselects = <1>;
+               cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
+
+               tpm@0 {
+                       compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
+                       spi-max-frequency = <33000000>;
+                       reg = <0>;
+               };
+       };
+
+       p3v3_bmc_aux: regulator-p3v3-bmc-aux {
+               compatible = "regulator-fixed";
+               regulator-name = "p3v3_bmc_aux";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-always-on;
+       };
+};
+
+// HOST BIOS Debug
+&uart1 {
+       status = "okay";
+};
+
+&uart3 {
+       status = "okay";
+};
+
+&uart4 {
+       status = "okay";
+};
+
+// BMC Debug Console
+&uart5 {
+       status = "okay";
+};
+
+&uart_routing {
+       status = "okay";
+};
+
+&wdt1 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_wdtrst1_default>;
+       aspeed,reset-type = "soc";
+       aspeed,external-signal;
+       aspeed,ext-push-pull;
+       aspeed,ext-active-high;
+       aspeed,ext-pulse-duration = <256>;
+};
+
+&mac2 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_rmii3_default>;
+       use-ncsi;
+};
+
+&fmc {
+       status = "okay";
+
+       flash@0 {
+               status = "okay";
+               m25p,fast-read;
+               label = "bmc";
+               spi-max-frequency = <50000000>;
+#include "openbmc-flash-layout-128.dtsi"
+       };
+
+       flash@1 {
+               status = "okay";
+               m25p,fast-read;
+               label = "alt-bmc";
+               spi-max-frequency = <50000000>;
+       };
+};
+
+// BIOS Flash
+&spi2 {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_spi2_default>;
+
+       flash@0 {
+               status = "okay";
+               m25p,fast-read;
+               label = "pnor";
+               spi-max-frequency = <12000000>;
+               spi-tx-bus-width = <2>;
+               spi-rx-bus-width = <2>;
+       };
+};
+
+&kcs2 {
+       status = "okay";
+       aspeed,lpc-io-reg = <0xca8>;
+};
+
+&kcs3 {
+       status = "okay";
+       aspeed,lpc-io-reg = <0xca2>;
+};
+
+&i2c0 {
+       status = "okay";
+
+       // MB FRU
+       eeprom@53 {
+               compatible = "atmel,24c128";
+               reg = <0x53>;
+       };
+
+       rtc@68 {
+               compatible = "dallas,ds1339";
+               reg = <0x68>;
+       };
+};
+
+&i2c1 {
+       status = "okay";
+
+       fan-controller@21{
+               compatible = "maxim,max31790";
+               reg = <0x21>;
+       };
+
+       gpio@20 {
+               compatible = "nxp,pca9555";
+               reg = <0x20>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-parent = <&sgpiom0>;
+               interrupts = <112 IRQ_TYPE_LEVEL_LOW>;
+               gpio-line-names =
+                       "FM_NIC_PPS_IN_OE_N","FM_NIC_PPS_OUT_OE_N",
+                       "FM_CPU0_TRIGGERTSC_OE_N","FM_NIC_PPS_IN_MUX_OE_N",
+                       "FM_CPU0_CORETYPE0","FM_CPU0_CORETYPE1",
+                       "FM_CPU0_CORETYPE2","FM_NIC_PPS_OUT_MUX_OE",
+                       "CLKMUX_INPUT_LOSS_U45_R_N","FM_CPU0_SP7R1",
+                       "FM_CPU0_SP7R2","FM_CPU0_SP7R3",
+                       "FM_CPU0_SP7R4","",
+                       "FM_NIC_PPS_IN_S0_R","FM_NIC_PPS_IN_S1_R";
+       };
+
+       gpio@22 {
+               compatible = "nxp,pca9555";
+               reg = <0x22>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-parent = <&sgpiom0>;
+               interrupts = <116 IRQ_TYPE_LEVEL_LOW>;
+               gpio-line-names =
+                       "FM_CBL_PRSNT_0A_N","FM_CBL_PRSNT_0B_N",
+                       "FM_CBL_PRSNT_1A_N","FM_CBL_PRSNT_1B_N",
+                       "FM_MODULE_PWRGD_0A","FM_MODULE_PWRGD_0B",
+                       "CLKMUX_INPUT_LOSS_U88_R_N","FM_MODULE_PWRGD_1B",
+                       "","",
+                       "CLKMUX_INPUT_LOSS_U83_R_N","CLKMUX_INPUT_LOSS_U84_R_N",
+                       "FM_P3V3_E1S_0_FAULT_R_N","FM_P3V3_E1S_1_FAULT_R_N",
+                       "E1S_0_P12V_ADC_R_ALERT","E1S_1_P12V_ADC_R_ALERT";
+       };
+
+       gpio@24 {
+               compatible = "nxp,pca9555";
+               reg = <0x24>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-parent = <&sgpiom0>;
+               interrupts = <114 IRQ_TYPE_LEVEL_LOW>;
+               gpio-line-names =
+                       "FM_CBL_PRSNT_2A_N","FM_CBL_PRSNT_2B_N",
+                       "FM_CBL_PRSNT_3A_N","FM_CBL_PRSNT_3B_N",
+                       "FM_CBL_PRSNT_4A_N","FM_CBL_PRSNT_4B_N",
+                       "FM_P3V3_NIC_400G_FAULT_R_N","FM_MODULE_PWRGD_2B",
+                       "OCP_SFF_P12V_ADC_R_ALERT","FM_MODULE_PWRGD_3B",
+                       "FM_THERMAL_ALERT_R_N","FM_MODULE_PWRGD_4B",
+                       "FM_CBL_PRSNT_OSFP_A_N","FM_CBL_PRSNT_OSFP_B_N",
+                       "FM_JTAG_MCIO_MUX_S0","FM_JTAG_MCIO_MUX_S1";
+       };
+
+       gpio@26 {
+               compatible = "nxp,pca9555";
+               reg = <0x26>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-parent = <&sgpiom0>;
+               interrupts = <118 IRQ_TYPE_LEVEL_LOW>;
+               gpio-line-names =
+                       "FAN_0_PRSNT_R1_N","FAN_1_PRSNT_R1_N",
+                       "FAN_2_PRSNT_R1_N","FAN_3_PRSNT_R1_N",
+                       "P12V_FAN_0_ADC_ALERT","P12V_FAN_1_ADC_ALERT",
+                       "P12V_FAN_2_ADC_ALERT","P12V_FAN_3_ADC_ALERT",
+                       "P12V_FAN0_PWRGD_R","P12V_FAN1_PWRGD_R",
+                       "P12V_FAN2_PWRGD_R","P12V_FAN3_PWRGD_R",
+                       "","","","";
+       };
+};
+
+&i2c4 {
+       status = "okay";
+
+       i2c-mux@70 {
+               compatible = "nxp,pca9548";
+               reg = <0x70>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               i2c-mux-idle-disconnect;
+
+               i2c4mux0ch0: i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+
+                       // HPM Board ID EEPROM
+                       eeprom@51 {
+                               compatible = "atmel,24c128";
+                               reg = <0x51>;
+                       };
+
+                       // SCM Board ID EEPROM
+                       eeprom@53 {
+                               compatible = "atmel,24c128";
+                               reg = <0x53>;
+                       };
+               };
+               i2c4mux0ch1: i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <1>;
+               };
+               i2c4mux0ch2: i2c@2 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <2>;
+               };
+               i2c4mux0ch3: i2c@3 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <3>;
+
+                       power-monitor@40 {
+                               compatible = "ti,ina230";
+                               reg = <0x40>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@42 {
+                               compatible = "ti,ina230";
+                               reg = <0x42>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@44 {
+                               compatible = "ti,ina230";
+                               reg = <0x44>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@46 {
+                               compatible = "ti,ina230";
+                               reg = <0x46>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       temperature-sensor@4c {
+                               compatible = "ti,tmp75";
+                               reg = <0x4c>;
+                       };
+
+                       temperature-sensor@4e {
+                               compatible = "ti,tmp75";
+                               reg = <0x4e>;
+                       };
+
+                       voltage-sensor@48 {
+                               compatible = "ti,ads7830";
+                               reg = <0x48>;
+                               vref-supply = <&p3v3_bmc_aux>;
+                       };
+
+                       voltage-sensor@4a {
+                               compatible = "ti,ads7830";
+                               reg = <0x4a>;
+                               vref-supply = <&p3v3_bmc_aux>;
+                       };
+               };
+               i2c4mux0ch4: i2c@4 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <4>;
+               };
+               i2c4mux0ch5: i2c@5 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <5>;
+               };
+               i2c4mux0ch6: i2c@6 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <6>;
+
+                       power-monitor@40 {
+                               compatible = "ti,ina230";
+                               reg = <0x40>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@42 {
+                               compatible = "ti,ina230";
+                               reg = <0x42>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@44 {
+                               compatible = "ti,ina230";
+                               reg = <0x44>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@46 {
+                               compatible = "ti,ina230";
+                               reg = <0x46>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       voltage-sensor@48 {
+                               compatible = "ti,ads7830";
+                               reg = <0x48>;
+                       };
+               };
+               i2c4mux0ch7: i2c@7 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <7>;
+
+                       // FIO FRU
+                       eeprom@53 {
+                               compatible = "atmel,24c512";
+                               reg = <0x53>;
+                       };
+
+                       temperature-sensor@4b {
+                               compatible = "ti,tmp75";
+                               reg = <0x4b>;
+                       };
+
+                       temperature-sensor@4f {
+                               compatible = "ti,tmp75";
+                               reg = <0x4f>;
+                       };
+               };
+       };
+};
+
+&i2c5 {
+       status = "okay";
+
+       // E1S BP FRU
+       eeprom@52 {
+               compatible = "atmel,24c64";
+               reg = <0x52>;
+       };
+
+       i2c-mux@71 {
+               compatible = "nxp,pca9546";
+               reg = <0x71>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               i2c-mux-idle-disconnect;
+
+               i2c5mux0ch0: i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+               };
+               i2c5mux0ch1: i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <1>;
+               };
+               i2c5mux0ch2: i2c@2 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <2>;
+               };
+               i2c5mux0ch3: i2c@3 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <3>;
+               };
+       };
+
+       i2c-mux@72 {
+               compatible = "nxp,pca9546";
+               reg = <0x72>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               i2c-mux-idle-disconnect;
+
+               i2c5mux1ch0: i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+
+                       voltage-sensor@48 {
+                               compatible = "ti,ads7830";
+                               reg = <0x48>;
+                       };
+               };
+               i2c5mux1ch1: i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <1>;
+
+                       temperature-sensor@48 {
+                               compatible = "ti,tmp75";
+                               reg = <0x48>;
+                       };
+               };
+               i2c5mux1ch2: i2c@2 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <2>;
+
+                       power-monitor@40 {
+                               compatible = "ti,ina230";
+                               reg = <0x40>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@41 {
+                               compatible = "ti,ina230";
+                               reg = <0x41>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@44 {
+                               compatible = "ti,ina230";
+                               reg = <0x44>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@45 {
+                               compatible = "ti,ina230";
+                               reg = <0x45>;
+                               shunt-resistor = <2000>;
+                       };
+               };
+               i2c5mux1ch3: i2c@3 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <3>;
+
+                       gpio@74 {
+                               compatible = "nxp,pca9539";
+                               reg = <0x74>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               gpio-line-names =
+                                       "P12V_E1S_ADC_ALERT","BUFF0_100M_LOSB_PLD",
+                                       "E1S_BP_SKU_ID0","E1S_BP_SKU_ID1",
+                                       "E1S_BP_SKU_ID2","E1S_BP_REV_ID0",
+                                       "E1S_BP_REV_ID1","E1S_BP_REV_ID2",
+                                       "P3V3_E1S_1_FAULT_R_N","P3V3_E1S_2_FAULT_R_N",
+                                       "P3V3_E1S_3_FAULT_R_N","P3V3_E1S_4_FAULT_R_N",
+                                       "P12V_E1S_1_FAULT_R_N","P12V_E1S_2_FAULT_R_N",
+                                       "P12V_E1S_3_FAULT_R_N","P12V_E1S_4_FAULT_R_N";
+                       };
+               };
+       };
+};
+
+&i2c6 {
+       status = "okay";
+
+       // Rainbow0 FRU
+       eeprom@52 {
+               compatible = "atmel,24c256";
+               reg = <0x52>;
+       };
+};
+
+&i2c7 {
+       status = "okay";
+};
+
+&i2c8 {
+       status = "okay";
+
+       // Rainbow2 FRU
+       eeprom@52 {
+               compatible = "atmel,24c256";
+               reg = <0x52>;
+       };
+};
+
+&i2c9 {
+       status = "okay";
+
+       // SCM FRU
+       eeprom@50 {
+               compatible = "atmel,24c128";
+               reg = <0x50>;
+       };
+
+       // BSM FRU
+       eeprom@56 {
+               compatible = "atmel,24c64";
+               reg = <0x56>;
+       };
+
+       temperature-sensor@4b {
+               compatible = "ti,tmp75";
+               reg = <0x4b>;
+       };
+};
+
+&i2c10 {
+       status = "okay";
+
+       // Rainbow3 FRU
+       eeprom@52 {
+               compatible = "atmel,24c256";
+               reg = <0x52>;
+       };
+};
+
+&i2c11 {
+       status = "okay";
+
+       // OCP NIC TEMP
+       temperature-sensor@1f {
+               compatible = "ti,tmp421";
+               reg = <0x1f>;
+       };
+
+       // OCP NIC FRU
+       eeprom@50 {
+               compatible = "atmel,24c64";
+               reg = <0x50>;
+       };
+};
+
+&i2c12 {
+       status = "okay";
+
+       // SWB FRU
+       eeprom@52 {
+               compatible = "atmel,24c64";
+               reg = <0x52>;
+       };
+
+       i2c-mux@72 {
+               compatible = "nxp,pca9548";
+               reg = <0x72>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               i2c-mux-idle-disconnect;
+
+               i2c12mux0ch0: i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+
+                       temperature-sensor@48 {
+                               compatible = "ti,tmp75";
+                               reg = <0x48>;
+                       };
+               };
+               i2c12mux0ch1: i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <1>;
+
+                       power-monitor@42 {
+                               compatible = "mps,mp2971";
+                               reg = <0x42>;
+                       };
+
+                       power-monitor@43 {
+                               compatible = "mps,mp2971";
+                               reg = <0x43>;
+                       };
+               };
+               i2c12mux0ch2: i2c@2 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <2>;
+
+                       power-monitor@40 {
+                               compatible = "ti,ina230";
+                               reg = <0x40>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@41 {
+                               compatible = "ti,ina230";
+                               reg = <0x41>;
+                               shunt-resistor = <2000>;
+                       };
+               };
+               i2c12mux0ch3: i2c@3 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <3>;
+
+                       power-monitor@44 {
+                               compatible = "ti,ina230";
+                               reg = <0x44>;
+                               shunt-resistor = <2000>;
+                       };
+
+                       power-monitor@45 {
+                               compatible = "ti,ina230";
+                               reg = <0x45>;
+                               shunt-resistor = <2000>;
+                       };
+               };
+               i2c12mux0ch4: i2c@4 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <4>;
+
+                       voltage-sensor@49 {
+                               compatible = "ti,ads7830";
+                               reg = <0x49>;
+                       };
+               };
+               i2c12mux0ch5: i2c@5 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <5>;
+               };
+               i2c12mux0ch6: i2c@6 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <6>;
+               };
+               i2c12mux0ch7: i2c@7 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <7>;
+               };
+       };
+};
+
+&i2c13 {
+       status = "okay";
+
+       // Rainbow1 FRU
+       eeprom@52 {
+               compatible = "atmel,24c256";
+               reg = <0x52>;
+       };
+};
+
+&i2c14 {
+       status = "okay";
+};
+
+&i2c15 {
+       status = "okay";
+};
+
+&adc0 {
+       aspeed,int-vref-microvolt = <2500000>;
+       status = "okay";
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
+               &pinctrl_adc2_default &pinctrl_adc3_default
+               &pinctrl_adc4_default &pinctrl_adc5_default
+               &pinctrl_adc6_default &pinctrl_adc7_default>;
+};
+
+&adc1 {
+       aspeed,int-vref-microvolt = <2500000>;
+       status = "okay";
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_adc10_default>;
+};
+

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts line 784

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts new file +10 -0
+&ehci0 {
+       status = "okay";
+};
+
+&ehci1 {
+       status = "okay";
+};
+
+&gpio0 {
+       pinctrl-names = "default";

This causes:

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dtb: gpio@1e780000 (aspeed,ast2600-gpio): 'pinctrl-0' is a dependency of 'pinctrl-names'
from schema $id: http://devicetree.org/schemas/pinctrl/pinctrl-consumer.yaml#

Please drop it.

Andrew