mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARM: zynq: dt: Add GPIO node
@ 2014-07-10 18:53 Soren Brinkmann
  2014-07-18  9:51 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Soren Brinkmann @ 2014-07-10 18:53 UTC (permalink / raw)
  To: Michal Simek, Russell King
  Cc: linux-arm-kernel, linux-kernel, Sören Brinkmann, devicetree,
	Kumar Gala, Ian Campbell, Mark Rutland, Pawel Moll, Rob Herring

Add node describing Zynq's GPIO controller.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
---
The GPIO driver and binding documentation is staged in Linus' GPIO tree.

	Sören

 arch/arm/boot/dts/zynq-7000.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi
index 760bbc463c5b..504cca338247 100644
--- a/arch/arm/boot/dts/zynq-7000.dtsi
+++ b/arch/arm/boot/dts/zynq-7000.dtsi
@@ -65,6 +65,16 @@
 		interrupt-parent = <&intc>;
 		ranges;
 
+		gpio0: gpio@e000a000 {
+			compatible = "xlnx,zynq-gpio-1.0";
+			#gpio-cells = <2>;
+			clocks = <&clkc 42>;
+			gpio-controller;
+			interrupt-parent = <&intc>;
+			interrupts = <0 20 4>;
+			reg = <0xe000a000 0x1000>;
+		};
+
 		i2c0: i2c@e0004000 {
 			compatible = "cdns,i2c-r1p10";
 			status = "disabled";
-- 
2.0.1.1.gfbfc394


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-18  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-10 18:53 [PATCH] ARM: zynq: dt: Add GPIO node Soren Brinkmann
2014-07-18  9:51 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®