diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2014-07-10 11:53:38 -0700 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-07-23 14:05:56 +0200 |
commit | e0a5c552caf7a4865f3d5aa077003ef2d35217db (patch) | |
tree | 60f66f31d69c39a356929ef7b9bfba32eaf1f2e5 | |
parent | 215556046da0975acae8741b2f27413008b23bd4 (diff) | |
download | op-kernel-dev-e0a5c552caf7a4865f3d5aa077003ef2d35217db.zip op-kernel-dev-e0a5c552caf7a4865f3d5aa077003ef2d35217db.tar.gz |
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 39365d8..366ca64 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 { |