From c2add72676b9b53d0598335b8bb3988c71aeb28e Mon Sep 17 00:00:00 2001 From: Arvin Farahmand Date: Thu, 29 Apr 2021 20:38:35 -0400 Subject: [PATCH] boards: sam_e70_xplained: add support for PHY driver Update to dts file to use the generic MII PHY driver. Signed-off-by: Arvin Farahmand --- .../arm/sam_e70_xplained/sam_e70_xplained-common.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/boards/arm/sam_e70_xplained/sam_e70_xplained-common.dtsi b/boards/arm/sam_e70_xplained/sam_e70_xplained-common.dtsi index ab02018515c..d5f0c10d49a 100644 --- a/boards/arm/sam_e70_xplained/sam_e70_xplained-common.dtsi +++ b/boards/arm/sam_e70_xplained/sam_e70_xplained-common.dtsi @@ -89,6 +89,17 @@ zephyr_udc0: &usbhs { &gmac { status = "okay"; + + phy: phy { + compatible = "ethernet-phy"; + status = "okay"; + address = <0>; + mdio = <&mdio>; + }; +}; + +&mdio { + status = "okay"; }; &pwm0 {