summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
diff options
context:
space:
mode:
authorEllie Reeves <ellierevves@gmail.com>2018-03-25 21:57:36 +0200
committerGregory CLEMENT <gregory.clement@bootlin.com>2018-04-27 17:19:04 +0200
commitbffed3d4abcd32ba6d492a9bd7ebe81dc92eaa9a (patch)
tree67ebdb30fa02bb216986c565a79b14c3338b7080 /arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
parent60cc43fc888428bb2f18f08997432d426a243338 (diff)
arm64: dts: armada-3720-espressobin: wire up spi flash
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>
Diffstat (limited to 'arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts')
-rw-r--r--arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
index ef7fd2ca2515..3ab25ad402b9 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
@@ -63,6 +63,33 @@
status = "okay";
};
+&spi0 {
+ status = "okay";
+
+ flash@0 {
+ reg = <0>;
+ compatible = "winbond,w25q32dw", "jedec,spi-flash";
+ spi-max-frequency = <104000000>;
+ m25p,fast-read;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "uboot";
+ reg = <0 0x180000>;
+ };
+
+ partition@180000 {
+ label = "ubootenv";
+ reg = <0x180000 0x10000>;
+ };
+ };
+ };
+};
+
/* Exported on the micro USB connector J5 through an FTDI */
&uart0 {
pinctrl-names = "default";