hi commuity
on my custom board i like to use CLKO1 as a referece clk of a slave device
i searched commuity and i found it can be done in devicetree with assigned-clock
but i don't find clk names
i set SD1_CD_B pin as CLKO1 output in devicetree
what clock should i use to configure CLKO1 to ouput 24MHZ
thank you sincerely
Hi Chavira
thank you for advice
in kernel there are 4 clk name about CLK01
i am not good at kernel clk frame
what is the clock and clock parent ?
thank you in advance
sincerely
#define IMX7D_CLKO1_ROOT_SRC 338
#define IMX7D_CLKO1_ROOT_CG 339
#define IMX7D_CLKO1_ROOT_DIV 340
#define IMX7D_CLKO2_ROOT_SRC 341
Hi @hyoungkikim!
Thank you for contacting NXP Support!
You have to configure it in the device tree too using the next properties:
assigned-clocks
assigned-clock-parents
Best Regards!
Chavira