Sughosh Ganu | 02b1979 | 2022-07-22 12:43:15 -0500 | [diff] [blame] | 1 | # 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 | |
| 7 | title: FWU metadata on MTD device without GPT |
| 8 | |
| 9 | maintainers: |
| 10 | - Masami Hiramatsu <masami.hiramatsu@linaro.org> |
| 11 | |
| 12 | properties: |
| 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 | |
| 25 | required: |
| 26 | - compatible |
| 27 | - fwu-mdata-store |
| 28 | - mdata-offsets |
| 29 | |
| 30 | additionalProperties: false |
| 31 | |
| 32 | examples: |
| 33 | - | |
| 34 | fwu-mdata { |
| 35 | compatible = "u-boot,fwu-mdata-mtd"; |
| 36 | fwu-mdata-store = <&spi-flash>; |
| 37 | mdata-offsets = <0x500000 0x530000>; |
| 38 | }; |