Skip to content

Commit

Permalink
apm821xx: MyBook Live convert to DT PHY
Browse files Browse the repository at this point in the history
Changes MyBook Live to use DT PHY probing and the broadcom phy driver.

Signed-off-by: Christian Lamparter <[email protected]>
  • Loading branch information
chunkeey authored and blogic committed Dec 14, 2017
1 parent 6ad56fb commit 0cad9f0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions target/linux/apm821xx/dts/apollo3g.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions target/linux/apm821xx/sata/config-default
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 0cad9f0

Please sign in to comment.