Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 // Copyright (c) 2020 Facebook Inc.
0003 
0004 partitions {
0005         compatible = "fixed-partitions";
0006         #address-cells = <1>;
0007         #size-cells = <1>;
0008 
0009         /*
0010          * u-boot partition: 896KB.
0011          */
0012         u-boot@0 {
0013                 reg = <0x0 0xe0000>;
0014                 label = "u-boot";
0015         };
0016 
0017         /*
0018          * u-boot environment variables: 64KB.
0019          */
0020         u-boot-env@e0000 {
0021                 reg = <0xe0000 0x10000>;
0022                 label = "env";
0023         };
0024 
0025         /*
0026          * image metadata partition (64KB), used by Facebook internal
0027          * tools.
0028          */
0029         image-meta@f0000 {
0030                 reg = <0xf0000 0x10000>;
0031                 label = "meta";
0032         };
0033 
0034         /*
0035          * FIT image: 119 MB.
0036          */
0037         fit@100000 {
0038                 reg = <0x100000 0x7700000>;
0039                 label = "fit";
0040         };
0041 
0042         /*
0043          * "data0" partition (8MB) is used by Facebook BMC platforms as
0044          * persistent data store.
0045          */
0046         data0@7800000 {
0047                 reg = <0x7800000 0x800000>;
0048                 label = "data0";
0049         };
0050 
0051         /*
0052          * Although the master partition can be created by enabling
0053          * MTD_PARTITIONED_MASTER option, below "flash0" partition is
0054          * explicitly created to avoid breaking legacy applications.
0055          */
0056         flash0@0 {
0057                 reg = <0x0 0x8000000>;
0058                 label = "flash0";
0059         };
0060 };