diff options
author | Michael Heimpold <mhei@heimpold.de> | 2014-03-27 23:51:30 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-05-16 17:01:48 +0200 |
commit | 457c17e1aaf48a76b8be0d90283ec1ee05387616 (patch) | |
tree | 810c59829ee3a354c0243c512613b6c8b5786f4b | |
parent | ARM: dts: imx28-duckbill: fix phy reset gpio (diff) | |
download | linux-457c17e1aaf48a76b8be0d90283ec1ee05387616.tar.xz linux-457c17e1aaf48a76b8be0d90283ec1ee05387616.zip |
ARM: dts: imx28-duckbill: use symbolic names from gpio.h
Use GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW instead of 0 and 1.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
-rw-r--r-- | arch/arm/boot/dts/imx28-duckbill.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx28-duckbill.dts b/arch/arm/boot/dts/imx28-duckbill.dts index 91c1a9a59c52..ce1a7effba37 100644 --- a/arch/arm/boot/dts/imx28-duckbill.dts +++ b/arch/arm/boot/dts/imx28-duckbill.dts @@ -110,12 +110,12 @@ status { label = "duckbill:green:status"; - gpios = <&gpio3 5 0>; + gpios = <&gpio3 5 GPIO_ACTIVE_HIGH>; }; failure { label = "duckbill:red:status"; - gpios = <&gpio3 4 0>; + gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; }; }; }; |