diff mbox series

[dev-5.0,v2,3/4] ARM: dts: nuvoton: Add Quanta GSJ BMC machine.

Message ID 20190412140132.39764-3-fran.hsu@quantatw.com
State Changes Requested, archived
Headers show
Series [dev-5.0,v2,1/4] ARM: dts: nuvoton: Add Quanta GSJ BMC machine | expand

Commit Message

Fran Hsu (徐誌謙) April 12, 2019, 2:01 p.m. UTC
From: FranHsu <Fran.Hsu@quantatw.com>

Add a flash layout dtsi file for Quanta GSJ BMC.

Signed-off-by: FranHsu <Fran.Hsu@quantatw.com>
---
 .../dts/nuvoton-npcm730-gsj-flash-layout.dtsi | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 arch/arm/boot/dts/nuvoton-npcm730-gsj-flash-layout.dtsi

Comments

Benjamin Fair May 8, 2019, 7:15 p.m. UTC | #1
On Fri, Apr 12, 2019 at 7:01 AM <fran.hsu@quantatw.com> wrote:
>
> From: FranHsu <Fran.Hsu@quantatw.com>
>
> Add a flash layout dtsi file for Quanta GSJ BMC.
>
> Signed-off-by: FranHsu <Fran.Hsu@quantatw.com>

Reviewed-by: Benjamin Fair <benjaminfair@google.com>

> ---
>  .../dts/nuvoton-npcm730-gsj-flash-layout.dtsi | 36 +++++++++++++++++++
>  1 file changed, 36 insertions(+)
>  create mode 100644 arch/arm/boot/dts/nuvoton-npcm730-gsj-flash-layout.dtsi
>
> diff --git a/arch/arm/boot/dts/nuvoton-npcm730-gsj-flash-layout.dtsi b/arch/arm/boot/dts/nuvoton-npcm730-gsj-flash-layout.dtsi
> new file mode 100644
> index 000000000000..6c406fb8504c
> --- /dev/null
> +++ b/arch/arm/boot/dts/nuvoton-npcm730-gsj-flash-layout.dtsi
> @@ -0,0 +1,36 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +
> +partitions@80000000 {
> +               compatible = "fixed-partitions";
> +               #address-cells = <1>;
> +               #size-cells = <1>;
> +               bmc@0{
> +                       label = "bmc";
> +                       reg = <0x000000 0x2000000>;
> +               };
> +               u-boot@0 {
> +                       label = "u-boot";
> +                       reg = <0x0000000 0x80000>;
> +                       read-only;
> +               };
> +               u-boot-env@100000{
> +                       label = "u-boot-env";
> +                       reg = <0x00100000 0x40000>;
> +               };
> +               kernel@200000 {
> +                       label = "kernel";
> +                       reg = <0x0200000 0x600000>;
> +               };
> +               rofs@800000 {
> +                       label = "rofs";
> +                       reg = <0x800000 0x1400000>;
> +               };
> +               rwfs@1c00000 {
> +                       label = "rwfs";
> +                       reg = <0x1c00000 0x300000>;
> +               };
> +               reserved@1f00000 {
> +                       label = "reserved";
> +                       reg = <0x1f00000 0x100000>;
> +               };
> +};
> --
> 2.21.0
>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nuvoton-npcm730-gsj-flash-layout.dtsi b/arch/arm/boot/dts/nuvoton-npcm730-gsj-flash-layout.dtsi
new file mode 100644
index 000000000000..6c406fb8504c
--- /dev/null
+++ b/arch/arm/boot/dts/nuvoton-npcm730-gsj-flash-layout.dtsi
@@ -0,0 +1,36 @@ 
+// SPDX-License-Identifier: GPL-2.0+
+
+partitions@80000000 {
+		compatible = "fixed-partitions";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		bmc@0{
+			label = "bmc";
+			reg = <0x000000 0x2000000>;
+		};
+		u-boot@0 {
+			label = "u-boot";
+			reg = <0x0000000 0x80000>;
+			read-only;
+		};
+		u-boot-env@100000{
+			label = "u-boot-env";
+			reg = <0x00100000 0x40000>;
+		};
+		kernel@200000 {
+			label = "kernel";
+			reg = <0x0200000 0x600000>;
+		};
+		rofs@800000 {
+			label = "rofs";
+			reg = <0x800000 0x1400000>;
+		};
+		rwfs@1c00000 {
+			label = "rwfs";
+			reg = <0x1c00000 0x300000>;
+		};
+		reserved@1f00000 {
+			label = "reserved";
+			reg = <0x1f00000 0x100000>;
+		};
+};