blob: 4f5404f9991bca5ff7c4f55e0ca27bc3d5d89b9f [file] [log] [blame]
Sughosh Ganu02b19792022-07-22 12:43:15 -05001# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/firmware/u-boot,fwu-mdata-sf.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: FWU metadata on MTD device without GPT
8
9maintainers:
10 - Masami Hiramatsu <masami.hiramatsu@linaro.org>
11
12properties:
13 compatible:
14 items:
15 - const: u-boot,fwu-mdata-mtd
16
17 fwu-mdata-store:
18 maxItems: 1
19 description: Phandle of the MTD device which contains the FWU medatata.
20
21 mdata-offsets:
22 minItems: 2
23 description: Offsets of the primary and secondary FWU metadata in the NOR flash.
24
25required:
26 - compatible
27 - fwu-mdata-store
28 - mdata-offsets
29
30additionalProperties: false
31
32examples:
33 - |
34 fwu-mdata {
35 compatible = "u-boot,fwu-mdata-mtd";
36 fwu-mdata-store = <&spi-flash>;
37 mdata-offsets = <0x500000 0x530000>;
38 };