summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/fsl-ls1028a-rdb.dts
blob: 671c97413b375ed7b06f4edbddab401e23d9d11e (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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)

/dts-v1/;

#include <arm64/freescale/fsl-ls1028a-rdb.dts>
#include "fsl-ls1028a.dtsi"

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

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

	memory@80000000 {
		/* Upstream dts has size 4GiB here which is wrong */
		reg = <0x0 0x80000000 0x0 0x80000000>;
	};
};

/* SD */
&esdhc {
	#address-cells = <1>;
	#size-cells = <1>;

	partition@1000 {
		label = "barebox";
		reg = <0x1000 0x1df000>;
	};

	part_env_sd: partition@1e0000 {
		label = "barebox-environment";
		reg = <0x1e0000 0x20000>;
	};
};

/* eMMC */
&esdhc1 {
	#address-cells = <1>;
	#size-cells = <1>;

	partition@1000 {
		label = "barebox";
		reg = <0x1000 0x1df000>;
	};

	part_env_emmc: partition@1e0000 {
		label = "barebox-environment";
		reg = <0x1e0000 0x20000>;
	};
};