summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/reserved-memory/memory-region.yaml
blob: 83dfe499a25913312ae3e34045d418a0ffde64cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/reserved-memory/memory-region.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Reserved Memory Region Device Tree Binding

maintainers:
  - devicetree-spec@vger.kernel.org

description: |
  Regions in the /reserved-memory node may be referenced by other device
  nodes by adding a memory-region property to the device node.

select: true

properties:
  memory-region:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    description: >
      Phandle to a /reserved-memory child node assigned to the device.

  memory-region-names:
    $ref: /schemas/types.yaml#/definitions/string-array
    description: >
      A list of names, one for each corresponding entry in the
      memory-region property

additionalProperties: true

examples:
  - |
    fb0: video@12300000 {
        /* ... */
        reg = <0x12300000 0x1000>;
        memory-region = <&display_reserved>;
    };

...