Adjust the setting for SPI flash of yosemite4
Subsystems (2)
v2 cover Adjust the setting for SPI flash of yosemite4
- v2
- Split the patches for different targets.
- v1
- Revise SPI flash to dual mode.
- Revise flash layout to 128MB.
Ricky CX Wu (2):
ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode
ARM: dts: aspeed: yosemite4: revise flash layout to 128MB
.../arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Signature · 1 line
2.25.1
PATCH v2 1/2 ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode
From: Ricky CX Wu <[email protected]>
Revise quad mode to dual mode to keep the write protect feature for the SPI flash because the WP pin is the same pin with IO2 pin in quad mode.
--- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +4 -2
@@ -105,7 +105,8 @@ flash at 0 { status = "okay"; m25p,fast-read; label = "bmc"; - spi-rx-bus-width = <4>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; #include "openbmc-flash-layout-64.dtsi" };
@@ -113,7 +114,8 @@ flash at 1 { status = "okay"; m25p,fast-read; label = "bmc2"; - spi-rx-bus-width = <4>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; }; };
Signature · 1 line
2.25.1
PATCH v2 2/2 ARM: dts: aspeed: yosemite4: revise flash layout to 128MB
In reply to Delphine CC ChiuFrom: Ricky CX Wu <[email protected]>
Revise flash layout to 128MB since we are using 1GB flash memory in our project.
--- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +1 -1
@@ -108,7 +108,7 @@ flash at 0 { spi-tx-bus-width = <2>; spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; -#include "openbmc-flash-layout-64.dtsi" +#include "openbmc-flash-layout-128.dtsi" }; flash at 1 { status = "okay";
Signature · 1 line
2.25.1
Andrew Jeffery
maintainerQuoted 11 lines · Delphine CC Chiu
- v2
- Split the patches for different targets.
- v1
- Revise SPI flash to dual mode.
- Revise flash layout to 128MB.Ricky CX Wu (2):
ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode
ARM: dts: aspeed: yosemite4: revise flash layout to 128MB[...]
Thanks, I've applied this to be picked up through the BMC tree.
--
Andrew Jeffery <[email protected]>