Skip to contentSkip to conversation

arm64: dts: ti: k3-j721s2-som-p0: Add flash partition details

PATCH Applied Udit Kumar 2 participants 2 messages Feb 15, 2025 – Mar 2, 2025

Subsystems (2)
lore
Share & tools
lore

Udit Kumar

author
#0 lore raw

PATCH 1/1 arm64: dts: ti: k3-j721s2-som-p0: Add flash partition details

When used as boot device, OSPI flash hosts different boot binaries and rootfs etc.
So Add partition details for images hosted on OSPI flash.

---
 arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 41 ++++++++++++++++++++
 1 file changed, 41 insertions(+)
arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi +41 -0
index b3a0385ed3d8..54fc5c4f8c3f 100644
@@ -448,6 +448,47 @@ flash@0 {
 		cdns,tchsh-ns = <60>;
 		cdns,tslch-ns = <60>;
 		cdns,read-delay = <4>;
+
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			partition@0 {
+				label = "ospi.tiboot3";
+				reg = <0x0 0x80000>;
+			};
+
+			partition@80000 {
+				label = "ospi.tispl";
+				reg = <0x80000 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>;
+			};
+
+			partition@800000 {
+				label = "ospi.rootfs";
+				reg = <0x800000 0x37c0000>;
+			};
+
+			partition@3fc0000 {
+				label = "ospi.phypattern";
+				reg = <0x3fc0000 0x40000>;
+			};
+		};
 	};
 };
 
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw

Hi Udit Kumar,

Quoted 5 lines · Udit Kumar

When used as boot device, OSPI flash hosts different boot binaries and rootfs etc.
So Add partition details for images hosted on OSPI flash.

I have applied the following to branch ti-next on [1]. Thank you!

[1/1] arm64: dts: ti: k3-j721s2-som-p0: Add flash partition details

      commit: d9f17c11650c205fd4802033a5e880bf79662ace

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh