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-Tag: firefly_0821_release~3680^2~3249^2~1^2~4 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d8d56c84224ae3d61800f6ce6df0ce6b63872617;p=firefly-linux-kernel-4.4.55.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; + }; + }; };