summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx51-zii-rdu1.dts
blob: 7984e5b32fbf1e3d93b85a2d16b29c0204488598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
 * Copyright 2018 CogentEmbedded, Inc.
 * Copyright 2011 Freescale Semiconductor, Inc.
 * Copyright 2011 Linaro Ltd.
 *
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

#include <arm/imx51-zii-rdu1.dts>

/ {
	compatible = "zii,imx51-rdu1", "fsl,imx51-babbage-power", "fsl,imx51";

	chosen {
		stdout-path = &uart1;

		environment-spi {
			compatible = "barebox,environment";
			device-path = &spinor, "partname:barebox-environment";
		};
	};
};

&ecspi1 {
	spinor: flash@1 {
		partition@0 {
			/*
			 * Do not change the size of this
			 * partition. RDU1's BBU code relies on
			 * "barebox" partition starting at 1024 byte
			 * mark to function properly
			 */
			label = "config";
			reg = <0x0 0x400>;
		};

		partition@400 {
			label = "barebox";
			reg = <0x400 0xdfc00>;
		};

		partition@e0000 {
			label = "barebox-environment";
			reg = <0xe0000 0x20000>;
		};
	};
};