diff options
author | Eddie James <eajames@linux.ibm.com> | 2020-05-05 18:58:25 +0200 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2020-07-20 06:58:10 +0200 |
commit | 965e0e26d62b850ab2ae4401e76cde06e9dc3656 (patch) | |
tree | fe933ba388f01feb30fa2e1ac0b6f11ed893b667 /arch/arm/boot | |
parent | ARM: dts: aspeed: witherspoon: Enable XDMA engine (diff) | |
download | linux-965e0e26d62b850ab2ae4401e76cde06e9dc3656.tar.xz linux-965e0e26d62b850ab2ae4401e76cde06e9dc3656.zip |
ARM: dts: aspeed: tacoma: Enable XDMA engine
Add a reserved memory node for the VGA memory. Add the XDMA engine node,
enable it, and point it's memory region to the VGA memory.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts index 13c4aa02f4de..61d7fd913b5e 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts @@ -29,6 +29,12 @@ no-map; reg = <0xb8000000 0x4000000>; /* 64M */ }; + + vga_memory: region@bf000000 { + no-map; + compatible = "shared-dma-pool"; + reg = <0xbf000000 0x01000000>; /* 16M */ + }; }; gpio-keys { @@ -912,3 +918,8 @@ pinctrl-0 = <&pinctrl_lpc_default>, <&pinctrl_lsirq_default>; }; + +&xdma { + status = "okay"; + memory-region = <&vga_memory>; +}; |