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

/dts-v1/;

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

/ {
	aliases {
		gpio0 = &gpio0;
		gpio1 = &gpio1;
		gpio2 = &gpio2;
		gpio3 = &gpio3;
	};

	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>;
		};
	};
};