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-19 01:53:38 +0200 |
commit | 6d624eabcd4bd11f1304b12f7409a48d3a7743e6 (patch) | |
tree | 32326eb6853cd796bbf87c247d14bde23fa71b43 /arch/arm/boot/dts/omap3-igep0030.dts | |
parent | ARM: dts: OMAP2+: Use #include for all device trees (diff) | |
download | linux-6d624eabcd4bd11f1304b12f7409a48d3a7743e6.tar.xz 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-igep0030.dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-igep0030.dts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/omap3-igep0030.dts b/arch/arm/boot/dts/omap3-igep0030.dts index 5061a27563b6..644d05383836 100644 --- a/arch/arm/boot/dts/omap3-igep0030.dts +++ b/arch/arm/boot/dts/omap3-igep0030.dts @@ -19,25 +19,25 @@ compatible = "gpio-leds"; boot { label = "omap3:green:boot"; - gpios = <&twl_gpio 13 1>; + gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>; default-state = "on"; }; user0 { label = "omap3:red:user0"; - gpios = <&twl_gpio 18 1>; /* LEDA */ + gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */ default-state = "off"; }; user1 { label = "omap3:green:user1"; - gpios = <&twl_gpio 19 1>; /* LEDB */ + gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; /* LEDB */ default-state = "off"; }; user2 { label = "omap3:red:user1"; - gpios = <&gpio1 16 1>; + gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; default-state = "off"; }; }; |