1// SPDX-License-Identifier: GPL-2.0+
2// Copyright (c) 2020 Facebook Inc.
3
4partitions {
5	compatible = "fixed-partitions";
6	#address-cells = <1>;
7	#size-cells = <1>;
8
9	/*
10	 * u-boot partition: 896KB.
11	 */
12	u-boot@0 {
13		reg = <0x0 0xe0000>;
14		label = "u-boot";
15	};
16
17	/*
18	 * u-boot environment variables: 64KB.
19	 */
20	u-boot-env@e0000 {
21		reg = <0xe0000 0x10000>;
22		label = "env";
23	};
24
25	/*
26	 * image metadata partition (64KB), used by Facebook internal
27	 * tools.
28	 */
29	image-meta@f0000 {
30		reg = <0xf0000 0x10000>;
31		label = "meta";
32	};
33
34	/*
35	 * FIT image: 119 MB.
36	 */
37	fit@100000 {
38		reg = <0x100000 0x7700000>;
39		label = "fit";
40	};
41
42	/*
43	 * "data0" partition (8MB) is used by Facebook BMC platforms as
44	 * persistent data store.
45	 */
46	data0@7800000 {
47		reg = <0x7800000 0x800000>;
48		label = "data0";
49	};
50
51	/*
52	 * Although the master partition can be created by enabling
53	 * MTD_PARTITIONED_MASTER option, below "flash0" partition is
54	 * explicitly created to avoid breaking legacy applications.
55	 */
56	flash0@0 {
57		reg = <0x0 0x8000000>;
58		label = "flash0";
59	};
60};
61