powerpc/5200: dts: digsy_mtc.dts: add timer0 and timer1 gpio properties
authorAnatolij Gustschin <agust@denx.de>
Mon, 6 Jun 2011 22:27:05 +0000 (00:27 +0200)
committerAnatolij Gustschin <agust@denx.de>
Thu, 22 Sep 2011 21:14:03 +0000 (23:14 +0200)
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@denx.de>
arch/powerpc/boot/dts/digsy_mtc.dts

index e205d17fd1f560a512580d7facc3cae1474b70c9..2aad7ae435d4cb379a89dd28a57a37d24bf95b93 100644 (file)
 
        soc5200@f0000000 {
                timer@600 {     // General Purpose Timer
+                       #gpio-cells = <2>;
                        fsl,has-wdt;
+                       gpio-controller;
+               };
+
+               timer@610 {
+                       #gpio-cells = <2>;
+                       gpio-controller;
                };
 
                rtc@800 {