Skip to content

Commit

Permalink
ARM: dts: aspeed: ast2600-evb: Enable GFX device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shenki committed May 19, 2022
1 parent 4fa40bf commit 8dc7aa0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/aspeed-ast2600-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
compatible = "shared-dma-pool";
reusable;
};

gfx_memory: framebuffer {
size = <0x01000000>;
alignment = <0x01000000>;
compatible = "shared-dma-pool";
reusable;
};
};

vcc_sdhci0: regulator-vcc-sdhci0 {
Expand Down Expand Up @@ -323,3 +330,8 @@
status = "okay";
memory-region = <&video_engine_memory>;
};

&gfx {
status = "okay";
memory-region = <&gfx_memory>;
};

0 comments on commit 8dc7aa0

Please sign in to comment.