Commit f505dba7 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Nicolas Ferre

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
321beec5 ("net: phy: Use interrupts when available in NOLINK state")
disables polling.

Cc: <stable@vger.kernel.org> # 4.4
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent aae6b18f
...@@ -86,6 +86,8 @@ i2c0: i2c@f8014000 { ...@@ -86,6 +86,8 @@ i2c0: i2c@f8014000 {
macb0: ethernet@f8020000 { macb0: ethernet@f8020000 {
phy-mode = "rmii"; phy-mode = "rmii";
status = "okay"; status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>;
phy0: ethernet-phy@1 { phy0: ethernet-phy@1 {
interrupt-parent = <&pioE>; interrupt-parent = <&pioE>;
...@@ -152,6 +154,10 @@ pinctrl_key_gpio: key_gpio_0 { ...@@ -152,6 +154,10 @@ pinctrl_key_gpio: key_gpio_0 {
atmel,pins = atmel,pins =
<AT91_PIOE 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; <AT91_PIOE 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
}; };
pinctrl_macb0_phy_irq: macb0_phy_irq_0 {
atmel,pins =
<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
};
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment