From: Marc Dietrich Date: Sat, 28 Jan 2012 19:03:07 +0000 (+0100) Subject: ARM: dt: tegra: add the power gpio key to paz00 device tree X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d8d56c84224ae3d61800f6ce6df0ce6b63872617;p=deliverable%2Flinux.git ARM: dt: tegra: add the power gpio key to paz00 device tree This adds the wakeup gpio which is connected to the embedded controller to the device tree of paz00. Signed-off-by: Marc Dietrich Signed-off-by: Olof Johansson --- diff --git a/arch/arm/boot/dts/tegra-paz00.dts b/arch/arm/boot/dts/tegra-paz00.dts index 22d12f312318..95c39c999788 100644 --- a/arch/arm/boot/dts/tegra-paz00.dts +++ b/arch/arm/boot/dts/tegra-paz00.dts @@ -79,4 +79,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; + }; + }; };