aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-12-20 23:11:50 +0000
committerShawn Guo <shawnguo@kernel.org>2017-12-26 16:47:04 +0800
commitc09d063b8a5cb34bcdafdf7ba713b73a87296ba3 (patch)
treed0b69e70924d9b2a3a5ca27d039392cb114753e4 /arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
parentARM: dts: vf610-zii-dev: enable edma1 (diff)
downloadwireguard-linux-c09d063b8a5cb34bcdafdf7ba713b73a87296ba3.tar.xz
wireguard-linux-c09d063b8a5cb34bcdafdf7ba713b73a87296ba3.zip
ARM: dts: vf610-zii-dev-rev-b: fix interrupt for GPIO expander
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>
Diffstat (limited to 'arch/arm/boot/dts/vf610-zii-dev-rev-b.dts')
-rw-r--r--arch/arm/boot/dts/vf610-zii-dev-rev-b.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts b/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
index acdf12ad0622..ede8649ba515 100644
--- a/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
+++ b/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
@@ -371,7 +371,8 @@
reg = <0x22>;
gpio-controller;
#gpio-cells = <2>;
- interrupt-parent = <&gpio2>;
+ interrupt-controller;
+ interrupt-parent = <&gpio3>;
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
};
};