Commit 43ebc7c1 authored by Ding Tao's avatar Ding Tao Committed by Gregory CLEMENT
Browse files

arm64: dts: marvell: armada-37xx: Enable emmc on espressobin



The ESPRESSObin board has a emmc interface available on U11: declare it
and let the bootloader enable it if the emmc is present.

[gregory.clement@bootlin.com: disable the emmc by default]
Signed-off-by: default avatarDing Tao <miyatsu@qq.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent eefe3284
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -60,9 +60,31 @@ &sdhci1 {
	cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
	marvell,pad-type = "sd";
	vqmmc-supply = <&vcc_sd_reg1>;

	pinctrl-names = "default";
	pinctrl-0 = <&sdio_pins>;
	status = "okay";
};

/* U11 */
&sdhci0 {
	non-removable;
	bus-width = <8>;
	mmc-ddr-1_8v;
	mmc-hs400-1_8v;
	marvell,xenon-emmc;
	marvell,xenon-tun-count = <9>;
	marvell,pad-type = "fixed-1-8v";

	pinctrl-names = "default";
	pinctrl-0 = <&mmc_pins>;
/*
 * This eMMC is not populated on all boards, so disable it by
 * default and let the bootloader enable it, if it is present
 */
	status = "disabled";
};

&spi0 {
	status = "okay";