Commit e4a06fa3 authored by Álvaro Fernández Rojas's avatar Álvaro Fernández Rojas Committed by Jagan Teki

mips: bmips: enable the SPI flash on the Sagem F@ST1704

It's a Winbond (w25x32) 4 MB SPI flash.
Signed-off-by: default avatarÁlvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Daniel Schwierzeck's avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 26cee0ec
......@@ -44,6 +44,18 @@
status = "okay";
};
&spi {
status = "okay";
spi-flash@0 {
compatible = "spi-flash";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
spi-max-frequency = <20000000>;
};
};
&uart0 {
u-boot,dm-pre-reloc;
status = "okay";
......
......@@ -26,6 +26,8 @@ CONFIG_CMD_MEMINFO=y
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
# CONFIG_CMD_LOADS is not set
CONFIG_CMD_SF=y
CONFIG_CMD_SPI=y
# CONFIG_CMD_NET is not set
# CONFIG_CMD_NFS is not set
# CONFIG_CMD_MISC is not set
......@@ -34,8 +36,14 @@ CONFIG_DM_GPIO=y
CONFIG_BCM6345_GPIO=y
CONFIG_LED=y
CONFIG_LED_GPIO=y
CONFIG_DM_SPI_FLASH=y
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_WINBOND=y
CONFIG_SPI_FLASH_MTD=y
CONFIG_DM_RESET=y
CONFIG_RESET_BCM6345=y
# CONFIG_SPL_SERIAL_PRESENT is not set
CONFIG_DM_SERIAL=y
CONFIG_BCM6345_SERIAL=y
CONFIG_DM_SPI=y
CONFIG_BCM63XX_SPI=y
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