ARM: dts: hix5hd2: add mmc node
authorZhangfei Gao <zhangfei.gao@linaro.org>
Wed, 20 Aug 2014 06:37:48 +0000 (14:37 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 16 Sep 2014 03:00:27 +0000 (11:00 +0800)
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm/boot/dts/hisi-x5hd2.dtsi

index 012525c2fa37d11e56a0847b862f232b9305e370..802331b4c7148360c76265c910d89883b8e77d09 100644 (file)
                        };
                };
 
+               /* unremovable emmc as mmcblk0 */
+               mmc: mmc@1830000 {
+                       compatible = "snps,dw-mshc";
+                       reg = <0x1830000 0x1000>;
+                       interrupts = <0 35 4>;
+                       clocks = <&clock HIX5HD2_MMC_CIU_RST>, <&clock HIX5HD2_MMC_BIU_CLK>;
+                       clock-names = "ciu", "biu";
+               };
+
+               sd: mmc@1820000 {
+                       compatible = "snps,dw-mshc";
+                       reg = <0x1820000 0x1000>;
+                       interrupts = <0 34 4>;
+                       clocks = <&clock HIX5HD2_SD_CIU_RST>, <&clock HIX5HD2_SD_BIU_CLK>;
+                       clock-names = "ciu","biu";
+               };
+
                gmac0: ethernet@1840000 {
                        compatible = "hisilicon,hix5hd2-gmac";
                        reg = <0x1840000 0x1000>,<0x184300c 0x4>;