drivers: ethernet: eth_mcux: add support for resetting phy

add support for resetting phy at boot via GPIO reset pin.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2022-03-22 23:56:15 -05:00 committed by David Leach
commit 0f939d350d
15 changed files with 95 additions and 8 deletions

View file

@ -163,6 +163,8 @@ arduino_serial: &lpuart2 {
status = "okay";
pinctrl-0 = <&pinmux_enet>;
pinctrl-names = "default";
int-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
ptp {
status = "okay";
pinctrl-0 = <&pinmux_ptp>;