Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f24a21f authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Arnd Bergmann
Browse files

arm: mvebu: Add SPI flash on Armada XP-DB board



This patch add support for the SPI flash M25P64 which is present on
the Armada XP DB board. This flash stores the bootloader and its
environment.

Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 9dc3e346
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -109,5 +109,17 @@
		usb@d0052000 {
			status = "okay";
		};

		spi0: spi@d0010600 {
			status = "okay";

			spi-flash@0 {
				#address-cells = <1>;
				#size-cells = <1>;
				compatible = "m25p64";
				reg = <0>; /* Chip select 0 */
				spi-max-frequency = <20000000>;
			};
		};
	};
};