From: Gregory CLEMENT Date: Tue, 5 Feb 2013 20:54:54 +0000 (+0100) Subject: arm: mvebu: Add SPI flash on Armada XP-DB board X-Git-Tag: firefly_0821_release~3680^2~988^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1f24a21f8e8acd6e85b3629f41e2eafbcd86d85c;p=firefly-linux-kernel-4.4.55.git 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: Gregory CLEMENT Signed-off-by: Jason Cooper --- diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts index c84e1feddd68..e83505e4c236 100644 --- a/arch/arm/boot/dts/armada-xp-db.dts +++ b/arch/arm/boot/dts/armada-xp-db.dts @@ -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>; + }; + }; }; };