diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-09-24 23:52:20 -0300 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-10-15 10:51:49 +0800 |
commit | 098e7522896c0d0fe5264124949626df44520f57 (patch) | |
tree | 4d4ca0e1e9b0341778d35754b7de27a2a71dd8f2 /arch/arm/boot/dts/imx23-olinuxino.dts | |
parent | b34aa18502446379494529b863eb0743856b1a25 (diff) | |
download | linux-098e7522896c0d0fe5264124949626df44520f57.tar.gz linux-098e7522896c0d0fe5264124949626df44520f57.tar.bz2 linux-098e7522896c0d0fe5264124949626df44520f57.zip |
ARM: dts: imx23-olinuxino: Use pinctrl for gpio-led
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.5: pins are not configured from the driver
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx23-olinuxino.dts')
-rw-r--r-- | arch/arm/boot/dts/imx23-olinuxino.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts index 35489a1db77f..8bd56fc7e194 100644 --- a/arch/arm/boot/dts/imx23-olinuxino.dts +++ b/arch/arm/boot/dts/imx23-olinuxino.dts @@ -40,6 +40,15 @@ reg = <0>; fsl,pinmux-ids = < 0x2013 /* MX23_PAD_SSP1_DETECT__GPIO_2_1 */ + >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; + + led_pin_gpio0_17: led_gpio0_17@0 { + reg = <0>; + fsl,pinmux-ids = < 0x0113 /* MX23_PAD_GPMI_ALE__GPIO_0_17 */ >; fsl,drive-strength = <0>; @@ -91,6 +100,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&led_pin_gpio0_17>; user { label = "green"; |