1# Copyright (c) 2021, Linaro ltd
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  STM32WL Reset and Clock controller node.
6  For more description confere st,stm32-rcc.yaml
7
8compatible: "st,stm32wl-rcc"
9
10include:
11  - name: st,stm32wb-rcc.yaml
12    property-blocklist:
13      - ahb4-prescaler
14      - cpu2-prescaler
15
16properties:
17  cpu2-prescaler:
18    type: int
19    enum:
20      - 1
21      - 2
22      - 4
23      - 8
24      - 16
25      - 32
26      - 64
27      - 128
28      - 256
29      - 512
30    description: |
31        CPU2 prescaler. Sets HCLK2 frequency which clocks CPU2.
32        (A.K.A C2HPRE)
33
34  ahb3-prescaler:
35    type: int
36    required: true
37    enum:
38      - 1
39      - 2
40      - 4
41      - 8
42      - 16
43      - 32
44      - 64
45      - 128
46      - 256
47      - 512
48    description: |
49        HCLK3 shared prescaler (AHB3, Flash memory, SRAM1 and SRAM2).
50        (A.K.A SHDHPRE)
51
52clock-cells:
53  - bus
54  - bits
55