CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier
Schema identifier ($id): "http://devicetree.org/schemas/clock/cirrus,cs2000-cp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>"
The CS2000-CP is an extremely versatile system clocking device that utilizes a programmable phase lock loop.
Link: https://www.cirrus.com/products/cs2000/
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "cirrus,cs2000-cp"
clocks — required here #
Common clock binding for CLK_IN, XTI/REF_CLK
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"clk_in"
Item 2
Exact value (
const):"ref_clk"
#clock-cells — required here #
Exact value (const): 0
reg — required here #
Maximum number of items (maxItems): 1
cirrus,aux-output-source — not listed as required here #
Specifies the function of the auxiliary clock output pin
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
Default value (default): 0
cirrus,clock-skip — not listed as required here #
This mode allows the PLL to maintain lock even when CLK_IN has missing pulses for up to 20 ms.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
cirrus,dynamic-mode — not listed as required here #
In dynamic mode, the CLK_IN input is used to drive the digital PLL of the silicon. If not given, the static mode shall be used to derive the output signal directly from the REF_CLK input.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/cirrus,cs2000-cp.h>
i2c@0 {
reg = <0x0 0x100>;
#address-cells = <1>;
#size-cells = <0>;
clock-controller@4f {
#clock-cells = <0>;
compatible = "cirrus,cs2000-cp";
reg = <0x4f>;
clocks = <&rcar_sound 0>, <&x12_clk>;
clock-names = "clk_in", "ref_clk";
cirrus,aux-output-source = <CS2000CP_AUX_OUTPUT_CLK_OUT>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 44: CS2000CP_AUX_OUTPUT_REF_CLK: ref_clk input
Line 45: CS2000CP_AUX_OUTPUT_CLK_IN: clk_in input
Line 46: CS2000CP_AUX_OUTPUT_CLK_OUT: clk_out output
Line 47: CS2000CP_AUX_OUTPUT_PLL_LOCK: pll lock status