File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,36 @@ Device Drivers and Devicetree
70
70
};
71
71
};
72
72
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
+ };
73
103
74
104
Analog-to-Digital Converter (ADC)
75
105
=================================
You can’t perform that action at this time.
0 commit comments