ipq40xx: extend DT mdio node to be more accessible
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 8 Mar 2019 18:11:28 +0000 (19:11 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 14 Apr 2019 14:40:55 +0000 (16:40 +0200)
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>
target/linux/ipq40xx/patches-4.19/701-dts-ipq4019-add-mdio-node.patch

index 0e1bb87..26e55b4 100644 (file)
@@ -19,30 +19,30 @@ so the info might change.
                        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>;
 +                      };
 +              };