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>
Fri, 2 Aug 2019 20:46:45 +0000 (22:46 +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 0298644d22add01172943ff8259a422b73992fbc..316e60f221058baa950706507a7cc0b53aeb9a17 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>;
 +                      };
 +              };