Commit e35e40cd authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Arnd Bergmann

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

gpio-leds has support for pinctrl allocation, make use of it.
Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 50ab9554
...@@ -17,6 +17,9 @@ chosen { ...@@ -17,6 +17,9 @@ chosen {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-0 = <&pmx_gpio_18>;
pinctrl-names = "default";
power { power {
label = "Power"; label = "Power";
gpios = <&gpio0 18 1>; gpios = <&gpio0 18 1>;
...@@ -47,7 +50,7 @@ spi-flash@0 { ...@@ -47,7 +50,7 @@ spi-flash@0 {
}; };
&pinctrl { &pinctrl {
pinctrl-0 = <&pmx_gpio_12 &pmx_gpio_18>; pinctrl-0 = <&pmx_gpio_12>;
pinctrl-names = "default"; pinctrl-names = "default";
pmx_gpio_12: pmx-gpio-12 { pmx_gpio_12: pmx-gpio-12 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment