linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Subject: [PATCH 1/4] mpc8349emitx: add gpio controller declarations
Date: Mon, 16 Nov 2009 16:58:51 +0300	[thread overview]
Message-ID: <1258379934-32352-2-git-send-email-dbaryshkov@gmail.com> (raw)
In-Reply-To: <1258379934-32352-1-git-send-email-dbaryshkov@gmail.com>

mpc8349 bears two GPIO controllers. Enable support for them.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 arch/powerpc/boot/dts/mpc8349emitx.dts |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts
index feeeb7f..16872c9 100644
--- a/arch/powerpc/boot/dts/mpc8349emitx.dts
+++ b/arch/powerpc/boot/dts/mpc8349emitx.dts
@@ -63,6 +63,24 @@
 			reg = <0x200 0x100>;
 		};
 
+		gpio1: gpio-controller@c00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8349-gpio";
+			reg = <0xc00 0x100>;
+			interrupts = <74 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
+		gpio2: gpio-controller@d00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8349-gpio";
+			reg = <0xd00 0x100>;
+			interrupts = <75 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
 		i2c@3000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
-- 
1.6.5

  reply	other threads:[~2009-11-16 13:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 13:58 [PATCH 0/4] mpc8349emitx: add bindings for GPIO, I2C and leds Dmitry Eremin-Solenikov
2009-11-16 13:58 ` Dmitry Eremin-Solenikov [this message]
2009-12-09 21:17   ` [PATCH 1/4] mpc8349emitx: add gpio controller declarations Kumar Gala
2009-11-16 13:58 ` [PATCH 2/4] mpc8349emitx: populate I2C busses Dmitry Eremin-Solenikov
2009-12-09 21:17   ` Kumar Gala
2009-11-16 13:58 ` [PATCH 3/4] mpc8349emitx: add OF descriptions of LocalBus devices Dmitry Eremin-Solenikov
2009-11-16 19:36   ` Scott Wood
2009-11-16 20:51     ` Dmitry Eremin-Solenikov
2009-12-09 21:17       ` Kumar Gala
2009-11-16 13:58 ` [PATCH 4/4] mpc8349emitx: add leds-gpio binding Dmitry Eremin-Solenikov
2009-12-09 21:17   ` Kumar Gala

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=1258379934-32352-2-git-send-email-dbaryshkov@gmail.com \
    --to=dbaryshkov@gmail.com \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@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).