ARM: zynq: DT: Add GPIO node
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Thu, 10 Jul 2014 18:53:38 +0000 (11:53 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Jul 2014 12:05:56 +0000 (14:05 +0200)
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>
arch/arm/boot/dts/zynq-7000.dtsi

index 39365d8a864c33a3001feda7f0b62cdce161ef9d..366ca6434f5446f8c01d249058be0a021b759646 100644 (file)
                        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 {