summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2018-01-23 19:15:04 +0300
committerJagan Teki <jagan@amarulasolutions.com>2018-01-24 09:33:43 +0300
commite4a06fa3308926ca6997d49b888baf8cc903e6f3 (patch)
tree78b0e146ce4841825c046f93939987cb495020da /arch/mips
parent26cee0ecc7cff7eec9ce8efce1125d12d60e928b (diff)
downloadu-boot-e4a06fa3308926ca6997d49b888baf8cc903e6f3.tar.xz
mips: bmips: enable the SPI flash on the Sagem F@ST1704
It's a Winbond (w25x32) 4 MB SPI flash. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/dts/sagem,f@st1704.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/dts/sagem,f@st1704.dts b/arch/mips/dts/sagem,f@st1704.dts
index be15fe5551..dd0e5b8b7c 100644
--- a/arch/mips/dts/sagem,f@st1704.dts
+++ b/arch/mips/dts/sagem,f@st1704.dts
@@ -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";