Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/reserved-memory/memory-region.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Reserved Memory Region Device Tree Binding
0008 
0009 maintainers:
0010   - devicetree-spec@vger.kernel.org
0011 
0012 description: |
0013   Regions in the /reserved-memory node may be referenced by other device
0014   nodes by adding a memory-region property to the device node.
0015 
0016 select: true
0017 
0018 properties:
0019   memory-region:
0020     $ref: /schemas/types.yaml#/definitions/phandle-array
0021     description: >
0022       Phandle to a /reserved-memory child node assigned to the device.
0023 
0024   memory-region-names:
0025     $ref: /schemas/types.yaml#/definitions/string-array
0026     description: >
0027       A list of names, one for each corresponding entry in the
0028       memory-region property
0029 
0030 additionalProperties: true
0031 
0032 examples:
0033   - |
0034     fb0: video@12300000 {
0035         /* ... */
0036         reg = <0x12300000 0x1000>;
0037         memory-region = <&display_reserved>;
0038     };
0039 
0040 ...