[PATCH linux dev-5.4 3/4] ARM: dts: Aspeed: Tacoma: Add reserved memory for XDMA

Eddie James eajames at linux.ibm.com
Fri Mar 27 07:14:02 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-tacoma.dts | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
index 194a482..2cd903f 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
@@ -29,6 +29,11 @@
 			no-map;
 			reg = <0xb8000000 0x4000000>; /* 64M */
 		};
+
+		vga_memory: region at bf000000 {
+			no-map;
+			reg = <0xbf000000 0x01000000>;	/* 16M */
+		};
 	};
 
 	gpio-keys {
@@ -807,6 +812,5 @@
 
 &xdma {
 	status = "okay";
-	/* 1G DRAM with 8M VRAM which is reserved at the top. */
-	memory = <0xbf800000 0x00800000>;
+	memory-region = <&vga_memory>;
 };
-- 
1.8.3.1



More information about the openbmc mailing list