summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/facebook-bmc-flash-layout-128.dtsi
blob: 7f3652dea550b6f669902851373425296d90e0d5 (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
// SPDX-License-Identifier: GPL-2.0+
// Copyright (c) 2020 Facebook Inc.

partitions {
	compatible = "fixed-partitions";
	#address-cells = <1>;
	#size-cells = <1>;

	/*
	 * u-boot partition: 896KB.
	 */
	u-boot@0 {
		reg = <0x0 0xe0000>;
		label = "u-boot";
	};

	/*
	 * u-boot environment variables: 64KB.
	 */
	u-boot-env@e0000 {
		reg = <0xe0000 0x10000>;
		label = "env";
	};

	/*
	 * image metadata partition (64KB), used by Facebook internal
	 * tools.
	 */
	image-meta@f0000 {
		reg = <0xf0000 0x10000>;
		label = "meta";
	};

	/*
	 * FIT image: 119 MB.
	 */
	fit@100000 {
		reg = <0x100000 0x7700000>;
		label = "fit";
	};

	/*
	 * "data0" partition (8MB) is used by Facebook BMC platforms as
	 * persistent data store.
	 */
	data0@7800000 {
		reg = <0x7800000 0x800000>;
		label = "data0";
	};

	/*
	 * Although the master partition can be created by enabling
	 * MTD_PARTITIONED_MASTER option, below "flash0" partition is
	 * explicitly created to avoid breaking legacy applications.
	 */
	flash0@0 {
		reg = <0x0 0x8000000>;
		label = "flash0";
	};
};