]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arch: arm: dts: k3-am625-phyboard-lyra: Add fixed partitions
authorNathan Morrisson <nmorrisson@phytec.com>
Mon, 10 Jun 2024 13:33:40 +0000 (15:33 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 18 Jun 2024 16:28:59 +0000 (10:28 -0600)
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@phytec.com>
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Reviewed-by: Daniel Schultz <d.schultz@phytec.de>
arch/arm/dts/k3-am625-phyboard-lyra-rdk-u-boot.dtsi

index 94162282068cf59ff1ef2b864b611eeca75b54c9..7c76acc0d59b69822d292852cdeb9163e51f89a8 100644 (file)
 
        flash@0 {
                bootph-all;
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "ospi.tiboot3";
+                               reg = <0x00000 0x80000>;
+                       };
+                       partition@80000 {
+                               label = "ospi.tispl";
+                               reg = <0x080000 0x200000>;
+                       };
+                       partition@280000 {
+                               label = "ospi.u-boot";
+                               reg = <0x280000 0x400000>;
+                       };
+                       partition@680000 {
+                               label = "ospi.env";
+                               reg = <0x680000 0x40000>;
+                       };
+                       partition@6c0000 {
+                               label = "ospi.env.backup";
+                               reg = <0x6c0000 0x40000>;
+                       };
+               };
        };
 };