1#
2# Copyright (c) 2024, Joakim Andersson
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7compatible: "st,stm32f1-clock-mco"
8
9description: |
10        STM32 F1 series Microcontroller Clock Output (MCO)
11
12        The STM32F1 MCO is similar to other series but has no configurable
13        prescaler before the output. However, note that certain inputs of
14        the MCO are fitted with a fixed prescaler, making it possible to
15        output a slowed down variation of certain clocks.
16
17        Example:
18                &mco1 {
19                        clocks = <&rcc STM32_SRC_LSE MCO1_SEL(7)>;
20                        pinctrl-0 = <&rcc_mco_pa8>;
21                        pinctrl-names = "default";
22                        status = "okay";
23                };
24
25        Note: in the `clocks` property, the domain clock source cell should
26        use the value representing the base clock, regardless of whether or
27        not the selected input is fitted with a prescaler.
28
29        Example:
30                /* PLL3 clock divided by 2 */
31                clocks = <&rcc STM32_SRC_PLL3CLK MCO1_SEL(9)>;
32                /* PLL3 clock */
33                clocks = <&rcc STM32_SRC_PLL3CLK MCO1_SEL(11)>;
34
35include:
36  - name: st,stm32-clock-mco.yaml
37    property-blocklist:
38      - prescaler
39