summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/da850.dtsi
diff options
context:
space:
mode:
authorPetr Kulhavy <petr@barix.com>2016-04-05 12:31:37 +0300
committerSekhar Nori <nsekhar@ti.com>2016-04-14 09:10:24 +0300
commit497762b852bd167d56a884bc3259eaf977e3db3f (patch)
tree4cfd6e95fd175595aeb3b487d673ce4bbe10b545 /arch/arm/boot/dts/da850.dtsi
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
downloadlinux-497762b852bd167d56a884bc3259eaf977e3db3f.tar.xz
ARM: DTS: da850: fix missing #gpio-cells in gpio node
The gpio node is missing the mandatory property #gpio-cells, which is causing runtime errors when using GPIOs e.g. with gpio-leds or gpio-keys: "could not get #gpio-cells for /soc/gpio@1e26000" This fixes the problem and adds the missing parameter. The value is 2 according to the gpio-davinci.txt binding. Signed-off-by: Petr Kulhavy <petr@barix.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/boot/dts/da850.dtsi')
-rw-r--r--arch/arm/boot/dts/da850.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 226cda76e77c..b0e3a4c833c3 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -312,6 +312,7 @@
gpio: gpio@1e26000 {
compatible = "ti,dm6441-gpio";
gpio-controller;
+ #gpio-cells = <2>;
reg = <0x226000 0x1000>;
interrupts = <42 IRQ_TYPE_EDGE_BOTH
43 IRQ_TYPE_EDGE_BOTH 44 IRQ_TYPE_EDGE_BOTH