ARM: Dove: move CuBox led pinctrl to gpio-leds node

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>
This commit is contained in:
Sebastian Hesselbarth 2012-12-27 23:21:10 +01:00 committed by Arnd Bergmann
parent 50ab955486
commit e35e40cd55
1 changed files with 4 additions and 1 deletions

View 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 {