summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx25-karo-tx25.dts
blob: 2785a3c91a28da6f4337940c4267c4a0e3ca200e (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
/*
 * Copyright 2012 Sascha Hauer, Pengutronix
 *
 * 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/imx25-karo-tx25.dts>
#include "imx25.dtsi"

/ {
	chosen {
		environment {
			compatible = "barebox,environment";
			device-path = &nfc, "partname:environment";
		};
	};
};

&iim {
	barebox,provide-mac-address = <&fec 0 26>;
};

&nfc {
	#address-cells = <1>;
	#size-cells = <1>;

	partition@0 {
		label = "boot";
		reg = <0x0 0x80000>;
	};

	partition@80000 {
		label = "environment";
		reg = <0x80000 0x80000>;
	};

	partition@100000 {
		label = "kernel";
		reg = <0x100000 0x400000>;
	};

	partition@500000 {
		label = "root";
		reg = <0x500000 0x7b00000>;
	};
};