summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos3250-rinato.dts
diff options
context:
space:
mode:
authorBeomho Seo <beomho.seo@samsung.com>2015-01-12 18:00:15 +0900
committerKukjin Kim <kgene@kernel.org>2015-01-12 18:03:30 +0900
commit13b9b64e307db08fce12350ce2caed63dec59ddc (patch)
tree2dc91ad18e1234db8f3c418a324c1863c84e4009 /arch/arm/boot/dts/exynos3250-rinato.dts
parent19f0d87bc26e6579b981ce293adf3520c7e3ce38 (diff)
ARM: dts: use macro in gpio keys for exynos3250 boards
This patch replaces number by macro in gpio keys for exynos3250 boards. Cc: Youngjun Cho <yj44.cho@samsung.com> Cc: Chanwoo Choi <cw00.choi@samsung.com> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Beomho Seo <beomho.seo@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos3250-rinato.dts')
-rw-r--r--arch/arm/boot/dts/exynos3250-rinato.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts
index a2cbc6d95bbc..0c65155ff59e 100644
--- a/arch/arm/boot/dts/exynos3250-rinato.dts
+++ b/arch/arm/boot/dts/exynos3250-rinato.dts
@@ -15,6 +15,7 @@
/dts-v1/;
#include "exynos3250.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "Samsung Rinato board";
@@ -37,7 +38,7 @@
compatible = "gpio-keys";
power_key {
- gpios = <&gpx2 7 1>;
+ gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
label = "power key";
debounce-interval = <10>;