1# Copyright (c) 2023 STMicroelectronics
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  STM32F3 Reset and Clock controller node.
6  Adds the STM32F3 ADC prescaler to the standard generic STM32 RCC.
7  For more description confere st,stm32-rcc.yaml
8
9compatible: "st,stm32f3-rcc"
10
11include: st,stm32-rcc.yaml
12
13properties:
14  adc12-prescaler:
15    type: int
16    enum:
17      - 0 # Synchronous mode
18      - 1 # not divided
19      - 2
20      - 4
21      - 6
22      - 8
23      - 10
24      - 12
25      - 16
26      - 32
27      - 64
28      - 128
29      - 256
30    description: |
31        ADC 1 and 2 prescaler
32        - 0: Disables the clock so the ADC can use AHB clock (synchronous mode)
33        - Other values n: The ADC can use the PLL clock divided by n
34
35  adc34-prescaler:
36    type: int
37    enum:
38      - 0 # Synchronous mode
39      - 1 # not divided
40      - 2
41      - 4
42      - 6
43      - 8
44      - 10
45      - 12
46      - 16
47      - 32
48      - 64
49      - 128
50      - 256
51    description: |
52        ADC 3 and 4 prescaler
53        - 0: Disables the clock so the ADC can use AHB clock (synchronous mode)
54        - Other values n: The ADC can use the PLL clock divided by n
55        Check RefMan for availability.
56