aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-11-03 11:59:07 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-11-04 21:53:24 -0500
commitc241d0a3ba78d50da08bd0c8236433b7653a86c7 (patch)
treeb1dea6132e22fc46467d1da37b34c06f023e0458 /arch/arm
parenta4dabca8b474aa5cf7ec1bec5bc1904a5e18f642 (diff)
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: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/imx28-cfa10036.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts/imx28-cfa10036.dts
index c03a577beca3..3a2807743985 100644
--- a/arch/arm/boot/dts/imx28-cfa10036.dts
+++ b/arch/arm/boot/dts/imx28-cfa10036.dts
@@ -22,6 +22,18 @@
22 22
23 apb@80000000 { 23 apb@80000000 {
24 apbh@80000000 { 24 apbh@80000000 {
25 pinctrl@80018000 {
26 led_pins_cfa10036: leds-10036@0 {
27 reg = <0>;
28 fsl,pinmux-ids = <
29 0x3043 /* MX28_PAD_AUART1_RX__GPIO_3_4 */
30 >;
31 fsl,drive-strength = <0>;
32 fsl,voltage = <1>;
33 fsl,pull-up = <0>;
34 };
35 };
36
25 ssp0: ssp@80010000 { 37 ssp0: ssp@80010000 {
26 compatible = "fsl,imx28-mmc"; 38 compatible = "fsl,imx28-mmc";
27 pinctrl-names = "default"; 39 pinctrl-names = "default";
@@ -43,6 +55,8 @@
43 55
44 leds { 56 leds {
45 compatible = "gpio-leds"; 57 compatible = "gpio-leds";
58 pinctrl-names = "default";
59 pinctrl-0 = <&led_pins_cfa10036>;
46 60
47 power { 61 power {
48 gpios = <&gpio3 4 1>; 62 gpios = <&gpio3 4 1>;