Skip to content

Commit 744d6e8

Browse files
gautierg-stkartben
authored andcommitted
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 <[email protected]>
1 parent 9535a69 commit 744d6e8

File tree

1 file changed

+12
-40
lines changed

1 file changed

+12
-40
lines changed

dts/bindings/clock/st,stm32n6-rcc.yaml

Lines changed: 12 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -62,63 +62,35 @@ properties:
6262

6363
apb1-prescaler:
6464
type: int
65-
required: true
65+
default: 1
66+
const: 1
6667
description: |
6768
CPU domain APB1 prescaler
68-
enum:
69-
- 1
70-
- 2
71-
- 4
72-
- 8
73-
- 16
74-
- 32
75-
- 64
76-
- 128
69+
Fixed to 1 as APB prescalers cannot be modified (See Errata sheet ES0620 §2.2.1)
7770
7871
apb2-prescaler:
7972
type: int
80-
required: true
73+
default: 1
74+
const: 1
8175
description: |
8276
CPU domain APB2 prescaler
83-
enum:
84-
- 1
85-
- 2
86-
- 4
87-
- 8
88-
- 16
89-
- 32
90-
- 64
91-
- 128
77+
Fixed to 1 as APB prescalers cannot be modified (See Errata sheet ES0620 §2.2.1)
9278
9379
apb4-prescaler:
9480
type: int
95-
required: true
81+
default: 1
82+
const: 1
9683
description: |
9784
CPU domain APB4 prescaler
98-
enum:
99-
- 1
100-
- 2
101-
- 4
102-
- 8
103-
- 16
104-
- 32
105-
- 64
106-
- 128
85+
Fixed to 1 as APB prescalers cannot be modified (See Errata sheet ES0620 §2.2.1)
10786
10887
apb5-prescaler:
10988
type: int
110-
required: true
89+
default: 1
90+
const: 1
11191
description: |
11292
CPU domain APB5 prescaler
113-
enum:
114-
- 1
115-
- 2
116-
- 4
117-
- 8
118-
- 16
119-
- 32
120-
- 64
121-
- 128
93+
Fixed to 1 as APB prescalers cannot be modified (See Errata sheet ES0620 §2.2.1)
12294
12395
timg-prescaler:
12496
type: int

0 commit comments

Comments
 (0)