diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2018-01-07 21:27:49 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-01-12 08:00:04 +0100 |
commit | e4371779d2691553e6321e87d86212beaaa8b89d (patch) | |
tree | e5e01d3858310e1371f539e04edfa4c79b093b0b /target/linux/apm821xx/dts | |
parent | 15faf389ad5159fa8223344029c98a0afca6e5ef (diff) | |
download | upstream-e4371779d2691553e6321e87d86212beaaa8b89d.tar.gz upstream-e4371779d2691553e6321e87d86212beaaa8b89d.tar.bz2 upstream-e4371779d2691553e6321e87d86212beaaa8b89d.zip |
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 <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/dts')
-rw-r--r-- | target/linux/apm821xx/dts/meraki-mr24.dts | 12 |
1 files changed, 12 insertions, 0 deletions
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 { |