summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2012-12-27 23:21:10 +0100
committerArnd Bergmann <arnd@arndb.de>2013-02-28 18:57:12 +0100
commite35e40cd553f7950c0bcb60f1d8f9672bd69d6a2 (patch)
tree60f5eb3bc71984abec201e0647649dc1db65b7be
parent50ab9554861a8e1473a16ca80cf481fa2ee0e8c9 (diff)
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>
-rw-r--r--arch/arm/boot/dts/dove-cubox.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts
index cdee96fca6e2..bed5b62b73a3 100644
--- a/arch/arm/boot/dts/dove-cubox.dts
+++ b/arch/arm/boot/dts/dove-cubox.dts
@@ -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 {