All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: u-boot@lists.denx.de
Subject: [PATCH 3/4] arm: mvebu: Espressobin: Add support for emmc into dts file
Date: Wed, 25 Nov 2020 19:20:09 +0100	[thread overview]
Message-ID: <20201125182010.23167-4-pali@kernel.org> (raw)
In-Reply-To: <20201125182010.23167-1-pali@kernel.org>

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 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm/dts/armada-3720-espressobin.dts b/arch/arm/dts/armada-3720-espressobin.dts
index be67a45870..96a4b3d95b 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 at 0 {
+		compatible = "mmc-card";
+		reg = <0>;
+	};
+};
+
 &spi0 {
 	status = "okay";
 	pinctrl-names = "default";
-- 
2.20.1

  parent reply	other threads:[~2020-11-25 18:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-25 18:20 [PATCH 0/4] Use just one DTS file for all Espressobin variants Pali Rohár
2020-11-25 18:20 ` [PATCH 1/4] Revert "arm64: dts: armada-3720-espressobin: split common parts to .dtsi" Pali Rohár
2020-11-25 18:20 ` [PATCH 2/4] Revert "arm64: dts: a3720: add support for espressobin with populated emmc" Pali Rohár
2020-11-25 18:20 ` Pali Rohár [this message]
2020-11-25 18:20 ` [PATCH 4/4] arm: mvebu: Espressobin: Detect presence of emmc at runtime Pali Rohár
2020-12-02 14:35   ` Andre Heider
2020-12-03 15:56     ` Pali Rohár
2020-12-03 16:30       ` Stefan Roese
2020-12-05 12:44         ` Pali Rohár
2020-12-07 11:07           ` Stefan Roese
2020-11-25 18:38 ` [PATCH 0/4] Use just one DTS file for all Espressobin variants Peter Robinson
2020-11-25 19:06   ` Pali Rohár
2020-12-02  0:33 ` Pali Rohár
2020-12-02  8:09   ` Stefan Roese
2020-12-02  9:12     ` Pali Rohár
2020-12-02 10:35       ` Stefan Roese
2020-12-02 12:37         ` Andre Heider
2020-12-02 14:20           ` Philipp Tomsich
2020-12-07 11:09 ` Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201125182010.23167-4-pali@kernel.org \
    --to=pali@kernel.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.