From e0a5c552caf7a4865f3d5aa077003ef2d35217db Mon Sep 17 00:00:00 2001 From: Soren Brinkmann Date: Thu, 10 Jul 2014 11:53:38 -0700 Subject: [PATCH] ARM: zynq: DT: Add GPIO node Add node describing Zynq's GPIO controller. Signed-off-by: Soren Brinkmann Signed-off-by: Michal Simek --- 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 39365d8a864c..366ca6434f54 100644 --- a/arch/arm/boot/dts/zynq-7000.dtsi +++ b/arch/arm/boot/dts/zynq-7000.dtsi @@ -71,6 +71,16 @@ interrupts = <0 7 4>; interrupt-parent = <&intc>; clocks = <&clkc 12>; + }; + + 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 { -- 2.39.5