ARM: dts: imx53-qsb: Use pinctrl for gpio-led
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 26 Sep 2012 23:27:35 +0000 (20:27 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 16 Nov 2012 06:18:51 +0000 (14:18 +0800)
Since commit 8fe4554f (leds: leds-gpio: adopt pinctrl support) gpio-led driver
has pinctrl support, so setup the gpio led pin via pinctrl and avoid the
following warning:

leds-gpio leds.2: pins are not configured from the driver

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx53-qsb.dts

index 08948af86d1a096611465ab453755e0636fa3e2d..5bae4c76979a8c8e6a3e2e48c7dfcdfe7639373e 100644 (file)
                                                        697  0x80000000 /* MX53_PAD_EIM_DA12__GPIO3_12 */
                                                        701  0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */
                                                        868  0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */
+                                               >;
+                                       };
+
+                                       led_pin_gpio7_7: led_gpio7_7@0 {
+                                               fsl,pins = <
                                                        873  0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */
                                                >;
                                        };
                                };
+
                        };
 
                        uart1: serial@53fbc000 {
 
        leds {
                compatible = "gpio-leds";
+               pinctrl-names = "default";
+               pinctrl-0 = <&led_pin_gpio7_7>;
 
                user {
                        label = "Heartbeat";