Debian Codegraph @

Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml

raw
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
8
9 maintainers:
10 - Manivannan Sadhasivam <[email protected]>
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 select: false
19
20 properties:
21 compatible:
22 const: qcom,smem-part
23
24 patternProperties:
25 "^partition-[0-9a-z]+$":
26 $ref: nvmem-cells.yaml
27
28 required:
29 - compatible
30
31 additionalProperties: false
32
33 examples:
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 };