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

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

/ {
	chosen {
		stdout-path = &uart2;

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

&ecspi1 {
	flash@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>;
	phy-mode = "rgmii-id";
};

&rgmii_phy {
	qca,clk-out-frequency = <125000000>;
};

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