Commit f3e59962 authored by Tao Ren's avatar Tao Ren Committed by Joel Stanley

ARM: dts: aspeed-g4: Set spi-max-frequency for all flashes

Set "spi-max-frequency" to 50 MHz for all the flashes under the FMC
controller to ensure the clock frequency is calculated correctly.
Suggested-by: default avatarCédric Le Goater <clg@kaod.org>
Tested-by: default avatarJae Hyun Yoo <quic_jaehyoo@quicinc.com>
Signed-off-by: default avatarTao Ren <rentao.bupt@gmail.com>
Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
Link: https://lore.kernel.org/r/20220509175616.1089346-11-clg@kaod.orgSigned-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent 4a92d02f
...@@ -72,24 +72,28 @@ flash@1 { ...@@ -72,24 +72,28 @@ flash@1 {
reg = < 1 >; reg = < 1 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-rx-bus-width = <2>; spi-rx-bus-width = <2>;
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-rx-bus-width = <2>; spi-rx-bus-width = <2>;
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
flash@3 { flash@3 {
reg = < 3 >; reg = < 3 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-rx-bus-width = <2>; spi-rx-bus-width = <2>;
spi-max-frequency = <50000000>;
status = "disabled"; status = "disabled";
}; };
flash@4 { flash@4 {
reg = < 4 >; reg = < 4 >;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-rx-bus-width = <2>; spi-rx-bus-width = <2>;
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