diff options
-rw-r--r-- | drivers/clk/starfive/clk-jh7110.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/starfive/clk-jh7110.c b/drivers/clk/starfive/clk-jh7110.c index bad022f6e7..811d8fc877 100644 --- a/drivers/clk/starfive/clk-jh7110.c +++ b/drivers/clk/starfive/clk-jh7110.c @@ -451,6 +451,10 @@ static int jh7110_clk_init(struct udevice *dev) starfive_clk_divider(priv->sys, "gmac1_gtxclk", "gmacusb_root", SYS_OFFSET(JH7110_GMAC1_GTXCLK), 4)); + clk_dm(JH7110_GMAC1_GTXC, + starfive_clk_gate(priv->sys, + "gmac1_gtxc", "gmac1_gtxclk", + SYS_OFFSET(JH7110_GMAC1_GTXC))); clk_dm(JH7110_GMAC1_RMII_RTX, starfive_clk_divider(priv->sys, "gmac1_rmii_rtx", "gmac1_rmii_refin", |