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

/dts-v1/;

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

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

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

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

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