summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-ns2max.dts
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-ns2max.dts
parent23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (diff)
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-ns2max.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-ns2max.dts10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/kirkwood-ns2max.dts b/arch/arm/boot/dts/kirkwood-ns2max.dts
index defdc77fb550..72c78d0b1116 100644
--- a/arch/arm/boot/dts/kirkwood-ns2max.dts
+++ b/arch/arm/boot/dts/kirkwood-ns2max.dts
@@ -22,10 +22,10 @@
gpio_fan {
compatible = "gpio-fan";
- gpios = <&gpio0 22 1
- &gpio0 7 1
- &gpio1 1 1
- &gpio0 23 1>;
+ gpios = <&gpio0 22 GPIO_ACTIVE_LOW
+ &gpio0 7 GPIO_ACTIVE_LOW
+ &gpio1 1 GPIO_ACTIVE_LOW
+ &gpio0 23 GPIO_ACTIVE_LOW>;
gpio-fan,speed-map =
< 0 0
1500 15
@@ -36,7 +36,7 @@
3300 10
4300 9
5500 8>;
- alarm-gpios = <&gpio0 25 1>;
+ alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
};
ns2-leds {