aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos4210-trats.dts
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2012-11-20 02:26:17 -0500
committerKukjin Kim <kgene.kim@samsung.com>2012-11-20 02:26:17 -0500
commit9eb61020a08d8269c2bc9454f7baf42e00b01c87 (patch)
tree6e1235cb4ed9e980c7065fb4ecfaee81632c6a1e /arch/arm/boot/dts/exynos4210-trats.dts
parente92501263c03144a553327ac95cf9a760a6661bc (diff)
ARM: dts: Add nodes for GPIO keys available on Trats
This patch extends dts file of Samsung Trats board to add support for available GPIO keys using gpio-keys driver. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos4210-trats.dts')
-rw-r--r--arch/arm/boot/dts/exynos4210-trats.dts33
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts
index 661854b03f8e..dcfa04b336c7 100644
--- a/arch/arm/boot/dts/exynos4210-trats.dts
+++ b/arch/arm/boot/dts/exynos4210-trats.dts
@@ -65,6 +65,39 @@
65 status = "okay"; 65 status = "okay";
66 }; 66 };
67 67
68 gpio-keys {
69 compatible = "gpio-keys";
70
71 vol-down-key {
72 gpios = <&gpx2 1 1>;
73 linux,code = <114>;
74 label = "volume down";
75 debounce-interval = <10>;
76 };
77
78 vol-up-key {
79 gpios = <&gpx2 0 1>;
80 linux,code = <115>;
81 label = "volume up";
82 debounce-interval = <10>;
83 };
84
85 power-key {
86 gpios = <&gpx2 7 1>;
87 linux,code = <116>;
88 label = "power";
89 debounce-interval = <10>;
90 gpio-key,wakeup;
91 };
92
93 ok-key {
94 gpios = <&gpx3 5 1>;
95 linux,code = <352>;
96 label = "ok";
97 debounce-interval = <10>;
98 };
99 };
100
68 i2c@138B0000 { 101 i2c@138B0000 {
69 samsung,i2c-sda-delay = <100>; 102 samsung,i2c-sda-delay = <100>;
70 samsung,i2c-slave-addr = <0x10>; 103 samsung,i2c-slave-addr = <0x10>;