aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-11-25 19:20:09 +0100
committerStefan Roese <sr@denx.de>2020-12-07 07:11:37 +0100
commit135973967b6c0fd08e5c0e75e55e3ccae83f5853 (patch)
tree681f5b29a0b1e30431a44075f4a719c637cf1f39
parentc5c4b69857564bbd3ad64981e2beac458b6d0454 (diff)
downloadu-boot-135973967b6c0fd08e5c0e75e55e3ccae83f5853.zip
u-boot-135973967b6c0fd08e5c0e75e55e3ccae83f5853.tar.gz
u-boot-135973967b6c0fd08e5c0e75e55e3ccae83f5853.tar.bz2
arm: mvebu: Espressobin: Add support for emmc into dts file
To simplify setup, configuration and compilation of u-boot, define emmc node for all Espressobin boards. Espressobin boards without populated emmc works correctly, just detection and initialization of emmc obviously fails. Code for emmc is extracted from commit f1a43c84a960 ("arm64: dts: a3720: add support for espressobin with populated emmc"). Signed-off-by: Pali Rohár <pali@kernel.org> Tested-by: Gérald Kerma <gerald@gk2.net>
-rw-r--r--arch/arm/dts/armada-3720-espressobin.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-3720-espressobin.dts b/arch/arm/dts/armada-3720-espressobin.dts
index be67a45..96a4b3d 100644
--- a/arch/arm/dts/armada-3720-espressobin.dts
+++ b/arch/arm/dts/armada-3720-espressobin.dts
@@ -130,6 +130,28 @@
status = "okay";
};
+/* U11 */
+&sdhci1 {
+ 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>;
+ status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+ mmccard: mmccard@0 {
+ compatible = "mmc-card";
+ reg = <0>;
+ };
+};
+
&spi0 {
status = "okay";
pinctrl-names = "default";