diff mbox

[1/2] ARM: tegra: trimslice: add gpio-poweroff node to DT

Message ID 1357152377-5918-1-git-send-email-swarren@wwwdotorg.org (mailing list archive)
State New, archived
Headers show

Commit Message

Stephen Warren Jan. 2, 2013, 6:46 p.m. UTC
From: Stephen Warren <swarren@nvidia.com>

... and disable tri-state from the pingroup that contains the poweroff
GPIO.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/boot/dts/tegra20-trimslice.dts |   10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Stephen Warren Jan. 2, 2013, 7:46 p.m. UTC | #1
On 01/02/2013 11:46 AM, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> ... and disable tri-state from the pingroup that contains the poweroff
> GPIO.

Applied to Tegra's for-3.9/dt branch.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/tegra20-trimslice.dts b/arch/arm/boot/dts/tegra20-trimslice.dts
index b70b4cb..4b6c486 100644
--- a/arch/arm/boot/dts/tegra20-trimslice.dts
+++ b/arch/arm/boot/dts/tegra20-trimslice.dts
@@ -249,6 +249,11 @@ 
 					"ld23_22";
 				nvidia,pull = <1>;
 			};
+			conf_spif {
+				nvidia,pins = "spif";
+				nvidia,pull = <1>;
+				nvidia,tristate = <0>;
+			};
 		};
 	};
 
@@ -322,6 +327,11 @@ 
 		bus-width = <4>;
 	};
 
+	poweroff {
+		compatible = "gpio-poweroff";
+		gpios = <&gpio 191 1>; /* gpio PX7, active low */
+	};
+
 	regulators {
 		compatible = "simple-bus";
 		#address-cells = <1>;