Skip to content

Commit

Permalink
ARM: Dove: move CuBox led pinctrl to gpio-leds node
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Hesselbarth authored and Arnd Bergmann committed Feb 28, 2013
1 parent 50ab955 commit e35e40c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/arm/boot/dts/dove-cubox.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

leds {
compatible = "gpio-leds";
pinctrl-0 = <&pmx_gpio_18>;
pinctrl-names = "default";

power {
label = "Power";
gpios = <&gpio0 18 1>;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit e35e40c

Please sign in to comment.