All of lore.kernel.org
 help / color / mirror / Atom feed
From: rentao.bupt@gmail.com
To: Rob Herring <robh+dt@kernel.org>, Joel Stanley <joel@jms.id.au>,
	Andrew Jeffery <andrew@aj.id.au>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	openbmc@lists.ozlabs.org, taoren@fb.com
Cc: Tao Ren <rentao.bupt@gmail.com>
Subject: [PATCH 3/5] ARM: dts: aspeed: yamp: Set 32MB FMC flash layout
Date: Mon, 24 Aug 2020 14:19:46 -0700	[thread overview]
Message-ID: <20200824211948.12852-4-rentao.bupt@gmail.com> (raw)
In-Reply-To: <20200824211948.12852-1-rentao.bupt@gmail.com>

From: Tao Ren <rentao.bupt@gmail.com>

Set 32MB FMC flash layout in Yamp device tree explicitly because flash
layout settings were removed from "ast2500-facebook-netbmc-common.dtsi".

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts
index fe2e11c2da15..5e6105874217 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts
@@ -108,3 +108,20 @@
 &i2c13 {
 	status = "okay";
 };
+
+&fmc_flash0 {
+#include "facebook-bmc-flash-layout.dtsi"
+};
+
+&fmc_flash1 {
+	partitions {
+		compatible = "fixed-partitions";
+		#address-cells = <1>;
+		#size-cells = <1>;
+
+		flash1@0 {
+			reg = <0x0 0x2000000>;
+			label = "flash1";
+		};
+	};
+};
-- 
2.17.1


WARNING: multiple messages have this Message-ID (diff)
From: rentao.bupt@gmail.com
To: Rob Herring <robh+dt@kernel.org>, Joel Stanley <joel@jms.id.au>,
	Andrew Jeffery <andrew@aj.id.au>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	openbmc@lists.ozlabs.org, taoren@fb.com
Cc: Tao Ren <rentao.bupt@gmail.com>
Subject: [PATCH 3/5] ARM: dts: aspeed: yamp: Set 32MB FMC flash layout
Date: Mon, 24 Aug 2020 14:19:46 -0700	[thread overview]
Message-ID: <20200824211948.12852-4-rentao.bupt@gmail.com> (raw)
In-Reply-To: <20200824211948.12852-1-rentao.bupt@gmail.com>

From: Tao Ren <rentao.bupt@gmail.com>

Set 32MB FMC flash layout in Yamp device tree explicitly because flash
layout settings were removed from "ast2500-facebook-netbmc-common.dtsi".

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts
index fe2e11c2da15..5e6105874217 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts
@@ -108,3 +108,20 @@
 &i2c13 {
 	status = "okay";
 };
+
+&fmc_flash0 {
+#include "facebook-bmc-flash-layout.dtsi"
+};
+
+&fmc_flash1 {
+	partitions {
+		compatible = "fixed-partitions";
+		#address-cells = <1>;
+		#size-cells = <1>;
+
+		flash1@0 {
+			reg = <0x0 0x2000000>;
+			label = "flash1";
+		};
+	};
+};
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2020-08-24 21:20 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 21:19 [PATCH 0/5] ARM: dts: aspeed: Add Facebook Wedge400 (AST2500) BMC rentao.bupt
2020-08-24 21:19 ` rentao.bupt
2020-08-24 21:19 ` [PATCH 1/5] ARM: dts: aspeed: Remove flash layout from Facebook AST2500 Common dtsi rentao.bupt
2020-08-24 21:19   ` rentao.bupt
2020-08-25 14:16   ` Patrick Williams
2020-08-25 14:16     ` Patrick Williams
2020-08-24 21:19 ` [PATCH 2/5] ARM: dts: aspeed: cmm: Set 32MB FMC flash layout rentao.bupt
2020-08-24 21:19   ` rentao.bupt
2020-08-25 14:16   ` Patrick Williams
2020-08-25 14:16     ` Patrick Williams
2020-08-24 21:19 ` rentao.bupt [this message]
2020-08-24 21:19   ` [PATCH 3/5] ARM: dts: aspeed: yamp: " rentao.bupt
2020-08-25 14:17   ` Patrick Williams
2020-08-25 14:17     ` Patrick Williams
2020-08-24 21:19 ` [PATCH 4/5] ARM: dts: aspeed: minipack: Update 64MB " rentao.bupt
2020-08-24 21:19   ` rentao.bupt
2020-08-25 14:18   ` Patrick Williams
2020-08-25 14:18     ` Patrick Williams
2020-08-25 20:26     ` Tao Ren
2020-08-25 20:26       ` Tao Ren
2020-08-24 21:19 ` [PATCH 5/5] ARM: dts: aspeed: Add Facebook Wedge400 BMC rentao.bupt
2020-08-24 21:19   ` rentao.bupt
2020-08-25  4:07   ` Joel Stanley
2020-08-25  4:07     ` Joel Stanley
2020-08-25  4:07     ` Joel Stanley
2020-08-25 20:17     ` Tao Ren
2020-08-25 20:17       ` Tao Ren
2023-12-20  8:27   ` Lukas Wunner
2023-12-20  8:27     ` Lukas Wunner
2024-01-03  6:04     ` Tao Ren
2024-01-03  6:04       ` Tao Ren
2024-01-03  6:04       ` Tao Ren

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=20200824211948.12852-4-rentao.bupt@gmail.com \
    --to=rentao.bupt@gmail.com \
    --cc=andrew@aj.id.au \
    --cc=devicetree@vger.kernel.org \
    --cc=joel@jms.id.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=openbmc@lists.ozlabs.org \
    --cc=robh+dt@kernel.org \
    --cc=taoren@fb.com \
    /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 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.