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


Groups > linux.kernel > #1472286

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

From Andrew Jeffery <andrew@aj.id.au>
Newsgroups linux.kernel
Subject [PATCH v3 5/7] aspeed-g4: Add gpio controller to devicetree
Date 2016-08-30 10:00 +0200
Message-ID <sbM7D-1Ul-15@gated-at.bofh.it> (permalink)
References <sbM7D-1Ul-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
 arch/arm/boot/dts/aspeed-g4.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
index a5d6e81e318a..7c2b73c4d5ab 100644
--- a/arch/arm/boot/dts/aspeed-g4.dtsi
+++ b/arch/arm/boot/dts/aspeed-g4.dtsi
@@ -492,6 +492,16 @@
 				reg = <0x1e720000 0x8000>;	// 32K
 			};
 
+			gpio: gpio@1e780000 {
+				#gpio-cells = <2>;
+				gpio-controller;
+				compatible = "aspeed,ast2400-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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/7] aspeed: Integrate pinctrl and gpio drivers Andrew Jeffery <andrew@aj.id.au> - 2016-08-30 10:00 +0200
  [PATCH v3 1/7] mach-aspeed: Select pinctrl drivers Andrew Jeffery <andrew@aj.id.au> - 2016-08-30 10:00 +0200
  [PATCH v3 5/7] aspeed-g4: Add gpio controller to devicetree Andrew Jeffery <andrew@aj.id.au> - 2016-08-30 10:00 +0200
  [PATCH v3 2/7] mach-aspeed: Select GPIO driver Andrew Jeffery <andrew@aj.id.au> - 2016-08-30 10:00 +0200
  [PATCH v3 6/7] aspeed-g5: Add syscon and pin controller nodes Andrew Jeffery <andrew@aj.id.au> - 2016-08-30 10:00 +0200
  [PATCH v3 4/7] palmetto: Request relevant mux functions in devicetree Andrew Jeffery <andrew@aj.id.au> - 2016-08-30 10:00 +0200
  [PATCH v3 3/7] aspeed-g4: Add syscon and pin controller nodes Andrew Jeffery <andrew@aj.id.au> - 2016-08-30 10:00 +0200

csiph-web