dts/bindings: clock: cpu2-prescaler is optional on stm32wl
STM32WL could be either single core (stm32wlex) or
dual core (stm32wl5/4x).
Make CPU2 prescaler an optional property (while it will
be required if inherited from st,stm32wb-rcc.yaml.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
diff --git a/dts/bindings/clock/st,stm32wl-rcc.yaml b/dts/bindings/clock/st,stm32wl-rcc.yaml
index 6af63fa..f2f2387 100644
--- a/dts/bindings/clock/st,stm32wl-rcc.yaml
+++ b/dts/bindings/clock/st,stm32wl-rcc.yaml
@@ -11,8 +11,27 @@
- name: st,stm32wb-rcc.yaml
property-blocklist:
- ahb4-prescaler
+ - cpu2-prescaler
properties:
+ cpu2-prescaler:
+ type: int
+ required: false
+ enum:
+ - 1
+ - 2
+ - 4
+ - 8
+ - 16
+ - 32
+ - 64
+ - 128
+ - 256
+ - 512
+ description: |
+ CPU2 prescaler. Sets HCLK2 frequency which clocks CPU2.
+ (A.K.A C2HPRE)
+
ahb3-prescaler:
type: int
required: true