The MDIO node will become more important in the future.
Hence, this patch adds DT labels to make the properties
inside the various subnodes more accessible.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
status = "disabled";
};
-+ mdio@90000 {
++ mdio: mdio@90000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "qcom,ipq4019-mdio";
+ reg = <0x90000 0x64>;
+ status = "disabled";
+
-+ ethernet-phy@0 {
++ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+
-+ ethernet-phy@1 {
++ ethphy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+
-+ ethernet-phy@2 {
++ ethphy2: ethernet-phy@2 {
+ reg = <2>;
+ };
+
-+ ethernet-phy@3 {
++ ethphy3: ethernet-phy@3 {
+ reg = <3>;
+ };
+
-+ ethernet-phy@4 {
++ ethphy4: ethernet-phy@4 {
+ reg = <4>;
+ };
+ };