Skip to content

Commit 4b6c9ff

Browse files
arvinfnashif
authored andcommitted
boards: sam4e_xpro: add support for PHY driver
Update to dts file to use the generic MII PHY driver. Signed-off-by: Arvin Farahmand <[email protected]>
1 parent 4daaa1a commit 4b6c9ff

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

boards/arm/sam4e_xpro/sam4e_xpro.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,17 @@
148148
&gmac {
149149
status = "okay";
150150
zephyr,random-mac-address;
151+
152+
phy: phy {
153+
compatible = "ethernet-phy";
154+
status = "okay";
155+
address = <0>;
156+
mdio = <&mdio>;
157+
};
158+
};
159+
160+
&mdio {
161+
status = "okay";
151162
};
152163

153164
&wdt {

0 commit comments

Comments
 (0)