diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2013-06-20 18:42:31 +0400 |
---|---|---|
committer | Benoit Cousson <bcousson@baylibre.com> | 2013-10-08 19:51:39 +0400 |
commit | bd52e2d274d369182f38d9ddaf8ce910c2a7332f (patch) | |
tree | fec7c90a84c837a1eb16b25900aa59acc7ddb7b2 /arch/arm/boot/dts/omap3-igep0020.dts | |
parent | 00964a90728d752abe61ad134dac8c13491c3595 (diff) | |
download | linux-bd52e2d274d369182f38d9ddaf8ce910c2a7332f.tar.xz |
ARM: dts: omap3-igep0020: add mux conf for GPIO LEDs
The IGEPv2 has a number of GPIO LED connected to OMAP
pins. Configure these pins as output GPIO.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-igep0020.dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-igep0020.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-igep0020.dts b/arch/arm/boot/dts/omap3-igep0020.dts index e8c48284587c..51c084eeb7bd 100644 --- a/arch/arm/boot/dts/omap3-igep0020.dts +++ b/arch/arm/boot/dts/omap3-igep0020.dts @@ -16,7 +16,10 @@ compatible = "isee,omap3-igep0020", "ti,omap3"; leds { + pinctrl-names = "default"; + pinctrl-0 = <&leds_pins>; compatible = "gpio-leds"; + boot { label = "omap3:green:boot"; gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; @@ -54,6 +57,14 @@ }; }; +&leds_pins { + pinctrl-single,pins = < + 0x5c4 (PIN_OUTPUT | MUX_MODE4) /* etk_d12.gpio_26 */ + 0x5c6 (PIN_OUTPUT | MUX_MODE4) /* etk_d13.gpio_27 */ + 0x5c8 (PIN_OUTPUT | MUX_MODE4) /* etk_d14.gpio_28 */ + >; +}; + &i2c3 { clock-frequency = <100000>; |