summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-04-26 05:10:26 +0300
committerJoel Stanley <joel@jms.id.au>2018-05-01 06:16:27 +0300
commit8694f2138b3aa60311a4a1eb1b8f7d482e1b9cd3 (patch)
tree76e174db9d3d50bdaaccc4866faa1c8d5f8c21aa
parentfe02c29345bc5608073ad495fa44e0ba806c09c8 (diff)
downloadlinux-8694f2138b3aa60311a4a1eb1b8f7d482e1b9cd3.tar.xz
ARM: dts: romulus: 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 enables the GFX node. OpenBMC-Staging-Count: 1 Acked-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
index 00812a2fecf0..d746e562e8fd 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
@@ -30,6 +30,13 @@
no-map;
reg = <0x98000000 0x04000000>; /* 64M */
};
+
+ gfx_memory: framebuffer {
+ size = <0x01000000>;
+ alignment = <0x01000000>;
+ compatible = "shared-dma-pool";
+ reusable;
+ };
};
leds {
@@ -280,3 +287,8 @@
&ibt {
status = "okay";
};
+
+&gfx {
+ status = "okay";
+ memory-region = <&gfx_memory>;
+};