linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: markus.mayer@linaro.org (Markus Mayer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9 3/3] ARM: bcm281xx: Add device node for the GPIO controller
Date: Tue, 10 Sep 2013 11:07:03 -0700	[thread overview]
Message-ID: <1378836423-12467-4-git-send-email-markus.mayer@linaro.org> (raw)
In-Reply-To: <1378836423-12467-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 05a5aab..77af396 100644
--- a/arch/arm/boot/dts/bcm11351.dtsi
+++ b/arch/arm/boot/dts/bcm11351.dtsi
@@ -68,6 +68,22 @@
 		clock-frequency = <32768>;
 	};
 
+	gpio: gpio at 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;
+	};
+
 	sdio1: sdio at 3f180000 {
 		compatible = "brcm,kona-sdhci";
 		reg = <0x3f180000 0x10000>;
-- 
1.7.9.5

  parent reply	other threads:[~2013-09-10 18:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 18:07 [PATCH v9 0/3] gpio: bcm281xx: GPIO driver Markus Mayer
2013-09-10 18:07 ` [PATCH v9 1/3] gpio: bcm281xx: Add " Markus Mayer
2013-09-10 20:02   ` Stephen Warren
2013-09-10 21:14     ` Christian Daudt
2013-09-10 22:17       ` Stephen Warren
2013-09-20 18:28   ` Linus Walleij
2013-09-10 18:07 ` [PATCH v9 2/3] ARM: bcm281xx: Enable " Markus Mayer
2013-09-10 22:32   ` Christian Daudt
2013-09-20 18:32   ` Linus Walleij
2013-09-10 18:07 ` Markus Mayer [this message]
2013-09-10 22:32   ` [PATCH v9 3/3] ARM: bcm281xx: Add device node for the GPIO controller Christian Daudt

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=1378836423-12467-4-git-send-email-markus.mayer@linaro.org \
    --to=markus.mayer@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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).