summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <[email protected]>2018-01-23 17:15:04 +0100
committerJagan Teki <[email protected]>2018-01-24 12:03:43 +0530
commite4a06fa3308926ca6997d49b888baf8cc903e6f3 (patch)
tree78b0e146ce4841825c046f93939987cb495020da /arch
parent26cee0ecc7cff7eec9ce8efce1125d12d60e928b (diff)
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 <[email protected]> Reviewed-by: Daniel Schwierzeck <[email protected]> Reviewed-by: Jagan Teki <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/dts/sagem,[email protected]12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/dts/sagem,[email protected] b/arch/mips/dts/sagem,[email protected]
index be15fe55519..dd0e5b8b7c2 100644
--- a/arch/mips/dts/sagem,[email protected]
+++ b/arch/mips/dts/sagem,[email protected]
@@ -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";