From: MarkLee Date: Fri, 19 Jun 2020 11:17:17 +0000 (+0800) Subject: arm: dts: mediatek: enable sgmii mode and mt7531 switch for mt7629 X-Git-Tag: v2020.10-rc2~24^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5b441fcbea972bcd7828beee115d2dfee8137bc;p=pandora-u-boot.git 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 --- diff --git a/arch/arm/dts/mt7629-rfb.dts b/arch/arm/dts/mt7629-rfb.dts index bf84f763440..5cc7294de67 100644 --- a/arch/arm/dts/mt7629-rfb.dts +++ b/arch/arm/dts/mt7629-rfb.dts @@ -24,12 +24,14 @@ ð { 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; }; };