summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-04-19 07:20:03 +0300
committerJoel Stanley <joel@jms.id.au>2018-04-20 09:40:34 +0300
commitea85ad79e7b0f126980a9b97a0bc5aa4b3d8f2bf (patch)
treec0ca05c622efde8885d6c250c811b7fad75307ac
parentaaa32ac5520b9b28d875cc3e233492c463d6e072 (diff)
downloadlinux-ea85ad79e7b0f126980a9b97a0bc5aa4b3d8f2bf.tar.xz
ARM: dts: ast2500-evb: 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 adds it to the command line so kernel boot messages appear on the display. OpenBMC-Staging-Count: 1 Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--arch/arm/boot/dts/aspeed-ast2500-evb.dts21
1 files changed, 20 insertions, 1 deletions
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@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>;
+};