diff options
author | Andrew Lunn <andrew@lunn.ch> | 2013-12-04 16:51:39 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-12-08 01:00:54 +0000 |
commit | 3a31f2d7fce39f3bca0106e69d21119eafb28c85 (patch) | |
tree | 26f27131a1693d458e7a99d6f2d1444d63a38157 /arch/arm/boot/dts/kirkwood-cloudbox.dts | |
parent | 23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (diff) | |
download | linux-3a31f2d7fce39f3bca0106e69d21119eafb28c85.tar.bz2 |
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-cloudbox.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-cloudbox.dts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/kirkwood-cloudbox.dts b/arch/arm/boot/dts/kirkwood-cloudbox.dts index 17123f25e2db..bb4df405527c 100644 --- a/arch/arm/boot/dts/kirkwood-cloudbox.dts +++ b/arch/arm/boot/dts/kirkwood-cloudbox.dts @@ -67,7 +67,7 @@ button@1 { label = "Power push button"; linux,code = <KEY_POWER>; - gpios = <&gpio0 16 1>; + gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; }; }; @@ -76,17 +76,17 @@ red-fail { label = "cloudbox:red:fail"; - gpios = <&gpio0 14 0>; + gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; }; blue-sata { label = "cloudbox:blue:sata"; - gpios = <&gpio0 15 0>; + gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; }; }; gpio_poweroff { compatible = "gpio-poweroff"; - gpios = <&gpio0 17 0>; + gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; }; }; |