]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm: mvebu: Add SPI flash on Armada XP-DB board
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 5 Feb 2013 20:54:54 +0000 (21:54 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sat, 16 Feb 2013 15:17:19 +0000 (15:17 +0000)
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 <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-xp-db.dts

index c84e1feddd68439f9c4a438a3cf4d7b26c22d9ac..e83505e4c236c242eeb13c1094961b622a7646a8 100644 (file)
                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>;
+                       };
+               };
        };
 };