summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-12-19 11:27:31 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-05-09 18:17:41 +0100
commitd0a3dd42d051b91454092d9eef16f0eaf3558a00 (patch)
treeb9cd24f97267354dc77eb46ea3ef8c4d9b369163 /arch/arm
parent36af9c9929c53c43ba63577f3b32c3d9f8fcaef5 (diff)
ARM: dts: vf610-zii-dev-rev-b: add interrupts for 88e1545 PHY
The 88e1545 PHY has its interrupts wired to the VF610, so we might as well use them. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> --- This is certainly not correct, as all PHYs on this device share the same interrupt line, but we can't specify the pinmux settings individually on each PHY. How should this be handled?
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/nxp/vf/vf610-zii-dev-rev-b.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/nxp/vf/vf610-zii-dev-rev-b.dts b/arch/arm/boot/dts/nxp/vf/vf610-zii-dev-rev-b.dts
index 029f49be40e3..b015413240ae 100644
--- a/arch/arm/boot/dts/nxp/vf/vf610-zii-dev-rev-b.dts
+++ b/arch/arm/boot/dts/nxp/vf/vf610-zii-dev-rev-b.dts
@@ -269,12 +269,20 @@
#size-cells = <0>;
switch2phy0: phy@0 {
+ interrupt-parent = <&gpio0>;
+ interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
reg = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_mv88e1545>;
};
switch2phy1: phy@1 {
+ interrupt-parent = <&gpio0>;
+ interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
reg = <1>;
};
switch2phy2: phy@2 {
+ interrupt-parent = <&gpio0>;
+ interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
reg = <2>;
};
};
@@ -437,6 +445,12 @@
>;
};
+ pinctrl_mv88e1545: pinctrl-mv88e1545 {
+ fsl,pins = <
+ VF610_PAD_PTB0__GPIO_22 0x219d
+ >;
+ };
+
pinctrl_pca9554_22: pinctrl-pca95540-22 {
fsl,pins = <
VF610_PAD_PTB28__GPIO_98 0x219d