From: Anatolij Gustschin Date: Mon, 6 Jun 2011 22:27:05 +0000 (+0200) Subject: powerpc/5200: dts: digsy_mtc.dts: add timer0 and timer1 gpio properties X-Git-Tag: upstream/snapshot3+hdmi~8794^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1982c09a64b10c4407ef0b177ea7fcabc03d4add;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git powerpc/5200: dts: digsy_mtc.dts: add timer0 and timer1 gpio properties 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 --- 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@f0000000 { timer@600 { // General Purpose Timer + #gpio-cells = <2>; fsl,has-wdt; + gpio-controller; + }; + + timer@610 { + #gpio-cells = <2>; + gpio-controller; }; rtc@800 {