Lines Matching +full:axi +full:- +full:ethernet +full:- +full:1
1 // SPDX-License-Identifier: GPL-2.0+
10 #include <asm/kona-common/clk.h>
11 #include "clk-core.h"
40 /* Enable appropriate clocks for Ethernet */
43 int rc = -1; in clk_eth_enable()
48 writel((1 | WR_ACCESS_PASSWORD), WR_ACCESS_ADDR); in clk_eth_enable()
59 rc = -1; in clk_eth_enable()
69 if (rc == -1) { in clk_eth_enable()
70 printf("%s: ETH-PLL lock timeout, Ethernet is not enabled!\n", in clk_eth_enable()
72 return -1; in clk_eth_enable()
89 rc = -1; in clk_eth_enable()
100 if (rc == -1) { in clk_eth_enable()
101 printf("%s: SYS CLK Trigger timeout, Ethernet is not enabled!\n", in clk_eth_enable()
103 return -1; in clk_eth_enable()
106 /* switch Esub AXI clock to 208MHz */ in clk_eth_enable()
120 rc = -1; in clk_eth_enable()
132 if (rc == -1) { in clk_eth_enable()
133 printf("%s: AXI CLK Trigger timeout, Ethernet is not enabled!\n", in clk_eth_enable()
135 return -1; in clk_eth_enable()