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>
This commit is contained in:
Vaibhav Hiremath 2013-03-26 15:42:15 +05:30 committed by Benoit Cousson
parent 3f8664457c
commit b8f70c3a80
2 changed files with 8 additions and 2 deletions

View File

@ -26,7 +26,7 @@
am33xx_pinmux: pinmux@44e10800 {
pinctrl-names = "default";
pinctrl-0 = <&user_leds_s0>;
pinctrl-0 = <>;
user_leds_s0: user_leds_s0 {
pinctrl-single,pins = <
@ -65,6 +65,9 @@
};
leds {
pinctrl-names = "default";
pinctrl-0 = <&user_leds_s0>;
compatible = "gpio-leds";
led@2 {

View File

@ -32,7 +32,7 @@
am33xx_pinmux: pinmux@44e10800 {
pinctrl-names = "default";
pinctrl-0 = <&user_leds_s0 &gpio_keys_s0>;
pinctrl-0 = <&gpio_keys_s0>;
user_leds_s0: user_leds_s0 {
pinctrl-single,pins = <
@ -121,6 +121,9 @@
};
leds {
pinctrl-names = "default";
pinctrl-0 = <&user_leds_s0>;
compatible = "gpio-leds";
led@1 {