summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>2021-07-12 13:36:03 +0300
committerTom Rini <trini@konsulko.com>2021-07-24 01:53:45 +0300
commit11cd1d6a34bc273b3eb44a197ada12485b3efc7a (patch)
tree7f51a33490ed2070690407ae8b601728da8412d8 /arch
parentf7e16bb0c5362c9b01d7e6e96bf6c77fd6b3d89e (diff)
downloadu-boot-11cd1d6a34bc273b3eb44a197ada12485b3efc7a.tar.xz
dts: synquacer: Add partition information to the spi-nor
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi49
1 files changed, 49 insertions, 0 deletions
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>;
+ };
+ };
};
};