binman.yaml 1.3 KB

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