diff options
author | Andrew Lunn <andrew@lunn.ch> | 2013-12-04 16:51:39 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-12-08 02:00:54 +0100 |
commit | 3a31f2d7fce39f3bca0106e69d21119eafb28c85 (patch) | |
tree | 26f27131a1693d458e7a99d6f2d1444d63a38157 /arch/arm/boot/dts/kirkwood-ts219-6282.dts | |
parent | ARM: DT: Kirkwood: Use symbolic names from input.h (diff) | |
download | linux-3a31f2d7fce39f3bca0106e69d21119eafb28c85.tar.xz linux-3a31f2d7fce39f3bca0106e69d21119eafb28c85.zip |
ARM: DT: Kirkwood: Use symbolic names from gpio.h
Use GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW instead of 0 and 1.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-ts219-6282.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ts219-6282.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/kirkwood-ts219-6282.dts b/arch/arm/boot/dts/kirkwood-ts219-6282.dts index 6976afb56605..0713d072758a 100644 --- a/arch/arm/boot/dts/kirkwood-ts219-6282.dts +++ b/arch/arm/boot/dts/kirkwood-ts219-6282.dts @@ -52,12 +52,12 @@ button@1 { label = "USB Copy"; linux,code = <KEY_COPY>; - gpios = <&gpio1 11 1>; + gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; }; button@2 { label = "Reset"; linux,code = <KEY_RESTART>; - gpios = <&gpio1 5 1>; + gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; }; }; }; |