[PATCH v3] ARM: dts: aspeed: Add a palmetto board (AST2400)
Cédric Le Goater
clg at kaod.org
Mon Jun 20 01:12:52 AEST 2022
Palmettos were the first OpenPOWER systems built by Tyan with the
product name: GN70-BP010. They contained an IBM POWER8 Turismo SCM
processor and an Aspeed AST2400 SoC.
Tested on real HW using the evb-ast2400 defconfig, plus these extras :
CONFIG_BOOTCOMMAND="bootm 20080000"
CONFIG_DEFAULT_DEVICE_TREE="ast2400-palmetto"
Cc: Zev Weiss <zweiss at equinix.com>
Cc: Frédéric Barrat <fbarrat at linux.ibm.com>
Cc: Joel Stanley <joel at jms.id.au>
Signed-off-by: Cédric Le Goater <clg at kaod.org>
---
Since v2:
- DT cleanups (Zev)
- Dropped the defconfig because only the default boot command needs
an update to boot Linux
- Tested on real HW ! Thanks to Frédéric.
arch/arm/dts/Makefile | 1 +
arch/arm/dts/ast2400-palmetto.dts | 73 +++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
create mode 100644 arch/arm/dts/ast2400-palmetto.dts
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 35cdd0952d33..6dc9aeab24ff 100755
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -677,6 +677,7 @@ dtb-$(CONFIG_ARCH_BCM6858) += \
dtb-$(CONFIG_ARCH_ASPEED) += \
ast2400-evb.dtb \
ast2400-ahe-50dc.dtb \
+ ast2400-palmetto.dtb \
ast2500-evb.dtb \
ast2600a0-evb.dtb \
ast2600a1-evb.dtb \
diff --git a/arch/arm/dts/ast2400-palmetto.dts b/arch/arm/dts/ast2400-palmetto.dts
new file mode 100644
index 000000000000..43b141a8379d
--- /dev/null
+++ b/arch/arm/dts/ast2400-palmetto.dts
@@ -0,0 +1,73 @@
+// SPDX-License-Identifier: GPL-2.0+
+/dts-v1/;
+
+#include "ast2400-u-boot.dtsi"
+
+/ {
+ model = "Palmetto BMC";
+ compatible = "tyan,palmetto-bmc", "aspeed,ast2400";
+
+ memory at 40000000 {
+ device_type = "memory";
+ reg = <0x40000000 0x10000000>;
+ };
+
+ chosen {
+ stdout-path = &uart5;
+ };
+
+ aliases {
+ spi0 = &fmc;
+ spi1 = &spi1;
+ };
+};
+
+&uart5 {
+ u-boot,dm-pre-reloc;
+ status = "okay";
+};
+
+&sdrammc {
+ clock-frequency = <200000000>;
+};
+
+&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>;
+ };
+};
+
+&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.35.3
More information about the openbmc
mailing list