summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-openblocks_a6.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 02:00:54 +0100
commit3a31f2d7fce39f3bca0106e69d21119eafb28c85 (patch)
tree26f27131a1693d458e7a99d6f2d1444d63a38157 /arch/arm/boot/dts/kirkwood-openblocks_a6.dts
parentARM: DT: Kirkwood: Use symbolic names from input.h (diff)
downloadlinux-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-openblocks_a6.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-openblocks_a6.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
index 6c171e067b59..5c6a4f1b4e93 100644
--- a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
+++ b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
@@ -101,17 +101,17 @@
led-red {
label = "obsa6:red:stat";
- gpios = <&gpio1 9 1>;
+ gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
led-green {
label = "obsa6:green:stat";
- gpios = <&gpio1 10 1>;
+ gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
};
led-yellow {
label = "obsa6:yellow:stat";
- gpios = <&gpio1 11 1>;
+ gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
};
};
@@ -125,7 +125,7 @@
button@1 {
label = "Init Button";
linux,code = <KEY_POWER>;
- gpios = <&gpio1 6 0>;
+ gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
};
};
};