[PATCH v3 1/2] ARM: at91/dt: sam9x5: add pinctrl for pwm0

Alexandre Belloni alexandre.belloni at free-electrons.com
Thu Apr 16 02:30:39 PDT 2015


On 13/04/2015 at 14:56:13 +0200, Gaël PORTAY wrote :
> Defines the pinctrl configurations for PWM0.
> 
> Signed-off-by: Gaël PORTAY <g.portay at overkiz.com>
Acked-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>

> ---
>  arch/arm/boot/dts/at91sam9x5.dtsi | 46 +++++++++++++++++++++++++++++++++++++++
>  1 file changed, 46 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> index d221179..98977ad 100644
> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> @@ -694,6 +694,52 @@
>  					};
>  				};
>  
> +				pwm0 {
> +					pinctrl_pwm0_pwm0_0: pwm0_pwm0-0 {
> +						atmel,pins =
> +							<AT91_PIOB 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
> +					};
> +					pinctrl_pwm0_pwm0_1: pwm0_pwm0-1 {
> +						atmel,pins =
> +							<AT91_PIOC 10 AT91_PERIPH_C AT91_PINCTRL_NONE>;
> +					};
> +					pinctrl_pwm0_pwm0_2: pwm0_pwm0-2 {
> +						atmel,pins =
> +							<AT91_PIOC 18 AT91_PERIPH_C AT91_PINCTRL_NONE>;
> +					};
> +
> +					pinctrl_pwm0_pwm1_0: pwm0_pwm1-0 {
> +						atmel,pins =
> +							<AT91_PIOB 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
> +					};
> +					pinctrl_pwm0_pwm1_1: pwm0_pwm1-1 {
> +						atmel,pins =
> +							<AT91_PIOC 11 AT91_PERIPH_C AT91_PINCTRL_NONE>;
> +					};
> +					pinctrl_pwm0_pwm1_2: pwm0_pwm1-2 {
> +						atmel,pins =
> +							<AT91_PIOC 19 AT91_PERIPH_C AT91_PINCTRL_NONE>;
> +					};
> +
> +					pinctrl_pwm0_pwm2_0: pwm0_pwm2-0 {
> +						atmel,pins =
> +							<AT91_PIOB 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
> +					};
> +					pinctrl_pwm0_pwm2_1: pwm0_pwm2-1 {
> +						atmel,pins =
> +							<AT91_PIOC 20 AT91_PERIPH_C AT91_PINCTRL_NONE>;
> +					};
> +
> +					pinctrl_pwm0_pwm3_0: pwm0_pwm3-0 {
> +						atmel,pins =
> +							<AT91_PIOB 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
> +					};
> +					pinctrl_pwm0_pwm3_1: pwm0_pwm3-1 {
> +						atmel,pins =
> +							<AT91_PIOC 21 AT91_PERIPH_C AT91_PINCTRL_NONE>;
> +					};
> +				};
> +
>  				tcb0 {
>  					pinctrl_tcb0_tclk0: tcb0_tclk0-0 {
>  						atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
> -- 
> 1.9.1
> 

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list