* [PATCH v2 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions
@ 2025-07-08 12:56 Frieder Schrempf
2025-07-08 12:56 ` [PATCH v2 2/2] ARM: dts: imx6ul-kontron-sl-common: Fix QSPI NAND node name Frieder Schrempf
2025-07-08 17:57 ` [PATCH v2 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions Frank Li
0 siblings, 2 replies; 5+ messages in thread
From: Frieder Schrempf @ 2025-07-08 12:56 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,
Pengutronix Kernel Team
From: Eberhard Stoll <eberhard.stoll@kontron.de>
Describe the partitions for the bootloader and the environment
on the SPI NOR.
Signed-off-by: Eberhard Stoll <eberhard.stoll@kontron.de>
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
Changes for v2:
* Fix name order in SoB
---
.../dts/nxp/imx/imx6ul-kontron-sl-common.dtsi | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
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..ab149c40a9cc1 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
@@ -28,6 +28,27 @@ flash@0 {
compatible = "mxicy,mx25v8035f", "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "u-boot";
+ reg = <0x0 0xf0000>;
+ };
+
+ partition@f0000 {
+ label = "env";
+ reg = <0xf0000 0x8000>;
+ };
+
+ partition@f8000 {
+ label = "env_redundant";
+ reg = <0xf8000 0x8000>;
+ };
+ };
};
};
--
2.50.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] ARM: dts: imx6ul-kontron-sl-common: Fix QSPI NAND node name
2025-07-08 12:56 [PATCH v2 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions Frieder Schrempf
@ 2025-07-08 12:56 ` Frieder Schrempf
2025-07-08 17:55 ` Frank Li
2025-07-08 17:57 ` [PATCH v2 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions Frank Li
1 sibling, 1 reply; 5+ messages in thread
From: Frieder Schrempf @ 2025-07-08 12:56 UTC (permalink / raw)
To: linux-arm-kernel, Conor Dooley, devicetree, imx,
Krzysztof Kozlowski, linux-kernel, Rob Herring, Sascha Hauer,
Shawn Guo
Cc: Frieder Schrempf, Eberhard Stoll, Fabio Estevam,
Pengutronix Kernel Team
From: Frieder Schrempf <frieder.schrempf@kontron.de>
Rename QSPI NAND node to 'flash@0' in order to fix the following
dt-schema warning:
spi-flash@0 (spi-nand): $nodename:0: 'spi-flash@0' does not match '^(flash|.*sram|nand)(@.*)?$'
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
Changes for v2:
* None
---
arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi | 2 +-
1 file changed, 1 insertion(+), 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 ab149c40a9cc1..793c95d44c7d0 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
@@ -82,7 +82,7 @@ &qspi {
pinctrl-0 = <&pinctrl_qspi>;
status = "okay";
- spi-flash@0 {
+ flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "spi-nand";
--
2.50.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 2/2] ARM: dts: imx6ul-kontron-sl-common: Fix QSPI NAND node name
2025-07-08 12:56 ` [PATCH v2 2/2] ARM: dts: imx6ul-kontron-sl-common: Fix QSPI NAND node name Frieder Schrempf
@ 2025-07-08 17:55 ` Frank Li
0 siblings, 0 replies; 5+ messages in thread
From: Frank Li @ 2025-07-08 17:55 UTC (permalink / raw)
To: Frieder Schrempf
Cc: linux-arm-kernel, Conor Dooley, devicetree, imx,
Krzysztof Kozlowski, linux-kernel, Rob Herring, Sascha Hauer,
Shawn Guo, Frieder Schrempf, Eberhard Stoll, Fabio Estevam,
Pengutronix Kernel Team
On Tue, Jul 08, 2025 at 02:56:05PM +0200, Frieder Schrempf wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
>
> Rename QSPI NAND node to 'flash@0' in order to fix the following
> dt-schema warning:
>
> spi-flash@0 (spi-nand): $nodename:0: 'spi-flash@0' does not match '^(flash|.*sram|nand)(@.*)?$'
>
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> ---
Reviewed-by: Frank Li <Frank.Li@nxp.com>
> Changes for v2:
> * None
> ---
> arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 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 ab149c40a9cc1..793c95d44c7d0 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
> @@ -82,7 +82,7 @@ &qspi {
> pinctrl-0 = <&pinctrl_qspi>;
> status = "okay";
>
> - spi-flash@0 {
> + flash@0 {
> #address-cells = <1>;
> #size-cells = <1>;
> compatible = "spi-nand";
> --
> 2.50.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions
2025-07-08 12:56 [PATCH v2 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions Frieder Schrempf
2025-07-08 12:56 ` [PATCH v2 2/2] ARM: dts: imx6ul-kontron-sl-common: Fix QSPI NAND node name Frieder Schrempf
@ 2025-07-08 17:57 ` Frank Li
2025-07-09 7:18 ` Frieder Schrempf
1 sibling, 1 reply; 5+ messages in thread
From: Frank Li @ 2025-07-08 17:57 UTC (permalink / raw)
To: Frieder Schrempf
Cc: linux-arm-kernel, Conor Dooley, devicetree, imx,
Krzysztof Kozlowski, linux-kernel, Rob Herring, Sascha Hauer,
Shawn Guo, Eberhard Stoll, Frieder Schrempf, Fabio Estevam,
Pengutronix Kernel Team
On Tue, Jul 08, 2025 at 02:56:04PM +0200, Frieder Schrempf wrote:
> From: Eberhard Stoll <eberhard.stoll@kontron.de>
>
> Describe the partitions for the bootloader and the environment
> on the SPI NOR.
>
> Signed-off-by: Eberhard Stoll <eberhard.stoll@kontron.de>
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> ---
> Changes for v2:
> * Fix name order in SoB
> ---
> .../dts/nxp/imx/imx6ul-kontron-sl-common.dtsi | 21 +++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> 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..ab149c40a9cc1 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
> @@ -28,6 +28,27 @@ flash@0 {
> compatible = "mxicy,mx25v8035f", "jedec,spi-nor";
> spi-max-frequency = <50000000>;
> reg = <0>;
> +
> + partitions {
> + compatible = "fixed-partitions";
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + partition@0 {
> + label = "u-boot";
> + reg = <0x0 0xf0000>;
I think reg should first property.
first is 'compatible', the second is 'reg'.
Frank
> + };
> +
> + partition@f0000 {
> + label = "env";
> + reg = <0xf0000 0x8000>;
> + };
> +
> + partition@f8000 {
> + label = "env_redundant";
> + reg = <0xf8000 0x8000>;
> + };
> + };
> };
> };
>
> --
> 2.50.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions
2025-07-08 17:57 ` [PATCH v2 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions Frank Li
@ 2025-07-09 7:18 ` Frieder Schrempf
0 siblings, 0 replies; 5+ messages in thread
From: Frieder Schrempf @ 2025-07-09 7:18 UTC (permalink / raw)
To: Frank Li, Frieder Schrempf
Cc: linux-arm-kernel, Conor Dooley, devicetree, imx,
Krzysztof Kozlowski, linux-kernel, Rob Herring, Sascha Hauer,
Shawn Guo, Eberhard Stoll, Fabio Estevam, Pengutronix Kernel Team
Am 08.07.25 um 19:57 schrieb Frank Li:
> On Tue, Jul 08, 2025 at 02:56:04PM +0200, Frieder Schrempf wrote:
>> From: Eberhard Stoll <eberhard.stoll@kontron.de>
>>
>> Describe the partitions for the bootloader and the environment
>> on the SPI NOR.
>>
>> Signed-off-by: Eberhard Stoll <eberhard.stoll@kontron.de>
>> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
>> ---
>> Changes for v2:
>> * Fix name order in SoB
>> ---
>> .../dts/nxp/imx/imx6ul-kontron-sl-common.dtsi | 21 +++++++++++++++++++
>> 1 file changed, 21 insertions(+)
>>
>> 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..ab149c40a9cc1 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
>> @@ -28,6 +28,27 @@ flash@0 {
>> compatible = "mxicy,mx25v8035f", "jedec,spi-nor";
>> spi-max-frequency = <50000000>;
>> reg = <0>;
>> +
>> + partitions {
>> + compatible = "fixed-partitions";
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> +
>> + partition@0 {
>> + label = "u-boot";
>> + reg = <0x0 0xf0000>;
>
> I think reg should first property.
> first is 'compatible', the second is 'reg'.
Thanks! Now fixed in v3.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-07-09 8:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-08 12:56 [PATCH v2 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions Frieder Schrempf
2025-07-08 12:56 ` [PATCH v2 2/2] ARM: dts: imx6ul-kontron-sl-common: Fix QSPI NAND node name Frieder Schrempf
2025-07-08 17:55 ` Frank Li
2025-07-08 17:57 ` [PATCH v2 1/2] ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions Frank Li
2025-07-09 7:18 ` Frieder Schrempf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).