brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 958bdf9 Raw
42 lines · plain
1Device tree configuration for the GFX display device on the ASPEED SoCs2 3Required properties:4  - compatible5    * Must be one of the following:6      + aspeed,ast2500-gfx7      + aspeed,ast2400-gfx8    * In addition, the ASPEED pinctrl bindings require the 'syscon' property to9      be present10 11  - reg: Physical base address and length of the GFX registers12 13  - interrupts: interrupt number for the GFX device14 15  - clocks: clock number used to generate the pixel clock16 17  - resets: reset line that must be released to use the GFX device18 19  - memory-region:20    Phandle to a memory region to allocate from, as defined in21    Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt22 23 24Example:25 26gfx: display@1e6e6000 {27	compatible = "aspeed,ast2500-gfx", "syscon";28	reg = <0x1e6e6000 0x1000>;29	reg-io-width = <4>;30	clocks = <&syscon ASPEED_CLK_GATE_D1CLK>;31	resets = <&syscon ASPEED_RESET_CRT1>;32	interrupts = <0x19>;33	memory-region = <&gfx_memory>;34};35 36gfx_memory: framebuffer {37	size = <0x01000000>;38	alignment = <0x01000000>;39	compatible = "shared-dma-pool";40	reusable;41};42