[PATCH v0 4/5] arm64: dts: aspeed: Add AST2700 EVB device tree

Ryan Chen posted 5 patches 4 months ago
[PATCH v0 4/5] arm64: dts: aspeed: Add AST2700 EVB device tree
Posted by Ryan Chen 4 months ago
- Add ast2700-evb.dts for the ASPEED AST2700 Evaluation Board.
- Set board model and compatible strings: "aspeed,ast2700-evb",
"aspeed,ast2700".
- Reference the common AST2700 SoC device tree aspeed-g7.dtsi.
- Define memory layout and reserved-memory regions for
MCU firmware, ATF, and OP-TEE.
- Add OP-TEE firmware node with SMC method.
- Set up serial12 as the default console.

Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
---
 arch/arm64/boot/dts/Makefile               |  1 +
 arch/arm64/boot/dts/aspeed/Makefile        |  4 ++
 arch/arm64/boot/dts/aspeed/ast2700-evb.dts | 54 ++++++++++++++++++++++
 3 files changed, 59 insertions(+)
 create mode 100644 arch/arm64/boot/dts/aspeed/Makefile
 create mode 100644 arch/arm64/boot/dts/aspeed/ast2700-evb.dts

diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile
index 79b73a21ddc2..d9c3e58b9ca5 100644
--- a/arch/arm64/boot/dts/Makefile
+++ b/arch/arm64/boot/dts/Makefile
@@ -35,3 +35,4 @@ subdir-y += tesla
 subdir-y += ti
 subdir-y += toshiba
 subdir-y += xilinx
+subdir-y += aspeed
diff --git a/arch/arm64/boot/dts/aspeed/Makefile b/arch/arm64/boot/dts/aspeed/Makefile
new file mode 100644
index 000000000000..ffe7e15017cc
--- /dev/null
+++ b/arch/arm64/boot/dts/aspeed/Makefile
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
+
+dtb-$(CONFIG_ARCH_ASPEED) += \
+	ast2700-evb.dtb
diff --git a/arch/arm64/boot/dts/aspeed/ast2700-evb.dts b/arch/arm64/boot/dts/aspeed/ast2700-evb.dts
new file mode 100644
index 000000000000..ecd4b55931e7
--- /dev/null
+++ b/arch/arm64/boot/dts/aspeed/ast2700-evb.dts
@@ -0,0 +1,54 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+/dts-v1/;
+#include "aspeed-g7.dtsi"
+
+/ {
+	model = "ASPEED ast2700 Development Board";
+	compatible = "aspeed,ast2700-evb", "aspeed,ast2700";
+
+	aliases {
+		serial12 = &serial12;
+	};
+
+	chosen {
+		stdout-path = &serial12;
+	};
+
+	firmware {
+		optee: optee {
+			compatible = "linaro,optee-tz";
+			method = "smc";
+		};
+	};
+
+	memory@400000000 {
+		device_type = "memory";
+		reg = <0x4 0x00000000 0x40000000>;
+	};
+
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <1>;
+		ranges;
+
+		mcu_fw: mcu-firmware@42fe00000 {
+			reg = <0x4 0x2fe00000 0x200000>;
+			no-map;
+		};
+
+		atf: trusted-firmware-a@430000000 {
+			reg = <0x4 0x30000000 0x80000>;
+			no-map;
+		};
+
+		optee_core: optee-core@430080000 {
+			reg = <0x4 0x30080000 0x1000000>;
+			no-map;
+		};
+	};
+};
+
+&serial12 {
+	status = "okay";
+};
-- 
2.34.1
Re: [PATCH v0 4/5] arm64: dts: aspeed: Add AST2700 EVB device tree
Posted by Krzysztof Kozlowski 4 months ago
On 12/06/2025 12:09, Ryan Chen wrote:
> - Add ast2700-evb.dts for the ASPEED AST2700 Evaluation Board.
> - Set board model and compatible strings: "aspeed,ast2700-evb",
> "aspeed,ast2700".
> - Reference the common AST2700 SoC device tree aspeed-g7.dtsi.
> - Define memory layout and reserved-memory regions for
> MCU firmware, ATF, and OP-TEE.
> - Add OP-TEE firmware node with SMC method.
> - Set up serial12 as the default console.
> 
> Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>

How this can be patch 0?

You need to start using standard tools: git and b4 (see submitting
patches and other process docs).


Best regards,
Krzysztof
Re: [PATCH v0 4/5] arm64: dts: aspeed: Add AST2700 EVB device tree
Posted by Krzysztof Kozlowski 4 months ago
On 12/06/2025 12:14, Krzysztof Kozlowski wrote:
> On 12/06/2025 12:09, Ryan Chen wrote:
>> - Add ast2700-evb.dts for the ASPEED AST2700 Evaluation Board.
>> - Set board model and compatible strings: "aspeed,ast2700-evb",
>> "aspeed,ast2700".
>> - Reference the common AST2700 SoC device tree aspeed-g7.dtsi.
>> - Define memory layout and reserved-memory regions for
>> MCU firmware, ATF, and OP-TEE.
>> - Add OP-TEE firmware node with SMC method.
>> - Set up serial12 as the default console.
>>
>> Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
> 
> How this can be patch 0?
> 

I meant: v0.

> You need to start using standard tools: git and b4 (see submitting
> patches and other process docs).
> 
> 

Best regards,
Krzysztof