aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/dts
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-01-07 21:27:49 +0100
committerMathias Kresin <dev@kresin.me>2018-01-12 08:00:04 +0100
commite4371779d2691553e6321e87d86212beaaa8b89d (patch)
treee5e01d3858310e1371f539e04edfa4c79b093b0b /target/linux/apm821xx/dts
parent15faf389ad5159fa8223344029c98a0afca6e5ef (diff)
downloadupstream-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.dts12
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 {