ipq40xx: extend DT mdio node to be more accessible

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>
master
Christian Lamparter 5 years ago
parent 6933f2bc1d
commit ef4bea0b51

@ -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>;
+ };
+ };

Loading…
Cancel
Save