From: Magnus Damm
Add IPMMU device nodes for the R-Car M3-N SoC aka r8a77965.
The r8a77965 IPMMU is quite similar to r8a7796 however VP0
has been added and PV1 has been removed. Also the IMSSTR
bit assignment has been reworked.
Signed-off-by: Magnus Damm
---
Developed on top of renesas-devel-20180518-v4.17-rc5
The DT binding for the M3-N IPMMU has earlier been documented in:
[PATCH] iommu/ipmmu-vmsa: Document R-Car M3-N IPMMU DT bindings
arch/arm64/boot/dts/renesas/r8a77965.dtsi | 89 +
1 file changed, 89 insertions(+)
--- 0001/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ work/arch/arm64/boot/dts/renesas/r8a77965.dtsi 2018-05-21
21:45:17.360607110 +0900
@@ -611,6 +611,95 @@
dma-channels = <16>;
};
+ ipmmu_ds0: mmu@e674 {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xe674 0 0x1000>;
+ renesas,ipmmu-main = <_mm 0>;
+ power-domains = < R8A77965_PD_ALWAYS_ON>;
+ #iommu-cells = <1>;
+ };
+
+ ipmmu_ds1: mmu@e774 {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xe774 0 0x1000>;
+ renesas,ipmmu-main = <_mm 1>;
+ power-domains = < R8A77965_PD_ALWAYS_ON>;
+ #iommu-cells = <1>;
+ };
+
+ ipmmu_hc: mmu@e657 {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xe657 0 0x1000>;
+ renesas,ipmmu-main = <_mm 2>;
+ power-domains = < R8A77965_PD_ALWAYS_ON>;
+ #iommu-cells = <1>;
+ };
+
+ ipmmu_ir: mmu@ff8b {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xff8b 0 0x1000>;
+ renesas,ipmmu-main = <_mm 3>;
+ power-domains = < R8A77965_PD_A3IR>;
+ #iommu-cells = <1>;
+ };
+
+ ipmmu_mm: mmu@e67b {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xe67b 0 0x1000>;
+ interrupts = ,
+;
+ power-domains = < R8A77965_PD_ALWAYS_ON>;
+ #iommu-cells = <1>;
+ };
+
+ ipmmu_mp: mmu@ec67 {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xec67 0 0x1000>;
+ renesas,ipmmu-main = <_mm 4>;
+ power-domains = < R8A77965_PD_ALWAYS_ON>;
+ #iommu-cells = <1>;
+ };
+
+ ipmmu_pv0: mmu@fd80 {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xfd80 0 0x1000>;
+ renesas,ipmmu-main = <_mm 6>;
+ power-domains = < R8A77965_PD_ALWAYS_ON>;
+ #iommu-cells = <1>;
+ };
+
+ ipmmu_rt: mmu@ffc8 {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xffc8 0 0x1000>;
+ renesas,ipmmu-main = <_mm 10>;
+ power-domains = < R8A77965_PD_ALWAYS_ON>;
+ #iommu-cells = <1>;
+ };
+
+ ipmmu_vc0: mmu@fe6b {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xfe6b 0 0x1000>;
+ renesas,ipmmu-main = <_mm 12>;
+ power-domains = < R8A77965_PD_A3VC>;
+ #iommu-cells = <1>;
+ };
+
+ ipmmu_vi0: mmu@febd {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xfebd 0 0x1000>;
+ renesas,ipmmu-main = <_mm 14>;
+ power-domains = < R8A77965_PD_ALWAYS_ON>;
+ #iommu-cells = <1>;
+ };
+
+ ipmmu_vp0: mmu@fe99 {
+ compatible = "renesas,ipmmu-r8a77965";
+ reg = <0 0xfe99 0 0x1000>;
+ renesas,ipmmu-main = <_mm 16>;
+ power-domains = < R8A77965_PD_A3VP>;
+ #iommu-cells = <1>;
+ };
+
avb: ethernet@e680 {
compatible = "renesas,etheravb-r8a77965",
"renesas,etheravb-rcar-gen3";