| 
     1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Qualcomm SMEM NAND flash partition parser binding
    8 
    9 maintainers:
   10   - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
   11 
   12 description: |
   13   The Qualcomm SoCs supporting the NAND controller interface features a Shared
   14   Memory (SMEM) based partition table scheme. The maximum partitions supported
   15   varies between partition table revisions. V3 supports maximum 16 partitions
   16   and V4 supports 48 partitions.
   17 
   18 properties:
   19   compatible:
   20     const: qcom,smem-part
   21 
   22 patternProperties:
   23   "^partition-[0-9a-z]+$":
   24     $ref: partition.yaml#
   25 
   26 required:
   27   - compatible
   28 
   29 additionalProperties: false
   30 
   31 examples:
   32   - |
   33     flash {
   34         partitions {
   35             compatible = "qcom,smem-part";
   36         };
   37     };
   38 
   39   - |
   40     /* Example declaring dynamic partition */
   41     flash {
   42       partitions {
   43         compatible = "qcom,smem-part";
   44 
   45         partition-art {
   46           compatible = "nvmem-cells";
   47           #address-cells = <1>;
   48           #size-cells = <1>;
   49           label = "0:art";
   50 
   51           macaddr_art_0: macaddr@0 {
   52             reg = <0x0 0x6>;
   53           };
   54 
   55           macaddr_art_6: macaddr@6 {
   56             reg = <0x6 0x6>;
   57           };
   58         };
   59       };
   60     };
Cache object: 09912e9bf48b581b9d025e1c198bfb6c 
 
 |