diff options
author | Florian Vaussard <florian.vaussard@epfl.ch> | 2013-05-31 08:32:56 -0400 |
---|---|---|
committer | Benoit Cousson <benoit.cousson@linaro.org> | 2013-06-18 19:53:38 -0400 |
commit | 6d624eabcd4bd11f1304b12f7409a48d3a7743e6 (patch) | |
tree | 32326eb6853cd796bbf87c247d14bde23fa71b43 /arch/arm/boot/dts/omap3-beagle.dts | |
parent | 98ef795714a31b3470e9fdd6e977f6733b83f101 (diff) |
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.dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-beagle.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts index fcac96aac3e6..434288f30078 100644 --- a/arch/arm/boot/dts/omap3-beagle.dts +++ b/arch/arm/boot/dts/omap3-beagle.dts | |||
@@ -28,18 +28,18 @@ | |||
28 | compatible = "gpio-leds"; | 28 | compatible = "gpio-leds"; |
29 | pmu_stat { | 29 | pmu_stat { |
30 | label = "beagleboard::pmu_stat"; | 30 | label = "beagleboard::pmu_stat"; |
31 | gpios = <&twl_gpio 19 0>; /* LEDB */ | 31 | gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */ |
32 | }; | 32 | }; |
33 | 33 | ||
34 | heartbeat { | 34 | heartbeat { |
35 | label = "beagleboard::usr0"; | 35 | label = "beagleboard::usr0"; |
36 | gpios = <&gpio5 22 0>; /* 150 -> D6 LED */ | 36 | gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */ |
37 | linux,default-trigger = "heartbeat"; | 37 | linux,default-trigger = "heartbeat"; |
38 | }; | 38 | }; |
39 | 39 | ||
40 | mmc { | 40 | mmc { |
41 | label = "beagleboard::usr1"; | 41 | label = "beagleboard::usr1"; |
42 | gpios = <&gpio5 21 0>; /* 149 -> D7 LED */ | 42 | gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */ |
43 | linux,default-trigger = "mmc0"; | 43 | linux,default-trigger = "mmc0"; |
44 | }; | 44 | }; |
45 | }; | 45 | }; |