arm: mvebu: Add SPI flash on Armada 370 DB board
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 5 Feb 2013 20:54:55 +0000 (21:54 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Feb 2013 17:57:15 +0000 (18:57 +0100)
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 <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-db.dts

index 3d93902..e34b280 100644 (file)
                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>;
+                       };
+               };
        };
 };