From patchwork Mon Jul 20 06:06:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1332037 X-Patchwork-Delegate: uboot@andestech.com 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=XkEbfWxl; 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 4B9B8036FQz9sR4 for ; Mon, 20 Jul 2020 16:06:56 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E8D7281C30; Mon, 20 Jul 2020 08:06:48 +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="XkEbfWxl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5C33481D9E; Mon, 20 Jul 2020 08:06:46 +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-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (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 C1F7581BDD for ; Mon, 20 Jul 2020 08:06:42 +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=bmeng.cn@gmail.com Received: by mail-pg1-x542.google.com with SMTP id g67so9798534pgc.8 for ; Sun, 19 Jul 2020 23:06:42 -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; bh=yvCKjDTM6hD+FPRSjEReCn7jp2UbFwt99ZpmLOE3fAY=; b=XkEbfWxl6BFrARHLIs4LiCuk2xT0uu5O9GstonV66lpsJv39M86z/CrHnVTekMCT0d xLtxCbESAHJvhMOwtsGP2aG2FtxcJjj3GZdfar/AJdv1Kc9YEl9sG6R8bXnW9Af9TVmS 8Q+vqRrfyPajcMIZyj/k5HfSMoyB6zrHXXiM0RsAjI6CN1oq/B7nYrKXxuf8CaQ8b+Dx 2z4fZpJoSrvSbizkBqu8UxJHPfyFCM5ZgAPNuKXdL2XOoj7JTLfA8tLIWVYNkfbsNIW1 sgceyHjeOoTumCnG3nw352hMv7MXw9CiQV6brBhqCXaaWU2Wf9IMUaso5Kp3YbP9vlpG pgoQ== 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; bh=yvCKjDTM6hD+FPRSjEReCn7jp2UbFwt99ZpmLOE3fAY=; b=Z/1OZp0NY1uOTZoCMzp7ZPddl5wLBNQ1hBQs7OPkcyH7/Xd1ESk90Dp00Fm1wwhe+Z 9g+JcERAxnqJE8ba2nUxp4A45X4NCQVcd5TaRbQVPIt9zcWi5XAxkKl2VI+Phajpy8wM 18sSl/bnnyaI3Jv5GGPkhJc0H+AKyX+6ALttArl30wDJqke0FAynrxujeWQK0D9N2phz 7KgZPout/kziD9fWsRCUjjKZ9nHoBXIOIGetW+bOtudeYPnVFMGfoE3RtBoU0Io+7lcv XKck0e30MESZdOYh2jg/KMpCnOmgdUR30U4IH44mZQCBBxP5dGSNMIbmoyn5vYuckJ8e qXqg== X-Gm-Message-State: AOAM533a0ovksG60FEuctbCw2ZRJ0PWtZzsqqzx6bU1qSqysLQfUs0iW c5GqzotKFkFTETcMOFa+TE8= X-Google-Smtp-Source: ABdhPJz+uzBbTwLNyTjLfR/8tRECu8VC6CPEIgsoaHm7rMWic4aN+UlqtSRmdfZ4uadrZefXf0RQBQ== X-Received: by 2002:aa7:8391:: with SMTP id u17mr19277219pfm.156.1595225200852; Sun, 19 Jul 2020 23:06:40 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id g6sm15584898pfr.129.2020.07.19.23.06.39 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 19 Jul 2020 23:06:40 -0700 (PDT) From: Bin Meng To: Rick Chen , Pragnesh Patel , Sagar Kadam , U-Boot Mailing List Cc: Bin Meng Subject: [PATCH v2 1/2] riscv: dts: hifive-unleashed-a00: Make memory node available to SPL Date: Sun, 19 Jul 2020 23:06:34 -0700 Message-Id: <1595225195-23197-1-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 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: Bin Meng Make memory node available to SPL in prepration to updates to SiFive DDR RAM driver to read memory information from DT. Signed-off-by: Bin Meng Reviewed-by: Pragnesh Patel --- Changes in v2: - rebase on top of u-boot-riscv/master arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi index 7d838bf..5d0c928 100644 --- a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi +++ b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi @@ -20,6 +20,10 @@ u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */ }; + memory@80000000 { + u-boot,dm-spl; + }; + hfclk { u-boot,dm-spl; };