ARM: dts: r8a7743: Add MMCIF0 support
authorChris Paterson <chris.paterson2@renesas.com>
Wed, 12 Jul 2017 10:03:24 +0000 (11:03 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 27 Jul 2017 14:28:39 +0000 (16:28 +0200)
Add the MMCIF0 device to the r8a7743 device tree.

Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7743.dtsi

index 0d021919755c233a09a3cb6bfc757d05cfc7bb34..f62e8587f1a8d1ea2b643e8e85f10b24aa19ad18 100644 (file)
                        #size-cells = <0>;
                        status = "disabled";
                };
+
+               mmcif0: mmc@ee200000 {
+                       compatible = "renesas,mmcif-r8a7743",
+                                    "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 R8A7743_PD_ALWAYS_ON>;
+                       resets = <&cpg 315>;
+                       reg-io-width = <4>;
+                       max-frequency = <97500000>;
+                       status = "disabled";
+               };
        };
 
        /* External root clock */