From patchwork Tue Sep 1 07:03:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Heider X-Patchwork-Id: 1354773 X-Patchwork-Delegate: sr@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=gKyS9oh+; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BgdNJ5zhBz9sVS for ; Tue, 1 Sep 2020 17:04:14 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 23D2582250; Tue, 1 Sep 2020 09:04:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="gKyS9oh+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 06C008225E; Tue, 1 Sep 2020 09:04:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 848D88221F for ; Tue, 1 Sep 2020 09:04:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=a.heider@gmail.com Received: by mail-wr1-x432.google.com with SMTP id o5so204738wrn.13 for ; Tue, 01 Sep 2020 00:04:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bmiI7tmaJf7KWTS0NIup9CAr/zetIhbUe3WpSLP5v1Y=; b=gKyS9oh+9HLiFOIzqJWIrUgtZg48cGugOIBLYSFhNWQi8wxG2hJ0xW4+ny6NCezQEM ojZeip2M1Ok1CrR2lBde89WxKrGZlLvP/9IJI8CkUrbajgRUPFnBAZcjcprZRGXGm37T qv+kZ4tdQoFe2xOE6gpBEUTl6geGqcvqHKVx+fx3stX7n3oZs+ndSl+J8t5OKoBP3Ia8 6oU6HYHEEPU47gPNdeqw+EZaIjrjVBwQ2OyiDQEMliJSA9funqFdgyYJWqDD6j4feotA Yty7awEOPbE8uGuP32TQWqzwMguNFoLVsBqyDC5M4APTV+sTU57+UWEMW4v/Nal6O/9+ qO8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bmiI7tmaJf7KWTS0NIup9CAr/zetIhbUe3WpSLP5v1Y=; b=MTFg86jnfQTt2WTKq3R6NW3W/UjsTvCYuou9JCc0VBWc6qmJ46AwGp7IgmR2HJFJ6V T0Dpj/02TsL9qUDZ99a4gpqUSUWb1z8l9mIMxTRRb2Zbu68SAEeelQPVP7OP90TfVkEs zO3SKL4r2i41JSFAvJwx8FsSnoRS4hglOxFy05ldmKBpR1AhmIXcvr7n64evodKllKQl fS8ex8RV+g/hM3agedYXAcLU9NjQHrGA6vNUNi46khW9kdp0DEi9q85stondKWXWQNWG MdqMaC+LHmKYf/bYcepnVIWPhQPldtuB6rAJhVLqK/XHyHqbyxezxnKNXgY9Gp7ScFO5 hDTg== X-Gm-Message-State: AOAM530NqrU+lhW3sr+8kIdkbe7FlsOHb+TAipeVaJDsBUomweiZtqM2 UIq+s70HCW7fvk0ulZCmX38= X-Google-Smtp-Source: ABdhPJwebJzaXoG/Gbk1FLOVCEU/qQmDjSAISPoY6xQJmLlj2TITqcjXiRJ73EknXLxGmXYrzOZJ+g== X-Received: by 2002:adf:fb87:: with SMTP id a7mr264082wrr.390.1598943840915; Tue, 01 Sep 2020 00:04:00 -0700 (PDT) Received: from mamamia.internal (a89-183-4-95.net-htp.de. [89.183.4.95]) by smtp.gmail.com with ESMTPSA id z203sm471243wmc.31.2020.09.01.00.03.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2020 00:04:00 -0700 (PDT) From: Andre Heider To: Stefan Roese , Konstantin Porotchkin Cc: =?utf-8?q?Pali_Roh=C3=A1r?= , u-boot@lists.denx.de Subject: [PATCH v3 2/2] arm64: mvebu: a37xx: Add support for EspressoBIN with eMMC Date: Tue, 1 Sep 2020 09:03:59 +0200 Message-Id: <20200901070359.507034-1-a.heider@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200831033408.467699-2-a.heider@gmail.com> References: <20200831033408.467699-2-a.heider@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: Konstantin Porotchkin Add support for additional EspressoBIN board with installed eMMC device (U11). EspressoBIN boards with eMMC installed should use the DTS named armada-3720-espressobin-emmc. Update build documentation accordingly. Change-Id: Id1a4f3ca01a6e52df57bf7279f33f0fe45f8ed18 Signed-off-by: Konstantin Porotchkin Reviewed-on: http://vgitil04.il.marvell.com:8080/61290 Tested-by: iSoC Platform CI [a.heider: adapt to mainline] Signed-off-by: Andre Heider Reviewed-by: Stefan Roese --- v2: base upon downstream patch v3: keep CONFIG_DEFAULT_DEVICE_TREE for non-emmc boards arch/arm/dts/Makefile | 1 + arch/arm/dts/armada-3720-espressobin-emmc.dts | 19 +++++++++++++++++++ doc/README.marvell | 7 +++++-- 3 files changed, 25 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/doc/README.marvell b/doc/README.marvell index 5416bc3035..be07f31f8c 100644 --- a/doc/README.marvell +++ b/doc/README.marvell @@ -43,8 +43,11 @@ 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 - just default device-tree from defconfig using: + For the EspressoBin board with populated eMMC device use + # make DEVICE_TREE=armada-3720-espressobin-emmc + + For other DB boards (MacchiatoBin, EspressoBin without soldered eMMC and 3700 DB board) + compile u-boot with just default device-tree from defconfig using: # make