From c61c709f4e3f4331716d6e5624f7678d03b5d80c Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Tue, 10 Apr 2018 10:59:42 -0500 Subject: [PATCH] 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 --- target/linux/apm821xx/dts/meraki-mx60.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/apm821xx/dts/meraki-mx60.dts b/target/linux/apm821xx/dts/meraki-mx60.dts index 32e5c859e85..cf20e2e9e96 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 -- 2.30.2