From 4b6c9ff266527f9cf38cfd7dfd6e1d9565fcc12f Mon Sep 17 00:00:00 2001 From: Arvin Farahmand Date: Thu, 29 Apr 2021 20:37:48 -0400 Subject: [PATCH] boards: sam4e_xpro: add support for PHY driver Update to dts file to use the generic MII PHY driver. Signed-off-by: Arvin Farahmand --- boards/arm/sam4e_xpro/sam4e_xpro.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/boards/arm/sam4e_xpro/sam4e_xpro.dts b/boards/arm/sam4e_xpro/sam4e_xpro.dts index 6c071fd5ee1..a14d6f51411 100644 --- a/boards/arm/sam4e_xpro/sam4e_xpro.dts +++ b/boards/arm/sam4e_xpro/sam4e_xpro.dts @@ -148,6 +148,17 @@ &gmac { status = "okay"; zephyr,random-mac-address; + + phy: phy { + compatible = "ethernet-phy"; + status = "okay"; + address = <0>; + mdio = <&mdio>; + }; +}; + +&mdio { + status = "okay"; }; &wdt {