1 /* 2 * Copyright (c) 2023-2024 Analog Devices, Inc. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_ADI_MAX32_CLOCK_H_ 8 #define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_ADI_MAX32_CLOCK_H_ 9 10 /** Peripheral clock register */ 11 #define ADI_MAX32_CLOCK_BUS0 0 12 #define ADI_MAX32_CLOCK_BUS1 1 13 #define ADI_MAX32_CLOCK_BUS2 2 14 15 /** Clock source for peripheral interfaces like UART, WDT... */ 16 #define ADI_MAX32_PRPH_CLK_SRC_PCLK 0 /* Peripheral clock */ 17 #define ADI_MAX32_PRPH_CLK_SRC_EXTCLK 1 /* External clock */ 18 #define ADI_MAX32_PRPH_CLK_SRC_IBRO 2 /* Internal Baud Rate Oscillator*/ 19 #define ADI_MAX32_PRPH_CLK_SRC_ERFO 3 /* External RF Oscillator */ 20 #define ADI_MAX32_PRPH_CLK_SRC_ERTCO 4 /* External RTC Oscillator */ 21 #define ADI_MAX32_PRPH_CLK_SRC_INRO 5 /* Internal Nano Ring Oscillator */ 22 #define ADI_MAX32_PRPH_CLK_SRC_ISO 6 /* Internal Secondary Oscillator */ 23 #define ADI_MAX32_PRPH_CLK_SRC_IBRO_DIV8 7 /* IBRO/8 */ 24 25 #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_ADI_MAX32_CLOCK_H_ */ 26