summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx6q-marsboard.dts
blob: 1d9f8f005df7d0cb2578d5d68e96d40fb4a872a2 (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
// SPDX-License-Identifier: GPL-2.0 OR X11
/*
 * Copyright (C) 2019 Ahmad Fatoum - Pengutronix
 */

#include <arm/imx6q-marsboard.dts>
#include "imx6q.dtsi"

/ {
	chosen {
		stdout-path = &uart2;

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

&ecspi1 {
	m25p80@0 {
		#address-cells = <1>;
		#size-cells = <1>;

		partition@0 {
			label = "barebox";
			reg = <0x000000 0x100000>;
		};

		environment_spinor: partition@100000 {
			label = "barebox-environment";
			reg = <0x100000 0x80000>;
		};
	};
};

&fec {
	phy-reset-duration = <2>;
};

&ocotp {
	barebox,provide-mac-address = <&fec 0x620>;
};