arm: dts: mediatek: enable sgmii mode and mt7531 switch for mt7629

This patch enable sgmii mode and mt7531 switch support in mt7629
ethernet dts node

Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com>
This commit is contained in:
MarkLee authored and Tom Rini committed 2020-07-28 22:44:00 -04:00
1 parent f0236b7015
commit f5b441fcbe
1 file changed
+7 -5
+7 -5
View File
@@ -24,12 +24,14 @@
&eth {
status = "okay";
mediatek,gmac-id = <1>;
phy-mode = "gmii";
phy-handle = <&phy0>;
mediatek,gmac-id = <0>;
phy-mode = "sgmii";
mediatek,switch = "mt7531";
reset-gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
phy0: ethernet-phy@0 {
reg = <0>;
fixed-link {
speed = <1000>;
full-duplex;
};
};