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