| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/reserved-memory/framebuffer.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: /reserved-memory framebuffer node |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- [email protected] |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: reserved-memory.yaml |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
const: framebuffer |
| 18 |
description: > |
| 19 |
This indicates a region of memory meant to be used as a framebuffer for |
| 20 |
a set of display devices. It can be used by an operating system to keep |
| 21 |
the framebuffer from being overwritten and use it as the backing memory |
| 22 |
for a display device (such as simple-framebuffer). |
| 23 |
|
| 24 |
unevaluatedProperties: false |
| 25 |
|
| 26 |
examples: |
| 27 |
- | |
| 28 |
/ { |
| 29 |
compatible = "foo"; |
| 30 |
model = "foo"; |
| 31 |
#address-cells = <1>; |
| 32 |
#size-cells = <1>; |
| 33 |
|
| 34 |
chosen { |
| 35 |
framebuffer { |
| 36 |
compatible = "simple-framebuffer"; |
| 37 |
memory-region = <&fb>; |
| 38 |
}; |
| 39 |
}; |
| 40 |
|
| 41 |
reserved-memory { |
| 42 |
#address-cells = <1>; |
| 43 |
#size-cells = <1>; |
| 44 |
ranges; |
| 45 |
|
| 46 |
fb: framebuffer@80000000 { |
| 47 |
compatible = "framebuffer"; |
| 48 |
reg = <0x80000000 0x007e9000>; |
| 49 |
}; |
| 50 |
}; |
| 51 |
}; |
| 52 |
... |