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 | c10d3290cbde0e81d92d622e0b58eea2739fe557 (patch) | |
tree | 972a0ae643970ca788d96e821dd3dc4aab3cc237 /arch/arm/boot/dts/exynos4412-tiny4412.dts | |
parent | 39c1c413c1970803137d58ba25ea554f4f0fccea (diff) | |
download | linux-c10d3290cbde0e81d92d622e0b58eea2739fe557.tar.xz |
ARM: dts: Use GPIO constants for flags cells in exynos4412 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/exynos4412-tiny4412.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-tiny4412.dts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/exynos4412-tiny4412.dts b/arch/arm/boot/dts/exynos4412-tiny4412.dts index 525684ca8dc0..4840bbdaa9ec 100644 --- a/arch/arm/boot/dts/exynos4412-tiny4412.dts +++ b/arch/arm/boot/dts/exynos4412-tiny4412.dts @@ -13,6 +13,7 @@ /dts-v1/; #include "exynos4412.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "FriendlyARM TINY4412 board based on Exynos4412"; @@ -31,26 +32,26 @@ led1 { label = "led1"; - gpios = <&gpm4 0 1>; + gpios = <&gpm4 0 GPIO_ACTIVE_LOW>; default-state = "off"; linux,default-trigger = "heartbeat"; }; led2 { label = "led2"; - gpios = <&gpm4 1 1>; + gpios = <&gpm4 1 GPIO_ACTIVE_LOW>; default-state = "off"; }; led3 { label = "led3"; - gpios = <&gpm4 2 1>; + gpios = <&gpm4 2 GPIO_ACTIVE_LOW>; default-state = "off"; }; led4 { label = "led4"; - gpios = <&gpm4 3 1>; + gpios = <&gpm4 3 GPIO_ACTIVE_LOW>; default-state = "off"; linux,default-trigger = "mmc0"; }; |