diff options
author | Florian Vaussard <florian.vaussard@epfl.ch> | 2013-05-31 14:32:56 +0200 |
---|---|---|
committer | Benoit Cousson <benoit.cousson@linaro.org> | 2013-06-18 18:53:38 -0500 |
commit | 6d624eabcd4bd11f1304b12f7409a48d3a7743e6 (patch) | |
tree | 32326eb6853cd796bbf87c247d14bde23fa71b43 /arch/arm/boot/dts/omap3-beagle-xm.dts | |
parent | 98ef795714a31b3470e9fdd6e977f6733b83f101 (diff) | |
download | lwn-6d624eabcd4bd11f1304b12f7409a48d3a7743e6.tar.gz lwn-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-beagle-xm.dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-beagle-xm.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts index e0ce823d20b0..1e580d9c88ed 100644 --- a/arch/arm/boot/dts/omap3-beagle-xm.dts +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts @@ -29,13 +29,13 @@ heartbeat { label = "beagleboard::usr0"; - gpios = <&gpio5 22 0>; /* 150 -> D6 LED */ + gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */ linux,default-trigger = "heartbeat"; }; mmc { label = "beagleboard::usr1"; - gpios = <&gpio5 21 0>; /* 149 -> D7 LED */ + gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */ linux,default-trigger = "mmc0"; }; }; |