From: Soren Brinkmann Date: Thu, 10 Jul 2014 18:53:38 +0000 (-0700) Subject: ARM: zynq: DT: Add GPIO node X-Git-Tag: firefly_0821_release~176^2~3445^2~3^2~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e0a5c552caf7a4865f3d5aa077003ef2d35217db;p=firefly-linux-kernel-4.4.55.git ARM: zynq: DT: Add GPIO node Add node describing Zynq's GPIO controller. Signed-off-by: Soren Brinkmann Signed-off-by: Michal Simek --- 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 {