diff options
author | Anatolij Gustschin <agust@denx.de> | 2011-06-06 18:27:05 -0400 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2011-09-22 17:14:03 -0400 |
commit | 1982c09a64b10c4407ef0b177ea7fcabc03d4add (patch) | |
tree | f1345a94358fff498690c44471b7df845c20b75a | |
parent | aa4593f2741946df5a47cbd679e1bc7da476e4bf (diff) |
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 <agust@denx.de>
-rw-r--r-- | 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 e205d17fd1f5..2aad7ae435d4 100644 --- a/arch/powerpc/boot/dts/digsy_mtc.dts +++ b/arch/powerpc/boot/dts/digsy_mtc.dts | |||
@@ -23,7 +23,14 @@ | |||
23 | 23 | ||
24 | soc5200@f0000000 { | 24 | soc5200@f0000000 { |
25 | timer@600 { // General Purpose Timer | 25 | timer@600 { // General Purpose Timer |
26 | #gpio-cells = <2>; | ||
26 | fsl,has-wdt; | 27 | fsl,has-wdt; |
28 | gpio-controller; | ||
29 | }; | ||
30 | |||
31 | timer@610 { | ||
32 | #gpio-cells = <2>; | ||
33 | gpio-controller; | ||
27 | }; | 34 | }; |
28 | 35 | ||
29 | rtc@800 { | 36 | rtc@800 { |