xref: /freebsd/sys/contrib/device-tree/Bindings/reserved-memory/memory-region.yaml (revision b197d4b893974c9eb4d7b38704c6d5c486235d6f)
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
7title: Reserved Memory Region Device Tree Binding
8
9maintainers:
10  - devicetree-spec@vger.kernel.org
11
12description: |
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
16select: true
17
18properties:
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
30additionalProperties: true
31
32examples:
33  - |
34    fb0: video@12300000 {
35        /* ... */
36        reg = <0x12300000 0x1000>;
37        memory-region = <&display_reserved>;
38    };
39
40...
41