devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Markus Mayer" <markus.mayer@linaro.org>
To: Linus Walleij <linus.walleij@linaro.org>,
	Stephen Warren <swarren@wwwdotorg.org>,
	Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com>
Cc: Device Tree List <devicetree@vger.kernel.org>,
	Linaro Patches <patches@linaro.org>,
	Christian Daudt <csd@broadcom.com>,
	Tim Kryger <tim.kryger@linaro.org>,
	Matt Porter <matt.porter@linaro.org>,
	Markus Mayer <markus.mayer@linaro.org>,
	ARM Kernel List <linux-arm-kernel@lists.infradead.org>
Subject: [PATCH v7 3/3] ARM: bcm281xx: Add device node for the GPIO controller
Date: Fri, 30 Aug 2013 10:15:14 -0700	[thread overview]
Message-ID: <1377882914-30152-4-git-send-email-markus.mayer@linaro.org> (raw)
In-Reply-To: <1377882914-30152-1-git-send-email-markus.mayer@linaro.org>

Add the GPIO controller device node for the Broadcom bcm281xx family of
mobile SoCs.

Signed-off-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Matt Porter <matt.porter@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/boot/dts/bcm11351.dtsi |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi
index c0cdf66..a3945e3 100644
--- a/arch/arm/boot/dts/bcm11351.dtsi
+++ b/arch/arm/boot/dts/bcm11351.dtsi
@@ -63,6 +63,22 @@
 		clock-frequency = <32768>;
 	};
 
+	gpio: gpio@35003000 {
+		compatible = "brcm,bcm11351-gpio", "brcm,kona-gpio";
+		reg = <0x35003000 0x800>;
+		interrupts =
+		       <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH
+			GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH
+			GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH
+			GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
+			GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
+			GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
+		#gpio-cells = <2>;
+		#interrupt-cells = <2>;
+		gpio-controller;
+		interrupt-controller;
+	};
+
 	sdio0: sdio@0x3f180000 {
 		compatible = "bcm,kona-sdhci";
 		reg = <0x3f180000 0x10000>;
-- 
1.7.9.5

      parent reply	other threads:[~2013-08-30 17:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30 17:15 [PATCH v7 0/3] gpio: bcm281xx: GPIO driver Markus Mayer
2013-08-30 17:15 ` [PATCH v7 1/3] gpio: bcm281xx: Add " Markus Mayer
2013-09-06 17:14   ` Matt Porter
2013-09-06 18:43     ` Markus Mayer
2013-08-30 17:15 ` [PATCH v7 2/3] ARM: bcm281xx: Enable " Markus Mayer
2013-08-30 23:16   ` Christian Daudt
2013-09-03 17:44     ` Markus Mayer
2013-08-30 17:15 ` Markus Mayer [this message]

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=1377882914-30152-4-git-send-email-markus.mayer@linaro.org \
    --to=markus.mayer@linaro.org \
    --cc=Sudeep.KarkadaNagesha@arm.com \
    --cc=csd@broadcom.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=matt.porter@linaro.org \
    --cc=patches@linaro.org \
    --cc=swarren@wwwdotorg.org \
    --cc=tim.kryger@linaro.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).