Line data Source code
1 0 : /* 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 0 : #define NPCX_CLOCK_BUS_FREERUN 0 11 0 : #define NPCX_CLOCK_BUS_LFCLK 1 12 0 : #define NPCX_CLOCK_BUS_OSC 2 13 0 : #define NPCX_CLOCK_BUS_FIU 3 14 0 : #define NPCX_CLOCK_BUS_CORE 4 15 0 : #define NPCX_CLOCK_BUS_APB1 5 16 0 : #define NPCX_CLOCK_BUS_APB2 6 17 0 : #define NPCX_CLOCK_BUS_APB3 7 18 0 : #define NPCX_CLOCK_BUS_APB4 8 19 0 : #define NPCX_CLOCK_BUS_AHB6 9 20 0 : #define NPCX_CLOCK_BUS_FMCLK 10 21 0 : #define NPCX_CLOCK_BUS_FIU0 NPCX_CLOCK_BUS_FIU 22 0 : #define NPCX_CLOCK_BUS_FIU1 11 23 0 : #define NPCX_CLOCK_BUS_MCLKD 12 24 : 25 : /* clock enable/disable references */ 26 0 : #define NPCX_PWDWN_CTL1 0 27 0 : #define NPCX_PWDWN_CTL2 1 28 0 : #define NPCX_PWDWN_CTL3 2 29 0 : #define NPCX_PWDWN_CTL4 3 30 0 : #define NPCX_PWDWN_CTL5 4 31 0 : #define NPCX_PWDWN_CTL6 5 32 0 : #define NPCX_PWDWN_CTL7 6 33 0 : #define NPCX_PWDWN_CTL8 7 34 0 : #define NPCX_PWDWN_CTL9 8 35 0 : #define NPCX_PWDWN_CTL_COUNT 9 36 : 37 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCX_CLOCK_H_ */