summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMarkLee <Mark-MC.Lee@mediatek.com>2020-06-19 14:17:17 +0300
committerTom Rini <trini@konsulko.com>2020-07-29 05:44:00 +0300
commitf5b441fcbea972bcd7828beee115d2dfee8137bc (patch)
tree4c58585f63ae18bf792911a53867971c58daeee3 /arch/arm
parentf0236b7015283da3d7c9cb9e91b8b94a7e46c5e6 (diff)
downloadu-boot-f5b441fcbea972bcd7828beee115d2dfee8137bc.tar.xz
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/mt7629-rfb.dts14
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/dts/mt7629-rfb.dts b/arch/arm/dts/mt7629-rfb.dts
index bf84f76344..5cc7294de6 100644
--- a/arch/arm/dts/mt7629-rfb.dts
+++ b/arch/arm/dts/mt7629-rfb.dts
@@ -24,12 +24,14 @@
&eth {
status = "okay";
- mediatek,gmac-id = <1>;
- phy-mode = "gmii";
- phy-handle = <&phy0>;
-
- phy0: ethernet-phy@0 {
- reg = <0>;
+ mediatek,gmac-id = <0>;
+ phy-mode = "sgmii";
+ mediatek,switch = "mt7531";
+ reset-gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
};
};