aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-04-10 10:59:42 -0500
committerMathias Kresin <dev@kresin.me>2018-04-13 07:51:43 +0200
commitc61c709f4e3f4331716d6e5624f7678d03b5d80c (patch)
tree0ecd76fc6078652b7f09699a7c76b89c20dad170 /target/linux
parentb2bbef7eb451a5abde4e200851e42514ea5a83ac (diff)
downloadupstream-c61c709f4e3f4331716d6e5624f7678d03b5d80c.tar.gz
upstream-c61c709f4e3f4331716d6e5624f7678d03b5d80c.tar.bz2
upstream-c61c709f4e3f4331716d6e5624f7678d03b5d80c.zip
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>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/apm821xx/dts/meraki-mx60.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/apm821xx/dts/meraki-mx60.dts b/target/linux/apm821xx/dts/meraki-mx60.dts
index 32e5c859e8..cf20e2e9e9 100644
--- a/target/linux/apm821xx/dts/meraki-mx60.dts
+++ b/target/linux/apm821xx/dts/meraki-mx60.dts
@@ -107,7 +107,7 @@
#address-cells = <1>;
#size-cells = <0>;
phy0: ethernet-phy@0 {
- device_type = "ethernet-phy";
+ compatible = "ethernet-phy-id004d.d034";
reg = <0>;
qca,ar8327-initvals = <
0x0010 0x40000000