VisionFive2 U-Boot

StarFive Tech U-Boot for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   15 Branches   51 Tags
author: Felix Moessbauer <felix.moessbauer@siemens.com> 2023-01-30 11:05:01 +0800 committer: Mason Huo <mason.huo@starfivetech.com> 2023-02-03 15:25:28 +0800 commit: a5b1810f12c356c7f26b45316e97dd568c9bc42a parent: 8571717e560a7033a644f84d8182714ed26fdbf5
Commit Summary:
exclude opensbi memory range in device tree
Diffstat:
1 file changed, 10 insertions, 1 deletion
diff --git a/arch/riscv/dts/starfive_evb.dts b/arch/riscv/dts/starfive_evb.dts
index 67c0a7bceb..42ee2a5f54 100644
--- a/arch/riscv/dts/starfive_evb.dts
+++ b/arch/riscv/dts/starfive_evb.dts
@@ -27,12 +27,22 @@
 			starfive,boot-hart-id = <1>;
 	};
 
-
 	memory@80000000 {
 		device_type = "memory";
 		reg = <0x0 0x40000000 0x1 0x0>;
 	};
 
+	reserved-memory {
+			#size-cells = <2>;
+			#address-cells = <2>;
+			ranges;
+
+			opensbi {
+				reg = <0x00 0x40000000 0x00 0x80000>;
+				no-map;
+			};
+	};
+
 	soc {
 	};
 };