1 Device tree configuration for the GFX display 1 Device tree configuration for the GFX display device on the ASPEED SoCs 2 2 3 Required properties: 3 Required properties: 4 - compatible 4 - compatible 5 * Must be one of the following: 5 * Must be one of the following: 6 + aspeed,ast2500-gfx 6 + aspeed,ast2500-gfx 7 + aspeed,ast2400-gfx 7 + aspeed,ast2400-gfx 8 * In addition, the ASPEED pinctrl bindings 8 * In addition, the ASPEED pinctrl bindings require the 'syscon' property to 9 be present 9 be present 10 10 11 - reg: Physical base address and length of t 11 - reg: Physical base address and length of the GFX registers 12 12 13 - interrupts: interrupt number for the GFX d 13 - interrupts: interrupt number for the GFX device 14 14 15 - clocks: clock number used to generate the 15 - clocks: clock number used to generate the pixel clock 16 16 17 - resets: reset line that must be released t 17 - resets: reset line that must be released to use the GFX device 18 18 19 - memory-region: 19 - memory-region: 20 Phandle to a memory region to allocate fro 20 Phandle to a memory region to allocate from, as defined in 21 Documentation/devicetree/bindings/reserved 21 Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt 22 22 23 23 24 Example: 24 Example: 25 25 26 gfx: display@1e6e6000 { 26 gfx: display@1e6e6000 { 27 compatible = "aspeed,ast2500-gfx", "sy 27 compatible = "aspeed,ast2500-gfx", "syscon"; 28 reg = <0x1e6e6000 0x1000>; 28 reg = <0x1e6e6000 0x1000>; 29 reg-io-width = <4>; 29 reg-io-width = <4>; 30 clocks = <&syscon ASPEED_CLK_GATE_D1CL 30 clocks = <&syscon ASPEED_CLK_GATE_D1CLK>; 31 resets = <&syscon ASPEED_RESET_CRT1>; 31 resets = <&syscon ASPEED_RESET_CRT1>; 32 interrupts = <0x19>; 32 interrupts = <0x19>; 33 memory-region = <&gfx_memory>; 33 memory-region = <&gfx_memory>; 34 }; 34 }; 35 35 36 gfx_memory: framebuffer { 36 gfx_memory: framebuffer { 37 size = <0x01000000>; 37 size = <0x01000000>; 38 alignment = <0x01000000>; 38 alignment = <0x01000000>; 39 compatible = "shared-dma-pool"; 39 compatible = "shared-dma-pool"; 40 reusable; 40 reusable; 41 }; 41 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.