]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM: dts: Add flash0 partitions for stm32mp257f-ev1-u-boot
authorPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 11 Sep 2025 06:59:44 +0000 (08:59 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 18 Sep 2025 15:20:39 +0000 (17:20 +0200)
Add flash0 partitions for stm32mp257f-ev1-u-boot.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi

index 9a566e18d3fd9b0cf4e21605f2cb060b49fadcb6..7bbb3e003517c6d946185a367a41c097140078a6 100644 (file)
        };
 };
 
+&flash0 {
+       partitions {
+               compatible = "fixed-partitions";
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               partition@0 {
+                       label = "fsbla1";
+                       reg = <0x00000000 0x00040000>;
+               };
+               partition@40000 {
+                       label = "fsbla2";
+                       reg = <0x00040000 0x00040000>;
+               };
+               partition@80000 {
+                       label = "metadata1";
+                       reg = <0x00080000 0x00040000>;
+               };
+               partition@C0000 {
+                       label = "metadata2";
+                       reg = <0x000C0000 0x00040000>;
+               };
+               partition@100000 {
+                       label = "fip-a";
+                       reg = <0x00100000 0x00400000>;
+               };
+               partition@500000 {
+                       label = "fip-b";
+                       reg = <0x00500000 0x00400000>;
+               };
+               partition@900000 {
+                       label = "u-boot-env";
+                       reg = <0x00900000 0x00080000>;
+               };
+               partition@980000 {
+                       label = "nor-user";
+                       reg = <0x00980000 0x03680000>;
+               };
+       };
+};
+
 &usart2 {
        bootph-all;
 };