All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions
@ 2025-07-09  7:15 Frieder Schrempf
  2025-07-09  7:15 ` [PATCH v3 2/2] ARM: dts: imx6ul-kontron-sl-common: Fix QSPI NAND node name Frieder Schrempf
  2025-07-11  8:22 ` [PATCH v3 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Frieder Schrempf @ 2025-07-09  7:15 UTC (permalink / raw)
  To: linux-arm-kernel, Conor Dooley, devicetree, imx,
	Krzysztof Kozlowski, linux-kernel, Rob Herring, Sascha Hauer,
	Shawn Guo
  Cc: Eberhard Stoll, Frieder Schrempf, Fabio Estevam, Frank Li,
	Pengutronix Kernel Team

From: Eberhard Stoll <eberhard.stoll@kontron.de>

Describe the partitions for the bootloader and the environment
on the SPI NOR. While at it also fix the order of the properties
in the flash node itself.

Signed-off-by: Eberhard Stoll <eberhard.stoll@kontron.de>
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
Changes for v3:
* Fix reg/label order
* Fix reg order in flash node
Changes for v2:
* Fix name order in SoB
---
 .../dts/nxp/imx/imx6ul-kontron-sl-common.dtsi | 23 ++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi
index dcf88f6103466..779723b04575a 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi
@@ -26,8 +26,29 @@ &ecspi2 {
 
 	flash@0 {
 		compatible = "mxicy,mx25v8035f", "jedec,spi-nor";
-		spi-max-frequency = <50000000>;
 		reg = <0>;
+		spi-max-frequency = <50000000>;
+
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			partition@0 {
+				reg = <0x0 0xf0000>;
+				label = "u-boot";
+			};
+
+			partition@f0000 {
+				reg = <0xf0000 0x8000>;
+				label = "env";
+			};
+
+			partition@f8000 {
+				reg = <0xf8000 0x8000>;
+				label = "env_redundant";
+			};
+		};
 	};
 };
 
-- 
2.50.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-11  8:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-09  7:15 [PATCH v3 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions Frieder Schrempf
2025-07-09  7:15 ` [PATCH v3 2/2] ARM: dts: imx6ul-kontron-sl-common: Fix QSPI NAND node name Frieder Schrempf
2025-07-11  8:22 ` [PATCH v3 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.