* [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash
@ 2016-02-03 8:16 ` Alison Wang
0 siblings, 0 replies; 6+ messages in thread
From: Alison Wang @ 2016-02-03 8:16 UTC (permalink / raw)
To: shawnguo, linux-arm-kernel, linux-kernel
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@0 {
+ /* 128KB for bank0 RCW */
+ reg = <0x00000000 0x00020000>;
+ label = "NOR bank0 RCW Image";
+ };
+
+ partition@100000 {
+ /* 1MB for bank0 u-boot Image */
+ reg = <0x00100000 0x00100000>;
+ label = "NOR bank0 u-boot Image";
+ };
+
+ partition@200000 {
+ /* 1MB for bank0 DTB */
+ reg = <0x00200000 0x00100000>;
+ label = "NOR bank0 DTB Image";
+ };
+
+ partition@300000 {
+ /* 7MB for bank0 Linux Kernel */
+ reg = <0x00300000 0x00700000>;
+ label = "NOR bank0 Linux Kernel Image";
+ };
+
+ partition@a00000 {
+ /* 54MB for bank0 Ramdisk Root File System */
+ reg = <0x00a00000 0x03600000>;
+ label = "NOR bank0 Ramdisk Root File System Image";
+ };
+
+ partition@4000000 {
+ /* 128KB for bank4 RCW */
+ reg = <0x04000000 0x00020000>;
+ label = "NOR bank4 RCW Image";
+ };
+
+ partition@4100000 {
+ /* 1MB for bank4 u-boot Image */
+ reg = <0x04100000 0x00100000>;
+ label = "NOR bank4 u-boot Image";
+ };
+
+ partition@4200000 {
+ /* 1MB for bank4 DTB */
+ reg = <0x04200000 0x00100000>;
+ label = "NOR bank4 DTB Image";
+ };
+
+ partition@4300000 {
+ /* 7MB for bank4 Linux Kernel */
+ reg = <0x04300000 0x00700000>;
+ label = "NOR bank4 Linux Kernel Image";
+ };
+
+ partition@4a00000 {
+ /* 54MB for bank4 Ramdisk Root File System */
+ reg = <0x04a00000 0x03600000>;
+ label = "NOR bank4 Ramdisk Root File System Image";
+ };
};
fpga: board-control@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@0 {
+ /* 128KB for bank0 RCW */
+ reg = <0x00000000 0x00020000>;
+ label = "NOR bank0 RCW Image";
+ };
+
+ partition@100000 {
+ /* 1MB for bank0 u-boot Image */
+ reg = <0x00100000 0x00100000>;
+ label = "NOR bank0 u-boot Image";
+ };
+
+ partition@200000 {
+ /* 1MB for bank0 DTB */
+ reg = <0x00200000 0x00100000>;
+ label = "NOR bank0 DTB Image";
+ };
+
+ partition@300000 {
+ /* 7MB for bank0 Linux Kernel */
+ reg = <0x00300000 0x00700000>;
+ label = "NOR bank0 Linux Kernel Image";
+ };
+
+ partition@a00000 {
+ /* 54MB for bank0 Ramdisk Root File System */
+ reg = <0x00a00000 0x03600000>;
+ label = "NOR bank0 Ramdisk Root File System Image";
+ };
+
+ partition@4000000 {
+ /* 128KB for bank4 RCW */
+ reg = <0x04000000 0x00020000>;
+ label = "NOR bank4 RCW Image";
+ };
+
+ partition@4100000 {
+ /* 1MB for bank4 u-boot Image */
+ reg = <0x04100000 0x00100000>;
+ label = "NOR bank4 u-boot Image";
+ };
+
+ partition@4200000 {
+ /* 1MB for bank4 DTB */
+ reg = <0x04200000 0x00100000>;
+ label = "NOR bank4 DTB Image";
+ };
+
+ partition@4300000 {
+ /* 7MB for bank4 Linux Kernel */
+ reg = <0x04300000 0x00700000>;
+ label = "NOR bank4 Linux Kernel Image";
+ };
+
+ partition@4a00000 {
+ /* 54MB for bank4 Ramdisk Root File System */
+ reg = <0x04a00000 0x03600000>;
+ label = "NOR bank4 Ramdisk Root File System Image";
+ };
};
};
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash
@ 2016-02-03 8:16 ` Alison Wang
0 siblings, 0 replies; 6+ messages in thread
From: Alison Wang @ 2016-02-03 8:16 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash
2016-02-03 8:16 ` Alison Wang
@ 2016-02-14 3:44 ` Shawn Guo
-1 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2016-02-14 3:44 UTC (permalink / raw)
To: Alison Wang; +Cc: linux-arm-kernel, linux-kernel
On Wed, Feb 03, 2016 at 04:16:44PM +0800, Alison Wang wrote:
> According to the new mapping table, the partition for NOR flash
> is added.
How do you know that everyone using the board wants the NOR flash to be
partitioned this way? It's really a matter of software configuration
and may vary from system to system.
Shawn
>
> 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@0 {
> + /* 128KB for bank0 RCW */
> + reg = <0x00000000 0x00020000>;
> + label = "NOR bank0 RCW Image";
> + };
> +
> + partition@100000 {
> + /* 1MB for bank0 u-boot Image */
> + reg = <0x00100000 0x00100000>;
> + label = "NOR bank0 u-boot Image";
> + };
> +
> + partition@200000 {
> + /* 1MB for bank0 DTB */
> + reg = <0x00200000 0x00100000>;
> + label = "NOR bank0 DTB Image";
> + };
> +
> + partition@300000 {
> + /* 7MB for bank0 Linux Kernel */
> + reg = <0x00300000 0x00700000>;
> + label = "NOR bank0 Linux Kernel Image";
> + };
> +
> + partition@a00000 {
> + /* 54MB for bank0 Ramdisk Root File System */
> + reg = <0x00a00000 0x03600000>;
> + label = "NOR bank0 Ramdisk Root File System Image";
> + };
> +
> + partition@4000000 {
> + /* 128KB for bank4 RCW */
> + reg = <0x04000000 0x00020000>;
> + label = "NOR bank4 RCW Image";
> + };
> +
> + partition@4100000 {
> + /* 1MB for bank4 u-boot Image */
> + reg = <0x04100000 0x00100000>;
> + label = "NOR bank4 u-boot Image";
> + };
> +
> + partition@4200000 {
> + /* 1MB for bank4 DTB */
> + reg = <0x04200000 0x00100000>;
> + label = "NOR bank4 DTB Image";
> + };
> +
> + partition@4300000 {
> + /* 7MB for bank4 Linux Kernel */
> + reg = <0x04300000 0x00700000>;
> + label = "NOR bank4 Linux Kernel Image";
> + };
> +
> + partition@4a00000 {
> + /* 54MB for bank4 Ramdisk Root File System */
> + reg = <0x04a00000 0x03600000>;
> + label = "NOR bank4 Ramdisk Root File System Image";
> + };
> };
>
> fpga: board-control@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@0 {
> + /* 128KB for bank0 RCW */
> + reg = <0x00000000 0x00020000>;
> + label = "NOR bank0 RCW Image";
> + };
> +
> + partition@100000 {
> + /* 1MB for bank0 u-boot Image */
> + reg = <0x00100000 0x00100000>;
> + label = "NOR bank0 u-boot Image";
> + };
> +
> + partition@200000 {
> + /* 1MB for bank0 DTB */
> + reg = <0x00200000 0x00100000>;
> + label = "NOR bank0 DTB Image";
> + };
> +
> + partition@300000 {
> + /* 7MB for bank0 Linux Kernel */
> + reg = <0x00300000 0x00700000>;
> + label = "NOR bank0 Linux Kernel Image";
> + };
> +
> + partition@a00000 {
> + /* 54MB for bank0 Ramdisk Root File System */
> + reg = <0x00a00000 0x03600000>;
> + label = "NOR bank0 Ramdisk Root File System Image";
> + };
> +
> + partition@4000000 {
> + /* 128KB for bank4 RCW */
> + reg = <0x04000000 0x00020000>;
> + label = "NOR bank4 RCW Image";
> + };
> +
> + partition@4100000 {
> + /* 1MB for bank4 u-boot Image */
> + reg = <0x04100000 0x00100000>;
> + label = "NOR bank4 u-boot Image";
> + };
> +
> + partition@4200000 {
> + /* 1MB for bank4 DTB */
> + reg = <0x04200000 0x00100000>;
> + label = "NOR bank4 DTB Image";
> + };
> +
> + partition@4300000 {
> + /* 7MB for bank4 Linux Kernel */
> + reg = <0x04300000 0x00700000>;
> + label = "NOR bank4 Linux Kernel Image";
> + };
> +
> + partition@4a00000 {
> + /* 54MB for bank4 Ramdisk Root File System */
> + reg = <0x04a00000 0x03600000>;
> + label = "NOR bank4 Ramdisk Root File System Image";
> + };
> };
> };
>
> --
> 2.1.0.27.g96db324
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash
@ 2016-02-14 3:44 ` Shawn Guo
0 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2016-02-14 3:44 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Feb 03, 2016 at 04:16:44PM +0800, Alison Wang wrote:
> According to the new mapping table, the partition for NOR flash
> is added.
How do you know that everyone using the board wants the NOR flash to be
partitioned this way? It's really a matter of software configuration
and may vary from system to system.
Shawn
>
> 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
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash
2016-02-14 3:44 ` Shawn Guo
@ 2016-02-17 7:39 ` Huan Wang
-1 siblings, 0 replies; 6+ messages in thread
From: Huan Wang @ 2016-02-17 7:39 UTC (permalink / raw)
To: Shawn Guo, Alison Wang; +Cc: linux-arm-kernel, linux-kernel
> On Wed, Feb 03, 2016 at 04:16:44PM +0800, Alison Wang wrote:
> > According to the new mapping table, the partition for NOR flash is
> > added.
>
> How do you know that everyone using the board wants the NOR flash to be
> partitioned this way? It's really a matter of software configuration
> and may vary from system to system.
>
[Alison Wang] Yes, the different partition could be used too. I just want to
provide one partition way.
Best Regards,
Alison Wang
>
> >
> > 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@0 {
> > + /* 128KB for bank0 RCW */
> > + reg = <0x00000000 0x00020000>;
> > + label = "NOR bank0 RCW Image";
> > + };
> > +
> > + partition@100000 {
> > + /* 1MB for bank0 u-boot Image */
> > + reg = <0x00100000 0x00100000>;
> > + label = "NOR bank0 u-boot Image";
> > + };
> > +
> > + partition@200000 {
> > + /* 1MB for bank0 DTB */
> > + reg = <0x00200000 0x00100000>;
> > + label = "NOR bank0 DTB Image";
> > + };
> > +
> > + partition@300000 {
> > + /* 7MB for bank0 Linux Kernel */
> > + reg = <0x00300000 0x00700000>;
> > + label = "NOR bank0 Linux Kernel Image";
> > + };
> > +
> > + partition@a00000 {
> > + /* 54MB for bank0 Ramdisk Root File System */
> > + reg = <0x00a00000 0x03600000>;
> > + label = "NOR bank0 Ramdisk Root File System Image";
> > + };
> > +
> > + partition@4000000 {
> > + /* 128KB for bank4 RCW */
> > + reg = <0x04000000 0x00020000>;
> > + label = "NOR bank4 RCW Image";
> > + };
> > +
> > + partition@4100000 {
> > + /* 1MB for bank4 u-boot Image */
> > + reg = <0x04100000 0x00100000>;
> > + label = "NOR bank4 u-boot Image";
> > + };
> > +
> > + partition@4200000 {
> > + /* 1MB for bank4 DTB */
> > + reg = <0x04200000 0x00100000>;
> > + label = "NOR bank4 DTB Image";
> > + };
> > +
> > + partition@4300000 {
> > + /* 7MB for bank4 Linux Kernel */
> > + reg = <0x04300000 0x00700000>;
> > + label = "NOR bank4 Linux Kernel Image";
> > + };
> > +
> > + partition@4a00000 {
> > + /* 54MB for bank4 Ramdisk Root File System */
> > + reg = <0x04a00000 0x03600000>;
> > + label = "NOR bank4 Ramdisk Root File System Image";
> > + };
> > };
> >
> > fpga: board-control@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@0 {
> > + /* 128KB for bank0 RCW */
> > + reg = <0x00000000 0x00020000>;
> > + label = "NOR bank0 RCW Image";
> > + };
> > +
> > + partition@100000 {
> > + /* 1MB for bank0 u-boot Image */
> > + reg = <0x00100000 0x00100000>;
> > + label = "NOR bank0 u-boot Image";
> > + };
> > +
> > + partition@200000 {
> > + /* 1MB for bank0 DTB */
> > + reg = <0x00200000 0x00100000>;
> > + label = "NOR bank0 DTB Image";
> > + };
> > +
> > + partition@300000 {
> > + /* 7MB for bank0 Linux Kernel */
> > + reg = <0x00300000 0x00700000>;
> > + label = "NOR bank0 Linux Kernel Image";
> > + };
> > +
> > + partition@a00000 {
> > + /* 54MB for bank0 Ramdisk Root File System */
> > + reg = <0x00a00000 0x03600000>;
> > + label = "NOR bank0 Ramdisk Root File System Image";
> > + };
> > +
> > + partition@4000000 {
> > + /* 128KB for bank4 RCW */
> > + reg = <0x04000000 0x00020000>;
> > + label = "NOR bank4 RCW Image";
> > + };
> > +
> > + partition@4100000 {
> > + /* 1MB for bank4 u-boot Image */
> > + reg = <0x04100000 0x00100000>;
> > + label = "NOR bank4 u-boot Image";
> > + };
> > +
> > + partition@4200000 {
> > + /* 1MB for bank4 DTB */
> > + reg = <0x04200000 0x00100000>;
> > + label = "NOR bank4 DTB Image";
> > + };
> > +
> > + partition@4300000 {
> > + /* 7MB for bank4 Linux Kernel */
> > + reg = <0x04300000 0x00700000>;
> > + label = "NOR bank4 Linux Kernel Image";
> > + };
> > +
> > + partition@4a00000 {
> > + /* 54MB for bank4 Ramdisk Root File System */
> > + reg = <0x04a00000 0x03600000>;
> > + label = "NOR bank4 Ramdisk Root File System Image";
> > + };
> > };
> > };
> >
> > --
> > 2.1.0.27.g96db324
> >
> >
> > _______________________________________________
> > linux-arm-kernel mailing list
> > linux-arm-kernel@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> >
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash
@ 2016-02-17 7:39 ` Huan Wang
0 siblings, 0 replies; 6+ messages in thread
From: Huan Wang @ 2016-02-17 7:39 UTC (permalink / raw)
To: linux-arm-kernel
> On Wed, Feb 03, 2016 at 04:16:44PM +0800, Alison Wang wrote:
> > According to the new mapping table, the partition for NOR flash is
> > added.
>
> How do you know that everyone using the board wants the NOR flash to be
> partitioned this way? It's really a matter of software configuration
> and may vary from system to system.
>
[Alison Wang] Yes, the different partition could be used too. I just want to
provide one partition way.
Best Regards,
Alison Wang
>
> >
> > 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
> >
> >
> > _______________________________________________
> > linux-arm-kernel mailing list
> > linux-arm-kernel at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> >
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-02-17 7:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-03 8:16 [PATCH] dts: ls102xa: ifc: Add the partition for NOR flash Alison Wang
2016-02-03 8:16 ` Alison Wang
2016-02-14 3:44 ` Shawn Guo
2016-02-14 3:44 ` Shawn Guo
2016-02-17 7:39 ` Huan Wang
2016-02-17 7:39 ` Huan Wang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.