[PATCH] powerpc/5200: dts: digsy_mtc.dts: add timer0 and timer1 gpio properties

Anatolij Gustschin agust at denx.de
Wed Jul 6 19:46:27 EST 2011


Hi Grant,

Can you please pick this patch for 3.1 ?

On Tue,  7 Jun 2011 00:27:05 +0200
Anatolij Gustschin <agust at denx.de> wrote:

> timer0 and timer1 pins are used as simple GPIO on this board.
> Add gpio-controller and #gpio-cells properties to timer nodes
> so that we can control gpio lines using available MPC52xx
> GPT driver.
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  arch/powerpc/boot/dts/digsy_mtc.dts |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts
> index e205d17..2aad7ae 100644
> --- a/arch/powerpc/boot/dts/digsy_mtc.dts
> +++ b/arch/powerpc/boot/dts/digsy_mtc.dts
> @@ -23,7 +23,14 @@
>  
>  	soc5200 at f0000000 {
>  		timer at 600 {	// General Purpose Timer
> +			#gpio-cells = <2>;
>  			fsl,has-wdt;
> +			gpio-controller;
> +		};
> +
> +		timer at 610 {
> +			#gpio-cells = <2>;
> +			gpio-controller;
>  		};
>  
>  		rtc at 800 {


Thanks,
Anatolij


More information about the Linuxppc-dev mailing list