summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/am335x-myirtech-myd.dts
blob: 6ec65e533ddea234dc361f36c0245710d6adba2c (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
// SPDX-License-Identifier: GPL-2.0-or-later
/* SPDX-FileCopyrightText: Alexander Shiyan, <shc_work@mail.ru> */

/dts-v1/;

#include <arm/am335x-myirtech-myd.dts>

/ {
	chosen {
		environment {
			compatible = "barebox,environment";
			device-path = &nand_environment;
		};
	};

};

&nand0 {
	/delete-node/ partition@0;
	/delete-node/ partition@20000;

	nand_parts: partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		partition@0 {
			label = "MLO";
			reg = <0x00000 0x20000>;
		};

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

		nand_environment: partition@180000 {
			label = "env";
			reg = <0x180000 0x40000>;
		};

		partition@1c0000 {
			label = "system";
			reg = <0x1c0000 0>;
		};
	};
};