Commit 876c5d89 authored by Cédric Le Goater's avatar Cédric Le Goater Committed by Joel Stanley

ARM: dts: aspeed: Add "spi-max-frequency" property

Keep the FMC controller chips at a safe 50 MHz rate and use 100 MHz
for the PNOR on the machines using a AST2500 SoC.
Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
Reviewed-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent b46aaf8a
...@@ -40,6 +40,7 @@ flash@0 { ...@@ -40,6 +40,7 @@ flash@0 {
status = "okay"; status = "okay";
m25p,fast-read; m25p,fast-read;
label = "bmc"; label = "bmc";
spi-max-frequency = <50000000>;
#include "openbmc-flash-layout.dtsi" #include "openbmc-flash-layout.dtsi"
}; };
}; };
...@@ -50,6 +51,7 @@ flash@0 { ...@@ -50,6 +51,7 @@ flash@0 {
status = "okay"; status = "okay";
m25p,fast-read; m25p,fast-read;
label = "pnor"; label = "pnor";
spi-max-frequency = <100000000>;
}; };
}; };
......
...@@ -87,6 +87,7 @@ flash@0 { ...@@ -87,6 +87,7 @@ flash@0 {
status = "okay"; status = "okay";
m25p,fast-read; m25p,fast-read;
label = "bmc"; label = "bmc";
spi-max-frequency = <50000000>;
#include "openbmc-flash-layout.dtsi" #include "openbmc-flash-layout.dtsi"
}; };
}; };
...@@ -99,6 +100,7 @@ &spi { ...@@ -99,6 +100,7 @@ &spi {
flash@0 { flash@0 {
status = "okay"; status = "okay";
m25p,fast-read; m25p,fast-read;
spi-max-frequency = <50000000>;
label = "pnor"; label = "pnor";
}; };
}; };
......
...@@ -112,6 +112,7 @@ flash@0 { ...@@ -112,6 +112,7 @@ flash@0 {
status = "okay"; status = "okay";
m25p,fast-read; m25p,fast-read;
label = "bmc"; label = "bmc";
spi-max-frequency = <50000000>;
#include "openbmc-flash-layout.dtsi" #include "openbmc-flash-layout.dtsi"
}; };
}; };
...@@ -125,6 +126,7 @@ flash@0 { ...@@ -125,6 +126,7 @@ flash@0 {
status = "okay"; status = "okay";
m25p,fast-read; m25p,fast-read;
label = "pnor"; label = "pnor";
spi-max-frequency = <100000000>;
}; };
}; };
......
...@@ -200,6 +200,7 @@ flash@0 { ...@@ -200,6 +200,7 @@ flash@0 {
status = "okay"; status = "okay";
label = "bmc"; label = "bmc";
m25p,fast-read; m25p,fast-read;
spi-max-frequency = <50000000>;
partitions { partitions {
#address-cells = < 1 >; #address-cells = < 1 >;
...@@ -224,6 +225,7 @@ flash@1 { ...@@ -224,6 +225,7 @@ flash@1 {
status = "okay"; status = "okay";
label = "alt-bmc"; label = "alt-bmc";
m25p,fast-read; m25p,fast-read;
spi-max-frequency = <50000000>;
partitions { partitions {
#address-cells = < 1 >; #address-cells = < 1 >;
...@@ -242,7 +244,6 @@ obmc-ubi@80000 { ...@@ -242,7 +244,6 @@ obmc-ubi@80000 {
label = "alt-obmc-ubi"; label = "alt-obmc-ubi";
}; };
}; };
}; };
}; };
...@@ -255,6 +256,7 @@ flash@0 { ...@@ -255,6 +256,7 @@ flash@0 {
status = "okay"; status = "okay";
label = "pnor"; label = "pnor";
m25p,fast-read; m25p,fast-read;
spi-max-frequency = <100000000>;
}; };
}; };
......
...@@ -130,6 +130,7 @@ flash@0 { ...@@ -130,6 +130,7 @@ flash@0 {
status = "okay"; status = "okay";
label = "bmc"; label = "bmc";
m25p,fast-read; m25p,fast-read;
spi-max-frequency = <50000000>;
#include "openbmc-flash-layout.dtsi" #include "openbmc-flash-layout.dtsi"
}; };
}; };
...@@ -143,6 +144,7 @@ flash@0 { ...@@ -143,6 +144,7 @@ flash@0 {
status = "okay"; status = "okay";
label = "pnor"; label = "pnor";
m25p,fast-read; m25p,fast-read;
spi-max-frequency = <100000000>;
}; };
}; };
......
...@@ -65,6 +65,7 @@ fmc: spi@1e620000 { ...@@ -65,6 +65,7 @@ fmc: spi@1e620000 {
flash@0 { flash@0 {
reg = < 0 >; reg = < 0 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
flash@1 { flash@1 {
...@@ -100,6 +101,7 @@ spi: spi@1e630000 { ...@@ -100,6 +101,7 @@ spi: spi@1e630000 {
flash@0 { flash@0 {
reg = < 0 >; reg = < 0 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
}; };
......
...@@ -72,16 +72,19 @@ fmc: spi@1e620000 { ...@@ -72,16 +72,19 @@ fmc: spi@1e620000 {
flash@0 { flash@0 {
reg = < 0 >; reg = < 0 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
flash@1 { flash@1 {
reg = < 1 >; reg = < 1 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
flash@2 { flash@2 {
reg = < 2 >; reg = < 2 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
}; };
...@@ -97,11 +100,13 @@ spi1: spi@1e630000 { ...@@ -97,11 +100,13 @@ spi1: spi@1e630000 {
flash@0 { flash@0 {
reg = < 0 >; reg = < 0 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
flash@1 { flash@1 {
reg = < 1 >; reg = < 1 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
}; };
...@@ -117,11 +122,13 @@ spi2: spi@1e631000 { ...@@ -117,11 +122,13 @@ spi2: spi@1e631000 {
flash@0 { flash@0 {
reg = < 0 >; reg = < 0 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
flash@1 { flash@1 {
reg = < 1 >; reg = < 1 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment