[PATCH 2/8] ARM: dts: aspeed: ibm: Declare SPI NOR flashes on boards
Jacky Huang
jackyhuang at nvidia.com
Thu Aug 13 03:22:27 PDT 2026
Declare jedec,spi-nor flash nodes with the properties previously
inherited from aspeed-g6.dtsi stubs. Keep status = "okay" so these
boards stay enabled while the SoC stubs still exist.
Signed-off-by: Jacky Huang <jackyhuang at nvidia.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-sbp1.dts | 6 ++++++
arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts | 9 +++++++++
2 files changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-sbp1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-sbp1.dts
index dbadba8eb698..df45f619273f 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-sbp1.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-sbp1.dts
@@ -1551,20 +1551,26 @@ &lpc_snoop {
&fmc {
status = "okay";
flash at 0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
status = "okay";
m25p,fast-read;
label = "bmc";
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
+ spi-max-frequency = <50000000>;
#include "openbmc-flash-layout-64.dtsi"
};
flash at 1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
+ spi-max-frequency = <50000000>;
#include "openbmc-flash-layout-64-alt.dtsi"
};
};
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts
index 6fe7023599e8..d886f24789b1 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts
@@ -140,18 +140,24 @@ &gpio0 {
&fmc {
status = "okay";
flash at 0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
status = "okay";
m25p,fast-read;
label = "bmc";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
#include "openbmc-flash-layout-128.dtsi"
};
flash at 1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
};
};
@@ -161,10 +167,13 @@ &spi1 {
pinctrl-0 = <&pinctrl_spi1_default>;
flash at 0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
status = "okay";
m25p,fast-read;
label = "pnor";
spi-max-frequency = <100000000>;
+ spi-rx-bus-width = <2>;
};
};
--
2.43.0
More information about the linux-arm-kernel
mailing list