diff options
| author | Eberhard Stoll <eberhard.stoll@kontron.de> | 2025-07-09 09:15:54 +0200 |
|---|---|---|
| committer | Shawn Guo <shawnguo@kernel.org> | 2025-07-11 16:21:48 +0800 |
| commit | 39abdc053b9fb60f4bcf79ef0a73eecf06cb695d (patch) | |
| tree | 32ad3e813ddd50b46786bbce2537f2ad80a355c7 | |
| parent | 47ef5256124fb939d8157b13ca048c902435cf23 (diff) | |
ARM: dts: imx6ul-kontron-sl-common: Add SPI NOR partitions
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| -rw-r--r-- | arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi | 23 |
1 files changed, 22 insertions, 1 deletions
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 dcf88f610346..779723b04575 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 @@ 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"; + }; + }; }; }; |
