public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Masami Hiramatsu <masami.hiramatsu@linaro.org>
To: "Simon Glass" <sjg@chromium.org>, "Tom Rini" <trini@konsulko.com>,
	"Heinrich Schuchardt" <xypron.glpk@gmx.de>,
	"Marek Behún" <marek.behun@nic.cz>
Cc: Masami Hiramatsu <masami.hiramatsu@linaro.org>,
	Jassi Brar <jaswinder.singh@linaro.org>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Masahisa Kojima <masahisa.kojima@linaro.org>,
	Takahiro Akashi <takahiro.akashi@linaro.org>,
	u-boot@lists.denx.de
Subject: [PATCH v3 3/8] dts: synquacer: Add partition information to the spi-nor
Date: Mon, 12 Jul 2021 19:36:03 +0900	[thread overview]
Message-ID: <162608616313.206671.11863227793411224264.stgit@localhost> (raw)
In-Reply-To: <162608613498.206671.7144957749931134518.stgit@localhost>

Add partition information to the spi-nor flash.
This is required for accessing NOR flash via mtdparts.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
---
 Changes in v3:
  - Add Marek's Reviewed-by.
 Changes in v2:
  - Add new lines to separate the partitions.
---
 .../dts/synquacer-sc2a11-developerbox-u-boot.dtsi  |   49 ++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi
index 2f13a42235..7a56116d6f 100644
--- a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi
+++ b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi
@@ -31,6 +31,55 @@
 			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>;
+				};
+			};
 		};
 	};
 


  parent reply	other threads:[~2021-07-12 10:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-12 10:35 [PATCH v3 0/8] arm64: synquacer: DeveloperBox updates Masami Hiramatsu
2021-07-12 10:35 ` [PATCH v3 1/8] board: synquacer: Initialize SCBM SMMU at board_init() Masami Hiramatsu
2021-07-24 20:40   ` Tom Rini
2021-07-12 10:35 ` [PATCH v3 2/8] configs: synquacer: Make U-Boot binary position independent Masami Hiramatsu
2021-07-24 20:40   ` Tom Rini
2021-07-12 10:36 ` Masami Hiramatsu [this message]
2021-07-24 20:40   ` [PATCH v3 3/8] dts: synquacer: Add partition information to the spi-nor Tom Rini
2021-07-12 10:36 ` [PATCH v3 4/8] configs: synquacer: Remove mtdparts settings and update DFU setting Masami Hiramatsu
2021-07-24 20:40   ` Tom Rini
2021-07-12 10:36 ` [PATCH v3 5/8] configs: synquacer: Drop Ext2/4 support by default Masami Hiramatsu
2021-07-24 20:40   ` Tom Rini
2021-07-12 10:36 ` [PATCH v3 6/8] configs: synquacer: Enable UEFI secure boot Masami Hiramatsu
2021-07-24 20:40   ` Tom Rini
2021-07-12 10:36 ` [PATCH v3 7/8] configs: synquacer: Use RAW capsule image instead of FIT Masami Hiramatsu
2021-07-24 20:40   ` Tom Rini
2021-07-12 10:36 ` [PATCH v3 8/8] configs: synquacer: Ignore OsIndications on DeveloperBox Masami Hiramatsu
2021-07-24 20:40   ` Tom Rini

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=162608616313.206671.11863227793411224264.stgit@localhost \
    --to=masami.hiramatsu@linaro.org \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jaswinder.singh@linaro.org \
    --cc=marek.behun@nic.cz \
    --cc=masahisa.kojima@linaro.org \
    --cc=sjg@chromium.org \
    --cc=takahiro.akashi@linaro.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.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