ARM: kirkwood: add gigabit ethernet and mvmdio device tree nodes
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / kirkwood-ts219.dtsi
index 0c9a94cd666c597dab629b8a9a7908f02e82abd6..102eaeb426aa91b3f10b8a24652143bf7122aca5 100644 (file)
                };
        };
 };
+
+&mdio {
+       status = "okay";
+
+       ethphy0: ethernet-phy {
+               device_type = "ethernet-phy";
+                /* overwrite reg property in board file */
+       };
+};
+
+&eth0 {
+       status = "okay";
+       ethernet0-port@0 {
+               phy-handle = <&ethphy0>;
+       };
+};