Commit c241d0a3 authored by Maxime Ripard's avatar Maxime Ripard Committed by Shawn Guo

ARM: dts: cfa10036: Use pinctrl for power led

The leds-gpio driver recently got pinctrl support, so setup the power
led gpio muxing through pinctrl.

This avoids the warning:
leds-gpio leds.X: pins are not configured from the driver
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent a4dabca8
...@@ -22,6 +22,18 @@ memory { ...@@ -22,6 +22,18 @@ memory {
apb@80000000 { apb@80000000 {
apbh@80000000 { apbh@80000000 {
pinctrl@80018000 {
led_pins_cfa10036: leds-10036@0 {
reg = <0>;
fsl,pinmux-ids = <
0x3043 /* MX28_PAD_AUART1_RX__GPIO_3_4 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
};
ssp0: ssp@80010000 { ssp0: ssp@80010000 {
compatible = "fsl,imx28-mmc"; compatible = "fsl,imx28-mmc";
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -43,6 +55,8 @@ duart: serial@80074000 { ...@@ -43,6 +55,8 @@ duart: serial@80074000 {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_pins_cfa10036>;
power { power {
gpios = <&gpio3 4 1>; gpios = <&gpio3 4 1>;
......
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