]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: vfxxx: Include support for esdhc0 functionality.
authorCory Tusar <cory.tusar@pid1solutions.com>
Wed, 8 Jul 2015 20:51:06 +0000 (16:51 -0400)
committerShawn Guo <shawnguo@kernel.org>
Tue, 11 Aug 2015 15:15:15 +0000 (23:15 +0800)
Extend the existing Vybrid eSDHC devicetree implementation to also
describe the esdhc0 functional block.

Tested on a custom VF610-based board with a Toshiba THGBM1G5D2EBAI7 eMMC
module attached to esdhc0.

Signed-off-by: Cory Tusar <cory.tusar@pid1solutions.com>
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vfxxx.dtsi

index 10014cb51544f65cd6d1951956fc0532f96be3c2..81a4d9aadebb9837c7c51c5c0ef0f1f87c491007 100644 (file)
                                status = "disabled";
                        };
 
+                       esdhc0: esdhc@400b1000 {
+                               compatible = "fsl,imx53-esdhc";
+                               reg = <0x400b1000 0x1000>;
+                               interrupts = <27 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clks VF610_CLK_IPG_BUS>,
+                                       <&clks VF610_CLK_PLATFORM_BUS>,
+                                       <&clks VF610_CLK_ESDHC0>;
+                               clock-names = "ipg", "ahb", "per";
+                               status = "disabled";
+                       };
+
                        esdhc1: esdhc@400b2000 {
                                compatible = "fsl,imx53-esdhc";
                                reg = <0x400b2000 0x1000>;