Skip to content

Commit 2c4e755

Browse files
decsnyaescolar
authored andcommitted
doc: migration-guide-3.7: Add NXP ENET info
Add to migration guide info about the nxp,enet binding change. Signed-off-by: Declan Snyder <[email protected]>
1 parent 537d5c3 commit 2c4e755

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

doc/releases/migration-guide-3.7.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,36 @@ Device Drivers and Devicetree
7070
};
7171
};
7272
73+
* The :dtcompatible:`nxp,kinetis-ethernet` has been deprecated in favor of
74+
:dtcompatible:`nxp,enet`. All in tree SOCs were converted to use this new schema.
75+
Thus, all boards using NXP's ENET peripheral will need to align to this binding
76+
in DT, which also comes with a different version driver. Alternatively,
77+
the Ethernet node can be deleted and redefined as the old binding to use
78+
the deprecated legacy driver. The primary advantage of the new binding
79+
is to be able to abstract an arbitrary phy through the mdio API. Example
80+
of a basic board level ENET DT definition:
81+
82+
.. code-block:: devicetree
83+
84+
&enet_mac {
85+
status = "okay";
86+
pinctrl-0 = <&pinmux_enet>;
87+
pinctrl-names = "default";
88+
phy-handle = <&phy>;
89+
zephyr,random-mac-address;
90+
phy-connection-type = "rmii";
91+
};
92+
93+
&enet_mdio {
94+
status = "okay";
95+
pinctrl-0 = <&pinmux_enet_mdio>;
96+
pinctrl-names = "default";
97+
phy: phy@3 {
98+
compatible = "ethernet-phy";
99+
reg = <3>;
100+
status = "okay";
101+
};
102+
};
73103
74104
Analog-to-Digital Converter (ADC)
75105
=================================

0 commit comments

Comments
 (0)