xref: /linux/Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml (revision 619b92b9c8fe5369503ae948ad4e0a9c195c2c4a)
1b5be49dbSGabriel Fernandez# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2b5be49dbSGabriel Fernandez%YAML 1.2
3b5be49dbSGabriel Fernandez---
4b5be49dbSGabriel Fernandez$id: http://devicetree.org/schemas/clock/st,stm32mp25-rcc.yaml#
5b5be49dbSGabriel Fernandez$schema: http://devicetree.org/meta-schemas/core.yaml#
6b5be49dbSGabriel Fernandez
7b5be49dbSGabriel Fernandeztitle: STM32MP25 Reset Clock Controller
8b5be49dbSGabriel Fernandez
9b5be49dbSGabriel Fernandezmaintainers:
10b5be49dbSGabriel Fernandez  - Gabriel Fernandez <gabriel.fernandez@foss.st.com>
11b5be49dbSGabriel Fernandez
12b5be49dbSGabriel Fernandezdescription: |
13b5be49dbSGabriel Fernandez  The RCC hardware block is both a reset and a clock controller.
14b5be49dbSGabriel Fernandez  RCC makes also power management (resume/supend).
15b5be49dbSGabriel Fernandez
16b5be49dbSGabriel Fernandez  See also::
17b5be49dbSGabriel Fernandez    include/dt-bindings/clock/st,stm32mp25-rcc.h
18b5be49dbSGabriel Fernandez    include/dt-bindings/reset/st,stm32mp25-rcc.h
19b5be49dbSGabriel Fernandez
20b5be49dbSGabriel Fernandezproperties:
21b5be49dbSGabriel Fernandez  compatible:
22b5be49dbSGabriel Fernandez    enum:
23b5be49dbSGabriel Fernandez      - st,stm32mp25-rcc
24b5be49dbSGabriel Fernandez
25b5be49dbSGabriel Fernandez  reg:
26b5be49dbSGabriel Fernandez    maxItems: 1
27b5be49dbSGabriel Fernandez
28b5be49dbSGabriel Fernandez  '#clock-cells':
29b5be49dbSGabriel Fernandez    const: 1
30b5be49dbSGabriel Fernandez
31b5be49dbSGabriel Fernandez  '#reset-cells':
32b5be49dbSGabriel Fernandez    const: 1
33b5be49dbSGabriel Fernandez
34b5be49dbSGabriel Fernandez  clocks:
35b5be49dbSGabriel Fernandez    items:
36b5be49dbSGabriel Fernandez      - description: CK_SCMI_HSE High Speed External oscillator (8 to 48 MHz)
37b5be49dbSGabriel Fernandez      - description: CK_SCMI_HSI High Speed Internal oscillator (~ 64 MHz)
38b5be49dbSGabriel Fernandez      - description: CK_SCMI_MSI Low Power Internal oscillator (~ 4 MHz or ~ 16 MHz)
39b5be49dbSGabriel Fernandez      - description: CK_SCMI_LSE Low Speed External oscillator (32 KHz)
40b5be49dbSGabriel Fernandez      - description: CK_SCMI_LSI Low Speed Internal oscillator (~ 32 KHz)
41df5df125SGabriel Fernandez      - description: CK_SCMI_HSE_DIV2 CK_SCMI_HSE divided by 2 (coud be gated)
42df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_HS_MCU High Speed interconnect bus clock
43df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_LS_MCU Low Speed interconnect bus clock
44df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_SDMMC SDMMC interconnect bus clock
45df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_DDR DDR interconnect bus clock
46df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_DISPLAY Display interconnect bus clock
47df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_HSL HSL interconnect bus clock
48df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_NIC NIC interconnect bus clock
49df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_VID Video interconnect bus clock
50df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_07 flexgen clock 7
51df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_08 flexgen clock 8
52df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_09 flexgen clock 9
53df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_10 flexgen clock 10
54df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_11 flexgen clock 11
55df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_12 flexgen clock 12
56df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_13 flexgen clock 13
57df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_14 flexgen clock 14
58df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_15 flexgen clock 15
59df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_16 flexgen clock 16
60df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_17 flexgen clock 17
61df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_18 flexgen clock 18
62df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_19 flexgen clock 19
63df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_20 flexgen clock 20
64df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_21 flexgen clock 21
65df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_22 flexgen clock 22
66df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_23 flexgen clock 23
67df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_24 flexgen clock 24
68df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_25 flexgen clock 25
69df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_26 flexgen clock 26
70df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_27 flexgen clock 27
71df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_28 flexgen clock 28
72df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_29 flexgen clock 29
73df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_30 flexgen clock 30
74df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_31 flexgen clock 31
75df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_32 flexgen clock 32
76df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_33 flexgen clock 33
77df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_34 flexgen clock 34
78df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_35 flexgen clock 35
79df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_36 flexgen clock 36
80df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_37 flexgen clock 37
81df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_38 flexgen clock 38
82df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_39 flexgen clock 39
83df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_40 flexgen clock 40
84df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_41 flexgen clock 41
85df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_42 flexgen clock 42
86df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_43 flexgen clock 43
87df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_44 flexgen clock 44
88df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_45 flexgen clock 45
89df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_46 flexgen clock 46
90df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_47 flexgen clock 47
91df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_48 flexgen clock 48
92df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_49 flexgen clock 49
93df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_50 flexgen clock 50
94df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_51 flexgen clock 51
95df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_52 flexgen clock 52
96df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_53 flexgen clock 53
97df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_54 flexgen clock 54
98df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_55 flexgen clock 55
99df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_56 flexgen clock 56
100df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_57 flexgen clock 57
101df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_58 flexgen clock 58
102df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_59 flexgen clock 59
103df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_60 flexgen clock 60
104df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_61 flexgen clock 61
105df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_62 flexgen clock 62
106df5df125SGabriel Fernandez      - description: CK_SCMI_FLEXGEN_63 flexgen clock 63
107df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_APB1 Peripheral bridge 1
108df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_APB2 Peripheral bridge 2
109df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_APB3 Peripheral bridge 3
110df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_APB4 Peripheral bridge 4
111df5df125SGabriel Fernandez      - description: CK_SCMI_ICN_APBDBG Peripheral bridge for degub
112df5df125SGabriel Fernandez      - description: CK_SCMI_TIMG1 Peripheral bridge for timer1
113df5df125SGabriel Fernandez      - description: CK_SCMI_TIMG2 Peripheral bridge for timer2
114df5df125SGabriel Fernandez      - description: CK_SCMI_PLL3 PLL3 clock
115df5df125SGabriel Fernandez      - description: clk_dsi_txbyte DSI byte clock
116b5be49dbSGabriel Fernandez
117*12b52b83SGabriel Fernandez  access-controllers:
118*12b52b83SGabriel Fernandez    minItems: 1
119*12b52b83SGabriel Fernandez    maxItems: 2
120*12b52b83SGabriel Fernandez
121b5be49dbSGabriel Fernandezrequired:
122b5be49dbSGabriel Fernandez  - compatible
123b5be49dbSGabriel Fernandez  - reg
124b5be49dbSGabriel Fernandez  - '#clock-cells'
125b5be49dbSGabriel Fernandez  - '#reset-cells'
126b5be49dbSGabriel Fernandez  - clocks
127b5be49dbSGabriel Fernandez
128b5be49dbSGabriel FernandezadditionalProperties: false
129b5be49dbSGabriel Fernandez
130b5be49dbSGabriel Fernandezexamples:
131b5be49dbSGabriel Fernandez  - |
132b5be49dbSGabriel Fernandez    #include <dt-bindings/clock/st,stm32mp25-rcc.h>
133b5be49dbSGabriel Fernandez
134b5be49dbSGabriel Fernandez    rcc: clock-controller@44200000 {
135b5be49dbSGabriel Fernandez        compatible = "st,stm32mp25-rcc";
136b5be49dbSGabriel Fernandez        reg = <0x44200000 0x10000>;
137b5be49dbSGabriel Fernandez        #clock-cells = <1>;
138b5be49dbSGabriel Fernandez        #reset-cells = <1>;
139b5be49dbSGabriel Fernandez        clocks =  <&scmi_clk CK_SCMI_HSE>,
140b5be49dbSGabriel Fernandez                  <&scmi_clk CK_SCMI_HSI>,
141b5be49dbSGabriel Fernandez                  <&scmi_clk CK_SCMI_MSI>,
142b5be49dbSGabriel Fernandez                  <&scmi_clk CK_SCMI_LSE>,
143df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_LSI>,
144df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_HSE_DIV2>,
145df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_HS_MCU>,
146df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_LS_MCU>,
147df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_SDMMC>,
148df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_DDR>,
149df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_DISPLAY>,
150df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_HSL>,
151df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_NIC>,
152df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_VID>,
153df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_07>,
154df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_08>,
155df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_09>,
156df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_10>,
157df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_11>,
158df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_12>,
159df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_13>,
160df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_14>,
161df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_15>,
162df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_16>,
163df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_17>,
164df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_18>,
165df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_19>,
166df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_20>,
167df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_21>,
168df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_22>,
169df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_23>,
170df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_24>,
171df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_25>,
172df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_26>,
173df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_27>,
174df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_28>,
175df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_29>,
176df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_30>,
177df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_31>,
178df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_32>,
179df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_33>,
180df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_34>,
181df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_35>,
182df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_36>,
183df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_37>,
184df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_38>,
185df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_39>,
186df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_40>,
187df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_41>,
188df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_42>,
189df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_43>,
190df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_44>,
191df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_45>,
192df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_46>,
193df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_47>,
194df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_48>,
195df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_49>,
196df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_50>,
197df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_51>,
198df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_52>,
199df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_53>,
200df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_54>,
201df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_55>,
202df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_56>,
203df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_57>,
204df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_58>,
205df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_59>,
206df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_60>,
207df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_61>,
208df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_62>,
209df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_FLEXGEN_63>,
210df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_APB1>,
211df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_APB2>,
212df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_APB3>,
213df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_APB4>,
214df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_ICN_APBDBG>,
215df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_TIMG1>,
216df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_TIMG2>,
217df5df125SGabriel Fernandez                  <&scmi_clk CK_SCMI_PLL3>,
218df5df125SGabriel Fernandez                  <&clk_dsi_txbyte>;
219b5be49dbSGabriel Fernandez    };
220b5be49dbSGabriel Fernandez...
221