Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
npcx_clock.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Nuvoton Technology Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCX_CLOCK_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCX_CLOCK_H_
8
9/* clock bus references */
10#define NPCX_CLOCK_BUS_FREERUN 0
11#define NPCX_CLOCK_BUS_LFCLK 1
12#define NPCX_CLOCK_BUS_OSC 2
13#define NPCX_CLOCK_BUS_FIU 3
14#define NPCX_CLOCK_BUS_CORE 4
15#define NPCX_CLOCK_BUS_APB1 5
16#define NPCX_CLOCK_BUS_APB2 6
17#define NPCX_CLOCK_BUS_APB3 7
18#define NPCX_CLOCK_BUS_APB4 8
19#define NPCX_CLOCK_BUS_AHB6 9
20#define NPCX_CLOCK_BUS_FMCLK 10
21#define NPCX_CLOCK_BUS_FIU0 NPCX_CLOCK_BUS_FIU
22#define NPCX_CLOCK_BUS_FIU1 11
23#define NPCX_CLOCK_BUS_MCLKD 12
24
25/* clock enable/disable references */
26#define NPCX_PWDWN_CTL1 0
27#define NPCX_PWDWN_CTL2 1
28#define NPCX_PWDWN_CTL3 2
29#define NPCX_PWDWN_CTL4 3
30#define NPCX_PWDWN_CTL5 4
31#define NPCX_PWDWN_CTL6 5
32#define NPCX_PWDWN_CTL7 6
33#define NPCX_PWDWN_CTL8 7
34#define NPCX_PWDWN_CTL9 8
35#define NPCX_PWDWN_CTL_COUNT 9
36
37#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCX_CLOCK_H_ */