apm821xx: Force Ethernet PHYID on MX60/MX60W

The MX60's uboot disables all the PHYs before starting linux.
This causes the PHY/switch detection code to malfunction
almost all of the time. To get around this, set a compatible
flag to force PHYID.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
This commit is contained in:
Christian Lamparter 2018-04-10 10:59:42 -05:00 committed by Mathias Kresin
parent b2bbef7eb4
commit c61c709f4e

View file

@ -107,7 +107,7 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
device_type = "ethernet-phy"; compatible = "ethernet-phy-id004d.d034";
reg = <0>; reg = <0>;
qca,ar8327-initvals = < qca,ar8327-initvals = <
0x0010 0x40000000 0x0010 0x40000000