]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: vf610-zii-dev-rev-b: fix interrupt for GPIO expander
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 20 Dec 2017 23:11:50 +0000 (23:11 +0000)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:47:04 +0000 (16:47 +0800)
The interrupt specification for the GPIO expander is wrong - the
expander is wired to PTB28, which is GPIO98.  GPIO98 is on gpio chip
3, not 2.

In addition, the device is missing a required property.  Interrupt
controllers must have the "interrupt-controller" property specified.
Add this.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf610-zii-dev-rev-b.dts

index acdf12ad0622101bd934262176f1e6dedfe2920d..ede8649ba51527c7091c6d5909b4a561c9678229 100644 (file)
                reg = <0x22>;
                gpio-controller;
                #gpio-cells = <2>;
-               interrupt-parent = <&gpio2>;
+               interrupt-controller;
+               interrupt-parent = <&gpio3>;
                interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
        };
 };