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:
committed by
Arnd Bergmann
parent
50ab955486
commit
e35e40cd55
@@ -17,6 +17,9 @@
|
|||||||
|
|
||||||
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 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&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 {
|
||||||
|
Reference in New Issue
Block a user