From: Gregory CLEMENT Date: Tue, 5 Feb 2013 20:54:55 +0000 (+0100) Subject: arm: mvebu: Add SPI flash on Armada 370 DB board X-Git-Tag: next-20130220~18^2~5^2^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2f2057c728ba12cc2e5a348c155bf9038ae845ee;p=karo-tx-linux.git arm: mvebu: Add SPI flash on Armada 370 DB board This patch add support for the SPI flash MX25l25635E which is present on the Armada 370 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-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts index 3d93902048db..e34b280ce6ec 100644 --- a/arch/arm/boot/dts/armada-370-db.dts +++ b/arch/arm/boot/dts/armada-370-db.dts @@ -82,5 +82,17 @@ usb@d0051000 { status = "okay"; }; + + spi0: spi@d0010600 { + status = "okay"; + + spi-flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "mx25l25635e"; + reg = <0>; /* Chip select 0 */ + spi-max-frequency = <50000000>; + }; + }; }; };