diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-10-08 01:39:58 +0300 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-10-08 01:39:58 +0300 |
commit | 31b9903c233e831f3b0c05c6a62c0e39e85e77ec (patch) | |
tree | 0284bd919b13d933e6e6f10d33a89ee9f2ee0cb5 /arch/arm/boot/dts/exynos5420-arndale-octa.dts | |
parent | c10d3290cbde0e81d92d622e0b58eea2739fe557 (diff) | |
download | linux-31b9903c233e831f3b0c05c6a62c0e39e85e77ec.tar.xz |
ARM: dts: Use GPIO constants for flags cells in exynos5420/5422/5800 boards
The board DTS are using numeric values instead of the defined GPIO
constanst to express polarity, use them to make the DTS more clear.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5420-arndale-octa.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5420-arndale-octa.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index eeb4ac22cfce..4ecef6981d5c 100644 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "exynos5420.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/input/input.h> #include <dt-bindings/clock/samsung,s2mps11.h> @@ -44,7 +45,7 @@ wakeup { label = "SW-TACT1"; - gpios = <&gpx2 7 1>; + gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; linux,code = <KEY_WAKEUP>; gpio-key,wakeup; }; |