]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: Espressobin: Add support for emmc into dts file
authorPali Rohár <pali@kernel.org>
Wed, 25 Nov 2020 18:20:09 +0000 (19:20 +0100)
committerStefan Roese <sr@denx.de>
Mon, 7 Dec 2020 06:11:37 +0000 (07:11 +0100)
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>
arch/arm/dts/armada-3720-espressobin.dts

index be67a45870cae9ec77f9b7133c0289135569a8cd..96a4b3d95b887300f3a2064dba8329867e1e377b 100644 (file)
        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";