diff options
author | Joseph Lo <josephl@nvidia.com> | 2013-04-03 13:31:48 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-04-05 01:17:43 +0200 |
commit | 5741a2560afa66dce9e53752888241310d8e7c93 (patch) | |
tree | a6c5a269408f388948cc177be1b02e2dc29682ca /arch/arm/boot/dts/tegra20-harmony.dts | |
parent | ARM: tegra: keep power on to SD slot on Dalmore (diff) | |
download | linux-5741a2560afa66dce9e53752888241310d8e7c93.tar.xz linux-5741a2560afa66dce9e53752888241310d8e7c93.zip |
ARM: tegra: add power gpio keys to DT
This adds the power gpio key to DT and enable the wakeup of the gpio key
for the device. The Seaboard and paz00 already had the power gpio key
binding and the power key of Whistler was on KBC. So these boards' device
tree didn't include in this patch.
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-harmony.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-harmony.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20-harmony.dts b/arch/arm/boot/dts/tegra20-harmony.dts index 2c4da874eb16..d86dd85c4c4e 100644 --- a/arch/arm/boot/dts/tegra20-harmony.dts +++ b/arch/arm/boot/dts/tegra20-harmony.dts @@ -464,6 +464,17 @@ }; }; + gpio-keys { + compatible = "gpio-keys"; + + power { + label = "Power"; + gpios = <&gpio 170 1>; /* gpio PV2, active low */ + linux,code = <116>; /* KEY_POWER */ + gpio-key,wakeup; + }; + }; + kbc { status = "okay"; nvidia,debounce-delay-ms = <2>; |