apm821xx: MyBook Live convert to DT PHY
authorChristian Lamparter <chunkeey@gmail.com>
Tue, 28 Nov 2017 21:51:09 +0000 (22:51 +0100)
committerJohn Crispin <john@phrozen.org>
Thu, 14 Dec 2017 08:29:30 +0000 (09:29 +0100)
Changes MyBook Live to use DT PHY probing and the broadcom phy driver.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/dts/apollo3g.dtsi
target/linux/apm821xx/sata/config-default

index 09a8b8518cbdc60cd6f1c94f5ca64d13e0acd2ef..e88973f8d2fca1c1029a5f912d7d69f662a12b72 100644 (file)
 
 &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 {
index b8342de0498d6cd6cd7037d01fc5bd90dab0f12f..7ca6bd4d3d89a108cad43fcd9bd6c05476214543 100644 (file)
@@ -1,5 +1,6 @@
 # CONFIG_IKAREM is not set
 CONFIG_APOLLO3G=y
+CONFIG_BROADCOM_PHY=y
 CONFIG_EXT4_FS=y
 CONFIG_DMADEVICES=y
 CONFIG_DMA_ENGINE=y