]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
committerJason Cooper <jason@lakedaemon.net>
Thu, 31 Jan 2013 20:44:04 +0000 (20:44 +0000)
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 {