From: b18965@freescale.com (Alison Wang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash
Date: Wed, 3 Feb 2016 16:16:44 +0800 [thread overview]
Message-ID: <1454487404-330-1-git-send-email-b18965@freescale.com> (raw)
According to the new mapping table, the partition for NOR flash
is added.
Signed-off-by: Alison Wang <alison.wang@nxp.com>
---
arch/arm/boot/dts/ls1021a-qds.dts | 60 +++++++++++++++++++++++++++++++++++++++
arch/arm/boot/dts/ls1021a-twr.dts | 60 +++++++++++++++++++++++++++++++++++++++
2 files changed, 120 insertions(+)
diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts
index 9408753..904ee09 100644
--- a/arch/arm/boot/dts/ls1021a-qds.dts
+++ b/arch/arm/boot/dts/ls1021a-qds.dts
@@ -237,6 +237,66 @@
reg = <0x0 0x0 0x8000000>;
bank-width = <2>;
device-width = <1>;
+
+ partition at 0 {
+ /* 128KB for bank0 RCW */
+ reg = <0x00000000 0x00020000>;
+ label = "NOR bank0 RCW Image";
+ };
+
+ partition at 100000 {
+ /* 1MB for bank0 u-boot Image */
+ reg = <0x00100000 0x00100000>;
+ label = "NOR bank0 u-boot Image";
+ };
+
+ partition at 200000 {
+ /* 1MB for bank0 DTB */
+ reg = <0x00200000 0x00100000>;
+ label = "NOR bank0 DTB Image";
+ };
+
+ partition at 300000 {
+ /* 7MB for bank0 Linux Kernel */
+ reg = <0x00300000 0x00700000>;
+ label = "NOR bank0 Linux Kernel Image";
+ };
+
+ partition at a00000 {
+ /* 54MB for bank0 Ramdisk Root File System */
+ reg = <0x00a00000 0x03600000>;
+ label = "NOR bank0 Ramdisk Root File System Image";
+ };
+
+ partition at 4000000 {
+ /* 128KB for bank4 RCW */
+ reg = <0x04000000 0x00020000>;
+ label = "NOR bank4 RCW Image";
+ };
+
+ partition at 4100000 {
+ /* 1MB for bank4 u-boot Image */
+ reg = <0x04100000 0x00100000>;
+ label = "NOR bank4 u-boot Image";
+ };
+
+ partition at 4200000 {
+ /* 1MB for bank4 DTB */
+ reg = <0x04200000 0x00100000>;
+ label = "NOR bank4 DTB Image";
+ };
+
+ partition at 4300000 {
+ /* 7MB for bank4 Linux Kernel */
+ reg = <0x04300000 0x00700000>;
+ label = "NOR bank4 Linux Kernel Image";
+ };
+
+ partition at 4a00000 {
+ /* 54MB for bank4 Ramdisk Root File System */
+ reg = <0x04a00000 0x03600000>;
+ label = "NOR bank4 Ramdisk Root File System Image";
+ };
};
fpga: board-control at 3,0 {
diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index 75ecaed..f5e9616 100644
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -194,6 +194,66 @@
reg = <0x0 0x0 0x8000000>;
bank-width = <2>;
device-width = <1>;
+
+ partition at 0 {
+ /* 128KB for bank0 RCW */
+ reg = <0x00000000 0x00020000>;
+ label = "NOR bank0 RCW Image";
+ };
+
+ partition at 100000 {
+ /* 1MB for bank0 u-boot Image */
+ reg = <0x00100000 0x00100000>;
+ label = "NOR bank0 u-boot Image";
+ };
+
+ partition at 200000 {
+ /* 1MB for bank0 DTB */
+ reg = <0x00200000 0x00100000>;
+ label = "NOR bank0 DTB Image";
+ };
+
+ partition at 300000 {
+ /* 7MB for bank0 Linux Kernel */
+ reg = <0x00300000 0x00700000>;
+ label = "NOR bank0 Linux Kernel Image";
+ };
+
+ partition at a00000 {
+ /* 54MB for bank0 Ramdisk Root File System */
+ reg = <0x00a00000 0x03600000>;
+ label = "NOR bank0 Ramdisk Root File System Image";
+ };
+
+ partition at 4000000 {
+ /* 128KB for bank4 RCW */
+ reg = <0x04000000 0x00020000>;
+ label = "NOR bank4 RCW Image";
+ };
+
+ partition at 4100000 {
+ /* 1MB for bank4 u-boot Image */
+ reg = <0x04100000 0x00100000>;
+ label = "NOR bank4 u-boot Image";
+ };
+
+ partition at 4200000 {
+ /* 1MB for bank4 DTB */
+ reg = <0x04200000 0x00100000>;
+ label = "NOR bank4 DTB Image";
+ };
+
+ partition at 4300000 {
+ /* 7MB for bank4 Linux Kernel */
+ reg = <0x04300000 0x00700000>;
+ label = "NOR bank4 Linux Kernel Image";
+ };
+
+ partition at 4a00000 {
+ /* 54MB for bank4 Ramdisk Root File System */
+ reg = <0x04a00000 0x03600000>;
+ label = "NOR bank4 Ramdisk Root File System Image";
+ };
};
};
--
2.1.0.27.g96db324
next reply other threads:[~2016-02-03 8:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-03 8:16 Alison Wang [this message]
2016-02-14 3:44 ` [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash Shawn Guo
2016-02-17 7:39 ` Huan Wang
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=1454487404-330-1-git-send-email-b18965@freescale.com \
--to=b18965@freescale.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).