ARM: davinci: da850: add GPIO DT node
authorKV Sujith <sujithkv@ti.com>
Thu, 21 Nov 2013 18:15:30 +0000 (23:45 +0530)
committerSekhar Nori <nsekhar@ti.com>
Sun, 15 Dec 2013 13:05:37 +0000 (18:35 +0530)
Add DT node for Davinci GPIO driver.

Signed-off-by: KV Sujith <sujithkv@ti.com>
Signed-off-by: Philip Avinash <avinashphilip@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850.dtsi

index 8d17346f9702173184da0b61d217f91fc6a1fff1..b695548dbb4e7e7ebae851b53bfc747dfbd05ec8 100644 (file)
@@ -8,6 +8,7 @@
  * option) any later version.
  */
 #include "skeleton.dtsi"
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
        arm {
                                        36
                                        >;
                };
+               gpio: gpio@1e26000 {
+                       compatible = "ti,dm6441-gpio";
+                       gpio-controller;
+                       reg = <0x226000 0x1000>;
+                       interrupts = <42 IRQ_TYPE_EDGE_BOTH
+                               43 IRQ_TYPE_EDGE_BOTH 44 IRQ_TYPE_EDGE_BOTH
+                               45 IRQ_TYPE_EDGE_BOTH 46 IRQ_TYPE_EDGE_BOTH
+                               47 IRQ_TYPE_EDGE_BOTH 48 IRQ_TYPE_EDGE_BOTH
+                               49 IRQ_TYPE_EDGE_BOTH 50 IRQ_TYPE_EDGE_BOTH>;
+                       ti,ngpio = <144>;
+                       ti,davinci-gpio-unbanked = <0>;
+                       status = "disabled";
+               };
        };
        nand_cs3@62000000 {
                compatible = "ti,davinci-nand";