[PATCH linux dev-5.4 4/4] ARM: dts: Aspeed: Witherspoon: Add reserved memory for XDMA
Eddie James
eajames at linux.ibm.com
Fri Mar 27 07:14:03 AEDT 2020
Use a no-map reserved memory node for use by the XDMA engine.
Signed-off-by: Eddie James <eajames at linux.ibm.com>
---
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index da9e379..ce445fe 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -27,6 +27,11 @@
reg = <0x98000000 0x04000000>; /* 64M */
};
+ vga_memory: region at 9f000000 {
+ no-map;
+ reg = <0x9f000000 0x01000000>; /* 16M */
+ };
+
gfx_memory: framebuffer {
size = <0x01000000>;
alignment = <0x01000000>;
@@ -746,8 +751,7 @@
&xdma {
status = "okay";
- /* 512M DRAM with 16M VRAM which is reserved at the top. */
- memory = <0x9f000000 0x01000000>;
+ memory-region = <&vga_memory>;
};
#include "ibm-power9-dual.dtsi"
--
1.8.3.1
More information about the openbmc
mailing list