]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: da850: Add interrupt-controller property to gpio node
authorKeerthy <j-keerthy@ti.com>
Wed, 24 May 2017 14:01:41 +0000 (19:31 +0530)
committerSekhar Nori <nsekhar@ti.com>
Tue, 30 May 2017 10:47:25 +0000 (16:17 +0530)
The gpio node has 144 gpios. Each gpio is capable of generating
an interrupt. Hence add interrupt-controller property to the gpio
node. With this in place one can use interrupts property in device
tree to request for the gpio interrupts.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850.dtsi

index 0bd048e0049fe67a6d3355ea936a11db962bbf14..af68ef7b0caadee75e8d8fc9bffee1153ed355b9 100644 (file)
                        ti,ngpio = <144>;
                        ti,davinci-gpio-unbanked = <0>;
                        status = "disabled";
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
                };
                pinconf: pin-controller@22c00c {
                        compatible = "ti,da850-pupd";