Configure ENET1_TIME_CLK_ROOT via device tree

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Configure ENET1_TIME_CLK_ROOT via device tree

1,120件の閲覧回数
florianharmuth
Contributor II

Hello all,

as already mentioned in the title I'm trying to setup the ENET1_TIME_CLK_ROOT via a device tree entry to use EXT_CLK2 instead of the default OSC_24M value. In theory I need create a dummy clock which represents the EXT_CLK2 and assign this clock to the fec1 device - right? Are there any examples how to setup the correct clock mux and assigning it to a device?

Best Regards,

flo

ラベル(2)
タグ(1)
0 件の賞賛
返信
1 返信

1,065件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Floarian

one can look at example below and clk driver with documentation

Where pll4_bypass_src is set to choose osc 24MHz or CLK2_N/P as source in linux BSP code? 

clk-imx7d.c\imx\clk\drivers - linux-imx - i.MX Linux kernel 

https://www.kernel.org/doc/Documentation/clk.txt 

https://elinux.org/images/b/b8/Elc2013_Clement.pdf 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信