aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/dts
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2017-11-28 22:51:09 +0100
committerJohn Crispin <john@phrozen.org>2017-12-14 09:29:30 +0100
commit0cad9f09bec5c734fa46db0cf8a8a2104c5b2ad1 (patch)
tree34ba197a9dca1be258dd917fc6813966f0034871 /target/linux/apm821xx/dts
parent6ad56fb34c7498084659f3bf1b501f104aa76879 (diff)
downloadupstream-0cad9f09bec5c734fa46db0cf8a8a2104c5b2ad1.tar.gz
upstream-0cad9f09bec5c734fa46db0cf8a8a2104c5b2ad1.tar.bz2
upstream-0cad9f09bec5c734fa46db0cf8a8a2104c5b2ad1.zip
apm821xx: MyBook Live convert to DT PHY
Changes MyBook Live to use DT PHY probing and the broadcom phy driver. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/dts')
-rw-r--r--target/linux/apm821xx/dts/apollo3g.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/apm821xx/dts/apollo3g.dtsi b/target/linux/apm821xx/dts/apollo3g.dtsi
index 09a8b8518c..e88973f8d2 100644
--- a/target/linux/apm821xx/dts/apollo3g.dtsi
+++ b/target/linux/apm821xx/dts/apollo3g.dtsi
@@ -171,6 +171,17 @@
&EMAC0 {
status = "okay";
+
+ phy-map = <0x2>;
+ phy-address = <0x1>;
+ phy-handle = <&phy>;
+
+ mdio {
+ phy: phy@1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <1>;
+ };
+ };
};
&SATA1 {