From 4daaa1a10f2710da0b904a86d3190053b785339e Mon Sep 17 00:00:00 2001 From: Arvin Farahmand Date: Thu, 29 Apr 2021 20:36:56 -0400 Subject: [PATCH] boards: atsame54_xpro add support for PHY driver Update to dts file to use the generic MII PHY driver. Signed-off-by: Arvin Farahmand --- boards/arm/atsame54_xpro/atsame54_xpro.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/boards/arm/atsame54_xpro/atsame54_xpro.dts b/boards/arm/atsame54_xpro/atsame54_xpro.dts index 959f08c36c9..3dafd033c70 100644 --- a/boards/arm/atsame54_xpro/atsame54_xpro.dts +++ b/boards/arm/atsame54_xpro/atsame54_xpro.dts @@ -104,4 +104,15 @@ zephyr_udc0: &usb0 { &gmac { status = "okay"; zephyr,random-mac-address; + + phy: phy { + compatible = "ethernet-phy"; + status = "okay"; + address = <0>; + mdio = <&mdio>; + }; +}; + +&mdio { + status = "okay"; };