Skip to content

Commit

Permalink
arm: mvebu: Add SPI flash on Armada XP-DB board
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gregory CLEMENT authored and Arnd Bergmann committed Feb 28, 2013
1 parent 9dc3e34 commit 1f24a21
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/armada-xp-db.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};
};
};

0 comments on commit 1f24a21

Please sign in to comment.