ARM: dts: aspeed: ast2600-evb: Enable GFX device
authorJoel Stanley <joel@jms.id.au>
Wed, 2 Mar 2022 02:49:27 +0000 (10:49 +0800)
committerJoel Stanley <joel@jms.id.au>
Thu, 19 May 2022 07:48:56 +0000 (17:18 +0930)
Enable the GFX device with a framebuffer memory region.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Tommy Haung <tommy_huang@aspeedtech.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220302024930.18758-3-tommy_huang@aspeedtech.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-ast2600-evb.dts

index 55b1d3a..5a6063b 100644 (file)
                        compatible = "shared-dma-pool";
                        reusable;
                };
+
+               gfx_memory: framebuffer {
+                       size = <0x01000000>;
+                       alignment = <0x01000000>;
+                       compatible = "shared-dma-pool";
+                       reusable;
+               };
        };
 
        vcc_sdhci0: regulator-vcc-sdhci0 {
        status = "okay";
        memory-region = <&video_engine_memory>;
 };
+
+&gfx {
+       status = "okay";
+       memory-region = <&gfx_memory>;
+};