Thread (8 messages) flat view 8 messages, 1 author, 2015-01-08
STALE4278d

Revision v3 of 4 in this series.

Revisions (4)
  1. v1 [diff vs current]
  2. resend [diff vs current]
  3. v2 [diff vs current]
  4. v3 current

[PATCH V3 4/7] arm64: dts: Add Designware GPIO dts binding to APM X-Gene platform

From: Feng Kan <hidden>
Date: 2015-01-08 00:34:36
Also in: linux-devicetree, linux-gpio, lkml
Subsystem: applied micro (apm) x-gene device tree support, the rest · Maintainers: Khuong Dinh, Linus Torvalds

Add Designware GPIO dts binding to APM X-Gene platform

Signed-off-by: Feng Kan <redacted>
---
 arch/arm64/boot/dts/apm/apm-storm.dtsi |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index f31e8df..a58f9a2 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -525,6 +525,21 @@
 			interrupts = <0x0 0x4f 0x4>;
 		};
 
+		dwgpio: gpio at 1c024000 {
+			compatible = "snps,dw-apb-gpio";
+			reg = <0x0 0x1c024000 0x0 0x1000>;
+			reg-io-width = <4>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			porta: gpio-controller at 0 {
+				compatible = "snps,dw-apb-gpio-port";
+				gpio-controller;
+				snps,nr-gpios = <32>;
+				reg = <0>;
+			};
+		};
+
 		phy1: phy at 1f21a000 {
 			compatible = "apm,xgene-phy";
 			reg = <0x0 0x1f21a000 0x0 0x100>;
-- 
1.7.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help