aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorBeomho Seo <beomho.seo@samsung.com>2014-05-21 18:57:39 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-05-22 13:34:05 -0400
commit172ff6c6d1024efaa59e1e23fb966996bb56d6f5 (patch)
treed83b148219775a5b8a6b66b0386daaff25f37294 /arch/arm/boot/dts
parent85cb4e0bd22947854ecbf86e1c2b75334fd598ad (diff)
ARM: dts: fixed gpio key node for exynos4412-trats2
This patch fixed gpio key device node. First, fix incorrect gpio property. And then, add ok-key node where locate bottom center. I have tested on exynos4412-trats2 board. Signed-off-by: Beomho Seo <beomho.seo@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/exynos4412-trats2.dts18
1 files changed, 10 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index c89f10c1efc7..5ced63e0200e 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -114,32 +114,34 @@
114 compatible = "gpio-keys"; 114 compatible = "gpio-keys";
115 115
116 key-down { 116 key-down {
117 interrupt-parent = <&gpj1>; 117 gpios = <&gpx3 3 1>;
118 interrupts = <2 0>;
119 gpios = <&gpj1 2 1>;
120 linux,code = <114>; 118 linux,code = <114>;
121 label = "volume down"; 119 label = "volume down";
122 debounce-interval = <10>; 120 debounce-interval = <10>;
123 }; 121 };
124 122
125 key-up { 123 key-up {
126 interrupt-parent = <&gpj1>; 124 gpios = <&gpx2 2 1>;
127 interrupts = <1 0>;
128 gpios = <&gpj1 1 1>;
129 linux,code = <115>; 125 linux,code = <115>;
130 label = "volume up"; 126 label = "volume up";
131 debounce-interval = <10>; 127 debounce-interval = <10>;
132 }; 128 };
133 129
134 key-power { 130 key-power {
135 interrupt-parent = <&gpx2>;
136 interrupts = <7 0>;
137 gpios = <&gpx2 7 1>; 131 gpios = <&gpx2 7 1>;
138 linux,code = <116>; 132 linux,code = <116>;
139 label = "power"; 133 label = "power";
140 debounce-interval = <10>; 134 debounce-interval = <10>;
141 gpio-key,wakeup; 135 gpio-key,wakeup;
142 }; 136 };
137
138 key-ok {
139 gpios = <&gpx0 1 1>;
140 linux,code = <139>;
141 label = "ok";
142 debounce-inteval = <10>;
143 gpio-key,wakeup;
144 };
143 }; 145 };
144 146
145 adc: adc@126C0000 { 147 adc: adc@126C0000 {