From mboxrd@z Thu Jan 1 00:00:00 1970 From: MarkLee Date: Wed, 27 May 2020 19:25:06 +0800 Subject: [U-boot, 2/2] arm: dts: mediatek: enable sgmii mode and mt7531 switch for mt7629 In-Reply-To: <20200527112506.2919-1-Mark-MC.Lee@mediatek.com> References: <20200527112506.2919-1-Mark-MC.Lee@mediatek.com> Message-ID: <20200527112506.2919-3-Mark-MC.Lee@mediatek.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch enable sgmii mode and mt7531 switch support in mt7629 ethernet dts node. Signed-off-by: MarkLee --- arch/arm/dts/mt7629-rfb.dts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/mt7629-rfb.dts b/arch/arm/dts/mt7629-rfb.dts index 687fe1c029..5864f5551b 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>; + mediatek,gmac-id = <0>; + phy-mode = "sgmii"; + mediatek,switch = "mt7531"; + reset-gpios = <&gpio 28 GPIO_ACTIVE_HIGH>; - phy0: ethernet-phy at 0 { - reg = <0>; + fixed-link { + speed = <1000>; + full-duplex; }; }; -- 2.17.1