Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9dc3e346 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Arnd Bergmann
Browse files

arm: mvebu: Add SPI flash on Armada XP-GP board



This patch adds an SPI master device node for Armada XP-GP board.
This master node is an SPI flash controller 'n25q128a13'.

Since there is no 'partitions' node declared, one full sized
partition named as the device will be created.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Lior Amsalem <alior@marvell.com>
Tested-by: default avatarGregory Clement <gregory.clement@free-electrons.com>
Signed-off-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: default avatarGregory Clement <gregory.clement@free-electrons.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent d5dc035e
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -97,5 +97,17 @@
			phy = <&phy3>;
			phy-mode = "rgmii-id";
		};

		spi0: spi@d0010600 {
			status = "okay";

			spi-flash@0 {
				#address-cells = <1>;
				#size-cells = <1>;
				compatible = "n25q128a13";
				reg = <0>; /* Chip select 0 */
				spi-max-frequency = <108000000>;
			};
		};
	};
};