linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: linuxppc-dev@lists.ozlabs.org, grant.likely@secretlab.ca
Cc: Anatolij Gustschin <agust@denx.de>
Subject: [PATCH] powerpc/5200: dts: digsy_mtc.dts: add timer0 and timer1 gpio properties
Date: Tue,  7 Jun 2011 00:27:05 +0200	[thread overview]
Message-ID: <1307399225-15882-1-git-send-email-agust@denx.de> (raw)
In-Reply-To: <1305561764-5942-1-git-send-email-agust@denx.de>

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 |    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@f0000000 {
 		timer@600 {	// General Purpose Timer
+			#gpio-cells = <2>;
 			fsl,has-wdt;
+			gpio-controller;
+		};
+
+		timer@610 {
+			#gpio-cells = <2>;
+			gpio-controller;
 		};
 
 		rtc@800 {
-- 
1.7.1

  parent reply	other threads:[~2011-06-06 22:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-16 16:02 [PATCH 1/2] powerpc/5200: mpc5200b.dtsi: add spi node address- and size-cells properties Anatolij Gustschin
2011-05-16 16:02 ` [PATCH 2/2] powerpc/5200: dts: digsy_mtc.dts: update to add can, pci, serial and spi Anatolij Gustschin
2011-06-06 22:27 ` Anatolij Gustschin [this message]
2011-07-06  9:46   ` [PATCH] powerpc/5200: dts: digsy_mtc.dts: add timer0 and timer1 gpio properties Anatolij Gustschin
2011-07-06 17:16     ` Grant Likely
2011-07-06  9:43 ` [PATCH 1/2] powerpc/5200: mpc5200b.dtsi: add spi node address- and size-cells properties Anatolij Gustschin
2011-07-06 17:27   ` Grant Likely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1307399225-15882-1-git-send-email-agust@denx.de \
    --to=agust@denx.de \
    --cc=grant.likely@secretlab.ca \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).