summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2018-01-20 04:13:41 +0300
committerJagan Teki <jagan@amarulasolutions.com>2018-01-24 09:34:07 +0300
commit13129064161c1e90cb6f9e53c9501dc98a1f3c2e (patch)
treeaed42e152d62066f7b74245f2f14453cf7ade8ab /arch/mips
parent727839b4913e5cc94142d1dea14829010df59c72 (diff)
downloadu-boot-13129064161c1e90cb6f9e53c9501dc98a1f3c2e.tar.xz
mips: bmips: enable the SPI flash on the Comtrend AR-5387un
It's a Macronix (mx25l12805d) 16 MB SPI flash. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/dts/comtrend,ar-5387un.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/dts/comtrend,ar-5387un.dts b/arch/mips/dts/comtrend,ar-5387un.dts
index 73f2b49b76..6067881a78 100644
--- a/arch/mips/dts/comtrend,ar-5387un.dts
+++ b/arch/mips/dts/comtrend,ar-5387un.dts
@@ -51,6 +51,18 @@
};
};
+&spi {
+ status = "okay";
+
+ spi-flash@0 {
+ compatible = "spi-flash";
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ spi-max-frequency = <33333334>;
+ };
+};
+
&uart0 {
u-boot,dm-pre-reloc;
status = "okay";