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