From patchwork Fri Jul 9 10:50:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 471811 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp162811jao; Fri, 9 Jul 2021 03:50:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwl/oL49pzx0fm/WhiOiFB55gk8G7AHC86mvGMXZRADHylimj69HMNc1ANirRnCFC7zdARw X-Received: by 2002:a17:906:cb86:: with SMTP id mf6mr14790227ejb.116.1625827843737; Fri, 09 Jul 2021 03:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625827843; cv=none; d=google.com; s=arc-20160816; b=OVIKFjzHQj+Ph+cXJPnW2uC/8RhHW0UwhkhQsP+tk/14gZGElwXKnOMS4yb7dnR4Be EXjNpdU+ZNq9qcygPZk1rPpPRjNgCYdktljqYCP71eEBcZoQDl+H4Zpn+6VSuqPswKzW 8iQ9xMT/LOatZ0yjKQjWx1QiWf47PWEsmes1AtgQhJCHhV+95BPBZdEnbo1LtX4jh1aG VLDOiQnWokDJBA139ejzHmdkNzzQqY4i0UMdx9BGea7NS/fNK2+yb4TrcA2SRyATtCoT oeENKRu/SR0ErJPVIOQ55Ig+1lXKyaS1UNhmaj3JIVXG7Eg6CDh9ujDPMion2AbhrcrG JQnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Fc6t4bDLR7ymHxuXboTAUSDglSmcRYGwf/TwkAIJ0WA=; b=VpW/BnG4kkSXi7MLLVLP2cSTuoEiAJ8RRuUOdtyUNMGradQIAR+wBPT4tTUoF/+G1W SMgbCWdVNffqQj8pgQyu0Ph1RoznOS0iPC6lRDO824NsTQRuphR0NjCmYRHoR71dlSBD V4U1F864TH7NwbARU6O44a73TXe+o9rw1HwK7dcOcWX7tMgLN9lMrtnvG/95MfTeAKyJ 7U1Yd+0Gpb5NlGY0ZtlKjFrCpMPx40wVbdzKtNzx4otFr3rQhFAK5HzTBOoShi6WRDMI aF19p7Nb3PdSHy74O7o9EXRvCIpusGT4o9Zaoy9HnfUFIHsXtFqq0wOyn3t9SbqC2792 YenA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iSlI57T2; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id by10si6304627ejc.77.2021.07.09.03.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:43 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iSlI57T2; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6ED2C8328E; Fri, 9 Jul 2021 12:50:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="iSlI57T2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4EE668328D; Fri, 9 Jul 2021 12:50:37 +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,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (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 0D01583276 for ; Fri, 9 Jul 2021 12:50:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masami.hiramatsu@linaro.org Received: by mail-pf1-x42a.google.com with SMTP id b12so8374637pfv.6 for ; Fri, 09 Jul 2021 03:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=Fc6t4bDLR7ymHxuXboTAUSDglSmcRYGwf/TwkAIJ0WA=; b=iSlI57T23e3qhKjs/VjXPFzGgOud9d7soacaSVa0O6thYtmeEWoX8I2gf/ed4ti/c2 jmwRX8mvEKecAryzxMcuacRGfFWnDsCh/V6kRCEepxbpqmCahJ31rQ+cMSwUsUXQzt4F NgSGfxh1RYGAc70mdeHZ6dlQbVsdEQfJml/2Kh/KEU3KUphQZwDKXRtoi6F7JEI5kkhx 7t7NLqX0wJKwDmj31ZJxbiqd3WczOyU0OSFEopldiYLbf4paEG4IakUOgwCP7PZC5wOd DeFkCgJMMFR4Bcts4DvrAnTGPRcE9X3nNKLMrgJ2xNpxQvdqfQB2OsFiY/TMg3bJvnNU uZkw== 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:user-agent:mime-version:content-transfer-encoding; bh=Fc6t4bDLR7ymHxuXboTAUSDglSmcRYGwf/TwkAIJ0WA=; b=CwPv1H4eWMqpP/uXQu/I3arHL+ywj+H6t6a/u3F1hm019KWva5+G+g9jDkeGhY/h5b ReguWGydWlDDtITENieomsPHvsFSqAyEg8Qo/+kZOipGo/0Df3UXSqk+S/pGhE4M5JKM /ccd6VNrW0Pu8pHrnM/kSc3Cv/RLqjsjBEgNLzkOYR3rp6WkKw/Gap+ccumUewCmfWPJ H5HpWZhBwzinM+ax3FyEmIW3JDj9EV+w/Nrsp2vof9Pv8IN/xPsFqTO2zEGUKKJIADz+ 5jUVz8Do3CXxZEaEczYE0WJGX85VyX38zSbKqscRU9mKq2qmByQVOm13CIehKyBeUzas UB3A== X-Gm-Message-State: AOAM532xuRlCYPti/wMj9DBlagiCyzYKzU2mITJuMq6e9u3RTbV/4sGz tsf5hBpHfRC9FM7eU67KmcF7uQ== X-Received: by 2002:a62:f942:0:b029:318:8736:a9a8 with SMTP id g2-20020a62f9420000b02903188736a9a8mr35798706pfm.26.1625827831448; Fri, 09 Jul 2021 03:50:31 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id u16sm5816880pfh.205.2021.07.09.03.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:30 -0700 (PDT) From: Masami Hiramatsu To: Simon Glass , Tom Rini , Heinrich Schuchardt , =?utf-8?q?Marek_Beh=C3=BAn?= Cc: Masami Hiramatsu , Jassi Brar , Ilias Apalodimas , Masahisa Kojima , Takahiro Akashi , u-boot@lists.denx.de Subject: [PATCH 3/6] dts: synquacer: Add partition information to the spi-nor Date: Fri, 9 Jul 2021 19:50:27 +0900 Message-Id: <162582782712.112250.6553338507843531908.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162582779750.112250.1804638357524349747.stgit@localhost> References: <162582779750.112250.1804638357524349747.stgit@localhost> User-Agent: StGit/0.19 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.103.2 at phobos.denx.de X-Virus-Status: Clean Add partition information to the spi-nor flash. This is required for accessing NOR flash via mtdparts. Signed-off-by: Masami Hiramatsu --- .../dts/synquacer-sc2a11-developerbox-u-boot.dtsi | 42 ++++++++++++++++++++ 1 file changed, 42 insertions(+) Reviewed-by: Marek BehĂșn diff --git a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi index 2f13a42235..245ebcda01 100644 --- a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi +++ b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi @@ -31,6 +31,48 @@ spi-max-frequency = <31250000>; spi-rx-bus-width = <0x1>; spi-tx-bus-width = <0x1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "BootStrap-BL1"; + reg = <0x0 0x70000>; + read-only; + }; + partition@70000 { + label = "Flash-Writer"; + reg = <0x70000 0x90000>; + read-only; + }; + partition@100000 { + label = "SCP-BL2"; + reg = <0x100000 0x80000>; + read-only; + }; + partition@180000 { + label = "FIP-TFA"; + reg = <0x180000 0x78000>; + }; + partition@1f8000 { + label = "Stage2Tables"; + reg = <0x1f8000 0x8000>; + }; + partition@200000 { + label = "U-Boot"; + reg = <0x200000 0x100000>; + }; + partition@300000 { + label = "UBoot-Env"; + reg = <0x300000 0x100000>; + }; + partition@500000 { + label = "Ex-OPTEE"; + reg = <0x500000 0x200000>; + }; + }; }; };