Skip to content

Commit 39abdc0

Browse files
ebstollShawn Guo
authored andcommitted
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>
1 parent 47ef525 commit 39abdc0

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl-common.dtsi

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,29 @@
2626

2727
flash@0 {
2828
compatible = "mxicy,mx25v8035f", "jedec,spi-nor";
29-
spi-max-frequency = <50000000>;
3029
reg = <0>;
30+
spi-max-frequency = <50000000>;
31+
32+
partitions {
33+
compatible = "fixed-partitions";
34+
#address-cells = <1>;
35+
#size-cells = <1>;
36+
37+
partition@0 {
38+
reg = <0x0 0xf0000>;
39+
label = "u-boot";
40+
};
41+
42+
partition@f0000 {
43+
reg = <0xf0000 0x8000>;
44+
label = "env";
45+
};
46+
47+
partition@f8000 {
48+
reg = <0xf8000 0x8000>;
49+
label = "env_redundant";
50+
};
51+
};
3152
};
3253
};
3354

0 commit comments

Comments
 (0)