linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: mvebu: Add support for SPI controller in Armada 370/XP
@ 2013-02-04 16:38 Ezequiel Garcia
  2013-02-04 16:38 ` [PATCH 2/2] ARM: mvebu: Update defconfig to select SPI support Ezequiel Garcia
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ezequiel Garcia @ 2013-02-04 16:38 UTC (permalink / raw)
  To: linux-arm-kernel

The Armada 370 and Armada XP SoC has an SPI controller.
This patch adds support for this controller in Armada 370
and Armada XP SoC common device tree files.

Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Lior Amsalem <alior@marvell.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 arch/arm/boot/dts/armada-370-xp.dtsi |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index 28276fe..22340d5 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -145,6 +145,28 @@
 			clocks = <&gateclk 17>;
 			status = "disabled";
 		};
+
+		spi0: spi at d0010600 {
+			compatible = "marvell,orion-spi";
+			reg = <0xd0010600 0x50>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			cell-index = <0>;
+			interrupts = <30>;
+			clocks = <&coreclk 0>;
+			status = "disabled";
+		};
+
+		spi1: spi at d0010680 {
+			compatible = "marvell,orion-spi";
+			reg = <0xd0010680 0x50>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			cell-index = <1>;
+			interrupts = <92>;
+			clocks = <&coreclk 0>;
+			status = "disabled";
+		};
 	};
 };
 
-- 
1.7.8.6

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-02-05 15:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-04 16:38 [PATCH 1/2] ARM: mvebu: Add support for SPI controller in Armada 370/XP Ezequiel Garcia
2013-02-04 16:38 ` [PATCH 2/2] ARM: mvebu: Update defconfig to select SPI support Ezequiel Garcia
2013-02-05 15:40   ` Gregory CLEMENT
2013-02-04 16:51 ` [PATCH 0/2] ARM: mvebu: Add support for SPI controller in Armada 370/XP Ezequiel Garcia
2013-02-04 18:37   ` Jason Cooper
2013-02-04 19:29     ` Ezequiel Garcia
2013-02-04 19:47       ` Jason Cooper
2013-02-04 20:01         ` Ezequiel Garcia
2013-02-04 19:03   ` Andrew Lunn
2013-02-04 19:33     ` Ezequiel Garcia
2013-02-05 13:57 ` [PATCH 1/2] " Gregory CLEMENT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).