summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-sheevaplug-esata.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-sheevaplug-esata.dts
parent23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (diff)
downloadop-kernel-dev-3a31f2d7fce39f3bca0106e69d21119eafb28c85.zip
op-kernel-dev-3a31f2d7fce39f3bca0106e69d21119eafb28c85.tar.gz
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-sheevaplug-esata.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts b/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts
index ce9b3be..e2b4ea4 100644
--- a/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts
+++ b/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts
@@ -24,8 +24,8 @@
pinctrl-0 = <&pmx_sdio &pmx_sdio_cd &pmx_sdio_wp>;
pinctrl-names = "default";
status = "okay";
- cd-gpios = <&gpio1 12 1>;
- wp-gpios = <&gpio1 15 0>;
+ cd-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+ wp-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
};
};
@@ -36,7 +36,7 @@
health {
label = "sheevaplug:blue:health";
- gpios = <&gpio1 17 1>;
+ gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
};
OpenPOWER on IntegriCloud