From: Andre Heider <a.heider@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 2/2] arm64: mvebu: a37xx: Add support for EspressoBIN with eMMC
Date: Mon, 31 Aug 2020 08:33:24 +0200 [thread overview]
Message-ID: <20200831063324.512833-1-a.heider@gmail.com> (raw)
In-Reply-To: <20200831033408.467699-2-a.heider@gmail.com>
From: Konstantin Porotchkin <kostap@marvell.com>
Add support for additional EspressoBIN board with installed
eMMC device (U11).
Starting from this patch the DEVICE_TREE= must be added to
"make" in order to distinguish between platforms wth and without
eMMC on board.
Regualr (no eMMC) EspressoBIN builds should use DTS file named
armada-3720-espressobin and build for boards with eMMC installed
the DTS named armada-3720-espressobin-emmc.
The default device tree string is now removed from
mvebu_espressobin-88f3720_defconfig config file.
Update build documentation accordingly.
Change-Id: Id1a4f3ca01a6e52df57bf7279f33f0fe45f8ed18
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/61290
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
[a.heider: adapt to mainline]
Signed-off-by: Andre Heider <a.heider@gmail.com>
---
v2: base upon downstream patch
arch/arm/dts/Makefile | 1 +
arch/arm/dts/armada-3720-espressobin-emmc.dts | 19 +++++++++++++++++++
configs/mvebu_espressobin-88f3720_defconfig | 1 -
doc/README.marvell | 7 ++++++-
4 files changed, 26 insertions(+), 2 deletions(-)
create mode 100644 arch/arm/dts/armada-3720-espressobin-emmc.dts
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 5e34192be6..8f1958b5a7 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -202,6 +202,7 @@ dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
dtb-$(CONFIG_ARCH_MVEBU) += \
armada-3720-db.dtb \
armada-3720-espressobin.dtb \
+ armada-3720-espressobin-emmc.dtb \
armada-3720-turris-mox.dtb \
armada-3720-uDPU.dtb \
armada-375-db.dtb \
diff --git a/arch/arm/dts/armada-3720-espressobin-emmc.dts b/arch/arm/dts/armada-3720-espressobin-emmc.dts
new file mode 100644
index 0000000000..0dd59af9c0
--- /dev/null
+++ b/arch/arm/dts/armada-3720-espressobin-emmc.dts
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2018 Marvell International Ltd.
+ */
+
+#include "armada-3720-espressobin.dts"
+
+/ {
+ model = "Marvell Armada 3720 Community Board ESPRESSOBin (eMMC)";
+ compatible = "marvell,armada-3720-espressobin",
+ "marvell,armada-3720-espressobin-emmc",
+ "marvell,armada3720", "marvell,armada3710";
+
+};
+
+/* U11 */
+&sdhci1 {
+ status = "okay";
+};
diff --git a/configs/mvebu_espressobin-88f3720_defconfig b/configs/mvebu_espressobin-88f3720_defconfig
index 0c1c92d4ff..99f421d841 100644
--- a/configs/mvebu_espressobin-88f3720_defconfig
+++ b/configs/mvebu_espressobin-88f3720_defconfig
@@ -11,7 +11,6 @@ CONFIG_ENV_SECT_SIZE=0x10000
CONFIG_DM_GPIO=y
CONFIG_DEBUG_UART_BASE=0xd0012000
CONFIG_DEBUG_UART_CLOCK=25804800
-CONFIG_DEFAULT_DEVICE_TREE="armada-3720-espressobin"
CONFIG_DEBUG_UART=y
CONFIG_AHCI=y
CONFIG_DISTRO_DEFAULTS=y
diff --git a/doc/README.marvell b/doc/README.marvell
index 5416bc3035..ffd0544aef 100644
--- a/doc/README.marvell
+++ b/doc/README.marvell
@@ -43,7 +43,12 @@ Build Procedure
In order to prevent this, the required device-tree MUST be set during compilation.
All device-tree files are located in ./arch/arm/dts/ folder.
- For other DB boards (MacchiatoBin, EspressoBin and 3700 DB board) compile u-boot with
+ For the EspressoBin board without soldered eMMC device use
+ # make DEVICE_TREE=armada-3720-espressobin
+ For the EspressoBin board with populated eMMC device use
+ # make DEVICE_TREE=armada-3720-espressobin-emmc
+
+ For other DB boards (MacchiatoBin, and 3700 DB board) compile u-boot with
just default device-tree from defconfig using:
# make
--
2.28.0
next prev parent reply other threads:[~2020-08-31 6:33 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-31 3:34 [PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream Andre Heider
2020-08-31 3:34 ` [PATCH 2/2] arm64: dts: armada-3720-espressobin-emmc: add emmc dts Andre Heider
2020-08-31 6:33 ` Andre Heider [this message]
2020-08-31 7:55 ` [PATCH v2 2/2] arm64: mvebu: a37xx: Add support for EspressoBIN with eMMC Pali Rohár
2020-08-31 8:21 ` Andre Heider
2020-08-31 8:27 ` Pali Rohár
2020-08-31 8:41 ` Andre Heider
2020-09-01 7:03 ` [PATCH v3 " Andre Heider
2020-09-01 20:02 ` Pali Rohár
2020-09-04 9:02 ` Stefan Roese
2020-08-31 7:53 ` [PATCH 1/2] arm64: dts: armada-3720-espressobin: sync with downstream Pali Rohár
2020-08-31 8:17 ` Andre Heider
2020-09-04 12:02 ` Stefan Roese
2020-09-04 12:35 ` Andre Heider
2020-09-04 12:40 ` Stefan Roese
2020-09-04 15:36 ` Andre Heider
2020-09-06 9:21 ` Pali Rohár
2020-09-06 16:03 ` Peter Robinson
2020-09-06 16:11 ` Pali Rohár
2020-08-31 8:01 ` Pali Rohár
2020-08-31 8:17 ` Andre Heider
2020-08-31 8:46 ` Pali Rohár
2020-08-31 9:59 ` Andre Heider
2020-09-01 20:00 ` Pali Rohár
2020-09-04 9:01 ` 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=20200831063324.512833-1-a.heider@gmail.com \
--to=a.heider@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox