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