| # 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>; |
| }; |
| |
| ... |