diff mbox

[4/5] ARM: dt: tegra: add the power gpio key to paz00 device tree

Message ID 71260c5a44e68a6f20e5b3d12952a8a701673919.1327776641.git.marvin24@gmx.de
State Accepted, archived
Headers show

Commit Message

Marc Dietrich Jan. 28, 2012, 7:03 p.m. UTC
This adds the wakeup gpio which is connected to the embedded
controller to the device tree of paz00.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
---
 arch/arm/boot/dts/tegra-paz00.dts |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/tegra-paz00.dts b/arch/arm/boot/dts/tegra-paz00.dts
index f03ca40..2a16ff0 100644
--- a/arch/arm/boot/dts/tegra-paz00.dts
+++ b/arch/arm/boot/dts/tegra-paz00.dts
@@ -91,4 +91,15 @@ 
 	sdhci@c8000600 {
 		support-8bit;
 	};
+
+	gpio-keys {
+		compatible = "gpio-keys";
+
+		power {
+			label = "Power";
+			gpios = <&gpio 79 1>; /* gpio PJ7, active low */
+			linux,code = <116>; /* KEY_POWER */
+			gpio-key,wakeup;
+		};
+	};
 };