summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/firmware/fwu-mdata-mtd.yaml
blob: 4f5404f9991bca5ff7c4f55e0ca27bc3d5d89b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/firmware/u-boot,fwu-mdata-sf.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: FWU metadata on MTD device without GPT

maintainers:
 - Masami Hiramatsu <masami.hiramatsu@linaro.org>

properties:
  compatible:
    items:
      - const: u-boot,fwu-mdata-mtd

  fwu-mdata-store:
    maxItems: 1
    description: Phandle of the MTD device which contains the FWU medatata.

  mdata-offsets:
    minItems: 2
    description: Offsets of the primary and secondary FWU metadata in the NOR flash.

required:
  - compatible
  - fwu-mdata-store
  - mdata-offsets

additionalProperties: false

examples:
  - |
    fwu-mdata {
        compatible = "u-boot,fwu-mdata-mtd";
        fwu-mdata-store = <&spi-flash>;
        mdata-offsets = <0x500000 0x530000>;
    };