[PATCH u-boot v2019.04-aspeed-openbmc] ARM: dts: aspeed: Add Witherspoon (AST2500)

Joel Stanley joel at jms.id.au
Wed Aug 9 22:07:59 AEST 2023


Witherspoon was the launch machine for the IBM Power9, containing an
ASPEED AST2500.

Notably it was the compute node for the Summit supercomputer, which
occupied the #1 position in the top500 list.

The machine used two 32MB SPI NOR for the BMC, with a SPI NOR flash
for the host firmware, and the Broadcom BCM5719 attached via NC-SI.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 arch/arm/dts/Makefile                |  1 +
 arch/arm/dts/ast2500-witherspoon.dts | 84 ++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)
 create mode 100644 arch/arm/dts/ast2500-witherspoon.dts

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 37675a327736..d6ba78fa4afa 100755
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -681,6 +681,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	ast2500-evb.dtb \
 	ast2500-genesis3.dtb \
 	ast2500-romulus.dtb \
+	ast2500-witherspoon.dtb \
 	ast2600a0-evb.dtb \
 	ast2600a1-evb.dtb \
 	ast2600-bletchley.dtb \
diff --git a/arch/arm/dts/ast2500-witherspoon.dts b/arch/arm/dts/ast2500-witherspoon.dts
new file mode 100644
index 000000000000..2bc02a14b8f9
--- /dev/null
+++ b/arch/arm/dts/ast2500-witherspoon.dts
@@ -0,0 +1,84 @@
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright 2022 IBM Corp.
+/dts-v1/;
+
+#include "ast2500-u-boot.dtsi"
+
+/ {
+	model = "Witherspoon BMC";
+	compatible = "ibm,witherspoon-bmc", "aspeed,ast2500";
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x20000000>;
+	};
+
+	chosen {
+		stdout-path = &uart5;
+	};
+
+	aliases {
+		spi0 = &fmc;
+		spi1 = &spi1;
+		ethernet0 = &mac0;
+		ethernet1 = &mac1;
+	};
+};
+
+&uart5 {
+	u-boot,dm-pre-reloc;
+	status = "okay";
+};
+
+&sdrammc {
+	clock-frequency = <400000000>;
+};
+
+&wdt1 {
+	u-boot,dm-pre-reloc;
+	status = "okay";
+};
+
+&wdt2 {
+	u-boot,dm-pre-reloc;
+	status = "okay";
+};
+
+&mac0 {
+	status = "okay";
+
+	phy-mode = "NC-SI";
+	use-ncsi;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rmii1_default>;
+};
+
+&fmc {
+	status = "okay";
+
+	flash at 0 {
+		status = "okay";
+		spi-max-frequency = <50000000>;
+		spi-tx-bus-width = <2>;
+		spi-rx-bus-width = <2>;
+	};
+
+	flash at 1 {
+		status = "okay";
+		spi-max-frequency = <50000000>;
+		spi-tx-bus-width = <2>;
+		spi-rx-bus-width = <2>;
+	};
+};
+
+&spi1 {
+	status = "okay";
+	flash at 0 {
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_spi1_default>;
+		status = "okay";
+		spi-max-frequency = <50000000>;
+		spi-tx-bus-width = <2>;
+		spi-rx-bus-width = <2>;
+	};
+};
-- 
2.40.1



More information about the openbmc mailing list