summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2013-12-04 16:51:39 +0100
committerJason Cooper <jason@lakedaemon.net>2013-12-08 01:00:54 +0000
commit3a31f2d7fce39f3bca0106e69d21119eafb28c85 (patch)
tree26f27131a1693d458e7a99d6f2d1444d63a38157 /arch/arm/boot/dts/kirkwood-ns2-common.dtsi
parent23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (diff)
downloadtalos-obmc-linux-3a31f2d7fce39f3bca0106e69d21119eafb28c85.tar.gz
talos-obmc-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-ns2-common.dtsi')
-rw-r--r--arch/arm/boot/dts/kirkwood-ns2-common.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
index 3101aecdcc0a..ae1ccbe41029 100644
--- a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
+++ b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
@@ -65,7 +65,7 @@
button@1 {
label = "Power push button";
linux,code = <KEY_POWER>;
- gpios = <&gpio1 0 0>;
+ gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
};
};
@@ -74,13 +74,13 @@
red-fail {
label = "ns2:red:fail";
- gpios = <&gpio0 12 0>;
+ gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
};
gpio_poweroff {
compatible = "gpio-poweroff";
- gpios = <&gpio0 31 0>;
+ gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
};
};
OpenPOWER on IntegriCloud