Skip to content

Commit dc7a6ba

Browse files
Magnus Dammhorms
authored andcommitted
arm64: dts: renesas: r8a77995: Attach the SYS-DMAC to the IPMMU
Hook up SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2 to IPMMU-DS0 and IPMMU-DS1 following the R-Car Gen3 Rev.1.00 (April 2018) datasheet. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent e18a31a commit dc7a6ba

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

arch/arm64/boot/dts/renesas/r8a77995.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,10 @@
391391
resets = <&cpg 219>;
392392
#dma-cells = <1>;
393393
dma-channels = <8>;
394+
iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
395+
<&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
396+
<&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
397+
<&ipmmu_ds0 6>, <&ipmmu_ds0 7>;
394398
};
395399

396400
dmac1: dma-controller@e7300000 {
@@ -415,6 +419,10 @@
415419
resets = <&cpg 218>;
416420
#dma-cells = <1>;
417421
dma-channels = <8>;
422+
iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
423+
<&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
424+
<&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
425+
<&ipmmu_ds1 6>, <&ipmmu_ds1 7>;
418426
};
419427

420428
dmac2: dma-controller@e7310000 {
@@ -439,6 +447,10 @@
439447
resets = <&cpg 217>;
440448
#dma-cells = <1>;
441449
dma-channels = <8>;
450+
iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
451+
<&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
452+
<&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
453+
<&ipmmu_ds1 22>, <&ipmmu_ds1 23>;
442454
};
443455

444456
ipmmu_ds0: mmu@e6740000 {

0 commit comments

Comments
 (0)