summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorJeetesh Burman <jburman@nvidia.com>2014-03-17 14:44:15 +0530
committerMandar Padmawar <mpadmawar@nvidia.com>2014-06-06 07:26:36 -0700
commit50f8980fe44e140fdcfa0ffe27df90ed3c7d97fa (patch)
tree127c805bbab6decc382aff40c382c919f5e1af77 /arch/arm/boot
parentc188701ae1d9f11da6be5d963f28d8e45f083797 (diff)
ARM: tegra: dtb: Add new file to support gpio-keys
Many GPIOs registered as interrupt are not applicable for PM375, new file added for PM375 to support GPIOs which are applicable for PM375. Added file: tegra124-jetson_tk1-keys-pm375-0000-c00-00.dtsi Bug 1475519 Change-Id: Ic7cdae2afa43751b3ba045f08c62dbb2c36b6562 Signed-off-by: Jeetesh Burman <jburman@nvidia.com> Reviewed-on: http://git-master/r/382467 Cherry-picked from 72c6e07c4757f00697316b39c61e8dd0fa3ccb59 Reviewed-on: http://git-master/r/403369 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts2
-rw-r--r--arch/arm/boot/dts/tegra124-platforms/tegra124-jetson_tk1-keys-pm375-0000-c00-00.dtsi15
2 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts b/arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts
index 3380eefbfd09..4f122830027c 100644
--- a/arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts
+++ b/arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts
@@ -1,7 +1,7 @@
/dts-v1/;
#include "tegra124.dtsi"
-#include "tegra124-platforms/tegra124-tn8-keys-e1780-1100-a02.dtsi"
+#include "tegra124-platforms/tegra124-jetson_tk1-keys-pm375-0000-c00-00.dtsi"
#include "tegra124-platforms/tegra124-jetson_tk1-gpio-pm375-0000-c00-00.dtsi"
#include "tegra124-platforms/tegra124-jetson_tk1-pinmux-pm375-0000-c00-00.dtsi"
#include "tegra124-platforms/tegra124-jetson_tk1-pmic-pm375-0000-c00-00.dtsi"
diff --git a/arch/arm/boot/dts/tegra124-platforms/tegra124-jetson_tk1-keys-pm375-0000-c00-00.dtsi b/arch/arm/boot/dts/tegra124-platforms/tegra124-jetson_tk1-keys-pm375-0000-c00-00.dtsi
new file mode 100644
index 000000000000..549c02ac631a
--- /dev/null
+++ b/arch/arm/boot/dts/tegra124-platforms/tegra124-jetson_tk1-keys-pm375-0000-c00-00.dtsi
@@ -0,0 +1,15 @@
+#include <dt-bindings/gpio/tegra-gpio.h>
+#include <dt-bindings/input/input.h>
+
+/ {
+ gpio-keys {
+ compatible = "gpio-keys";
+
+ power {
+ label = "Power";
+ gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_POWER>;
+ gpio-key,wakeup;
+ };
+ };
+};