Thread (136 messages) 136 messages, 12 authors, 2013-06-18
STALE4731d REVIEWED: 1 (0M)
Revisions (4)
  1. v1 [diff vs current]
  2. v2 current
  3. v3 [diff vs current]
  4. v4 [diff vs current]

[PATCH v2 6/9] ARM: mvebu: add pinctrl device in DT for Armada 370/XP SoCs

From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Date: 2012-08-22 08:24:16
Also in: linux-arm-kernel, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

From: Thomas Petazzoni <redacted>

The Armada 370 and XP SoCs have configurable muxing for a certain
number of their pins, controlled through a pinctrl driver.

The 'compatible' property is defined in the SoC-specific .dtsi files,
since the compatible string identifies the number of pins and other
SoC-specific properties.

Signed-off-by: Thomas Petazzoni <redacted>
Acked-by: Linus Walleij <redacted>
---
Cc: Thomas Petazzoni <redacted>
Cc: Grant Likely <redacted>
Cc: Rob Herring <redacted>
Cc: Rob Landley <redacted>
Cc: Russell King <redacted>
Cc: Lior Amsalem <redacted>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory CLEMENT <redacted>
Cc: Ben Dooks <redacted>
Cc: Linus Walleij <redacted>
Cc: Stephen Warren <redacted>
Cc: devicetree-discuss@lists.ozlabs.org
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
---
 arch/arm/boot/dts/armada-370-xp.dtsi |    7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index 16cc82c..54a944a 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -68,6 +68,13 @@
 			compatible = "marvell,armada-addr-decoding-controller";
 			reg = <0xd0020000 0x258>;
 		};
+
+                pinctrl@d0018000 {
+                               reg = <0xd0018000 0x38>;
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges;
+                };
 	};
 };
 
-- 
1.7.10.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help