zephyr/include/drivers/clock_control/quark_se_clock_control.h

55 lines
1.4 KiB
C

/* quark_se_clock_control.h - Clock controller header for Quark SE */
/*
* Copyright (c) 2015 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __QUARK_SE_CLOCK_CONTROL_H__
#define __QUARK_SE_CLOCK_CONTROL_H__
enum quark_se_peripheral_clocks {
QUARK_SE_PERIPH_PCLK_EN = 0,
QUARK_SE_CCU_PERIPH_PCLK_EN,
QUARK_SE_CCU_I2C_M0_PCLK_EN,
QUARK_SE_CCU_I2C_M1_PCLK_EN,
QUARK_SE_CCU_SPI_S_PCLK_EN,
QUARK_SE_CCU_SPI_M0_PCLK_EN,
QUARK_SE_CCU_SPI_M1_PCLK_EN,
QUARK_SE_CCU_GPIO_INTR_PCLK_EN,
QUARK_SE_CCU_PERIPH_GPIO_DB_PCLK_EN,
QUARK_SE_CCU_I2S_PCLK_EN,
QUARK_SE_CCU_WDT_PCLK_EN_SW,
QUARK_SE_CCU_RTC_PCLK_EN_SW,
QUARK_SE_CCU_PWM_PCLK_EN_SW,
QUARK_SE_CCU_GPIO_PCLK_EN_SW,
QUARK_SE_CCU_SPI_M0_PCLK_EN_SW,
QUARK_SE_CCU_SPI_M1_PCLK_EN_SW,
QUARK_SE_CCU_SPI_PCLK_EN_SW,
QUARK_SE_CCU_UARTA_PCLK_EN_SW,
QUARK_SE_CCU_UARTB_PCLK_EN_SW,
QUARK_SE_CCU_I2C_M0_PCLK_EN_SW,
QUARK_SE_CCU_I2C_M1_PCLK_EN_SW,
QUARK_SE_CCU_I2S_PCLK_EN_SW,
};
enum quark_se_external_clocks {
QUARK_SE_CCU_EXT_RTC_EN = 0,
QUARK_SE_CCU_EXT_CLK_EN,
QUARK_SE_CCU_EXT_CLK_DIV_EN,
};
enum quark_se_sensor_clocks {
QUARK_SE_CCU_SENSOR_CLK_EN = 0,
QUARK_SE_CCU_SS_I2C_M0_CLK_EN,
QUARK_SE_CCU_SS_I2C_M1_CLK_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