@@ -166,18 +166,24 @@ &fmc {
status = "okay";
flash@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@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
};
};
@@ -1023,6 +1029,7 @@ &spi2 {
flash@0 {
compatible = "jedec,spi-nor";
+ reg = <0>;
label = "pnor";
spi-max-frequency = <12000000>;
spi-tx-bus-width = <2>;
@@ -314,17 +314,23 @@ fixed-link {
&fmc {
status = "okay";
flash@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@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
};
};
@@ -334,10 +340,13 @@ &spi2 {
pinctrl-0 = <&pinctrl_spi2_default>;
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
status = "okay";
m25p,fast-read;
label = "pnor";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
};
};
@@ -170,17 +170,23 @@ &mac3 {
&fmc {
status = "okay";
flash@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@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
};
};
@@ -189,18 +189,24 @@ &ehci0 {
&fmc {
status = "okay";
flash@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@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
};
};
@@ -82,6 +82,8 @@ &rtc {
&fmc {
status = "okay";
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
status = "okay";
m25p,fast-read;
label = "bmc";
@@ -90,6 +92,8 @@ flash@0 {
#include "openbmc-flash-layout-64.dtsi"
};
flash@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "bmc2";
@@ -139,18 +139,24 @@ &fmc {
status = "okay";
flash@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@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,6 +167,8 @@ &spi2 {
pinctrl-0 = <&pinctrl_spi2_default>;
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
status = "okay";
m25p,fast-read;
label = "pnor";
@@ -161,17 +161,23 @@ &mdio3 {
&fmc {
status = "okay";
flash@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@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
};
};
@@ -128,18 +128,24 @@ &fmc {
status = "okay";
flash@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@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
};
};
@@ -969,6 +975,8 @@ &spi2 {
status = "okay";
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
m25p,fast-read;
label = "pnor";
spi-max-frequency = <12000000>;
@@ -117,20 +117,26 @@ &fmc {
status = "okay";
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
label = "bmc";
spi-max-frequency = <50000000>;
m25p,fast-read;
status = "okay";
+ spi-rx-bus-width = <2>;
#include "openbmc-flash-layout-128.dtsi"
};
flash@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
label = "alt-bmc";
spi-max-frequency = <50000000>;
m25p,fast-read;
status = "okay";
+ spi-rx-bus-width = <2>;
#include "openbmc-flash-layout-128-alt.dtsi"
};
};
@@ -173,18 +173,24 @@ &fmc {
status = "okay";
flash@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@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
};
};
@@ -1867,6 +1873,8 @@ &spi2 {
status = "okay";
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
m25p,fast-read;
label = "pnor";
spi-max-frequency = <12000000>;
@@ -301,20 +301,26 @@ &fmc {
status = "okay";
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
label = "bmc";
spi-max-frequency = <50000000>;
m25p,fast-read;
status = "okay";
+ spi-rx-bus-width = <2>;
#include "openbmc-flash-layout-128.dtsi"
};
flash@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
label = "alt-bmc";
spi-max-frequency = <50000000>;
m25p,fast-read;
status = "okay";
+ spi-rx-bus-width = <2>;
#include "openbmc-flash-layout-128-alt.dtsi"
};
};
@@ -2851,6 +2857,8 @@ &spi2 {
status = "okay";
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
label = "pnor";
spi-max-frequency = <12000000>;
spi-rx-bus-width = <2>;
@@ -2861,6 +2869,8 @@ flash@0 {
};
flash@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
label = "e810";
spi-max-frequency = <12000000>;
spi-rx-bus-width = <2>;
@@ -162,6 +162,8 @@ &mac3 {
&fmc {
status = "okay";
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
status = "okay";
m25p,fast-read;
label = "bmc";
@@ -171,6 +173,8 @@ flash@0 {
#include "openbmc-flash-layout-128.dtsi"
};
flash@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
@@ -128,18 +128,24 @@ &fmc {
status = "okay";
flash@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@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "alt-bmc";
spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
};
};
@@ -1028,6 +1034,8 @@ &spi2 {
status = "okay";
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
m25p,fast-read;
label = "pnor";
spi-max-frequency = <12000000>;
@@ -51,17 +51,25 @@ &fmc {
status = "okay";
flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
status = "okay";
m25p,fast-read;
label = "spi0.0";
+ spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
#include "facebook-bmc-flash-layout-128.dtsi"
};
flash@1 {
+ compatible = "jedec,spi-nor";
+ reg = <1>;
status = "okay";
m25p,fast-read;
label = "spi0.1";
+ spi-max-frequency = <50000000>;
+ spi-rx-bus-width = <2>;
partitions {
compatible = "fixed-partitions";
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@nvidia.com> --- Changes in v2: Add the missing compatible and reg properties for Ventura2's four flash nodes, plus spi-rx-bus-width for its two FMC flashes. .../boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts | 7 +++++++ .../boot/dts/aspeed/aspeed-bmc-facebook-bletchley.dts | 9 +++++++++ .../boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts | 6 ++++++ .../boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts | 6 ++++++ .../boot/dts/aspeed/aspeed-bmc-facebook-greatlakes.dts | 4 ++++ arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 8 ++++++++ .../boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 6 ++++++ .../boot/dts/aspeed/aspeed-bmc-facebook-rainiera6.dts | 8 ++++++++ .../boot/dts/aspeed/aspeed-bmc-facebook-sanmiguel.dts | 6 ++++++ .../dts/aspeed/aspeed-bmc-facebook-santabarbara.dts | 8 ++++++++ .../boot/dts/aspeed/aspeed-bmc-facebook-ventura2.dts | 10 ++++++++++ .../boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 4 ++++ .../boot/dts/aspeed/aspeed-bmc-facebook-yosemite5.dts | 8 ++++++++ .../dts/aspeed/ast2600-facebook-netbmc-common.dtsi | 8 ++++++++ 14 files changed, 98 insertions(+)