arm64: dts: marvell: mcbin: add sdhci
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 16 May 2017 13:45:30 +0000 (14:45 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Sat, 17 Jun 2017 06:19:01 +0000 (08:19 +0200)
Add sdhci support for MACCHIATOBin boards.  This uses the AP806 SDHCI
for eMMC and CP110 master for the SD card slot.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts

index f7bb0cc03147ad773034f74aed563a8feab03488..100861aa7afdaa1e05245d9d80d7af7cfd85ec64 100644 (file)
        status = "okay";
 };
 
+&ap_sdhci0 {
+       bus-width = <8>;
+       /*
+        * Not stable in HS modes - phy needs "more calibration", so add
+        * the "slow-mode" and disable SDR104, SDR50 and DDR50 modes.
+        */
+       marvell,xenon-phy-slow-mode;
+       no-1-8-v;
+       no-sd;
+       no-sdio;
+       non-removable;
+       status = "okay";
+       vqmmc-supply = <&v_vddo_h>;
+};
+
 &cpm_i2c0 {
        clock-frequency = <100000>;
        status = "okay";
        status = "okay";
 };
 
+&cpm_sdhci0 {
+       /* U6 */
+       broken-cd;
+       bus-width = <4>;
+       status = "okay";
+       vqmmc-supply = <&v_3_3>;
+};
+
 &cpm_usb3_0 {
        /* J38? - USB2.0 only */
        status = "okay";