[PATCH 2/6] ARM: dts: aspeed: ast2600-evb: Enable GFX device
From: tommy-huang
Date: Mon Sep 27 2021 - 22:58:22 EST
From: Joel Stanley <joel@xxxxxxxxx>
Enable the GFX device with a framebuffer memory region.
Signed-off-by: Joel Stanley <joel@xxxxxxxxx>
Signed-off-by: tommy-huang <tommy_huang@xxxxxxxxxxxxxx>
---
arch/arm/boot/dts/aspeed-ast2600-evb.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
index b7eb552640cb..195ccd1952da 100644
--- a/arch/arm/boot/dts/aspeed-ast2600-evb.dts
+++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
@@ -23,6 +23,19 @@
reg = <0x80000000 0x80000000>;
};
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ gfx_memory: framebuffer {
+ size = <0x01000000>;
+ alignment = <0x01000000>;
+ compatible = "shared-dma-pool";
+ reusable;
+ };
+ };
+
vcc_sdhci0: regulator-vcc-sdhci0 {
compatible = "regulator-fixed";
regulator-name = "SDHCI0 Vcc";
--
2.17.1