[PATCH 2/3] ARM: dts: apf27dev: Add pwm support

Shawn Guo shawn.guo at linaro.org
Tue Dec 3 08:33:29 EST 2013


On Tue, Dec 03, 2013 at 12:10:14PM +0100, Gwenhael Goavec-Merou wrote:
> From: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
> 
> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
> ---
>  arch/arm/boot/dts/imx27-apf27dev.dts | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts
> index d02c67f..a794b1a 100644
> --- a/arch/arm/boot/dts/imx27-apf27dev.dts
> +++ b/arch/arm/boot/dts/imx27-apf27dev.dts
> @@ -123,6 +123,10 @@
>  			fsl,pins = <MX27_I2C2_PINGRP1>;
>  		};
>  
> +		pinctrl_pwm0: pwm0grp {

s/pwm0/pwm

Shawn

> +			fsl,pins = <MX27_PWM_PINGRP1>;
> +		};
> +
>  		pinctrl_sdhc2: sdhc2grp {
>  			fsl,pins = <MX27_SDHC2_PINGRP1>;
>  		};
> @@ -136,3 +140,8 @@
>  	pinctrl-0 = <&pinctrl_sdhc2>;
>  	status = "okay";
>  };
> +
> +&pwm {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_pwm0>;
> +};
> -- 
> 1.8.3.2
> 




More information about the linux-arm-kernel mailing list