brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 27e1ac1 Raw
76 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/mtd/partitions/linux,ubi.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Unsorted Block Images8 9description: |10  UBI ("Unsorted Block Images") is a volume management system for raw11  flash devices which manages multiple logical volumes on a single12  physical flash device and spreads the I/O load (i.e wear-leveling)13  across the whole flash chip.14 15maintainers:16  - Daniel Golle <daniel@makrotopia.org>17 18allOf:19  - $ref: partition.yaml#20 21properties:22  compatible:23    const: linux,ubi24 25  volumes:26    type: object27    description: UBI Volumes28 29    patternProperties:30      "^ubi-volume-.*$":31        $ref: /schemas/mtd/partitions/ubi-volume.yaml#32 33    unevaluatedProperties: false34 35required:36  - compatible37 38unevaluatedProperties: false39 40examples:41  - |42    partitions {43        compatible = "fixed-partitions";44        #address-cells = <1>;45        #size-cells = <1>;46 47        partition@0 {48            reg = <0x0 0x100000>;49            label = "bootloader";50            read-only;51        };52 53        partition@100000 {54            reg = <0x100000 0x1ff00000>;55            label = "ubi";56            compatible = "linux,ubi";57 58            volumes {59                ubi-volume-caldata {60                    volid = <2>;61                    volname = "rf";62 63                    nvmem-layout {64                        compatible = "fixed-layout";65                        #address-cells = <1>;66                        #size-cells = <1>;67 68                        eeprom@0 {69                            reg = <0x0 0x1000>;70                        };71                    };72                };73            };74        };75    };76