Commit a1de28dd authored by Daniel Golle's avatar Daniel Golle Committed by Richard Weinberger
Browse files

dt-bindings: mtd: ubi-volume: allow UBI volumes to provide NVMEM



UBI volumes may be used to contain NVMEM bits, typically device MAC
addresses or wireless radio calibration data.

Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent e17f38b7
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -59,6 +59,16 @@ examples:
                ubi-volume-caldata {
                    volid = <2>;
                    volname = "rf";

                    nvmem-layout {
                        compatible = "fixed-layout";
                        #address-cells = <1>;
                        #size-cells = <1>;

                        eeprom@0 {
                            reg = <0x0 0x1000>;
                        };
                    };
                };
            };
        };
+5 −0
Original line number Diff line number Diff line
@@ -24,6 +24,11 @@ properties:
    description:
      Match UBI volume ID

  nvmem-layout:
    $ref: /schemas/nvmem/layouts/nvmem-layout.yaml#
    description:
      This container may reference an NVMEM layout parser.

anyOf:
  - required:
      - volid