diff options
author | Joel Stanley <joel@jms.id.au> | 2018-04-19 07:20:03 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2019-04-05 06:33:03 +0300 |
commit | 5de3b03173f8054e2fd52420452dbc46568f3f2e (patch) | |
tree | 9415abe99ca591db0ebfcbd305479afa28ca3330 /arch/arm/boot/dts/aspeed-ast2500-evb.dts | |
parent | e1920e704829f00cdfe6131f51f23dbe590b217f (diff) | |
download | linux-5de3b03173f8054e2fd52420452dbc46568f3f2e.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-ast2500-evb.dts')
-rw-r--r-- | arch/arm/boot/dts/aspeed-ast2500-evb.dts | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/aspeed-ast2500-evb.dts b/arch/arm/boot/dts/aspeed-ast2500-evb.dts index b80664826783..556ed469830c 100644 --- a/arch/arm/boot/dts/aspeed-ast2500-evb.dts +++ b/arch/arm/boot/dts/aspeed-ast2500-evb.dts @@ -13,12 +13,25 @@ chosen { stdout-path = &uart5; - bootargs = "console=ttyS4,115200 earlyprintk"; + bootargs = "console=tty0 console=ttyS4,115200 earlyprintk"; }; memory@80000000 { reg = <0x80000000 0x20000000>; }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + gfx_memory: framebuffer { + size = <0x01000000>; + alignment = <0x01000000>; + compatible = "shared-dma-pool"; + reusable; + }; + }; }; &fmc { @@ -98,3 +111,8 @@ &uhci { status = "okay"; }; + +&gfx { + status = "okay"; + memory-region = <&gfx_memory>; +}; |