1*7d0873ebSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*7d0873ebSEmmanuel Vadot%YAML 1.2 3*7d0873ebSEmmanuel Vadot--- 4*7d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/mtd/partitions/binman.yaml# 5*7d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*7d0873ebSEmmanuel Vadot 7*7d0873ebSEmmanuel Vadottitle: Binman entries 8*7d0873ebSEmmanuel Vadot 9*7d0873ebSEmmanuel Vadotdescription: | 10*7d0873ebSEmmanuel Vadot This corresponds to a binman 'entry'. It is a single partition which holds 11*7d0873ebSEmmanuel Vadot data of a defined type. 12*7d0873ebSEmmanuel Vadot 13*7d0873ebSEmmanuel Vadot Binman uses the type to indicate what data file / type to place in the 14*7d0873ebSEmmanuel Vadot partition. There are quite a number of binman-specific entry types, such as 15*7d0873ebSEmmanuel Vadot section, fill and files, to be added later. 16*7d0873ebSEmmanuel Vadot 17*7d0873ebSEmmanuel Vadotmaintainers: 18*7d0873ebSEmmanuel Vadot - Simon Glass <sjg@chromium.org> 19*7d0873ebSEmmanuel Vadot 20*7d0873ebSEmmanuel VadotallOf: 21*7d0873ebSEmmanuel Vadot - $ref: /schemas/mtd/partitions/partition.yaml# 22*7d0873ebSEmmanuel Vadot 23*7d0873ebSEmmanuel Vadotproperties: 24*7d0873ebSEmmanuel Vadot compatible: 25*7d0873ebSEmmanuel Vadot enum: 26*7d0873ebSEmmanuel Vadot - u-boot # u-boot.bin from U-Boot project 27*7d0873ebSEmmanuel Vadot - tfa-bl31 # bl31.bin or bl31.elf from TF-A project 28*7d0873ebSEmmanuel Vadot 29*7d0873ebSEmmanuel Vadotrequired: 30*7d0873ebSEmmanuel Vadot - compatible 31*7d0873ebSEmmanuel Vadot 32*7d0873ebSEmmanuel VadotunevaluatedProperties: false 33*7d0873ebSEmmanuel Vadot 34*7d0873ebSEmmanuel Vadotexamples: 35*7d0873ebSEmmanuel Vadot - | 36*7d0873ebSEmmanuel Vadot partitions { 37*7d0873ebSEmmanuel Vadot compatible = "fixed-partitions"; 38*7d0873ebSEmmanuel Vadot #address-cells = <1>; 39*7d0873ebSEmmanuel Vadot #size-cells = <1>; 40*7d0873ebSEmmanuel Vadot 41*7d0873ebSEmmanuel Vadot partition@100000 { 42*7d0873ebSEmmanuel Vadot compatible = "u-boot"; 43*7d0873ebSEmmanuel Vadot reg = <0x100000 0xf00000>; 44*7d0873ebSEmmanuel Vadot align-size = <0x1000>; 45*7d0873ebSEmmanuel Vadot align-end = <0x10000>; 46*7d0873ebSEmmanuel Vadot }; 47*7d0873ebSEmmanuel Vadot 48*7d0873ebSEmmanuel Vadot partition@200000 { 49*7d0873ebSEmmanuel Vadot compatible = "tfa-bl31"; 50*7d0873ebSEmmanuel Vadot reg = <0x200000 0x100000>; 51*7d0873ebSEmmanuel Vadot align = <0x4000>; 52*7d0873ebSEmmanuel Vadot }; 53*7d0873ebSEmmanuel Vadot }; 54