Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1472281 > unrolled thread

[PATCH v3 7/7] aspeed-g5: Add gpio controller to devicetree

Started byAndrew Jeffery <andrew@aj.id.au>
First post2016-08-30 10:00 +0200
Last post2016-08-30 10:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 7/7] aspeed-g5: Add gpio controller to devicetree Andrew Jeffery <andrew@aj.id.au> - 2016-08-30 10:00 +0200

#1472281 — [PATCH v3 7/7] aspeed-g5: Add gpio controller to devicetree

FromAndrew Jeffery <andrew@aj.id.au>
Date2016-08-30 10:00 +0200
Subject[PATCH v3 7/7] aspeed-g5: Add gpio controller to devicetree
Message-ID<sbM7D-1Ul-17@gated-at.bofh.it>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
 arch/arm/boot/dts/aspeed-g5.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 24d79c88019f..1f6a14a0802d 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -280,6 +280,16 @@
 				reg = <0x1e720000 0x9000>;	// 36K
 			};
 
+			gpio: gpio@1e780000 {
+				#gpio-cells = <2>;
+				gpio-controller;
+				compatible = "aspeed,ast2500-gpio";
+				reg = <0x1e780000 0x1000>;
+				interrupts = <20>;
+				gpio-ranges = <&pinctrl 0 0 220>;
+				interrupt-controller;
+			};
+
 			timer: timer@1e782000 {
 				compatible = "aspeed,ast2400-timer";
 				reg = <0x1e782000 0x90>;
-- 
2.9.3.1.g0db844e

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web