alif,clock-mux
Description
Alif clock source multiplexer
Describes which input a clock multiplexer is switched to. The node has no
register of its own; it records the selection so that consumers of the
multiplexer output can resolve its rate. The selection must match the state
the hardware is actually in, unless a driver programs the multiplexer from
it.
The first user is the S32K_CLK multiplexer, which selects between the LFRC
and the LFXO oscillator. It is configured outside zephyr and for example,
a board whose S32K_CLK runs from the LFXO records that with:
&clk_s32k {
clocks = <&clk_lfxo>;
};
Properties
Properties not inherited from the base binding file.
(None)
Deprecated properties not inherited from the base binding file.
(None)
Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “alif,clock-mux” compatible.
Name |
Type |
Details |
|---|---|---|
|
|
The input the multiplexer is switched to.
This property is required. |
|
|
Indicates the operational status of the hardware or other
resource that the node represents. In particular:
- "okay" means the resource is operational and, for example,
can be used by device drivers
- "disabled" means the resource is not operational and the system
should treat it as if it is not present
For details, see "2.3.4 status" in Devicetree Specification v0.4.
Legal values: See Important properties for more information. |
|
|
This property is a list of strings that essentially define what
type of hardware or other resource this devicetree node
represents. Each device driver checks for specific compatible
property values to find the devicetree nodes that represent
resources that the driver should manage.
The recommended format is "vendor,device", The "vendor" part is
an abbreviated name of the vendor. The "device" is usually from
the datasheet.
The compatible property can have multiple values, ordered from
most- to least-specific. Having additional values is useful when the
device is a specific instance of a more general family, to allow the
system to match the most specific driver available.
For details, see "2.3.1 compatible" in Devicetree Specification v0.4.
This property is required. See Important properties for more information. |