OSDN Git Service

arm64: dts: renesas: r8a77961: Add IPMMU nodes
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 11 Jun 2020 11:13:41 +0000 (20:13 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 26 Jun 2020 09:40:37 +0000 (11:40 +0200)
Add IPMMU nodes for r8a77961 (R-Car M3-W+).

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1591874021-10209-1-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a77961.dtsi

index 760e738..de5770c 100644 (file)
                        dma-channels = <16>;
                };
 
+               ipmmu_ds0: iommu@e6740000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xe6740000 0 0x1000>;
+                       renesas,ipmmu-main = <&ipmmu_mm 0>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       #iommu-cells = <1>;
+               };
+
+               ipmmu_ds1: iommu@e7740000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xe7740000 0 0x1000>;
+                       renesas,ipmmu-main = <&ipmmu_mm 1>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       #iommu-cells = <1>;
+               };
+
+               ipmmu_hc: iommu@e6570000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xe6570000 0 0x1000>;
+                       renesas,ipmmu-main = <&ipmmu_mm 2>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       #iommu-cells = <1>;
+               };
+
+               ipmmu_ir: iommu@ff8b0000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xff8b0000 0 0x1000>;
+                       renesas,ipmmu-main = <&ipmmu_mm 3>;
+                       power-domains = <&sysc R8A77961_PD_A3IR>;
+                       #iommu-cells = <1>;
+               };
+
+               ipmmu_mm: iommu@e67b0000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xe67b0000 0 0x1000>;
+                       interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       #iommu-cells = <1>;
+               };
+
+               ipmmu_mp: iommu@ec670000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xec670000 0 0x1000>;
+                       renesas,ipmmu-main = <&ipmmu_mm 4>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       #iommu-cells = <1>;
+               };
+
+               ipmmu_pv0: iommu@fd800000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xfd800000 0 0x1000>;
+                       renesas,ipmmu-main = <&ipmmu_mm 5>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       #iommu-cells = <1>;
+               };
+
+               ipmmu_pv1: iommu@fd950000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xfd950000 0 0x1000>;
+                       renesas,ipmmu-main = <&ipmmu_mm 6>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       #iommu-cells = <1>;
+               };
+
+               ipmmu_rt: iommu@ffc80000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xffc80000 0 0x1000>;
+                       renesas,ipmmu-main = <&ipmmu_mm 7>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       #iommu-cells = <1>;
+               };
+
+               ipmmu_vc0: iommu@fe6b0000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xfe6b0000 0 0x1000>;
+                       renesas,ipmmu-main = <&ipmmu_mm 8>;
+                       power-domains = <&sysc R8A77961_PD_A3VC>;
+                       #iommu-cells = <1>;
+               };
+
+               ipmmu_vi0: iommu@febd0000 {
+                       compatible = "renesas,ipmmu-r8a77961";
+                       reg = <0 0xfebd0000 0 0x1000>;
+                       renesas,ipmmu-main = <&ipmmu_mm 9>;
+                       power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+                       #iommu-cells = <1>;
+               };
+
                avb: ethernet@e6800000 {
                        compatible = "renesas,etheravb-r8a77961",
                                     "renesas,etheravb-rcar-gen3";