diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2014-07-10 20:53:38 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-07-23 14:05:56 +0200 |
commit | e0a5c552caf7a4865f3d5aa077003ef2d35217db (patch) | |
tree | 60f66f31d69c39a356929ef7b9bfba32eaf1f2e5 | |
parent | ARM: zynq: DT: Add XADC node (diff) | |
download | linux-e0a5c552caf7a4865f3d5aa077003ef2d35217db.tar.xz linux-e0a5c552caf7a4865f3d5aa077003ef2d35217db.zip |
ARM: zynq: DT: Add GPIO node
Add node describing Zynq's GPIO controller.
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | arch/arm/boot/dts/zynq-7000.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
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 { |