summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap3-devkit8000.dts
diff options
context:
space:
mode:
authorFlorian Vaussard <florian.vaussard@epfl.ch>2013-05-31 14:32:56 +0200
committerBenoit Cousson <benoit.cousson@linaro.org>2013-06-18 18:53:38 -0500
commit6d624eabcd4bd11f1304b12f7409a48d3a7743e6 (patch)
tree32326eb6853cd796bbf87c247d14bde23fa71b43 /arch/arm/boot/dts/omap3-devkit8000.dts
parent98ef795714a31b3470e9fdd6e977f6733b83f101 (diff)
downloadblackbird-op-linux-6d624eabcd4bd11f1304b12f7409a48d3a7743e6.tar.gz
blackbird-op-linux-6d624eabcd4bd11f1304b12f7409a48d3a7743e6.zip
ARM: dts: OMAP2+: Use existing constants for GPIOs
Use standard GPIO constants to enhance the readability of DT GPIOs. Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/omap3-devkit8000.dts')
-rw-r--r--arch/arm/boot/dts/omap3-devkit8000.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts
index 8d0f5e40eafe..5be71b1b2bdc 100644
--- a/arch/arm/boot/dts/omap3-devkit8000.dts
+++ b/arch/arm/boot/dts/omap3-devkit8000.dts
@@ -22,21 +22,21 @@
heartbeat {
label = "devkit8000::led1";
- gpios = <&gpio6 26 0>; /* 186 -> LED1 */
+ gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* 186 -> LED1 */
default-state = "on";
linux,default-trigger = "heartbeat";
};
mmc {
label = "devkit8000::led2";
- gpios = <&gpio6 3 0>; /* 163 -> LED2 */
+ gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 -> LED2 */
default-state = "on";
linux,default-trigger = "none";
};
usr {
label = "devkit8000::led3";
- gpios = <&gpio6 4 0>; /* 164 -> LED3 */
+ gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* 164 -> LED3 */
default-state = "on";
linux,default-trigger = "usr";
};
OpenPOWER on IntegriCloud