summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2017-03-08 03:50:12 +0100
committerShawn Guo <shawnguo@kernel.org>2017-04-10 10:16:05 +0200
commit51dab7d9a28809c7d1ae6897e16c4cbb71a81fde (patch)
tree401c9c4f83526b734dd5d8554c9f2e8ba5548132 /arch/arm/boot/dts/vf610-zii-dev-rev-c.dts
parentARM: dts: imx6sx: Make UART compatible to 'imx6q-uart' (diff)
downloadlinux-51dab7d9a28809c7d1ae6897e16c4cbb71a81fde.tar.xz
linux-51dab7d9a28809c7d1ae6897e16c4cbb71a81fde.zip
ARM: dts: vf610-zii-dev: Wire up devel C switch interrupts
The devel B and devel C board use the same GPIO lines for interrupts from the two switches. Move the pinmux nodes from devel B into the shared .dtsi file, and wire up the interrupts on devel C. Signed-off-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-c.dts')
-rw-r--r--arch/arm/boot/dts/vf610-zii-dev-rev-c.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts b/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts
index 6a45bd24ffe6..352ecec64bb7 100644
--- a/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts
+++ b/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts
@@ -67,11 +67,17 @@
switch0: switch@0 {
compatible = "marvell,mv88e6190";
+ pinctrl-0 = <&pinctrl_gpio_switch0>;
+ pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
dsa,member = <0 0>;
eeprom-length = <512>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
ports {
#address-cells = <1>;
@@ -125,11 +131,17 @@
switch1: switch@0 {
compatible = "marvell,mv88e6190";
+ pinctrl-0 = <&pinctrl_gpio_switch1>;
+ pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
dsa,member = <0 1>;
eeprom-length = <512>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
ports {
#address-cells = <1>;