]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: mediatek: enable sgmii mode and mt7531 switch for mt7629
authorMarkLee <Mark-MC.Lee@mediatek.com>
Fri, 19 Jun 2020 11:17:17 +0000 (19:17 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 02:44:00 +0000 (22:44 -0400)
This patch enable sgmii mode and mt7531 switch support in mt7629
ethernet dts node

Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com>
arch/arm/dts/mt7629-rfb.dts

index bf84f76344047df96af0e9e474d76b3aed4c3634..5cc7294de67f17080206fb2d210af739404f4f2a 100644 (file)
 
 &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;
        };
 };