Skip to content

Commit

Permalink
ARM: dts: cfa10036: Use pinctrl for power led
Browse files Browse the repository at this point in the history
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: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
  • Loading branch information
Maxime Ripard authored and Shawn Guo committed Nov 5, 2012
1 parent a4dabca commit c241d0a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/boot/dts/imx28-cfa10036.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@

apb@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 {
compatible = "fsl,imx28-mmc";
pinctrl-names = "default";
Expand All @@ -43,6 +55,8 @@

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

power {
gpios = <&gpio3 4 1>;
Expand Down

0 comments on commit c241d0a

Please sign in to comment.