Skip to content

Commit 2e38b94

Browse files
KV Sujithnsekhar
authored andcommitted
ARM: davinci: da850: add GPIO DT node
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>
1 parent 374b105 commit 2e38b94

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

arch/arm/boot/dts/da850.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* option) any later version.
99
*/
1010
#include "skeleton.dtsi"
11+
#include <dt-bindings/interrupt-controller/irq.h>
1112

1213
/ {
1314
arm {
@@ -256,6 +257,19 @@
256257
36
257258
>;
258259
};
260+
gpio: gpio@1e26000 {
261+
compatible = "ti,dm6441-gpio";
262+
gpio-controller;
263+
reg = <0x226000 0x1000>;
264+
interrupts = <42 IRQ_TYPE_EDGE_BOTH
265+
43 IRQ_TYPE_EDGE_BOTH 44 IRQ_TYPE_EDGE_BOTH
266+
45 IRQ_TYPE_EDGE_BOTH 46 IRQ_TYPE_EDGE_BOTH
267+
47 IRQ_TYPE_EDGE_BOTH 48 IRQ_TYPE_EDGE_BOTH
268+
49 IRQ_TYPE_EDGE_BOTH 50 IRQ_TYPE_EDGE_BOTH>;
269+
ti,ngpio = <144>;
270+
ti,davinci-gpio-unbanked = <0>;
271+
status = "disabled";
272+
};
259273
};
260274
nand_cs3@62000000 {
261275
compatible = "ti,davinci-nand";

0 commit comments

Comments
 (0)