From: rentao.bupt@gmail.com
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Joel Stanley <joel@jms.id.au>,
Andrew Jeffery <andrew@codeconstruct.com.au>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
Andrew Lunn <andrew@lunn.ch>, Tao Ren <taoren@meta.com>
Cc: Tao Ren <rentao.bupt@gmail.com>
Subject: [PATCH v2 6/9] ARM: dts: aspeed: Move flash layout out of Facebook netbmc-common.dtsi
Date: Sat, 5 Jul 2025 21:23:56 -0700 [thread overview]
Message-ID: <20250706042404.138128-7-rentao.bupt@gmail.com> (raw)
In-Reply-To: <20250706042404.138128-1-rentao.bupt@gmail.com>
From: Tao Ren <rentao.bupt@gmail.com>
Move BMC flash layout from ast2600-facebook-netbmc-common.dtsi to each
BMC platform so it's easier to apply different layout settings.
The fuji data0 partition was already extended to 64MB in Meta
environment. Elbert flash layout is not changed.
Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
Changes in v2:
- None (the patch is introduced in v2).
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-elbert.dts | 6 ++++++
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-fuji.dts | 6 ++++++
.../arm/boot/dts/aspeed/ast2600-facebook-netbmc-common.dtsi | 2 --
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-elbert.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-elbert.dts
index 74f3c67e0eff..673cabbec92e 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-elbert.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-elbert.dts
@@ -50,6 +50,12 @@ spi_gpio: spi {
};
};
+&fmc {
+ flash@0 {
+#include "facebook-bmc-flash-layout-128.dtsi"
+ };
+};
+
&lpc_ctrl {
status = "okay";
};
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-fuji.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-fuji.dts
index 840d19d6b1d4..71f58ad1ff06 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-fuji.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-fuji.dts
@@ -223,6 +223,12 @@ eeprom@2 {
};
};
+&fmc {
+ flash@0 {
+#include "facebook-bmc-flash-layout-128-data64.dtsi"
+ };
+};
+
&i2c0 {
multi-master;
bus-frequency = <1000000>;
diff --git a/arch/arm/boot/dts/aspeed/ast2600-facebook-netbmc-common.dtsi b/arch/arm/boot/dts/aspeed/ast2600-facebook-netbmc-common.dtsi
index 208cf6567ed4..4f819bf8c909 100644
--- a/arch/arm/boot/dts/aspeed/ast2600-facebook-netbmc-common.dtsi
+++ b/arch/arm/boot/dts/aspeed/ast2600-facebook-netbmc-common.dtsi
@@ -54,8 +54,6 @@ flash@0 {
status = "okay";
m25p,fast-read;
label = "spi0.0";
-
-#include "facebook-bmc-flash-layout-128.dtsi"
};
flash@1 {
--
2.47.1
next prev parent reply other threads:[~2025-07-06 4:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-06 4:23 [PATCH v2 0/9] ARM: dts: aspeed: Add Meta Darwin dts rentao.bupt
2025-07-06 4:23 ` [PATCH v2 1/9] ARM: dts: aspeed: wedge400: Fix DTB warnings rentao.bupt
2025-07-06 4:23 ` [PATCH v2 2/9] ARM: dts: aspeed: fuji: " rentao.bupt
2025-07-06 4:23 ` [PATCH v2 3/9] ARM: dts: aspeed: Fix DTB warnings in ast2600-facebook-netbmc-common.dtsi rentao.bupt
2025-07-06 4:23 ` [PATCH v2 4/9] ARM: dts: aspeed: Add facebook-bmc-flash-layout-128-data64.dtsi rentao.bupt
2025-07-06 4:23 ` [PATCH v2 5/9] ARM: dts: aspeed: wedge400: Extend data0 partition to 64MB rentao.bupt
2025-07-21 1:12 ` Andrew Jeffery
2025-07-21 5:55 ` Tao Ren
2025-07-06 4:23 ` rentao.bupt [this message]
2025-07-21 1:13 ` [PATCH v2 6/9] ARM: dts: aspeed: Move flash layout out of Facebook netbmc-common.dtsi Andrew Jeffery
2025-07-06 4:23 ` [PATCH v2 7/9] ARM: dts: aspeed: Move eMMC out of ast2600-facebook-netbmc-common.dtsi rentao.bupt
2025-07-06 4:23 ` [PATCH v2 8/9] dt-bindings: arm: aspeed: add Facebook Darwin board rentao.bupt
2025-07-06 7:24 ` Krzysztof Kozlowski
2025-07-06 4:23 ` [PATCH v2 9/9] ARM: dts: aspeed: Add Facebook Darwin (AST2600) BMC rentao.bupt
2025-07-06 4:37 ` [PATCH v2 0/9] ARM: dts: aspeed: Add Meta Darwin dts Tao Ren
2025-07-07 17:55 ` Rob Herring (Arm)
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=20250706042404.138128-7-rentao.bupt@gmail.com \
--to=rentao.bupt@gmail.com \
--cc=andrew@codeconstruct.com.au \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=taoren@meta.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).