gd,gd32-clock-ckout

Description

GigaDevice GD32 CKOUT clock output.

This node models a SoC clock-output resource (for example CK_OUT0).
It configures the source multiplexer and output divider used to route
an internal clock to the CK_OUT pin.

Example:

  &ckout0 {
      clocks = <&cctl GD32_CKOUT0SRC_PLLP>;
      clock-names = "clksel";
      prescaler = <GD32_CKOUT0_DIV4>;
      pinctrl-0 = <&ckout0_default>;
      pinctrl-names = "default";
      status = "okay";
  };

Properties

Properties not inherited from the base binding file.

Name

Type

Details

prescaler

int

CKOUT output divider. Use one GD32_CKOUT0_DIV* macro from the
SoC-specific dt-bindings clock header.

This property is required.

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.