We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118f3fb commit dd63820Copy full SHA for dd63820
Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml
@@ -19,6 +19,10 @@ 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
@@ -31,3 +35,26 @@ examples:
31
35
compatible = "qcom,smem-part";
32
36
};
33
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
0 commit comments