xref: /freebsd/sys/contrib/device-tree/Bindings/clock/st,stm32mp25-rcc.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*8d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8d13bc63SEmmanuel Vadot%YAML 1.2
3*8d13bc63SEmmanuel Vadot---
4*8d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/st,stm32mp25-rcc.yaml#
5*8d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8d13bc63SEmmanuel Vadot
7*8d13bc63SEmmanuel Vadottitle: STM32MP25 Reset Clock Controller
8*8d13bc63SEmmanuel Vadot
9*8d13bc63SEmmanuel Vadotmaintainers:
10*8d13bc63SEmmanuel Vadot  - Gabriel Fernandez <gabriel.fernandez@foss.st.com>
11*8d13bc63SEmmanuel Vadot
12*8d13bc63SEmmanuel Vadotdescription: |
13*8d13bc63SEmmanuel Vadot  The RCC hardware block is both a reset and a clock controller.
14*8d13bc63SEmmanuel Vadot  RCC makes also power management (resume/supend).
15*8d13bc63SEmmanuel Vadot
16*8d13bc63SEmmanuel Vadot  See also::
17*8d13bc63SEmmanuel Vadot    include/dt-bindings/clock/st,stm32mp25-rcc.h
18*8d13bc63SEmmanuel Vadot    include/dt-bindings/reset/st,stm32mp25-rcc.h
19*8d13bc63SEmmanuel Vadot
20*8d13bc63SEmmanuel Vadotproperties:
21*8d13bc63SEmmanuel Vadot  compatible:
22*8d13bc63SEmmanuel Vadot    enum:
23*8d13bc63SEmmanuel Vadot      - st,stm32mp25-rcc
24*8d13bc63SEmmanuel Vadot
25*8d13bc63SEmmanuel Vadot  reg:
26*8d13bc63SEmmanuel Vadot    maxItems: 1
27*8d13bc63SEmmanuel Vadot
28*8d13bc63SEmmanuel Vadot  '#clock-cells':
29*8d13bc63SEmmanuel Vadot    const: 1
30*8d13bc63SEmmanuel Vadot
31*8d13bc63SEmmanuel Vadot  '#reset-cells':
32*8d13bc63SEmmanuel Vadot    const: 1
33*8d13bc63SEmmanuel Vadot
34*8d13bc63SEmmanuel Vadot  clocks:
35*8d13bc63SEmmanuel Vadot    items:
36*8d13bc63SEmmanuel Vadot      - description: CK_SCMI_HSE High Speed External oscillator (8 to 48 MHz)
37*8d13bc63SEmmanuel Vadot      - description: CK_SCMI_HSI High Speed Internal oscillator (~ 64 MHz)
38*8d13bc63SEmmanuel Vadot      - description: CK_SCMI_MSI Low Power Internal oscillator (~ 4 MHz or ~ 16 MHz)
39*8d13bc63SEmmanuel Vadot      - description: CK_SCMI_LSE Low Speed External oscillator (32 KHz)
40*8d13bc63SEmmanuel Vadot      - description: CK_SCMI_LSI Low Speed Internal oscillator (~ 32 KHz)
41*8d13bc63SEmmanuel Vadot
42*8d13bc63SEmmanuel Vadot  clock-names:
43*8d13bc63SEmmanuel Vadot    items:
44*8d13bc63SEmmanuel Vadot      - const: hse
45*8d13bc63SEmmanuel Vadot      - const: hsi
46*8d13bc63SEmmanuel Vadot      - const: msi
47*8d13bc63SEmmanuel Vadot      - const: lse
48*8d13bc63SEmmanuel Vadot      - const: lsi
49*8d13bc63SEmmanuel Vadot
50*8d13bc63SEmmanuel Vadotrequired:
51*8d13bc63SEmmanuel Vadot  - compatible
52*8d13bc63SEmmanuel Vadot  - reg
53*8d13bc63SEmmanuel Vadot  - '#clock-cells'
54*8d13bc63SEmmanuel Vadot  - '#reset-cells'
55*8d13bc63SEmmanuel Vadot  - clocks
56*8d13bc63SEmmanuel Vadot  - clock-names
57*8d13bc63SEmmanuel Vadot
58*8d13bc63SEmmanuel VadotadditionalProperties: false
59*8d13bc63SEmmanuel Vadot
60*8d13bc63SEmmanuel Vadotexamples:
61*8d13bc63SEmmanuel Vadot  - |
62*8d13bc63SEmmanuel Vadot    #include <dt-bindings/clock/st,stm32mp25-rcc.h>
63*8d13bc63SEmmanuel Vadot
64*8d13bc63SEmmanuel Vadot    rcc: clock-controller@44200000 {
65*8d13bc63SEmmanuel Vadot        compatible = "st,stm32mp25-rcc";
66*8d13bc63SEmmanuel Vadot        reg = <0x44200000 0x10000>;
67*8d13bc63SEmmanuel Vadot        #clock-cells = <1>;
68*8d13bc63SEmmanuel Vadot        #reset-cells = <1>;
69*8d13bc63SEmmanuel Vadot        clock-names = "hse", "hsi", "msi", "lse", "lsi";
70*8d13bc63SEmmanuel Vadot        clocks = <&scmi_clk CK_SCMI_HSE>,
71*8d13bc63SEmmanuel Vadot                 <&scmi_clk CK_SCMI_HSI>,
72*8d13bc63SEmmanuel Vadot                 <&scmi_clk CK_SCMI_MSI>,
73*8d13bc63SEmmanuel Vadot                 <&scmi_clk CK_SCMI_LSE>,
74*8d13bc63SEmmanuel Vadot                 <&scmi_clk CK_SCMI_LSI>;
75*8d13bc63SEmmanuel Vadot    };
76*8d13bc63SEmmanuel Vadot...
77