summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/mt7629-rfb.dts
diff options
context:
space:
mode:
authorMarkLee <Mark-MC.Lee@mediatek.com>2019-10-14 15:15:18 +0800
committerDavid S. Miller <davem@davemloft.net>2019-10-15 18:03:35 -0700
commit2618500dd370da413cb1f616111e1bd8d9f5f94f (patch)
tree486ece79e7954e36e0a1c5b875e3797bd490f918 /arch/arm/boot/dts/mt7629-rfb.dts
parent4e3eff5beafa5c97cdf2af2181f46479941a7f45 (diff)
arm: dts: mediatek: Update mt7629 dts to reflect the latest dt-binding
* Removes mediatek,physpeed property from dtsi that is useless in PHYLINK * Use the fixed-link property speed = <2500> to set the phy in 2.5Gbit. * Set gmac1 to gmii mode that connect to a internal gphy Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/mt7629-rfb.dts')
-rw-r--r--arch/arm/boot/dts/mt7629-rfb.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/mt7629-rfb.dts b/arch/arm/boot/dts/mt7629-rfb.dts
index 3621b7d2b22a..9980c10c6e29 100644
--- a/arch/arm/boot/dts/mt7629-rfb.dts
+++ b/arch/arm/boot/dts/mt7629-rfb.dts
@@ -66,9 +66,21 @@
pinctrl-1 = <&ephy_leds_pins>;
status = "okay";
+ gmac0: mac@0 {
+ compatible = "mediatek,eth-mac";
+ reg = <0>;
+ phy-mode = "2500base-x";
+ fixed-link {
+ speed = <2500>;
+ full-duplex;
+ pause;
+ };
+ };
+
gmac1: mac@1 {
compatible = "mediatek,eth-mac";
reg = <1>;
+ phy-mode = "gmii";
phy-handle = <&phy0>;
};
@@ -78,7 +90,6 @@
phy0: ethernet-phy@0 {
reg = <0>;
- phy-mode = "gmii";
};
};
};