ARM: dts: aspeed: witherspoon: 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>
This commit is contained in:
Родитель
645afe73f9
Коммит
67268c28cc
|
@ -27,6 +27,12 @@
|
||||||
reg = <0x98000000 0x04000000>; /* 64M */
|
reg = <0x98000000 0x04000000>; /* 64M */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vga_memory: region@9f000000 {
|
||||||
|
no-map;
|
||||||
|
compatible = "shared-dma-pool";
|
||||||
|
reg = <0x9f000000 0x01000000>; /* 16M */
|
||||||
|
};
|
||||||
|
|
||||||
gfx_memory: framebuffer {
|
gfx_memory: framebuffer {
|
||||||
size = <0x01000000>;
|
size = <0x01000000>;
|
||||||
alignment = <0x01000000>;
|
alignment = <0x01000000>;
|
||||||
|
@ -690,4 +696,9 @@
|
||||||
memory-region = <&video_engine_memory>;
|
memory-region = <&video_engine_memory>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&xdma {
|
||||||
|
status = "okay";
|
||||||
|
memory-region = <&vga_memory>;
|
||||||
|
};
|
||||||
|
|
||||||
#include "ibm-power9-dual.dtsi"
|
#include "ibm-power9-dual.dtsi"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче