ARM: dts: AM33XX: Add pinctrl binding to gpio-leds node
authorVaibhav Hiremath <hvaibhav@ti.com>
Tue, 26 Mar 2013 10:12:15 +0000 (15:42 +0530)
committerBenoit Cousson <benoit.cousson@linaro.org>
Tue, 18 Jun 2013 23:53:34 +0000 (18:53 -0500)
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>
arch/arm/boot/dts/am335x-bone.dts
arch/arm/boot/dts/am335x-evmsk.dts

index 860630b425ea5324b6167caa27475e2afe490627..1d623e41d1630cd54630e1f54ead634550ece7bd 100644 (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 {
index 15a305224bba9c00771cbe4721a08c861895a653..21d5a0804f6c30d95f50b3d8a15aa0360f7af808 100644 (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 = <
        };
 
        leds {
+               pinctrl-names = "default";
+               pinctrl-0 = <&user_leds_s0>;
+
                compatible = "gpio-leds";
 
                led@1 {