summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2020-08-17 20:53:06 +0300
committerJoel Stanley <joel@jms.id.au>2020-08-18 09:31:43 +0300
commit31d8605658d37d9197a989838508481d5dc1d8bc (patch)
treed0841851bfd0094fcbca4d3d1eaa90e45d28dc81
parent8876d928b6dfaccf719fe7b00d85d986b38b966b (diff)
downloadlinux-31d8605658d37d9197a989838508481d5dc1d8bc.tar.xz
ARM: dts: Aspeed: Rainier: Enable XDMA engine
Fix the VGA reserved memory node, and add the XDMA engine node, enable it, and point it's memory region to the VGA memory. OpenBMC-Staging-Count: 1 Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts12
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 4992cf87501d..cbc64a1d14d1 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -52,9 +52,10 @@
};
vga_memory: region@bf000000 {
- no-map;
- reg = <0xbf000000 0x01000000>; /* 16M */
- };
+ no-map;
+ compatible = "shared-dma-pool";
+ reg = <0xbf000000 0x01000000>; /* 16M */
+ };
};
gpio-keys {
@@ -1228,3 +1229,8 @@
spi-max-frequency = <100000000>;
};
};
+
+&xdma {
+ status = "okay";
+ memory-region = <&vga_memory>;
+};