]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM: shmobile: r8a7790: add MMCIF and SDHI DT templates
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 8 Jul 2013 15:54:46 +0000 (17:54 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 17 Jul 2013 01:06:46 +0000 (10:06 +0900)
This adds DT templates for all MMCIF and SDHI controllers on r8a7790.
They are added with status="disabled". To use them platform-specific
DTs have to enable the required ones.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790.dtsi

index 339d9b11721c0a235aee6dc297de37f96a9c981c..9cd88202809547a6974f6f38a7ae84c784e136bf 100644 (file)
                interrupt-parent = <&gic>;
                interrupts = <0 0 4>, <0 1 4>, <0 2 4>, <0 3 4>;
        };
+
+       mmcif0: mmcif@ee200000 {
+               compatible = "renesas,sh-mmcif";
+               reg = <0 0xee200000 0 0x80>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 169 0x4>;
+               reg-io-width = <4>;
+               status = "disabled";
+       };
+
+       mmcif1: mmcif@ee220000 {
+               compatible = "renesas,sh-mmcif";
+               reg = <0 0xee220000 0 0x80>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 170 0x4>;
+               reg-io-width = <4>;
+               status = "disabled";
+       };
+
+       sdhi0: sdhi@ee100000 {
+               compatible = "renesas,r8a7790-sdhi";
+               reg = <0 0xee100000 0 0x100>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 165 4>;
+               cap-sd-highspeed;
+               status = "disabled";
+       };
+
+       sdhi1: sdhi@ee120000 {
+               compatible = "renesas,r8a7790-sdhi";
+               reg = <0 0xee120000 0 0x100>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 166 4>;
+               cap-sd-highspeed;
+               status = "disabled";
+       };
+
+       sdhi2: sdhi@ee140000 {
+               compatible = "renesas,r8a7790-sdhi";
+               reg = <0 0xee140000 0 0x100>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 167 4>;
+               cap-sd-highspeed;
+               status = "disabled";
+       };
+
+       sdhi3: sdhi@ee160000 {
+               compatible = "renesas,r8a7790-sdhi";
+               reg = <0 0xee160000 0 0x100>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 168 4>;
+               cap-sd-highspeed;
+               status = "disabled";
+       };
 };