]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ARM: dts: r8a7745: Add MMC interface support
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Thu, 17 Aug 2017 17:31:42 +0000 (18:31 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 19 Sep 2017 09:19:29 +0000 (11:19 +0200)
Add MMC interface support for r8a7745 SoC.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7745.dtsi

index 2fa989f631a96aa46a9ad46671e63b0d94e0f660..7fd2967b1f4206aface34442ddedbb4be3d5d93b 100644 (file)
                        i2c-scl-internal-delay-ns = <6>;
                        status = "disabled";
                };
+
+               mmcif0: mmc@ee200000 {
+                       compatible = "renesas,mmcif-r8a7745",
+                                    "renesas,sh-mmcif";
+                       reg = <0 0xee200000 0 0x80>;
+                       interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 315>;
+                       dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
+                              <&dmac1 0xd1>, <&dmac1 0xd2>;
+                       dma-names = "tx", "rx", "tx", "rx";
+                       power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
+                       resets = <&cpg 315>;
+                       reg-io-width = <4>;
+                       max-frequency = <97500000>;
+                       status = "disabled";
+               };
        };
 
        /* External root clock */