diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2013-03-26 06:12:15 -0400 |
---|---|---|
committer | Benoit Cousson <benoit.cousson@linaro.org> | 2013-06-18 19:53:34 -0400 |
commit | b8f70c3a80599df8421b764bf20fcc04ce9d24a2 (patch) | |
tree | df5c2448e67a0e231d0c2bbfd388482bf11c2f6e /arch/arm/boot/dts/am335x-evmsk.dts | |
parent | 3f8664457ca4f654b836e6f434ae94e1be23c88e (diff) |
ARM: dts: AM33XX: Add pinctrl binding to gpio-leds node
Now gpio-leds driver is using devm_pinctrl_get_select_default()
api to set default pinmux configuration required for the
functionality of the driver, so this patch moves respective
pinctrl binding inside leds node.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/am335x-evmsk.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-evmsk.dts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 15a305224bba..21d5a0804f6c 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | am33xx_pinmux: pinmux@44e10800 { | 33 | am33xx_pinmux: pinmux@44e10800 { |
34 | pinctrl-names = "default"; | 34 | pinctrl-names = "default"; |
35 | pinctrl-0 = <&user_leds_s0 &gpio_keys_s0>; | 35 | pinctrl-0 = <&gpio_keys_s0>; |
36 | 36 | ||
37 | user_leds_s0: user_leds_s0 { | 37 | user_leds_s0: user_leds_s0 { |
38 | pinctrl-single,pins = < | 38 | pinctrl-single,pins = < |
@@ -121,6 +121,9 @@ | |||
121 | }; | 121 | }; |
122 | 122 | ||
123 | leds { | 123 | leds { |
124 | pinctrl-names = "default"; | ||
125 | pinctrl-0 = <&user_leds_s0>; | ||
126 | |||
124 | compatible = "gpio-leds"; | 127 | compatible = "gpio-leds"; |
125 | 128 | ||
126 | led@1 { | 129 | led@1 { |