Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Qualcomm SMEM NAND flash partition parser binding
0008 
0009 maintainers:
0010   - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
0011 
0012 description: |
0013   The Qualcomm SoCs supporting the NAND controller interface features a Shared
0014   Memory (SMEM) based partition table scheme. The maximum partitions supported
0015   varies between partition table revisions. V3 supports maximum 16 partitions
0016   and V4 supports 48 partitions.
0017 
0018 properties:
0019   compatible:
0020     const: qcom,smem-part
0021 
0022 patternProperties:
0023   "^partition-[0-9a-z]+$":
0024     $ref: partition.yaml#
0025 
0026 required:
0027   - compatible
0028 
0029 additionalProperties: false
0030 
0031 examples:
0032   - |
0033     flash {
0034         partitions {
0035             compatible = "qcom,smem-part";
0036         };
0037     };
0038 
0039   - |
0040     /* Example declaring dynamic partition */
0041     flash {
0042       partitions {
0043         compatible = "qcom,smem-part";
0044 
0045         partition-art {
0046           compatible = "nvmem-cells";
0047           #address-cells = <1>;
0048           #size-cells = <1>;
0049           label = "0:art";
0050 
0051           macaddr_art_0: macaddr@0 {
0052             reg = <0x0 0x6>;
0053           };
0054 
0055           macaddr_art_6: macaddr@6 {
0056             reg = <0x6 0x6>;
0057           };
0058         };
0059       };
0060     };