[PATCH 1/6] riscv: dts: andes: Define dma-ranges for coherent port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Specify the dma-ranges property to map the coherent port
address space from 0x400000000 to 0x4400000000, ensuring
proper DMA address translation for devices under this port.

Signed-off-by: Randolph Lin <randolph@xxxxxxxxxxxxx>
---
 arch/riscv/boot/dts/andes/qilai.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/boot/dts/andes/qilai.dtsi b/arch/riscv/boot/dts/andes/qilai.dtsi
index de3de32f8c39..d78d57b3bc52 100644
--- a/arch/riscv/boot/dts/andes/qilai.dtsi
+++ b/arch/riscv/boot/dts/andes/qilai.dtsi
@@ -126,6 +126,7 @@ soc {
 		interrupt-parent = <&plic>;
 		#address-cells = <2>;
 		#size-cells = <2>;
+		dma-ranges = <0x44 0x00000000 0x4 0x00000000 0x4 0x00000000>;
 
 		plmt: timer@100000 {
 			compatible = "andestech,qilai-plmt", "andestech,plmt0";
-- 
2.34.1





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux