summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/fsl-ls1046a-tqmls1046a-mbls10xxa.dts
blob: 787a85394c8ae9bf92043c6cbbfd9248febbff9d (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)
/*
 * Device Tree file for TQMLS1046A SoM on MBLS10xxA from TQ
 */

/dts-v1/;

#include <arm64/freescale/fsl-ls1046a-tqmls1046a-mbls10xxa.dts>
#include "fsl-ls1046a.dtsi"

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

		environment-qspi {
			compatible = "barebox,environment";
			device-path = &environment_qspi;
			status = "disabled";
		};
	};
};

&esdhc {
	partitions {
		#address-cells = <1>;
		#size-cells = <1>;

		compatible = "fixed-partitions";

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

		environment_sd: partition@e0000 {
			label = "barebox-environment";
			reg = <0xe0000 0x20000>;
		};
	};
};

&qflash0 {
	partitions {
		#address-cells = <1>;
		#size-cells = <1>;

		compatible = "fixed-partitions";

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

		environment_qspi: partition@200000 {
			label = "barebox-environment";
			reg = <0x200000 0x80000>;
		};

		partition@280000 {
			label = "data";
			reg = <0x280000 0x0>;
		};
	};
};