diff mbox series

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

Message ID 20240610133352.2473414-2-w.egorov@phytec.de
State Accepted
Commit c99b2a9e9e83ea78d6c984fb0b34006b7d0fcf38
Delegated to: Tom Rini
Headers show
Series *** Various fixes & improvements for phycore-AM6* SoMs *** | expand

Commit Message

Wadim Egorov June 10, 2024, 1:33 p.m. UTC
From: Nathan Morrisson <nmorrisson@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@phytec.com>
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
---
 .../k3-am625-phyboard-lyra-rdk-u-boot.dtsi    | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)

Comments

Teresa Remmet June 11, 2024, 8:08 a.m. UTC | #1
Hello Wadim,

Am Montag, dem 10.06.2024 um 15:33 +0200 schrieb Wadim Egorov:

> From: Nathan Morrisson <nmorrisson@phytec.com>
> 
> Add a fixed partitions node to the AM62x device tree so that it can
> be used to fixup the Linux device tree.

for which branch is this series?

Regards,
Teresa

> 
> Signed-off-by: Nathan Morrisson <nmorrisson@phytec.com>
> Signed-off-by: Wadim Egorov <w.egorov@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@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>;
> +                       };
> +               };
>         };
>  };
>
Wadim Egorov June 12, 2024, 2:21 p.m. UTC | #2
Am 11.06.24 um 10:08 schrieb Teresa Remmet:
> Hello Wadim,
> 
> Am Montag, dem 10.06.2024 um 15:33 +0200 schrieb Wadim Egorov:
> 
>> From: Nathan Morrisson <nmorrisson@phytec.com>
>>
>> Add a fixed partitions node to the AM62x device tree so that it can
>> be used to fixup the Linux device tree.
> 
> for which branch is this series?

This patch is for u-boot/next
Somehow it landed also on our internal list, sorry for that.


> 
> Regards,
> Teresa
> 
>>
>> Signed-off-by: Nathan Morrisson <nmorrisson@phytec.com>
>> Signed-off-by: Wadim Egorov <w.egorov@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@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>;
>> +                       };
>> +               };
>>          };
>>   };
>>   
>
diff mbox series

Patch

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@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>;
+			};
+		};
 	};
 };