Skip to content

Commit f505dba

Browse files
alexandrebelloniNicolas Ferre
authored andcommitted
ARM: dts: at91: sama5d4 xplained: properly mux phy interrupt
No interrupt were received from the phy because PIOE 1 may not be properly muxed. It prevented proper link detection, especially since commit 321beec ("net: phy: Use interrupts when available in NOLINK state") disables polling. Cc: <stable@vger.kernel.org> # 4.4 Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
1 parent aae6b18 commit f505dba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/arm/boot/dts/at91-sama5d4_xplained.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@
8686
macb0: ethernet@f8020000 {
8787
phy-mode = "rmii";
8888
status = "okay";
89+
pinctrl-names = "default";
90+
pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>;
8991

9092
phy0: ethernet-phy@1 {
9193
interrupt-parent = <&pioE>;
@@ -152,6 +154,10 @@
152154
atmel,pins =
153155
<AT91_PIOE 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
154156
};
157+
pinctrl_macb0_phy_irq: macb0_phy_irq_0 {
158+
atmel,pins =
159+
<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
160+
};
155161
};
156162
};
157163
};

0 commit comments

Comments
 (0)