mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
46 lines
1.4 KiB
Diff
46 lines
1.4 KiB
Diff
|
From bffed3d4abcd32ba6d492a9bd7ebe81dc92eaa9a Mon Sep 17 00:00:00 2001
|
||
|
From: Ellie Reeves <ellierevves@gmail.com>
|
||
|
Date: Sun, 25 Mar 2018 21:57:36 +0200
|
||
|
Subject: [PATCH] arm64: dts: armada-3720-espressobin: wire up spi flash
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
This is the storage the machine boots from by default. The partitioning
|
||
|
is taken from the U-Boot that is shipped with the board. There is some
|
||
|
more space on the flash that isn't used.
|
||
|
|
||
|
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com>
|
||
|
Signed-off-by: Ellie Reeves <ellierevves@gmail.com>
|
||
|
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|
||
|
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
|
||
|
|
||
|
[drop partitions, not every U-Boot has same layout]
|
||
|
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
|
||
|
---
|
||
|
.../dts/marvell/armada-3720-espressobin.dts | 13 +++++++++++++
|
||
|
1 file changed, 13 insertions(+)
|
||
|
|
||
|
--- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
|
||
|
+++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
|
||
|
@@ -96,6 +96,19 @@
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+&spi0 {
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ flash@0 {
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <1>;
|
||
|
+ reg = <0>;
|
||
|
+ compatible = "winbond,w25q32dw", "jedec,spi-flash";
|
||
|
+ spi-max-frequency = <104000000>;
|
||
|
+ m25p,fast-read;
|
||
|
+ };
|
||
|
+};
|
||
|
+
|
||
|
/* Exported on the micro USB connector J5 through an FTDI */
|
||
|
&uart0 {
|
||
|
status = "okay";
|