st,stm32f1-clock-mco

Vendor: STMicroelectronics

Note

An implementation of a driver matching this compatible is available in drivers/clock_control/clock_stm32_mco.c.

Description

STM32 F1 series Microcontroller Clock Output (MCO)

The STM32F1 MCO is similar to other series but has no configurable
prescaler before the output. However, note that certain inputs of
the MCO are fitted with a fixed prescaler, making it possible to
output a slowed down variation of certain clocks.

Example:
        &mco1 {
                clocks = <&rcc STM32_SRC_LSE MCO1_SEL(7)>;
                pinctrl-0 = <&rcc_mco_pa8>;
                pinctrl-names = "default";
                status = "okay";
        };

Note: in the `clocks` property, the domain clock source cell should
use the value representing the base clock, regardless of whether or
not the selected input is fitted with a prescaler.

Example:
        /* PLL3 clock divided by 2 */
        clocks = <&rcc STM32_SRC_PLL3CLK MCO1_SEL(9)>;
        /* PLL3 clock */
        clocks = <&rcc STM32_SRC_PLL3CLK MCO1_SEL(11)>;

Properties

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

This property is required.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

This property is required.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.