From: Christian Lamparter Date: Tue, 10 Apr 2018 15:59:42 +0000 (-0500) Subject: apm821xx: Force Ethernet PHYID on MX60/MX60W X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=c61c709f4e3f4331716d6e5624f7678d03b5d80c;p=openwrt%2Fstaging%2Fdedeckeh.git 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 Signed-off-by: Chris Blake --- 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