]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ARM: dt: tegra: add the power gpio key to paz00 device tree
authorMarc Dietrich <marvin24@gmx.de>
Sat, 28 Jan 2012 19:03:07 +0000 (20:03 +0100)
committerOlof Johansson <olof@lixom.net>
Tue, 7 Feb 2012 05:09:25 +0000 (21:09 -0800)
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>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/tegra-paz00.dts

index 22d12f312318c4254798d275534579b11e4f9b5d..95c39c999788fc9d08c0bff6509f4f8f5a013101 100644 (file)
        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;
+               };
+       };
 };