silabs,siwx91x-clock-route

Description

SiWx91x clock route under an HP, ULP, or AON CMU node.

Describes a clock path : which SIWX91X_CLK_* is configured (from the node label
via SIWX91X_CLOCK_NODE_TO_ID in clock_control_silabs_siwx91x_common.h) and which
source drives it (clocks property).

Optional clock-div programs a hardware divider when the clock path
has a divider register.

Examples

#include <zephyr/dt-bindings/clock/silabs/siwx91x-clock.h>

xyz-clock-mux: xyz-clock-mux {
  compatible = "silabs,siwx91x-clock-route";
  #clock-cells = <0>;
  clock-div = <2>;
  clocks = <&abc_clock>;
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#clock-cells

int

Number of items to expect in a Clock specifier

This property is required.

Constant value: 0

clock-div

int

Optional hardware divider factor (0 or omitted = no divider programmed).