xref: /freebsd/sys/contrib/device-tree/src/arm/aspeed/facebook-bmc-flash-layout.dtsi (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
1// SPDX-License-Identifier: GPL-2.0+
2// Copyright (c) 2018 Facebook Inc.
3
4partitions {
5	compatible = "fixed-partitions";
6	#address-cells = <1>;
7	#size-cells = <1>;
8
9	u-boot@0 {
10		reg = <0x0 0x60000>;
11		label = "u-boot";
12	};
13
14	u-boot-env@60000 {
15		reg = <0x60000 0x20000>;
16		label = "env";
17	};
18
19	fit@80000 {
20		reg = <0x80000 0x1b80000>;
21		label = "fit";
22	};
23
24	/*
25	 * "data0" partition is used by several Facebook BMC platforms
26	 * as persistent data store.
27	 */
28	data0@1c00000 {
29		reg = <0x1c00000 0x400000>;
30		label = "data0";
31	};
32
33	/*
34	 * Although the master partition can be created by enabling
35	 * MTD_PARTITIONED_MASTER option, below "flash0" partition is
36	 * explicitly created to avoid breaking legacy applications.
37	 */
38	flash0@0 {
39		reg = <0x0 0x2000000>;
40		label = "flash0";
41	};
42};
43