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 2/5] ARM: dts: aspeed: cmm: Set 32MB FMC flash layout
Date: Mon, 24 Aug 2020 14:19:45 -0700 [thread overview]
Message-ID: <20200824211948.12852-3-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 CMM device tree explicitly because the 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-cmm.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
index 7bc7df7ed428..2fb8b147f489 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
@@ -1571,3 +1571,20 @@
&sdhci1 {
status = "disabled";
};
+
+&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
next prev parent reply other threads:[~2020-08-24 21:21 UTC|newest]
Thread overview: 14+ 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 ` [PATCH 1/5] ARM: dts: aspeed: Remove flash layout from Facebook AST2500 Common dtsi rentao.bupt
2020-08-25 14:16 ` Patrick Williams
2020-08-24 21:19 ` rentao.bupt [this message]
2020-08-25 14:16 ` [PATCH 2/5] ARM: dts: aspeed: cmm: Set 32MB FMC flash layout Patrick Williams
2020-08-24 21:19 ` [PATCH 3/5] ARM: dts: aspeed: yamp: " rentao.bupt
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-25 14:18 ` Patrick Williams
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-25 4:07 ` Joel Stanley
2020-08-25 20:17 ` Tao Ren
[not found] ` <20231220082714.GA17989@wunner.de>
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-3-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 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).