From e4371779d2691553e6321e87d86212beaaa8b89d Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 7 Jan 2018 21:27:49 +0100 Subject: apm821xx: convert MR24 to use DT PHY defintion Convert the MR24 to use the DT phy probing and at803x PHY driver. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/meraki-mr24.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target/linux/apm821xx/dts/meraki-mr24.dts') diff --git a/target/linux/apm821xx/dts/meraki-mr24.dts b/target/linux/apm821xx/dts/meraki-mr24.dts index 2c2f8d281b..e06d37cbbd 100644 --- a/target/linux/apm821xx/dts/meraki-mr24.dts +++ b/target/linux/apm821xx/dts/meraki-mr24.dts @@ -89,6 +89,18 @@ &EMAC0 { status = "okay"; + + phy-mode = "rgmii-id"; + phy-map = <0x2>; + phy-address = <0x1>; + phy-handle = <&phy>; + + mdio { + phy: phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; + }; }; &POB0 { -- cgit v1.2.3