GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / reserved-memory / memory-region.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/reserved-memory/memory-region.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Reserved Memory Region
8
9 maintainers:
10   - devicetree-spec@vger.kernel.org
11
12 description: |
13   Regions in the /reserved-memory node may be referenced by other device
14   nodes by adding a memory-region property to the device node.
15
16 select: true
17
18 properties:
19   memory-region:
20     $ref: /schemas/types.yaml#/definitions/phandle-array
21     description: >
22       Phandle to a /reserved-memory child node assigned to the device.
23
24   memory-region-names:
25     $ref: /schemas/types.yaml#/definitions/string-array
26     description: >
27       A list of names, one for each corresponding entry in the
28       memory-region property
29
30 additionalProperties: true
31
32 examples:
33   - |
34     fb0: video@12300000 {
35         /* ... */
36         reg = <0x12300000 0x1000>;
37         memory-region = <&display_reserved>;
38     };
39
40 ...