[PATCH linux dev-4.13 4/5] ARM: dts: ast2500-evb: Enable the GFX IP
Andrew Jeffery
andrew at aj.id.au
Thu Apr 19 15:57:58 AEST 2018
On Thu, 19 Apr 2018, at 13:50, Joel Stanley wrote:
> 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.
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
Reviewed-by: Andrew Jeffery <andrew at aj.id.au>
> ---
> arch/arm/boot/dts/aspeed-ast2500-evb.dts | 21 ++++++++++++++++++++-
> 1 file changed, 20 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-ast2500-evb.dts b/arch/arm/boot/
> dts/aspeed-ast2500-evb.dts
> index 45efac8f8806..c0a7f51e7eb6 100644
> --- a/arch/arm/boot/dts/aspeed-ast2500-evb.dts
> +++ b/arch/arm/boot/dts/aspeed-ast2500-evb.dts
> @@ -13,12 +13,26 @@
>
> chosen {
> stdout-path = &uart5;
> - bootargs = "console=ttyS4,115200 earlyprintk";
> + bootargs = "console=tty0 console=ttyS4,115200 earlyprintk";
> };
>
> memory at 80000000 {
> + device_type = "memory";
> 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 {
> @@ -80,3 +94,8 @@
> reg = <0x4d>;
> };
> };
> +
> +&gfx {
> + status = "okay";
> + memory-region = <&gfx_memory>;
> +};
> --
> 2.17.0
>
More information about the openbmc
mailing list