[PATCH v1] ARM: dts: Aspeed: Add Facebook common dts
Peter Yin
peteryin.openbmc at gmail.com
Mon Oct 30 14:11:45 AEDT 2023
Initial introduction of Facebook common
equipped with Aspeed 2600 BMC SoC.
Signed-off-by: Peter Yin <peteryin.openbmc at gmail.com>
---
Change Log:
v1: Add Facebook common equipped with Aspeed 2600 BMC SoC.
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/ast2600-fb.dts | 66 +++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
create mode 100644 arch/arm/dts/ast2600-fb.dts
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 37675a3277..d1eabaa675 100755
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -687,6 +687,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
ast2600-evb.dtb \
ast2600-evb-ecc.dtb \
ast2600-dcscm.dtb \
+ ast2600-fb.dtb \
ast2600-fpga.dtb \
ast2600-greatlakes.dtb \
ast2600-intel.dtb \
diff --git a/arch/arm/dts/ast2600-fb.dts b/arch/arm/dts/ast2600-fb.dts
new file mode 100644
index 0000000000..69ff575419
--- /dev/null
+++ b/arch/arm/dts/ast2600-fb.dts
@@ -0,0 +1,66 @@
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright (c) 2023 Meta Platforms Inc.
+/dts-v1/;
+
+#include "ast2600-u-boot.dtsi"
+
+/ {
+ model = "Facebook Common BMC";
+ compatible = "facebook,common-bmc", "aspeed,ast2600";
+
+ memory {
+ device_type = "memory";
+ reg = <0x80000000 0x40000000>;
+ };
+
+ chosen {
+ stdout-path = &uart5;
+ };
+
+ aliases {
+ spi0 = &fmc;
+ };
+
+ cpus {
+ cpu at 0 {
+ clock-frequency = <800000000>;
+ };
+ cpu at 1 {
+ clock-frequency = <800000000>;
+ };
+ };
+};
+
+&uart5 {
+ u-boot,dm-pre-reloc;
+ status = "okay";
+};
+
+&sdrammc {
+ clock-frequency = <400000000>;
+};
+
+&fmc {
+ status = "okay";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_fmcquad_default>;
+
+ 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>;
+ };
+};
+
+&hace {
+ status = "okay";
+};
--
2.25.1
More information about the openbmc
mailing list