arm: dts: mt7629: fix sgmii clock selection for ethernet
authorWeijie Gao <weijie.gao@mediatek.com>
Tue, 17 Dec 2024 08:39:20 +0000 (16:39 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 31 Dec 2024 16:58:52 +0000 (10:58 -0600)
Setup correct parent of clock CLK_TOP_SGMII_REF_1_SEL to allow
sgmiisys1 work correctly.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/arm/dts/mt7629.dtsi

index 7dea780..cd8277d 100644 (file)
                                "sgmii2_cdr_ref", "sgmii2_cdr_fb",
                                "sgmii_ck", "eth2pll";
                assigned-clocks = <&topckgen CLK_TOP_ETH_SEL>,
-                                 <&topckgen CLK_TOP_F10M_REF_SEL>;
+                                 <&topckgen CLK_TOP_F10M_REF_SEL>,
+                                 <&topckgen CLK_TOP_SGMII_REF_1_SEL>;
                assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL1_D2>,
+                                        <&topckgen CLK_TOP_SYSPLL4_D16>,
                                         <&topckgen CLK_TOP_SGMIIPLL_D2>;
                power-domains = <&scpsys MT7629_POWER_DOMAIN_ETHSYS>;
                resets = <&ethsys ETHSYS_FE_RST>;