Skip to content

Commit

Permalink
powerpc/5200: dts: digsy_mtc.dts: add timer0 and timer1 gpio properties
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anatolij Gustschin committed Sep 22, 2011
1 parent aa4593f commit 1982c09
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/powerpc/boot/dts/digsy_mtc.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1982c09

Please sign in to comment.