From 744d6e8290df0963b3aa4bd14cdac50982d0ca89 Mon Sep 17 00:00:00 2001 From: Guillaume Gautier Date: Fri, 11 Apr 2025 14:59:38 +0200 Subject: [PATCH] dts: bindings: clock: stm32n6: fix apb prescalers as constants Errata sheet ES0620 indicates that STM32N6 APB prescalers cannot be modified. Fixes the value of all APB prescalers to 1 (default value). Signed-off-by: Guillaume Gautier --- dts/bindings/clock/st,stm32n6-rcc.yaml | 52 ++++++-------------------- 1 file changed, 12 insertions(+), 40 deletions(-) diff --git a/dts/bindings/clock/st,stm32n6-rcc.yaml b/dts/bindings/clock/st,stm32n6-rcc.yaml index d04c26767c6..5bac045ec57 100644 --- a/dts/bindings/clock/st,stm32n6-rcc.yaml +++ b/dts/bindings/clock/st,stm32n6-rcc.yaml @@ -62,63 +62,35 @@ properties: apb1-prescaler: type: int - required: true + default: 1 + const: 1 description: | CPU domain APB1 prescaler - enum: - - 1 - - 2 - - 4 - - 8 - - 16 - - 32 - - 64 - - 128 + Fixed to 1 as APB prescalers cannot be modified (See Errata sheet ES0620 §2.2.1) apb2-prescaler: type: int - required: true + default: 1 + const: 1 description: | CPU domain APB2 prescaler - enum: - - 1 - - 2 - - 4 - - 8 - - 16 - - 32 - - 64 - - 128 + Fixed to 1 as APB prescalers cannot be modified (See Errata sheet ES0620 §2.2.1) apb4-prescaler: type: int - required: true + default: 1 + const: 1 description: | CPU domain APB4 prescaler - enum: - - 1 - - 2 - - 4 - - 8 - - 16 - - 32 - - 64 - - 128 + Fixed to 1 as APB prescalers cannot be modified (See Errata sheet ES0620 §2.2.1) apb5-prescaler: type: int - required: true + default: 1 + const: 1 description: | CPU domain APB5 prescaler - enum: - - 1 - - 2 - - 4 - - 8 - - 16 - - 32 - - 64 - - 128 + Fixed to 1 as APB prescalers cannot be modified (See Errata sheet ES0620 §2.2.1) timg-prescaler: type: int