ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions
Subsystems (2)
PATCH v3 1/2 ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions
From: Eberhard Stoll <[email protected]>
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.
---
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(-)
arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi +22 -1
@@ -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"; + }; + }; }; };
Signature · 1 line
2.50.0
PATCH v3 2/2 ARM: dts: imx6ul-kontron-sl-common: Fix QSPI NAND node name
From: Frieder Schrempf <[email protected]>
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)(@.*)?$'
---
Changes for v3:
* Add Frank's R-b tag (thanks!)
Changes for v2:
* None
--- arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi +1 -1
@@ -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";
Signature · 1 line
2.50.0
Shawn Guo
AppliedQuoted 8 lines · Frieder Schrempf
From: Eberhard Stoll <[email protected]>
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 <[email protected]>Signed-off-by Frieder Schrempf <[email protected]>
Applied both, thanks!