]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: mvebu: a80x0: Enable SD/eMMC interfaces
authorKonstantin Porotchkin <kostap@marvell.com>
Fri, 25 May 2018 06:20:53 +0000 (14:20 +0800)
committerStefan Roese <sr@denx.de>
Tue, 29 May 2018 06:33:05 +0000 (08:33 +0200)
Enable SDHCI interface on AP and CP0 in A80x0 DTS files

Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Evan Wang <xswang@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-8040-db.dts
arch/arm/dts/armada-8040-mcbin.dts

index fa589956ad76b5a354e4bf934f92985053aa6a1c..65b30bbc648591adbf1617941ebff842e16ac68e 100644 (file)
                     1 3 0 0 0 0 0 0 0 3 >;
 };
 
+&ap_sdhci0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&ap_emmc_pins>;
+       bus-width = <8>;
+       status = "okay";
+};
+
 &cpm_pinctl {
        /* MPP Bus:
         *      [0-31]  = 0xff: Keep default CP0_shared_pins
        status = "okay";
 };
 
+&cpm_sdhci0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&cpm_sdhci_pins>;
+       bus-width = <4>;
+       status = "okay";
+};
+
 &cps_pinctl {
        /* MPP Bus:
         *      [0-11]  RGMII0
index f912596c2cde63937174859aea53301bb7740b37..08f1d7df69aac8a95c85deb4f1d819dc3f1f5719 100644 (file)
        status = "okay";
 };
 
+/* uSD slot */
+&cpm_sdhci0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&cpm_sdhci_pins>;
+       bus-width = <4>;
+       status = "okay";
+};
+
 &cpm_comphy {
        /*
         * CP0 Serdes Configuration: