Home
last modified time | relevance | path

Searched refs:OFMCLK (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_clock.h36 #define OFMCLK DT_PROP(DT_NODELABEL(pcc), clock_frequency) macro
72 #define CORE_CLK (OFMCLK / DT_PROP(DT_NODELABEL(pcc), core_prescaler))
77 #if (OFMCLK > (MAX_OFMCLK / 2))
78 #define FMCLK (OFMCLK / 2) /* FMUL clock = OFMCLK/2 */
80 #define FMCLK OFMCLK /* FMUL clock = OFMCLK */
84 #define APBSRC_CLK OFMCLK
109 #if (OFMCLK == MHZ(120)) /* MCLkD must between 40 mhz to 50 mhz*/
111 #elif (OFMCLK <= MHZ(100) && OFMCLK >= MHZ(80))
125 #if (OFMCLK > (MAX_OFMCLK / 2))
130 #if (OFMCLK == 120000000)
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_control_npcx.c109 *rate = OFMCLK/(MCLKD_SL + 1); in npcx_clock_control_get_subsys_rate()
158 BUILD_ASSERT(OFMCLK <= MAX_OFMCLK, "Exceed maximum OFMCLK setting");
160 OFMCLK % CORE_CLK == 0 &&
161 OFMCLK / CORE_CLK <= 10,
193 BUILD_ASSERT(OFMCLK / (MCLKD_SL + 1) <= MHZ(50) &&
194 OFMCLK / (MCLKD_SL + 1) >= MHZ(40),
Dclock_control_npcm.c89 #define OFMCLK DT_PROP(DT_NODELABEL(pcc), clock_frequency) macro
106 #define CORE_CLK (OFMCLK / DT_PROP(DT_NODELABEL(pcc), core_prescaler))
110 #define FMCLK OFMCLK /* FMUL clock = OFMCLK */
112 #define APBSRC_CLK OFMCLK
317 if (freq_multiplier[i].ofmclk == OFMCLK) { in npcm_clock_control_init()
324 LOG_ERR("Unsupported OFMCLK frequency %d", OFMCLK); in npcm_clock_control_init()
/Zephyr-latest/dts/arm/nuvoton/npcm/
Dnpcm4.dtsi27 clock-frequency = <DT_FREQ_M(96)>; /* OFMCLK runs at 96MHz */
/Zephyr-latest/dts/arm/nuvoton/npcx/
Dnpcx7.dtsi122 clock-frequency = <DT_FREQ_M(90)>; /* OFMCLK runs at 90MHz */
Dnpcx9.dtsi153 clock-frequency = <DT_FREQ_M(90)>; /* OFMCLK runs at 90MHz */
Dnpcx4.dtsi153 clock-frequency = <DT_FREQ_M(120)>; /* OFMCLK runs at 120MHz */