From: jaz@semihalf.com (Grzegorz Jaszczyk)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 10/17] ARM: dts: mvebu: armada-39x: add missing nodes describing GPIO's
Date: Thu, 4 Aug 2016 12:14:13 +0200 [thread overview]
Message-ID: <1470305660-6601-11-git-send-email-jaz@semihalf.com> (raw)
In-Reply-To: <1470305660-6601-1-git-send-email-jaz@semihalf.com>
The whole Armada 39x SoC family of processors has GPIO's which all can be
supported with existing driver.
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
arch/arm/boot/dts/armada-39x.dtsi | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi
index 5e01438..0749878 100644
--- a/arch/arm/boot/dts/armada-39x.dtsi
+++ b/arch/arm/boot/dts/armada-39x.dtsi
@@ -55,6 +55,8 @@
compatible = "marvell,armada390";
aliases {
+ gpio0 = &gpio0;
+ gpio1 = &gpio1;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;
@@ -274,6 +276,34 @@
};
};
+ gpio0: gpio at 18100 {
+ compatible = "marvell,orion-gpio";
+ reg = <0x18100 0x40>;
+ ngpios = <32>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ gpio1: gpio at 18140 {
+ compatible = "marvell,orion-gpio";
+ reg = <0x18140 0x40>;
+ ngpios = <28>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
system-controller at 18200 {
compatible = "marvell,armada-390-system-controller",
"marvell,armada-370-xp-system-controller";
--
1.8.3.1
next prev parent reply other threads:[~2016-08-04 10:14 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-04 10:14 [PATCH v2 00/17] ARM: mvebu: misc Armada 38x/39x DT and v7 defconfig improvements Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 01/17] ARM: mvebu: enable MTD command line partition table in mvebu_v7_defconfig Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 02/17] ARM: mvebu: enable UBI and UBIFS " Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 03/17] ARM: dts: mvebu: a385-db-ap: enable USB (orion-ehci) port Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 04/17] ARM: dts: mvebu: a385-db-ap: add default partition description for NAND Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 05/17] ARM: dts: mvebu: armada-390: add missing compatibility string and bracket Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 06/17] ARM: dts: mvebu: armada-39x: update the SDHCI node on Armada 39x Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 07/17] ARM: dts: mvebu: armada-39x: enable PMU, CA9 SoC Controller and Coherency fabric Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 08/17] ARM: dts: mvebu: armada-39x: enable the thermal sensor in Armada-39x SoCs Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 09/17] ARM: dts: mvebu: armada-39x: enable watchdog for all " Grzegorz Jaszczyk
2016-08-04 10:14 ` Grzegorz Jaszczyk [this message]
2016-08-04 10:14 ` [PATCH v2 11/17] ARM: dts: mvebu: armada-39x: add missing nodes describing USB2.0 and USB3.0 Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 12/17] ARM: dts: mvebu: armada-39x: enable rtc for all Armada-39x SoCs Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 13/17] ARM: dts: mvebu: armada-395: add support for the Armada 395 SoC family Grzegorz Jaszczyk
2016-08-04 18:18 ` Rob Herring
2016-08-04 10:14 ` [PATCH v2 14/17] ARM: dts: mvebu: armada-398: update the dtsi about missing interfaces Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 15/17] ARM: dts: mvebu: armada-398-db: enable supported usb interfaces Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 16/17] ARM: dts: mvebu: armada-390-db: add support for the Armada 390 DB board Grzegorz Jaszczyk
2016-08-04 10:14 ` [PATCH v2 17/17] ARM: dts: mvebu: armada-395-gp: add support for the Armada 395 GP Board Grzegorz Jaszczyk
2016-08-04 18:22 ` Rob Herring
2016-08-08 15:03 ` [PATCH v2 00/17] ARM: mvebu: misc Armada 38x/39x DT and v7 defconfig improvements Gregory CLEMENT
2016-08-09 10:08 ` Grzegorz Jaszczyk
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=1470305660-6601-11-git-send-email-jaz@semihalf.com \
--to=jaz@semihalf.com \
--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