Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed: Enable the GFX IP

The GFX controller is the internal graphics device used by the SoC
(opposed to the one connected via the PCIe device and used by the host).

This configures it with a framebuffer region and adds it to the command
line so kernel boot messages appear on the display.

Enabled for Romulus, Witherspoon, and the ASPEED AST2500 EVB.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>

+35 -1
+19 -1
arch/arm/boot/dts/aspeed-ast2500-evb.dts
··· 13 13 14 14 chosen { 15 15 stdout-path = &uart5; 16 - bootargs = "console=ttyS4,115200 earlyprintk"; 16 + bootargs = "console=tty0 console=ttyS4,115200 earlyprintk"; 17 17 }; 18 18 19 19 memory@80000000 { 20 20 reg = <0x80000000 0x20000000>; 21 + }; 22 + 23 + reserved-memory { 24 + #address-cells = <1>; 25 + #size-cells = <1>; 26 + ranges; 27 + 28 + gfx_memory: framebuffer { 29 + size = <0x01000000>; 30 + alignment = <0x01000000>; 31 + compatible = "shared-dma-pool"; 32 + reusable; 33 + }; 21 34 }; 22 35 }; 23 36 ··· 110 97 111 98 &uhci { 112 99 status = "okay"; 100 + }; 101 + 102 + &gfx { 103 + status = "okay"; 104 + memory-region = <&gfx_memory>; 113 105 };
+8
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
··· 35 35 reg = <0x9ef00000 0x00100000>; 36 36 no-map; 37 37 }; 38 + 39 + gfx_memory: framebuffer { 40 + size = <0x01000000>; 41 + alignment = <0x01000000>; 42 + compatible = "shared-dma-pool"; 43 + reusable; 44 + }; 38 45 }; 39 46 40 47 leds { ··· 245 238 246 239 &gfx { 247 240 status = "okay"; 241 + memory-region = <&gfx_memory>; 248 242 }; 249 243 250 244 &pinctrl {
+8
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
··· 26 26 no-map; 27 27 reg = <0x98000000 0x04000000>; /* 64M */ 28 28 }; 29 + 30 + gfx_memory: framebuffer { 31 + size = <0x01000000>; 32 + alignment = <0x01000000>; 33 + compatible = "shared-dma-pool"; 34 + reusable; 35 + }; 29 36 }; 30 37 31 38 gpio-keys { ··· 572 565 573 566 &gfx { 574 567 status = "okay"; 568 + memory-region = <&gfx_memory>; 575 569 }; 576 570 577 571 &pinctrl {