ARM: Dove: move CuBox led pinctrl to gpio-leds node
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Thu, 27 Dec 2012 22:21:10 +0000 (23:21 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Feb 2013 17:57:12 +0000 (18:57 +0100)
gpio-leds has support for pinctrl allocation, make use of it.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/dove-cubox.dts

index cdee96fca6e25fec9a0e24208344c03621298721..bed5b62b73a329b207c0cbaa6b7842983f74ad9a 100644 (file)
@@ -17,6 +17,9 @@
 
        leds {
                compatible = "gpio-leds";
+               pinctrl-0 = <&pmx_gpio_18>;
+               pinctrl-names = "default";
+
                power {
                        label = "Power";
                        gpios = <&gpio0 18 1>;
@@ -47,7 +50,7 @@
 };
 
 &pinctrl {
-       pinctrl-0 = <&pmx_gpio_12 &pmx_gpio_18>;
+       pinctrl-0 = <&pmx_gpio_12>;
        pinctrl-names = "default";
 
        pmx_gpio_12: pmx-gpio-12 {