diff options
author | Tushar Behera <[tushar.behera@linaro.org]> | 2013-04-04 01:24:47 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-04-08 12:17:13 -0400 |
commit | 89fec22d7b39167567065ec6a1c190fec2a0751b (patch) | |
tree | 5e6ef7c2cb42f64043f0063e7e93804f29f3da92 /arch/arm/boot/dts/exynos5250-arndale.dts | |
parent | 6a446172aeb8eaf18d4e42eb238be3b2e4ea443e (diff) |
ARM: dts: Add gpio-button entries for Arndale board
Added GPIO buttons DT node to Arndale board file.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos5250-arndale.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5250-arndale.dts | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index d07a21f5dd89..6417bbc3c075 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts | |||
@@ -116,6 +116,52 @@ | |||
116 | status = "disabled"; | 116 | status = "disabled"; |
117 | }; | 117 | }; |
118 | 118 | ||
119 | gpio_keys { | ||
120 | compatible = "gpio-keys"; | ||
121 | |||
122 | menu { | ||
123 | label = "SW-TACT2"; | ||
124 | gpios = <&gpx1 4 1>; | ||
125 | linux,code = <139>; | ||
126 | gpio-key,wakeup; | ||
127 | }; | ||
128 | |||
129 | home { | ||
130 | label = "SW-TACT3"; | ||
131 | gpios = <&gpx1 5 1>; | ||
132 | linux,code = <102>; | ||
133 | gpio-key,wakeup; | ||
134 | }; | ||
135 | |||
136 | up { | ||
137 | label = "SW-TACT4"; | ||
138 | gpios = <&gpx1 6 1>; | ||
139 | linux,code = <103>; | ||
140 | gpio-key,wakeup; | ||
141 | }; | ||
142 | |||
143 | down { | ||
144 | label = "SW-TACT5"; | ||
145 | gpios = <&gpx1 7 1>; | ||
146 | linux,code = <108>; | ||
147 | gpio-key,wakeup; | ||
148 | }; | ||
149 | |||
150 | back { | ||
151 | label = "SW-TACT6"; | ||
152 | gpios = <&gpx2 0 1>; | ||
153 | linux,code = <158>; | ||
154 | gpio-key,wakeup; | ||
155 | }; | ||
156 | |||
157 | wakeup { | ||
158 | label = "SW-TACT7"; | ||
159 | gpios = <&gpx2 1 1>; | ||
160 | linux,code = <143>; | ||
161 | gpio-key,wakeup; | ||
162 | }; | ||
163 | }; | ||
164 | |||
119 | fixed-rate-clocks { | 165 | fixed-rate-clocks { |
120 | xxti { | 166 | xxti { |
121 | compatible = "samsung,clock-xxti"; | 167 | compatible = "samsung,clock-xxti"; |