summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx8mp-debix-model-a.dts
blob: a58b40ec8652116334e20c3acb401fbe09c8f029 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// SPDX-License-Identifier: (GPL-2.0 OR MIT)

/dts-v1/;

#include "imx8mp-debix-model-a-upstream.dts"
#include "imx8mp.dtsi"

/ {
	/*
	* Switch the ethernet aliases compared to usual i.MX8MP ordering
	* as the EQOS interface is on the main board, the FEC interface
	* is located on the extension board.
	*/
	aliases {
		ethernet0 = &eqos;
		ethernet1 = &fec;
	};

	chosen {
		environment-sd {
			compatible = "barebox,environment";
			device-path = &env_sd;
			status = "disabled";
		};

		environment-emmc {
			compatible = "barebox,environment";
			device-path = &env_emmc;
			status = "disabled";
		};
	};
};

&usdhc2 {
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <2>;
		#size-cells = <2>;

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

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

&usdhc3 {
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <2>;
		#size-cells = <2>;

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

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