[PATCH 4/5] MIPS: tplink-mr3020.dts: add S25FL032PIF SPI flash chip
Antony Pavlov
antonynpavlov at gmail.com
Sat Apr 5 11:35:33 PDT 2014
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
arch/mips/dts/tplink-mr3020.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/mips/dts/tplink-mr3020.dts b/arch/mips/dts/tplink-mr3020.dts
index 5d613d8..7aeb740 100644
--- a/arch/mips/dts/tplink-mr3020.dts
+++ b/arch/mips/dts/tplink-mr3020.dts
@@ -14,3 +14,23 @@
&serial0 {
status = "okay";
};
+
+&spi {
+ num-chipselects = <1>;
+ status = "okay";
+
+ /* Spansion S25FL032PIF SPI flash */
+ spiflash: m25p80 at 0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "m25p80";
+ spi-max-frequency = <104000000>;
+ reg = <0>;
+ };
+};
+
+/ {
+ aliases {
+ spiflash = &spiflash;
+ };
+};
--
1.9.0
More information about the barebox
mailing list