[PATCH 01/13] arch: arm: dts: k3-am625-phyboard-lyra: Add fixed partitions

Wadim Egorov w.egorov at phytec.de
Mon Jun 10 15:33:40 CEST 2024


From: Nathan Morrisson <nmorrisson at phytec.com>

Add a fixed partitions node to the AM62x device tree so that it can
be used to fixup the Linux device tree.

Signed-off-by: Nathan Morrisson <nmorrisson at phytec.com>
Signed-off-by: Wadim Egorov <w.egorov at phytec.de>
---
 .../k3-am625-phyboard-lyra-rdk-u-boot.dtsi    | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm/dts/k3-am625-phyboard-lyra-rdk-u-boot.dtsi b/arch/arm/dts/k3-am625-phyboard-lyra-rdk-u-boot.dtsi
index 94162282068..7c76acc0d59 100644
--- a/arch/arm/dts/k3-am625-phyboard-lyra-rdk-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-phyboard-lyra-rdk-u-boot.dtsi
@@ -127,6 +127,32 @@
 
 	flash at 0 {
 		bootph-all;
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			partition at 0 {
+				label = "ospi.tiboot3";
+				reg = <0x00000 0x80000>;
+			};
+			partition at 80000 {
+				label = "ospi.tispl";
+				reg = <0x080000 0x200000>;
+			};
+			partition at 280000 {
+				label = "ospi.u-boot";
+				reg = <0x280000 0x400000>;
+			};
+			partition at 680000 {
+				label = "ospi.env";
+				reg = <0x680000 0x40000>;
+			};
+			partition at 6c0000 {
+				label = "ospi.env.backup";
+				reg = <0x6c0000 0x40000>;
+			};
+		};
 	};
 };
 
-- 
2.34.1



More information about the U-Boot mailing list