Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios Kernel

Clock bindings

Single-page view · as markdown

SiFive FU540 Power Reset Clock Interrupt Controller (PRCI)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings / sifive

Schema identifier ($id): "http://devicetree.org/schemas/clock/sifive/fu540-prci.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Walmsley <paul.walmsley@sifive.com>"

On the FU540 family of SoCs, most system-wide clock and reset integration is via the PRCI IP block. The clock consumer should specify the desired clock via the clock ID macros defined in include/dt-bindings/clock/sifive-fu540-prci.h. These macros begin with PRCI_CLK_. The hfclk and rtcclk nodes are required, and represent physical crystals or resonators located on the PCB. These nodes should be present underneath /, rather than /soc.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sifive,fu540-c000-prci"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

high frequency clock.

Item 2

RTL clock.

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "hfclk"

Item 2

Exact value (const): "rtcclk"

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

prci: clock-controller@10000000 {
  compatible = "sifive,fu540-c000-prci";
  reg = <0x10000000 0x1000>;
  clocks = <&hfclk>, <&rtcclk>;
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2020 SiFive, Inc.

SiFive FU740 Power Reset Clock Interrupt Controller (PRCI)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings / sifive

Schema identifier ($id): "http://devicetree.org/schemas/clock/sifive/fu740-prci.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Zong Li <zong.li@sifive.com>", "Paul Walmsley <paul.walmsley@sifive.com>"

On the FU740 family of SoCs, most system-wide clock and reset integration is via the PRCI IP block. The clock consumer should specify the desired clock via the clock ID macros defined in include/dt-bindings/clock/sifive-fu740-prci.h. These macros begin with PRCI_CLK_. The hfclk and rtcclk nodes are required, and represent physical crystals or resonators located on the PCB. These nodes should be present underneath /, rather than /soc.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sifive,fu740-c000-prci"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

high frequency clock.

Item 2

RTL clock.

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "hfclk"

Item 2

Exact value (const): "rtcclk"

#clock-cells — required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

prci: clock-controller@10000000 {
  compatible = "sifive,fu740-c000-prci";
  reg = <0x10000000 0x1000>;
  clocks = <&hfclk>, <&rtcclk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2020 SiFive, Inc.

TI autoidle clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti/ti,autoidle.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tero Kristo <kristo@kernel.org>", "Sukrut Bellary <sbellary@baylibre.com>"

Some clocks in TI SoC support the autoidle feature. These properties are applicable only if the clock supports autoidle feature. It assumes a register mapped clock which can be put to idle automatically by hardware based on usage and configuration bit setting. Autoidle clock is never an individual clock, it is always a derivative of some basic clock like a gate, divider, or fixed-factor.

Properties and child nodes (properties) #

ti,autoidle-shift — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

bit shift of the autoidle enable bit for the clock

Maximum value (maximum): 31

Default value (default): 0

ti,invert-autoidle-bit — not listed as required here #

Value type (type): "boolean"

autoidle is enabled by setting the bit to 0

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

TI clksel clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti/ti,clksel.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>"

The TI CLKSEL clocks consist of consist of input clock mux bits, and in some cases also has divider, multiplier and gate bits.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,clksel"

reg — required here #

Maximum number of items (maxItems): 1

The CLKSEL register range

#address-cells — not listed as required here #

Allowed values (enum): 0, 1, 2

#size-cells — not listed as required here #

Allowed values (enum): 0, 1, 2

ranges — not listed as required here #

true — No constraints added by this property rule.

#clock-cells — required here #

Exact value (const): 2

The CLKSEL register and bit offset

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

Value type (type): "object"

Examples (examples) #

clksel_gfx_fclk: clock@52c {
  compatible = "ti,clksel";
  reg = <0x25c 0x4>;
  #clock-cells = <2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Texas Instruments composite clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti/ti,composite-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tero Kristo <kristo@kernel.org>"

*Deprecated design pattern: one node per clock*

This binding assumes a register-mapped composite clock with multiple different sub-types:

  a multiplexer clock with multiple input clock signals or parents, one
  of which can be selected as output, this behaves exactly as [1].
  an adjustable clock rate divider, this behaves exactly as [2].
  a gating function which can be used to enable and disable the output
  clock, this behaves exactly as [3].

The binding must provide a list of the component clocks that shall be merged to this clock. The component clocks shall be of one of the "ti,*composite*-clock" types.

[1] Documentation/devicetree/bindings/clock/ti/ti,mux-clock.yaml [2] Documentation/devicetree/bindings/clock/ti/ti,divider-clock.yaml [3] Documentation/devicetree/bindings/clock/ti/ti,gate-clock.yaml

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,composite-clock"

#clock-cells — required here #

Exact value (const): 0

clocks — required here #

true — No constraints added by this property rule.

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus {
  #address-cells = <1>;
  #size-cells = <0>;

  usb_l4_gate_ick: clock-controller@a10 {
    #clock-cells = <0>;
    compatible = "ti,composite-gate-clock";
    clocks = <&l4_ick>;
    ti,bit-shift = <5>;
    reg = <0x0a10>;
  };

  usb_l4_div_ick: clock-controller@a40 {
    #clock-cells = <0>;
    compatible = "ti,composite-divider-clock";
    clocks = <&l4_ick>;
    ti,bit-shift = <4>;
    ti,max-div = <1>;
    reg = <0x0a40>;
    ti,index-starts-at-one;
  };
};

clock-controller {
  #clock-cells = <0>;
  compatible = "ti,composite-clock";
  clocks = <&usb_l4_gate_ick>, <&usb_l4_div_ick>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Texas Instruments divider clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti/ti,divider-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tero Kristo <kristo@kernel.org>"

This clock It assumes a register-mapped adjustable clock rate divider that does not gate and has only one input clock or parent. By default the value programmed into the register is one less than the actual divisor value. E.g:

register value actual divisor value 0 1 1 2 2 3

This assumption may be modified by the following optional properties:

ti,index-starts-at-one - valid divisor values start at 1, not the default of 0. E.g: register value actual divisor value 1 1 2 2 3 3

ti,index-power-of-two - valid divisor values are powers of two. E.g: register value actual divisor value 0 1 1 2 2 4

Additionally an array of valid dividers may be supplied like so:

ti,dividers = <4>, <8>, <0>, <16>;

Which will map the resulting values to a divisor table by their index: register value actual divisor value 0 4 1 8 2 <invalid divisor, skipped> 3 16

Any zero value in this array means the corresponding bit-value is invalid and must not be used.

The binding must also provide the register to control the divider and unless the divider array is provided, min and max dividers. Optionally the number of bits to shift that mask, if necessary. If the shift value is missing it is the same as supplying a zero shift.

This binding can also optionally provide support to the hardware autoidle feature.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ti,autoidle.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,divider-clock", "ti,composite-divider-clock"

#clock-cells — required here #

Exact value (const): 0

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

ti,dividers — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

array of integers defining divisors

ti,bit-shift — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

number of bits to shift the divider value

Maximum value (maximum): 31

Default value (default): 0

ti,min-div — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

min divisor for dividing the input clock rate, only needed if the first divisor is offset from the default value (1)

Minimum value (minimum): 1

Default value (default): 1

ti,max-div — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

max divisor for dividing the input clock rate, only needed if ti,dividers is not defined.

ti,index-starts-at-one — not listed as required here #

Value type (type): "boolean"

valid divisor programming starts at 1, not zero, only valid if ti,dividers is not defined

ti,index-power-of-two — not listed as required here #

Value type (type): "boolean"

valid divisor programming must be a power of two, only valid if ti,dividers is not defined.

ti,set-rate-parent — not listed as required here #

Value type (type): "boolean"

clk_set_rate is propagated to parent |

ti,latch-bit — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

latch the divider value to HW, only needed if the register compatible access requires this. As an example dra76x DPLL_GMAC H14 divider implements such behavior.

Rules triggered by another property (dependentSchemas) #

ti,dividers — applies when this property is present #

Properties and child nodes (properties) #

ti,min-div — not listed as required here

false — Not permitted by this property rule.

ti,max-div — not listed as required here

false — Not permitted by this property rule.

ti,index-power-of-two — not listed as required here

false — Not permitted by this property rule.

ti,index-starts-at-one — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "compatible", "#clock-cells", "clocks", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus {
  #address-cells = <1>;
  #size-cells = <0>;

  clock-controller@190 {
    #clock-cells = <0>;
    compatible = "ti,divider-clock";
    clocks = <&dpll_usb_ck>;
    ti,max-div = <127>;
    reg = <0x190>;
    ti,index-starts-at-one;
  };

  clock-controller@528 {
    #clock-cells = <0>;
    compatible = "ti,divider-clock";
    clocks = <&abe_clk>;
    ti,bit-shift = <24>;
    reg = <0x528>;
    ti,max-div = <2>;
  };

  clock-controller@a40 {
    #clock-cells = <0>;
    compatible = "ti,composite-divider-clock";
    clocks = <&corex2_fck>;
    ti,bit-shift = <8>;
    reg = <0x0a40>;
    ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

TI fixed factor rate clock sources

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti/ti,fixed-factor-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tero Kristo <kristo@kernel.org>", "Sukrut Bellary <sbellary@baylibre.com>"

This consists of a divider and a multiplier used to generate a fixed rate clock. This also uses the autoidle support from TI autoidle clock.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ti,autoidle.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,fixed-factor-clock"

#clock-cells — required here #

Exact value (const): 0

reg — not listed as required here #

Maximum number of items (maxItems): 1

ti,clock-div — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Fixed divider

Minimum value (minimum): 1

ti,clock-mult — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Fixed multiplier

Minimum value (minimum): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

ti,set-rate-parent — not listed as required here #

Propagate to parent clock

Value type (type): "boolean"

Required in this object (required): "compatible", "clocks", "#clock-cells", "ti,clock-mult", "ti,clock-div"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus{
    #address-cells = <1>;
    #size-cells = <0>;

    clock@1b4 {
        compatible = "ti,fixed-factor-clock";
        reg = <0x1b4>;
        clocks = <&dpll_usb_ck>;
        #clock-cells = <0>;
        ti,clock-mult = <1>;
        ti,clock-div = <1>;
        ti,autoidle-shift = <8>;
        ti,invert-autoidle-bit;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Texas Instruments gate clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti/ti,gate-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tero Kristo <kristo@kernel.org>"

*Deprecated design pattern: one node per clock*

This clock is quite much similar to the basic gate-clock [1], however, it supports a number of additional features. If no register is provided for this clock, the code assumes that a clockdomain will be controlled instead and the corresponding hw-ops for that is used.

[1] Documentation/devicetree/bindings/clock/gpio-gate-clock.yaml [2] Documentation/devicetree/bindings/clock/ti/clockdomain.txt

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "ti,gate-clock", "ti,wait-gate-clock", "ti,dss-gate-clock", "ti,am35xx-gate-clock", "ti,clkdm-gate-clock", "ti,hsdiv-gate-clock", "ti,composite-gate-clock", "ti,composite-no-wait-gate-clock"

#clock-cells — not listed as required here #

Exact value (const): 0

clocks — not listed as required here #

true — No constraints added by this property rule.

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

reg — not listed as required here #

Maximum number of items (maxItems): 1

ti,bit-shift — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Number of bits to shift the bit-mask

Maximum value (maximum): 31

Default value (default): 0

ti,set-bit-to-disable — not listed as required here #

Value type (type): "boolean"

Inverts default gate programming. Setting the bit gates the clock and clearing the bit ungates the clock.

ti,set-rate-parent — not listed as required here #

Value type (type): "boolean"

clk_set_rate is propagated to parent clock,

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "ti,clkdm-gate-clock"

When the condition matches (then) #

Properties and child nodes (properties) #

reg — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible", "#clock-cells", "clocks"

When the condition does not match (else) #

Required in this object (required): "compatible", "#clock-cells", "clocks", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus {
  #address-cells = <1>;
  #size-cells = <0>;

  clock-controller@a00 {
    #clock-cells = <0>;
    compatible = "ti,gate-clock";
    clocks = <&core_96m_fck>;
    reg = <0x0a00>;
    ti,bit-shift = <25>;
  };

  clock-controller@d00 {
    compatible = "ti,hsdiv-gate-clock";
    reg = <0x0d00>;
    #clock-cells = <0>;
    clocks = <&dpll4_m2x2_mul_ck>;
    ti,bit-shift = <0x1b>;
    ti,set-bit-to-disable;
  };
};
clock-controller {
  #clock-cells = <0>;
  compatible = "ti,clkdm-gate-clock";
  clocks = <&emu_src_mux_ck>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 27: basic gate clock

Line 28: gate clock which waits until clock is

Line 29: active before returning from clk_enable()

Line 30: gate clock with DSS specific hardware

Line 31: handling

Line 32: gate clock with AM35xx specific hardware

Line 33: handling

Line 34: clockdomain gate clock, which derives its

Line 35: functional clock directly from a

Line 36: clockdomain, see [2] how to map

Line 37: clockdomains properly

Line 38: gate clock with OMAP36xx specific hardware

Line 39: handling, required for a hardware errata

Line 40: composite gate clock, to be part of

Line 41: composite clock

Line 42: composite gate clock that does not

Line 43: wait for clock to be active before

Line 44: returning from clk_enable()

Texas Instruments interface clock.

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti/ti,interface-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tero Kristo <kristo@kernel.org>"

This clock is quite much similar to the basic gate-clock[1], however, it supports a number of additional features, including companion clock finding (match corresponding functional gate clock) and hardware autoidle enable / disable.

[1] Documentation/devicetree/bindings/clock/gpio-gate-clock.yaml

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,omap3-interface-clock", "ti,omap3-no-wait-interface-clock", "ti,omap3-hsotgusb-interface-clock", "ti,omap3-dss-interface-clock", "ti,omap3-ssi-interface-clock", "ti,am35xx-interface-clock", "ti,omap2430-interface-clock"

#clock-cells — required here #

Exact value (const): 0

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

ti,bit-shift — not listed as required here #

bit shift for the bit enabling/disabling the clock

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 0

Maximum value (maximum): 31

Required in this object (required): "compatible", "clocks", "#clock-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus {
  #address-cells = <1>;
  #size-cells = <0>;

  aes1_ick: clock-controller@3 {
    #clock-cells = <0>;
    compatible = "ti,omap3-interface-clock";
    clocks = <&security_l4_ick2>;
    reg = <3>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 23: basic OMAP3 interface clock

Line 24: interface clock which has no hardware

Line 25: capability for waiting clock to be ready

Line 26: interface clock with USB specific HW handling

Line 27: interface clock with DSS specific HW handling

Line 28: interface clock with SSI specific HW handling

Line 29: interface clock with AM35xx specific HW handling

Line 30: interface clock with OMAP2430 specific HW handling

Texas Instruments mux clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings / ti

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti/ti,mux-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tero Kristo <kristo@kernel.org>"

This clock assumes a register-mapped multiplexer with multiple inpt clock signals or parents, one of which can be selected as output. This clock does not gate or adjust the parent rate via a divider or multiplier.

By default the "clocks" property lists the parents in the same order as they are programmed into the register. E.g:

  clocks = <&foo_clock>, <&bar_clock>, <&baz_clock>;

Results in programming the register as follows:

register value selected parent clock 0 foo_clock 1 bar_clock 2 baz_clock

Some clock controller IPs do not allow a value of zero to be programmed into the register, instead indexing begins at 1. The optional property "index-starts-at-one" modified the scheme as follows:

register value selected clock parent 1 foo_clock 2 bar_clock 3 baz_clock

The binding must provide the register to control the mux. Optionally the number of bits to shift the control field in the register can be supplied. If the shift value is missing it is the same as supplying a zero shift.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,mux-clock", "ti,composite-mux-clock"

#clock-cells — required here #

Exact value (const): 0

clocks — required here #

true — No constraints added by this property rule.

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

ti,bit-shift — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Number of bits to shift the bit-mask

Maximum value (maximum): 31

Default value (default): 0

ti,index-starts-at-one — not listed as required here #

Value type (type): "boolean"

Valid input select programming starts at 1, not zero

ti,set-rate-parent — not listed as required here #

Value type (type): "boolean"

clk_set_rate is propagated to parent clock, not supported by the composite-mux-clock subtype.

ti,latch-bit — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Latch the mux value to HW, only needed if the register access requires this. As an example, dra7x DPLL_GMAC H14 muxing implements such behavior.

Maximum value (maximum): 31

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "ti,composite-mux-clock"

When the condition matches (then) #

Properties and child nodes (properties) #

ti,set-rate-parent — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible", "#clock-cells", "clocks", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus {
  #address-cells = <1>;
  #size-cells = <0>;

  clock-controller@110 {
    compatible = "ti,mux-clock";
    reg = <0x0110>;
    #clock-cells = <0>;
    clocks = <&virt_12000000_ck>, <&virt_13000000_ck>, <&virt_16800000_ck>;
    ti,index-starts-at-one;
    ti,set-rate-parent;
  };

  clock-controller@120 {
    compatible = "ti,composite-mux-clock";
    reg = <0x0120>;
    #clock-cells = <0>;
    clocks = <&core_96m_fck>, <&mcbsp_clks>;
    ti,bit-shift = <4>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Actions Semi Owl Clock Management Unit (CMU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/actions,owl-cmu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"

The Actions Semi Owl Clock Management Unit generates and supplies clock to various controllers within the SoC.

See also:
  include/dt-bindings/clock/actions,s500-cmu.h
  include/dt-bindings/clock/actions,s700-cmu.h
  include/dt-bindings/clock/actions,s900-cmu.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "actions,s500-cmu", "actions,s700-cmu", "actions,s900-cmu"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Host oscillator source

Item 2

Internal low frequency oscillator source

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@e0160000 {
    compatible = "actions,s900-cmu";
    reg = <0xe0160000 0x1000>;
    clocks = <&hosc>, <&losc>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Analog Devices AXI clkgen pcore clock generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/adi,axi-clkgen.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lars-Peter Clausen <lars@metafoo.de>", "Michael Hennerich <michael.hennerich@analog.com>"

The axi_clkgen IP core is a software programmable clock generator, that can be synthesized on various FPGA platforms.

Link: https://wiki.analog.com/resources/fpga/docs/axi_clkgen

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,axi-clkgen-2.00.a", "adi,zynqmp-axi-clkgen-2.00.a"

clocks — required here #

Specifies the reference clock(s) from which the output frequency is derived. This must either reference one clock if only the first clock input is connected or two if both clock inputs are connected. The last clock is the AXI bus clock that needs to be enabled so we can access the core registers.

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "clkin1"

Item 2

Exact value (const): "s_axi_aclk"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "clkin1"

Item 2

Exact value (const): "clkin2"

Item 3

Exact value (const): "s_axi_aclk"

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

reg — required here #

Maximum number of items (maxItems): 1

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) #

clock-controller@ff000000 {
  compatible = "adi,axi-clkgen-2.00.a";
  #clock-cells = <0>;
  reg = <0xff000000 0x1000>;
  clocks = <&osc 1>, <&clkc 15>;
  clock-names = "clkin1", "s_axi_aclk";
  clock-output-names = "spi_sclk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

EN7523 Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/airoha,en7523-scu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Felix Fietkau <nbd@nbd.name>", "John Crispin <nbd@nbd.name>"

This node defines the System Control Unit of the EN7523 SoC, a collection of registers configuring many different aspects of the SoC.

The clock driver uses it to read and configure settings of the PLL controller, which provides clocks for the CPU, the bus and other SoC internal peripherals.

Each clock is assigned an identifier and client nodes use this identifier to specify which clock they consume.

All these identifiers can be found in: [1]: <include/dt-bindings/clock/en7523-clk.h>.

The clocks are provided inside a system controller node.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "airoha,en7523-scu", "airoha,en7581-scu"

reg — required here #

Array item rules (items) #

Item 1

scu base address

Item 2

misc scu base address

Minimum number of items (minItems): 1

#clock-cells — required here #

The first cell indicates the clock number, see [1] for available clocks.

Exact value (const): 1

#reset-cells — not listed as required here #

ID of the controller reset line

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "airoha,en7523-scu"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 2

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "airoha,en7581-scu"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/en7523-clk.h>
scu: system-controller@1fa20000 {
  compatible = "airoha,en7523-scu";
  reg = <0x1fa20000 0x400>,
        <0x1fb00000 0x1000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};
soc {
  #address-cells = <2>;
  #size-cells = <2>;

  scuclk: clock-controller@1fb00000 {
    compatible = "airoha,en7581-scu";
    reg = <0x0 0x1fb00000 0x0 0x970>;
          #clock-cells = <1>;
          #reset-cells = <1>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Allwinner A10 AHB Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ahb-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-ahb-clk", "allwinner,sun6i-a31-ahb1-clk", "allwinner,sun8i-h3-ahb2-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun4i-a10-ahb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun6i-a31-ahb1-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 4

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun8i-h3-ahb2-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 2

Examples (examples) #

ahb@1c20054 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-ahb-clk";
    reg = <0x01c20054 0x4>;
    clocks = <&axi>;
    clock-output-names = "ahb";
};
ahb1@1c20054 {
    #clock-cells = <0>;
    compatible = "allwinner,sun6i-a31-ahb1-clk";
    reg = <0x01c20054 0x4>;
    clocks = <&osc32k>, <&osc24M>, <&axi>, <&pll6 0>;
    clock-output-names = "ahb1";
};
ahb2_clk@1c2005c {
    #clock-cells = <0>;
    compatible = "allwinner,sun8i-h3-ahb2-clk";
    reg = <0x01c2005c 0x4>;
    clocks = <&ahb1>, <&pll6d2>;
    clock-output-names = "ahb2";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 APB0 Bus Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-apb0-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-apb0-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

apb0@1c20054 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-apb0-clk";
    reg = <0x01c20054 0x4>;
    clocks = <&ahb>;
    clock-output-names = "apb0";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 APB1 Bus Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-apb1-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-apb1-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 3

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20058 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-apb1-clk";
    reg = <0x01c20058 0x4>;
    clocks = <&osc24M>, <&pll6 1>, <&osc32k>;
    clock-output-names = "apb1";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 AXI Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-axi-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-axi-clk", "allwinner,sun8i-a23-axi-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

axi@1c20054 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-axi-clk";
    reg = <0x01c20054 0x4>;
    clocks = <&cpu>;
    clock-output-names = "axi";
};
axi_clk@1c20050 {
    #clock-cells = <0>;
    compatible = "allwinner,sun8i-a23-axi-clk";
    reg = <0x01c20050 0x4>;
    clocks = <&cpu>;
    clock-output-names = "axi";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner Clock Control Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ccu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-ccu", "allwinner,sun5i-a10s-ccu", "allwinner,sun5i-a13-ccu", "allwinner,sun6i-a31-ccu", "allwinner,sun7i-a20-ccu", "allwinner,sun8i-a23-ccu", "allwinner,sun8i-a33-ccu", "allwinner,sun8i-a83t-ccu", "allwinner,sun8i-a83t-r-ccu", "allwinner,sun8i-h3-ccu", "allwinner,sun8i-h3-r-ccu", "allwinner,sun8i-r40-ccu", "allwinner,sun8i-v3-ccu", "allwinner,sun8i-v3s-ccu", "allwinner,sun9i-a80-ccu", "allwinner,sun20i-d1-ccu", "allwinner,sun20i-d1-r-ccu", "allwinner,sun50i-a64-ccu", "allwinner,sun50i-a64-r-ccu", "allwinner,sun50i-a100-ccu", "allwinner,sun50i-a100-r-ccu", "allwinner,sun50i-h5-ccu", "allwinner,sun50i-h6-ccu", "allwinner,sun50i-h6-r-ccu", "allwinner,sun50i-h616-ccu", "allwinner,sun50i-h616-r-ccu", "allwinner,suniv-f1c100s-ccu", "nextthing,gr8-ccu"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

High Frequency Oscillator (usually at 24MHz)

Item 2

Low Frequency Oscillator (usually at 32kHz)

Item 3

Internal Oscillator

Item 4

Peripherals PLL

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "hosc"

Item 2

Exact value (const): "losc"

Item 3

Exact value (const): "iosc"

Item 4

Exact value (const): "pll-periph"

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-names"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "allwinner,sun8i-a83t-r-ccu", "allwinner,sun8i-h3-r-ccu", "allwinner,sun20i-d1-r-ccu", "allwinner,sun50i-a64-r-ccu", "allwinner,sun50i-a100-r-ccu", "allwinner,sun50i-h6-r-ccu", "allwinner,sun50i-h616-r-ccu"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — not listed as required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

When the condition does not match (else) #

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "allwinner,sun20i-d1-ccu", "allwinner,sun50i-a100-ccu", "allwinner,sun50i-h6-ccu", "allwinner,sun50i-h616-ccu"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

When the condition does not match (else) #

Properties and child nodes (properties) #

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

ccu: clock@1c20000 {
    compatible = "allwinner,sun8i-h3-ccu";
    reg = <0x01c20000 0x400>;
    clocks = <&osc24M>, <&osc32k>;
    clock-names = "hosc", "losc";
    #clock-cells = <1>;
    #reset-cells = <1>;
};
r_ccu: clock@1f01400 {
    compatible = "allwinner,sun50i-a64-r-ccu";
    reg = <0x01f01400 0x100>;
    clocks = <&osc24M>, <&osc32k>, <&iosc>, <&ccu 11>;
    clock-names = "hosc", "losc", "iosc", "pll-periph";
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 CPU Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-cpu-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-cpu-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cpu@1c20054 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-cpu-clk";
    reg = <0x01c20054 0x4>;
    clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>;
    clock-output-names = "cpu";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 Display Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-display-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

#reset-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-display-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 3

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20104 {
    #clock-cells = <0>;
    #reset-cells = <0>;
    compatible = "allwinner,sun4i-a10-display-clk";
    reg = <0x01c20104 0x4>;
    clocks = <&pll3>, <&pll7>, <&pll5 1>;
    clock-output-names = "de-be";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 Bus Gates Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-gates-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

This additional argument passed to that clock is the offset of the bit controlling this particular gate in the register.

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "allwinner,sun4i-a10-gates-clk"

Rule 2

Exact value (const): "allwinner,sun4i-a10-axi-gates-clk"

Rule 3

Exact value (const): "allwinner,sun4i-a10-ahb-gates-clk"

Rule 4

Exact value (const): "allwinner,sun5i-a10s-ahb-gates-clk"

Rule 5

Exact value (const): "allwinner,sun5i-a13-ahb-gates-clk"

Rule 6

Exact value (const): "allwinner,sun7i-a20-ahb-gates-clk"

Rule 7

Exact value (const): "allwinner,sun6i-a31-ahb1-gates-clk"

Rule 8

Exact value (const): "allwinner,sun8i-a23-ahb1-gates-clk"

Rule 9

Exact value (const): "allwinner,sun9i-a80-ahb0-gates-clk"

Rule 10

Exact value (const): "allwinner,sun9i-a80-ahb1-gates-clk"

Rule 11

Exact value (const): "allwinner,sun9i-a80-ahb2-gates-clk"

Rule 12

Exact value (const): "allwinner,sun4i-a10-apb0-gates-clk"

Rule 13

Exact value (const): "allwinner,sun5i-a10s-apb0-gates-clk"

Rule 14

Exact value (const): "allwinner,sun5i-a13-apb0-gates-clk"

Rule 15

Exact value (const): "allwinner,sun7i-a20-apb0-gates-clk"

Rule 16

Exact value (const): "allwinner,sun9i-a80-apb0-gates-clk"

Rule 17

Exact value (const): "allwinner,sun8i-a83t-apb0-gates-clk"

Rule 18

Exact value (const): "allwinner,sun4i-a10-apb1-gates-clk"

Rule 19

Exact value (const): "allwinner,sun5i-a13-apb1-gates-clk"

Rule 20

Exact value (const): "allwinner,sun5i-a10s-apb1-gates-clk"

Rule 21

Exact value (const): "allwinner,sun6i-a31-apb1-gates-clk"

Rule 22

Exact value (const): "allwinner,sun7i-a20-apb1-gates-clk"

Rule 23

Exact value (const): "allwinner,sun8i-a23-apb1-gates-clk"

Rule 24

Exact value (const): "allwinner,sun9i-a80-apb1-gates-clk"

Rule 25

Exact value (const): "allwinner,sun6i-a31-apb2-gates-clk"

Rule 26

Exact value (const): "allwinner,sun8i-a23-apb2-gates-clk"

Rule 27

Exact value (const): "allwinner,sun8i-a83t-bus-gates-clk"

Rule 28

Exact value (const): "allwinner,sun9i-a80-apbs-gates-clk"

Rule 29

Exact value (const): "allwinner,sun4i-a10-dram-gates-clk"

Rule 30

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun5i-a13-dram-gates-clk"

Item 2

Exact value (const): "allwinner,sun4i-a10-gates-clk"

Rule 31

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun8i-h3-apb0-gates-clk"

Item 2

Exact value (const): "allwinner,sun4i-a10-gates-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-indices — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

clock-output-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-indices", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c2005c {
    #clock-cells = <1>;
    compatible = "allwinner,sun4i-a10-axi-gates-clk";
    reg = <0x01c2005c 0x4>;
    clocks = <&axi>;
    clock-indices = <0>;
    clock-output-names = "axi_dram";
};
clk@1c20060 {
    #clock-cells = <1>;
    compatible = "allwinner,sun4i-a10-ahb-gates-clk";
    reg = <0x01c20060 0x8>;
    clocks = <&ahb>;
    clock-indices = <0>, <1>,
                    <2>, <3>,
                    <4>, <5>, <6>,
                    <7>, <8>, <9>,
                    <10>, <11>, <12>,
                    <13>, <14>, <16>,
                    <17>, <18>, <20>,
                    <21>, <22>, <23>,
                    <24>, <25>, <26>,
                    <32>, <33>, <34>,
                    <35>, <36>, <37>,
                    <40>, <41>, <43>,
                    <44>, <45>,
                    <46>, <47>,
                    <50>, <52>;
    clock-output-names = "ahb_usb0", "ahb_ehci0",
                         "ahb_ohci0", "ahb_ehci1",
                         "ahb_ohci1", "ahb_ss", "ahb_dma",
                         "ahb_bist", "ahb_mmc0", "ahb_mmc1",
                         "ahb_mmc2", "ahb_mmc3", "ahb_ms",
                         "ahb_nand", "ahb_sdram", "ahb_ace",
                         "ahb_emac", "ahb_ts", "ahb_spi0",
                         "ahb_spi1", "ahb_spi2", "ahb_spi3",
                         "ahb_pata", "ahb_sata", "ahb_gps",
                         "ahb_ve", "ahb_tvd", "ahb_tve0",
                         "ahb_tve1", "ahb_lcd0", "ahb_lcd1",
                         "ahb_csi0", "ahb_csi1", "ahb_hdmi",
                         "ahb_de_be0", "ahb_de_be1",
                         "ahb_de_fe0", "ahb_de_fe1",
                         "ahb_mp", "ahb_mali400";
};
clk@1c20068 {
    #clock-cells = <1>;
    compatible = "allwinner,sun4i-a10-apb0-gates-clk";
    reg = <0x01c20068 0x4>;
    clocks = <&apb0>;
    clock-indices = <0>, <1>,
                    <2>, <3>,
                    <5>, <6>,
                    <7>, <10>;
    clock-output-names = "apb0_codec", "apb0_spdif",
                         "apb0_ac97", "apb0_iis",
                         "apb0_pio", "apb0_ir0",
                         "apb0_ir1", "apb0_keypad";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 MBUS Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mbus-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun5i-a13-mbus-clk", "allwinner,sun8i-a23-mbus-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 3

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c2015c {
    #clock-cells = <0>;
    compatible = "allwinner,sun5i-a13-mbus-clk";
    reg = <0x01c2015c 0x4>;
    clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
    clock-output-names = "mbus";
};
clk@1c2015c {
    #clock-cells = <0>;
    compatible = "allwinner,sun8i-a23-mbus-clk";
    reg = <0x01c2015c 0x4>;
    clocks = <&osc24M>, <&pll6 1>, <&pll5>;
    clock-output-names = "mbus";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 Module 1 Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mmc-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

There is three different outputs: the main clock, with the ID 0, and the output and sample clocks, with the IDs 1 and 2, respectively.

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-mmc-clk", "allwinner,sun9i-a80-mmc-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 3

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun4i-a10-mmc-clk"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Maximum number of items (maxItems): 3

When the condition does not match (else) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Maximum number of items (maxItems): 2

Examples (examples) #

clk@1c20088 {
    #clock-cells = <1>;
    compatible = "allwinner,sun4i-a10-mmc-clk";
    reg = <0x01c20088 0x4>;
    clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
    clock-output-names = "mmc0",
                         "mmc0_output",
                         "mmc0_sample";
};
clk@6000410 {
    #clock-cells = <1>;
    compatible = "allwinner,sun9i-a80-mmc-clk";
    reg = <0x06000410 0x4>;
    clocks = <&osc24M>, <&pll4>;
    clock-output-names = "mmc0", "mmc0_output",
                         "mmc0_sample";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 Module 0 Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mod0-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun4i-a10-mod0-clk", "allwinner,sun9i-a80-mod0-clk"

Required in this object (required): "compatible", "reg"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-mod0-clk", "allwinner,sun9i-a80-mod0-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20080 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-mod0-clk";
    reg = <0x01c20080 0x4>;
    clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
    clock-output-names = "nand";
};
clk@8001454 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-mod0-clk";
    reg = <0x08001454 0x4>;
    clocks = <&osc32k>, <&osc24M>;
    clock-output-names = "r_ir";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 23: The PRCM on the A31 and A23 will have the reg property missing,

Line 24: since it's set at the upper level node, and will be validated by

Line 25: PRCM's schema. Make sure we only validate standalone nodes.

Line 43: On the A80, the PRCM mod0 clocks have 2 parents.

Allwinner A10 Module 1 Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mod1-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-mod1-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun4i-a10-pll2.h>

clk@1c200c0 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-mod1-clk";
    reg = <0x01c200c0 0x4>;
    clocks = <&pll2 SUN4I_A10_PLL2_8X>,
             <&pll2 SUN4I_A10_PLL2_4X>,
             <&pll2 SUN4I_A10_PLL2_2X>,
             <&pll2 SUN4I_A10_PLL2_1X>;
    clock-output-names = "spdif";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 Gateable Oscillator Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-osc-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-osc-clk"

reg — required here #

Maximum number of items (maxItems): 1

clock-frequency — required here #

Frequency of the main oscillator.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clock-frequency", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

osc24M: clk@1c20050 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-osc-clk";
    reg = <0x01c20050 0x4>;
    clock-frequency = <24000000>;
    clock-output-names = "osc24M";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 CPU PLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-pll1-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-pll1-clk", "allwinner,sun6i-a31-pll1-clk", "allwinner,sun8i-a23-pll1-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20000 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-pll1-clk";
    reg = <0x01c20000 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "osc24M";
};
clk@1c20000 {
    #clock-cells = <0>;
    compatible = "allwinner,sun6i-a31-pll1-clk";
    reg = <0x01c20000 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "pll1";
};
clk@1c20000 {
    #clock-cells = <0>;
    compatible = "allwinner,sun8i-a23-pll1-clk";
    reg = <0x01c20000 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "pll1";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 Video PLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-pll3-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-pll3-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20010 {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-pll3-clk";
    reg = <0x01c20010 0x4>;
    clocks = <&osc3M>;
    clock-output-names = "pll3";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 DRAM PLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-pll5-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

The first output is the DRAM clock output, the second is meant for peripherals on the SoC.

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-pll5-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 2

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20020 {
    #clock-cells = <1>;
    compatible = "allwinner,sun4i-a10-pll5-clk";
    reg = <0x01c20020 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "pll5_ddr", "pll5_other";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 Peripheral PLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-pll6-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

The first output is the SATA clock output, the second is the regular PLL output, the third is a PLL output at twice the rate.

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-pll6-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 3

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20028 {
    #clock-cells = <1>;
    compatible = "allwinner,sun4i-a10-pll6-clk";
    reg = <0x01c20028 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "pll6_sata", "pll6_other", "pll6";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 TCON Channel 0 Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

#reset-cells — not listed as required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-tcon-ch0-clk", "allwinner,sun4i-a10-tcon-ch1-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun4i-a10-tcon-ch0-clk"

When the condition matches (then) #

Required in this object (required): "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20118 {
    #clock-cells = <0>;
    #reset-cells = <1>;
    compatible = "allwinner,sun4i-a10-tcon-ch0-clk";
    reg = <0x01c20118 0x4>;
    clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
    clock-output-names = "tcon-ch0-sclk";
};
clk@1c2012c {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-tcon-ch1-clk";
    reg = <0x01c2012c 0x4>;
    clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
    clock-output-names = "tcon-ch1-sclk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 USB Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-usb-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

The additional ID argument passed to the clock shall refer to the index of the output.

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-usb-clk", "allwinner,sun5i-a13-usb-clk", "allwinner,sun6i-a31-usb-clk", "allwinner,sun8i-a23-usb-clk", "allwinner,sun8i-h3-usb-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 8

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun4i-a10-usb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 3

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun5i-a13-usb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 2

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun6i-a31-usb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 6

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun8i-a23-usb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 5

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun8i-h3-usb-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 8

Examples (examples) #

clk@1c200cc {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun4i-a10-usb-clk";
    reg = <0x01c200cc 0x4>;
    clocks = <&pll6 1>;
    clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
};
clk@1c200cc {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun5i-a13-usb-clk";
    reg = <0x01c200cc 0x4>;
    clocks = <&pll6 1>;
    clock-output-names = "usb_ohci0", "usb_phy";
};
clk@1c200cc {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun6i-a31-usb-clk";
    reg = <0x01c200cc 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "usb_phy0", "usb_phy1", "usb_phy2",
                         "usb_ohci0", "usb_ohci1",
                         "usb_ohci2";
};
clk@1c200cc {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun8i-a23-usb-clk";
    reg = <0x01c200cc 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "usb_phy0", "usb_phy1", "usb_hsic",
                         "usb_hsic_12M", "usb_ohci0";
};
clk@1c200cc {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun8i-h3-usb-clk";
    reg = <0x01c200cc 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "usb_phy0", "usb_phy1",
                         "usb_phy2", "usb_phy3",
                         "usb_ohci0", "usb_ohci1",
                         "usb_ohci2", "usb_ohci3";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A10 Video Engine Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ve-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

#reset-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-ve-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c2013c {
    #clock-cells = <0>;
    #reset-cells = <0>;
    compatible = "allwinner,sun4i-a10-ve-clk";
    reg = <0x01c2013c 0x4>;
    clocks = <&pll4>;
    clock-output-names = "ve";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A523 Clock Control Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun55i-a523-ccu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andre Przywara <andre.przywara@arm.com>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "allwinner,sun55i-a523-ccu", "allwinner,sun55i-a523-mcu-ccu", "allwinner,sun55i-a523-r-ccu"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 9

clock-names — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 9

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "allwinner,sun55i-a523-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

High Frequency Oscillator (usually at 24MHz)

Item 2

Low Frequency Oscillator (usually at 32kHz)

Item 3

Internal Oscillator

Item 4

Low Frequency Oscillator fanout

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hosc"

Item 2

Exact value (const): "losc"

Item 3

Exact value (const): "iosc"

Item 4

Exact value (const): "losc-fanout"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "allwinner,sun55i-a523-mcu-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

High Frequency Oscillator (usually at 24MHz)

Item 2

Low Frequency Oscillator (usually at 32kHz)

Item 3

Internal Oscillator

Item 4

Audio PLL (4x)

Item 5

Peripherals PLL 0 (300 MHz output)

Item 6

DSP module clock

Item 7

MBUS clock

Item 8

PRCM AHB clock

Item 9

PRCM APB0 clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hosc"

Item 2

Exact value (const): "losc"

Item 3

Exact value (const): "iosc"

Item 4

Exact value (const): "pll-audio0-4x"

Item 5

Exact value (const): "pll-periph0-300m"

Item 6

Exact value (const): "dsp"

Item 7

Exact value (const): "mbus"

Item 8

Exact value (const): "r-ahb"

Item 9

Exact value (const): "r-apb0"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "allwinner,sun55i-a523-r-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

High Frequency Oscillator (usually at 24MHz)

Item 2

Low Frequency Oscillator (usually at 32kHz)

Item 3

Internal Oscillator

Item 4

Peripherals PLL

Item 5

Audio PLL

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hosc"

Item 2

Exact value (const): "losc"

Item 3

Exact value (const): "iosc"

Item 4

Exact value (const): "pll-periph"

Item 5

Exact value (const): "pll-audio"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@2001000 {
    compatible = "allwinner,sun55i-a523-ccu";
    reg = <0x02001000 0x1000>;
    clocks = <&osc24M>, <&osc32k>, <&iosc>, <&r_ccu 1>;
    clock-names = "hosc", "losc", "iosc", "losc-fanout";
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Allwinner A13 AHB Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun5i-a13-ahb-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun5i-a13-ahb-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 3

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

ahb@1c20054 {
    #clock-cells = <0>;
    compatible = "allwinner,sun5i-a13-ahb-clk";
    reg = <0x01c20054 0x4>;
    clocks = <&axi>, <&cpu>, <&pll6 1>;
    clock-output-names = "ahb";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A31 Peripheral PLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun6i-a31-pll6-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

The first output is the regular PLL output, the second is a PLL output at twice the rate.

compatible — required here #

Exact value (const): "allwinner,sun6i-a31-pll6-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 2

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20028 {
    #clock-cells = <1>;
    compatible = "allwinner,sun6i-a31-pll6-clk";
    reg = <0x01c20028 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "pll6", "pll6x2";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A20 GMAC TX Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun7i-a20-gmac-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun7i-a20-gmac-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

The parent clocks shall be fixed rate dummy clocks at 25 MHz and 125 MHz, respectively.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20164 {
    #clock-cells = <0>;
    compatible = "allwinner,sun7i-a20-gmac-clk";
    reg = <0x01c20164 0x4>;
    clocks = <&mii_phy_tx_clk>, <&gmac_int_tx_clk>;
    clock-output-names = "gmac_tx";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A20 Output Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun7i-a20-out-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun7i-a20-out-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 3

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c201f0 {
    #clock-cells = <0>;
    compatible = "allwinner,sun7i-a20-out-clk";
    reg = <0x01c201f0 0x4>;
    clocks = <&osc24M_32k>, <&osc32k>, <&osc24M>;
    clock-output-names = "clk_out_a";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A83t Display Engine 2/3 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun8i-a83t-de2-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "allwinner,sun8i-a83t-de2-clk"

Rule 2

Exact value (const): "allwinner,sun8i-h3-de2-clk"

Rule 3

Exact value (const): "allwinner,sun8i-v3s-de2-clk"

Rule 4

Exact value (const): "allwinner,sun50i-a64-de2-clk"

Rule 5

Exact value (const): "allwinner,sun50i-h5-de2-clk"

Rule 6

Exact value (const): "allwinner,sun50i-h6-de3-clk"

Rule 7

Exact value (const): "allwinner,sun50i-h616-de33-clk"

Rule 8

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun8i-r40-de2-clk"

Item 2

Exact value (const): "allwinner,sun8i-h3-de2-clk"

Rule 9

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun20i-d1-de2-clk"

Item 2

Exact value (const): "allwinner,sun50i-h5-de2-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Bus Clock

Item 2

Module Clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "mod"

resets — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-names", "resets"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun8i-h3-ccu.h>
#include <dt-bindings/reset/sun8i-h3-ccu.h>

de2_clocks: clock@1000000 {
    compatible = "allwinner,sun8i-h3-de2-clk";
    reg = <0x01000000 0x100000>;
    clocks = <&ccu CLK_BUS_DE>,
             <&ccu CLK_DE>;
    clock-names = "bus",
                  "mod";
    resets = <&ccu RST_BUS_DE>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0+

Allwinner A10 Bus Gates Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun8i-h3-bus-gates-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

This additional argument passed to that clock is the offset of the bit controlling this particular gate in the register.

compatible — required here #

Exact value (const): "allwinner,sun8i-h3-bus-gates-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 4

clock-names — required here #

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-indices — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

clock-output-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-indices", "clock-names", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c20060 {
    #clock-cells = <1>;
    compatible = "allwinner,sun8i-h3-bus-gates-clk";
    reg = <0x01c20060 0x14>;
    clocks = <&ahb1>, <&ahb2>, <&apb1>, <&apb2>;
    clock-names = "ahb1", "ahb2", "apb1", "apb2";
    clock-indices = <5>, <6>, <8>,
                    <9>, <10>, <13>,
                    <14>, <17>, <18>,
                    <19>, <20>,
                    <21>, <23>,
                    <24>, <25>,
                    <26>, <27>,
                    <28>, <29>,
                    <30>, <31>, <32>,
                    <35>, <36>, <37>,
                    <40>, <41>, <43>,
                    <44>, <52>, <53>,
                    <54>, <64>,
                    <65>, <69>, <72>,
                    <76>, <77>, <78>,
                    <96>, <97>, <98>,
                    <112>, <113>,
                    <114>, <115>,
                    <116>, <128>, <135>;
    clock-output-names = "bus_ce", "bus_dma", "bus_mmc0",
                         "bus_mmc1", "bus_mmc2", "bus_nand",
                         "bus_sdram", "bus_gmac", "bus_ts",
                         "bus_hstimer", "bus_spi0",
                         "bus_spi1", "bus_otg",
                         "bus_otg_ehci0", "bus_ehci1",
                         "bus_ehci2", "bus_ehci3",
                         "bus_otg_ohci0", "bus_ohci1",
                         "bus_ohci2", "bus_ohci3", "bus_ve",
                         "bus_lcd0", "bus_lcd1", "bus_deint",
                         "bus_csi", "bus_tve", "bus_hdmi",
                         "bus_de", "bus_gpu", "bus_msgbox",
                         "bus_spinlock", "bus_codec",
                         "bus_spdif", "bus_pio", "bus_ths",
                         "bus_i2s0", "bus_i2s1", "bus_i2s2",
                         "bus_i2c0", "bus_i2c1", "bus_i2c2",
                         "bus_uart0", "bus_uart1",
                         "bus_uart2", "bus_uart3",
                         "bus_scr", "bus_ephy", "bus_dbg";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A80 AHB Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-ahb-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-ahb-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@6000060 {
    #clock-cells = <0>;
    compatible = "allwinner,sun9i-a80-ahb-clk";
    reg = <0x06000060 0x4>;
    clocks = <&gt_clk>, <&pll4>, <&pll12>, <&pll12>;
    clock-output-names = "ahb0";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A80 APB0 Bus Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-apb0-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun9i-a80-apb0-clk", "allwinner,sun9i-a80-apb1-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@6000070 {
    #clock-cells = <0>;
    compatible = "allwinner,sun9i-a80-apb0-clk";
    reg = <0x06000070 0x4>;
    clocks = <&osc24M>, <&pll4>;
    clock-output-names = "apb0";
};
clk@6000074 {
    #clock-cells = <0>;
    compatible = "allwinner,sun9i-a80-apb1-clk";
    reg = <0x06000074 0x4>;
    clocks = <&osc24M>, <&pll4>;
    clock-output-names = "apb1";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A80 CPUS Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-cpus-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-cpus-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@8001410 {
    compatible = "allwinner,sun9i-a80-cpus-clk";
    reg = <0x08001410 0x4>;
    #clock-cells = <0>;
    clocks = <&osc32k>, <&osc24M>, <&pll4>, <&pll3>;
    clock-output-names = "cpus";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A80 Display Engine Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-de-clks.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-de-clks"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Bus Clock

Item 2

RAM Bus Clock

Item 3

Module Clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mod"

Item 2

Exact value (const): "dram"

Item 3

Exact value (const): "bus"

resets — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-names", "resets"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun9i-a80-ccu.h>
#include <dt-bindings/reset/sun9i-a80-ccu.h>

de_clocks: clock@3000000 {
    compatible = "allwinner,sun9i-a80-de-clks";
    reg = <0x03000000 0x30>;
    clocks = <&ccu CLK_DE>, <&ccu CLK_SDRAM>, <&ccu CLK_BUS_DE>;
    clock-names = "mod", "dram", "bus";
    resets = <&ccu RST_BUS_DE>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0+

Allwinner A80 GT Bus Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-gt-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-gt-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@600005c {
    #clock-cells = <0>;
    compatible = "allwinner,sun9i-a80-gt-clk";
    reg = <0x0600005c 0x4>;
    clocks = <&osc24M>, <&pll4>, <&pll12>, <&pll12>;
    clock-output-names = "gt";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A80 MMC Configuration Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-mmc-config-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

There is one clock/reset output per mmc controller. The number of outputs is determined by the size of the address block, which is related to the overall mmc block.

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

The additional ID argument passed to the clock shall refer to the index of the output.

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-mmc-config-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 4

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@1c13000 {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun9i-a80-mmc-config-clk";
    reg = <0x01c13000 0x10>;
    clocks = <&ahb0_gates 8>;
    resets = <&ahb0_resets 8>;
    clock-output-names = "mmc0_config", "mmc1_config",
                         "mmc2_config", "mmc3_config";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A80 Peripheral PLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-pll4-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-pll4-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@600000c {
    #clock-cells = <0>;
    compatible = "allwinner,sun9i-a80-pll4-clk";
    reg = <0x0600000c 0x4>;
    clocks = <&osc24M>;
    clock-output-names = "pll4";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A80 USB Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-clks.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-usb-clks"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Bus Clock

Item 2

High Frequency Oscillator

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "hosc"

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun9i-a80-ccu.h>

usb_clocks: clock@a08000 {
    compatible = "allwinner,sun9i-a80-usb-clks";
    reg = <0x00a08000 0x8>;
    clocks = <&ccu CLK_BUS_USB>, <&osc24M>;
    clock-names = "bus", "hosc";
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0+

Allwinner A80 USB Module Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-mod-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

The additional ID argument passed to the clock shall refer to the index of the output.

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-usb-mod-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 6

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@a08000 {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun9i-a80-usb-mod-clk";
    reg = <0x00a08000 0x4>;
    clocks = <&ahb1_gates 1>;
    clock-output-names = "usb0_ahb", "usb_ohci0",
                         "usb1_ahb", "usb_ohci1",
                         "usb2_ahb", "usb_ohci2";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A80 USB PHY Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-phy-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

The additional ID argument passed to the clock shall refer to the index of the output.

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Exact value (const): "allwinner,sun9i-a80-usb-phy-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — required here #

Maximum number of items (maxItems): 6

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk@a08004 {
    #clock-cells = <1>;
    #reset-cells = <1>;
    compatible = "allwinner,sun9i-a80-usb-phy-clk";
    reg = <0x00a08004 0x4>;
    clocks = <&ahb1_gates 1>;
    clock-output-names = "usb_phy0", "usb_hsic1_480M",
                         "usb_phy1", "usb_hsic2_480M",
                         "usb_phy2", "usb_hsic_12M";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Alphascale Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/alphascale,asm9260-clock-controller.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Oleksij Rempel <linux@rempel-privat.de>"

The ACC (Alphascale Clock Controller) is responsible for choosing proper clock source, setting dividers and clock gates.

Simple one-cell clock specifier format is used, where the only cell is used as an index of the clock inside the provider. It is encouraged to use dt-binding for clock index definitions. SoC specific dt-binding should be included to the device tree descriptor. For example Alphascale ASM9260:

#include <dt-bindings/clock/alphascale,asm9260.h>

This binding contains two types of clock providers:

  _AHB_ - AHB gate;
  _SYS_ - adjustable clock source. Not all peripheral have _SYS_ clock provider.

All clock specific details can be found in the SoC documentation.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "alphascale,asm9260-clock-controller"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Amlogic A1 Peripherals Clock Control Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,a1-peripherals-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Jerome Brunet <jbrunet@baylibre.com>", "Jian Hu <jian.hu@jian.hu.com>", "Dmitry Rokosov <ddrokosov@sberdevices.ru>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "amlogic,a1-peripherals-clkc"

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

input fixed pll div2

Item 2

input fixed pll div3

Item 3

input fixed pll div5

Item 4

input fixed pll div7

Item 5

input hifi pll

Item 6

input oscillator (usually at 24MHz)

Item 7

input sys pll

Minimum number of items (minItems): 6

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "fclk_div2"

Item 2

Exact value (const): "fclk_div3"

Item 3

Exact value (const): "fclk_div5"

Item 4

Exact value (const): "fclk_div7"

Item 5

Exact value (const): "hifi_pll"

Item 6

Exact value (const): "xtal"

Item 7

Exact value (const): "sys_pll"

Minimum number of items (minItems): 6

Required in this object (required): "compatible", "#clock-cells", "reg", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/amlogic,a1-pll-clkc.h>
apb {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@800 {
        compatible = "amlogic,a1-peripherals-clkc";
        reg = <0 0x800 0 0x104>;
        #clock-cells = <1>;
        clocks = <&clkc_pll CLKID_FCLK_DIV2>,
                 <&clkc_pll CLKID_FCLK_DIV3>,
                 <&clkc_pll CLKID_FCLK_DIV5>,
                 <&clkc_pll CLKID_FCLK_DIV7>,
                 <&clkc_pll CLKID_HIFI_PLL>,
                 <&xtal>,
                 <&clkc_pll CLKID_SYS_PLL>;
        clock-names = "fclk_div2", "fclk_div3",
                      "fclk_div5", "fclk_div7",
                      "hifi_pll", "xtal", "sys_pll";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 34: sys_pll is optional

Line 45: sys_pll is optional

Amlogic A1 PLL Clock Control Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,a1-pll-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Jerome Brunet <jbrunet@baylibre.com>", "Jian Hu <jian.hu@jian.hu.com>", "Dmitry Rokosov <ddrokosov@sberdevices.ru>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "amlogic,a1-pll-clkc"

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

input fixpll_in

Item 2

input hifipll_in

Item 3

input syspll_in

Minimum number of items (minItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "fixpll_in"

Item 2

Exact value (const): "hifipll_in"

Item 3

Exact value (const): "syspll_in"

Minimum number of items (minItems): 2

Required in this object (required): "compatible", "#clock-cells", "reg", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/amlogic,a1-peripherals-clkc.h>
apb {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@7c80 {
        compatible = "amlogic,a1-pll-clkc";
        reg = <0 0x7c80 0 0x18c>;
        #clock-cells = <1>;
        clocks = <&clkc_periphs CLKID_FIXPLL_IN>,
                 <&clkc_periphs CLKID_HIFIPLL_IN>,
                 <&clkc_periphs CLKID_SYSPLL_IN>;
        clock-names = "fixpll_in", "hifipll_in", "syspll_in";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 30: syspll_in is optional

Line 37: syspll_in is optional

Amlogic AXG Audio Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,axg-audio-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Jerome Brunet <jbrunet@baylibre.com>"

The Amlogic AXG audio clock controller generates and supplies clock to the other elements of the audio subsystem, such as fifos, i2s, spdif and pdm devices.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "amlogic,axg-audio-clkc", "amlogic,g12a-audio-clkc", "amlogic,sm1-audio-clkc"

#clock-cells — required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

main peripheral bus clock

Item 2

input plls to generate clock signals N0

Item 3

input plls to generate clock signals N1

Item 4

input plls to generate clock signals N2

Item 5

input plls to generate clock signals N3

Item 6

input plls to generate clock signals N4

Item 7

input plls to generate clock signals N5

Item 8

input plls to generate clock signals N6

Item 9

input plls to generate clock signals N7

Item 10

slave bit clock N0 provided by external components

Item 11

slave bit clock N1 provided by external components

Item 12

slave bit clock N2 provided by external components

Item 13

slave bit clock N3 provided by external components

Item 14

slave bit clock N4 provided by external components

Item 15

slave bit clock N5 provided by external components

Item 16

slave bit clock N6 provided by external components

Item 17

slave bit clock N7 provided by external components

Item 18

slave bit clock N8 provided by external components

Item 19

slave bit clock N9 provided by external components

Item 20

slave sample clock N0 provided by external components

Item 21

slave sample clock N1 provided by external components

Item 22

slave sample clock N2 provided by external components

Item 23

slave sample clock N3 provided by external components

Item 24

slave sample clock N4 provided by external components

Item 25

slave sample clock N5 provided by external components

Item 26

slave sample clock N6 provided by external components

Item 27

slave sample clock N7 provided by external components

Item 28

slave sample clock N8 provided by external components

Item 29

slave sample clock N9 provided by external components

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "mst_in0"

Item 3

Exact value (const): "mst_in1"

Item 4

Exact value (const): "mst_in2"

Item 5

Exact value (const): "mst_in3"

Item 6

Exact value (const): "mst_in4"

Item 7

Exact value (const): "mst_in5"

Item 8

Exact value (const): "mst_in6"

Item 9

Exact value (const): "mst_in7"

Item 10

Exact value (const): "slv_sclk0"

Item 11

Exact value (const): "slv_sclk1"

Item 12

Exact value (const): "slv_sclk2"

Item 13

Exact value (const): "slv_sclk3"

Item 14

Exact value (const): "slv_sclk4"

Item 15

Exact value (const): "slv_sclk5"

Item 16

Exact value (const): "slv_sclk6"

Item 17

Exact value (const): "slv_sclk7"

Item 18

Exact value (const): "slv_sclk8"

Item 19

Exact value (const): "slv_sclk9"

Item 20

Exact value (const): "slv_lrclk0"

Item 21

Exact value (const): "slv_lrclk1"

Item 22

Exact value (const): "slv_lrclk2"

Item 23

Exact value (const): "slv_lrclk3"

Item 24

Exact value (const): "slv_lrclk4"

Item 25

Exact value (const): "slv_lrclk5"

Item 26

Exact value (const): "slv_lrclk6"

Item 27

Exact value (const): "slv_lrclk7"

Item 28

Exact value (const): "slv_lrclk8"

Item 29

Exact value (const): "slv_lrclk9"

resets — required here #

internal reset line

Required in this object (required): "compatible", "#clock-cells", "reg", "clocks", "clock-names", "resets"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "amlogic,g12a-audio-clkc", "amlogic,sm1-audio-clkc"

When the condition matches (then) #

Required in this object (required): "#reset-cells"

When the condition does not match (else) #

Properties and child nodes (properties)

#reset-cells — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/axg-clkc.h>
#include <dt-bindings/reset/amlogic,meson-axg-reset.h>
apb {
    #address-cells = <2>;
    #size-cells = <2>;

    clkc_audio: clock-controller@0 {
        compatible = "amlogic,axg-audio-clkc";
        reg = <0x0 0x0 0x0 0xb4>;
        #clock-cells = <1>;

        clocks = <&clkc CLKID_AUDIO>,
                 <&clkc CLKID_MPLL0>,
                 <&clkc CLKID_MPLL1>,
                 <&clkc CLKID_MPLL2>,
                 <&clkc CLKID_MPLL3>,
                 <&clkc CLKID_HIFI_PLL>,
                 <&clkc CLKID_FCLK_DIV3>,
                 <&clkc CLKID_FCLK_DIV4>,
                 <&clkc CLKID_GP0_PLL>,
                 <&slv_sclk0>,
                 <&slv_sclk1>,
                 <&slv_sclk2>,
                 <&slv_sclk3>,
                 <&slv_sclk4>,
                 <&slv_sclk5>,
                 <&slv_sclk6>,
                 <&slv_sclk7>,
                 <&slv_sclk8>,
                 <&slv_sclk9>,
                 <&slv_lrclk0>,
                 <&slv_lrclk1>,
                 <&slv_lrclk2>,
                 <&slv_lrclk3>,
                 <&slv_lrclk4>,
                 <&slv_lrclk5>,
                 <&slv_lrclk6>,
                 <&slv_lrclk7>,
                 <&slv_lrclk8>,
                 <&slv_lrclk9>;
        clock-names = "pclk",
                      "mst_in0",
                      "mst_in1",
                      "mst_in2",
                      "mst_in3",
                      "mst_in4",
                      "mst_in5",
                      "mst_in6",
                      "mst_in7",
                      "slv_sclk0",
                      "slv_sclk1",
                      "slv_sclk2",
                      "slv_sclk3",
                      "slv_sclk4",
                      "slv_sclk5",
                      "slv_sclk6",
                      "slv_sclk7",
                      "slv_sclk8",
                      "slv_sclk9",
                      "slv_lrclk0",
                      "slv_lrclk1",
                      "slv_lrclk2",
                      "slv_lrclk3",
                      "slv_lrclk4",
                      "slv_lrclk5",
                      "slv_lrclk6",
                      "slv_lrclk7",
                      "slv_lrclk8",
                      "slv_lrclk9";
        resets = <&reset RESET_AUDIO>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Amlogic C3 series Peripheral Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,c3-peripherals-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Jerome Brunet <jbrunet@baylibre.com>", "Xianwei Zhao <xianwei.zhao@amlogic.com>", "Chuan Liu <chuan.liu@amlogic.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "amlogic,c3-peripherals-clkc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 16

Array item rules (items) #

Item 1

input oscillator (usually at 24MHz)

Item 2

input oscillators multiplexer

Item 3

input fix pll

Item 4

input fclk div 2

Item 5

input fclk div 2p5

Item 6

input fclk div 3

Item 7

input fclk div 4

Item 8

input fclk div 5

Item 9

input fclk div 7

Item 10

input gp0 pll

Item 11

input gp1 pll

Item 12

input hifi pll

Item 13

input sys clk

Item 14

input axi clk

Item 15

input sys pll div 16

Item 16

input cpu clk div 16

Item 17

input pad clock for rtc clk (optional)

clock-names — required here #

Minimum number of items (minItems): 16

Array item rules (items) #

Item 1

Exact value (const): "xtal_24m"

Item 2

Exact value (const): "oscin"

Item 3

Exact value (const): "fix"

Item 4

Exact value (const): "fdiv2"

Item 5

Exact value (const): "fdiv2p5"

Item 6

Exact value (const): "fdiv3"

Item 7

Exact value (const): "fdiv4"

Item 8

Exact value (const): "fdiv5"

Item 9

Exact value (const): "fdiv7"

Item 10

Exact value (const): "gp0"

Item 11

Exact value (const): "gp1"

Item 12

Exact value (const): "hifi"

Item 13

Exact value (const): "sysclk"

Item 14

Exact value (const): "axiclk"

Item 15

Exact value (const): "sysplldiv16"

Item 16

Exact value (const): "cpudiv16"

Item 17

Exact value (const): "pad_osc"

#clock-cells — required here #

Exact value (const): 1

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) #

apb {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@0 {
        compatible = "amlogic,c3-peripherals-clkc";
        reg = <0x0 0x0 0x0 0x49c>;
        #clock-cells = <1>;
        clocks = <&xtal_24m>,
                 <&scmi_clk 8>,
                 <&scmi_clk 12>,
                 <&clkc_pll 3>,
                 <&clkc_pll 5>,
                 <&clkc_pll 7>,
                 <&clkc_pll 9>,
                 <&clkc_pll 11>,
                 <&clkc_pll 13>,
                 <&clkc_pll 15>,
                 <&scmi_clk 13>,
                 <&clkc_pll 17>,
                 <&scmi_clk 9>,
                 <&scmi_clk 10>,
                 <&scmi_clk 14>,
                 <&scmi_clk 15>;
        clock-names = "xtal_24m",
                      "oscin",
                      "fix",
                      "fdiv2",
                      "fdiv2p5",
                      "fdiv3",
                      "fdiv4",
                      "fdiv5",
                      "fdiv7",
                      "gp0",
                      "gp1",
                      "hifi",
                      "sysclk",
                      "axiclk",
                      "sysplldiv16",
                      "cpudiv16";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2022-2023 Amlogic, Inc. All rights reserved

Amlogic C3 series PLL Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,c3-pll-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Jerome Brunet <jbrunet@baylibre.com>", "Chuan Liu <chuan.liu@amlogic.com>", "Xianwei Zhao <xianwei.zhao@amlogic.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "amlogic,c3-pll-clkc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

input top pll

Item 2

input mclk pll

Item 3

input fix pll

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "top"

Item 2

Exact value (const): "mclk"

Item 3

Exact value (const): "fix"

#clock-cells — required here #

Exact value (const): 1

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) #

apb {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@8000 {
        compatible = "amlogic,c3-pll-clkc";
        reg = <0x0 0x8000 0x0 0x1a4>;
        clocks = <&scmi_clk 2>,
                 <&scmi_clk 5>,
                 <&scmi_clk 12>;
        clock-names = "top", "mclk", "fix";
        #clock-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2022-2023 Amlogic, Inc. All rights reserved

Amlogic Always-On Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,gxbb-aoclkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "amlogic,meson-gxbb-aoclkc", "amlogic,meson-gxl-aoclkc", "amlogic,meson-gxm-aoclkc", "amlogic,meson-axg-aoclkc"

Item 2

Exact value (const): "amlogic,meson-gx-aoclkc"

Rule 2

Allowed values (enum): "amlogic,meson-axg-aoclkc", "amlogic,meson-g12a-aoclkc"

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 5

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "xtal"

Item 2

Exact value (const): "mpeg-clk"

Item 3

Exact value (const): "ext-32k-0"

Item 4

Exact value (const): "ext-32k-1"

Item 5

Exact value (const): "ext-32k-2"

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#clock-cells", "#reset-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "amlogic,meson-g12a-aoclkc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

clock-names — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "amlogic,meson-gxl-aoclkc", "amlogic,meson-gxm-aoclkc", "amlogic,meson-axg-aoclkc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Maximum number of items (maxItems): 2

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Amlogic Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,gxbb-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "amlogic,gxbb-clkc", "amlogic,gxl-clkc", "amlogic,axg-clkc", "amlogic,g12a-clkc", "amlogic,g12b-clkc", "amlogic,sm1-clkc"

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "xtal"

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Amlogic Meson8, Meson8b and Meson8m2 Clock and Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,meson8-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "amlogic,meson8-clkc", "amlogic,meson8b-clkc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "amlogic,meson8m2-clkc"

Item 2

Exact value (const): "amlogic,meson8-clkc"

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "xtal"

Item 2

Exact value (const): "ddr_pll"

Item 3

Exact value (const): "clk_32k"

#clock-cells — not listed as required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Amlogic DDR Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,meson8-ddr-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "amlogic,meson8-ddr-clkc", "amlogic,meson8b-ddr-clkc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xtal"

#clock-cells — required here #

Exact value (const): 1

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) #

ddr_clkc: clock-controller@400 {
  compatible = "amlogic,meson8-ddr-clkc";
  reg = <0x400 0x20>;
  clocks = <&xtal>;
  clock-names = "xtal";
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Amlogic S4 Peripherals Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,s4-peripherals-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Yu Tu <yu.tu@amlogic.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "amlogic,s4-peripherals-clkc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 14

Array item rules (items) #

Item 1

input fixed pll div2

Item 2

input fixed pll div2p5

Item 3

input fixed pll div3

Item 4

input fixed pll div4

Item 5

input fixed pll div5

Item 6

input fixed pll div7

Item 7

input hifi pll

Item 8

input gp0 pll

Item 9

input mpll0

Item 10

input mpll1

Item 11

input mpll2

Item 12

input mpll3

Item 13

input hdmi pll

Item 14

input oscillator (usually at 24MHz)

Item 15

input external 32kHz reference (optional)

clock-names — required here #

Minimum number of items (minItems): 14

Array item rules (items) #

Item 1

Exact value (const): "fclk_div2"

Item 2

Exact value (const): "fclk_div2p5"

Item 3

Exact value (const): "fclk_div3"

Item 4

Exact value (const): "fclk_div4"

Item 5

Exact value (const): "fclk_div5"

Item 6

Exact value (const): "fclk_div7"

Item 7

Exact value (const): "hifi_pll"

Item 8

Exact value (const): "gp0_pll"

Item 9

Exact value (const): "mpll0"

Item 10

Exact value (const): "mpll1"

Item 11

Exact value (const): "mpll2"

Item 12

Exact value (const): "mpll3"

Item 13

Exact value (const): "hdmi_pll"

Item 14

Exact value (const): "xtal"

Item 15

Exact value (const): "ext_32k"

#clock-cells — required here #

Exact value (const): 1

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/amlogic,s4-peripherals-clkc.h>

clkc_periphs: clock-controller@fe000000 {
  compatible = "amlogic,s4-peripherals-clkc";
  reg = <0xfe000000 0x49c>;
  clocks = <&clkc_pll 3>,
          <&clkc_pll 13>,
          <&clkc_pll 5>,
          <&clkc_pll 7>,
          <&clkc_pll 9>,
          <&clkc_pll 11>,
          <&clkc_pll 17>,
          <&clkc_pll 15>,
          <&clkc_pll 25>,
          <&clkc_pll 27>,
          <&clkc_pll 29>,
          <&clkc_pll 31>,
          <&clkc_pll 20>,
          <&xtal>;
  clock-names = "fclk_div2", "fclk_div2p5", "fclk_div3", "fclk_div4",
                "fclk_div5", "fclk_div7", "hifi_pll", "gp0_pll",
                "mpll0", "mpll1", "mpll2", "mpll3", "hdmi_pll", "xtal";
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2022-2023 Amlogic, Inc. All rights reserved

Amlogic S4 PLL Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,s4-pll-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Yu Tu <yu.tu@amlogic.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "amlogic,s4-pll-clkc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xtal"

#clock-cells — required here #

Exact value (const): 1

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) #

clkc_pll: clock-controller@fe008000 {
  compatible = "amlogic,s4-pll-clkc";
  reg = <0xfe008000 0x1e8>;
  clocks = <&xtal>;
  clock-names = "xtal";
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2022-2023 Amlogic, Inc. All rights reserved

Amlogic T7 Peripherals Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,t7-peripherals-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Jerome Brunet <jbrunet@baylibre.com>", "Xianwei Zhao <xianwei.zhao@amlogic.com>", "Jian Hu <jian.hu@amlogic.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "amlogic,t7-peripherals-clkc"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 14

Array item rules (items) #

Item 1

input oscillator

Item 2

input sys clk

Item 3

input fixed pll

Item 4

input fclk div 2

Item 5

input fclk div 2p5

Item 6

input fclk div 3

Item 7

input fclk div 4

Item 8

input fclk div 5

Item 9

input fclk div 7

Item 10

input hifi pll

Item 11

input gp0 pll

Item 12

input gp1 pll

Item 13

input mpll1

Item 14

input mpll2

Item 15

external input rmii oscillator (optional)

Item 16

input video pll0 (optional)

Item 17

external pad input for rtc (optional)

clock-names — required here #

Minimum number of items (minItems): 14

Array item rules (items) #

Item 1

Exact value (const): "xtal"

Item 2

Exact value (const): "sys"

Item 3

Exact value (const): "fix"

Item 4

Exact value (const): "fdiv2"

Item 5

Exact value (const): "fdiv2p5"

Item 6

Exact value (const): "fdiv3"

Item 7

Exact value (const): "fdiv4"

Item 8

Exact value (const): "fdiv5"

Item 9

Exact value (const): "fdiv7"

Item 10

Exact value (const): "hifi"

Item 11

Exact value (const): "gp0"

Item 12

Exact value (const): "gp1"

Item 13

Exact value (const): "mpll1"

Item 14

Exact value (const): "mpll2"

Item 15

Exact value (const): "ext_rmii"

Item 16

Exact value (const): "vid_pll0"

Item 17

Exact value (const): "ext_rtc"

Required in this object (required): "compatible", "#clock-cells", "reg", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

apb {
    #address-cells = <2>;
    #size-cells = <2>;

    clkc_periphs:clock-controller@0 {
        compatible = "amlogic,t7-peripherals-clkc";
        reg = <0 0x0 0 0x1c8>;
        #clock-cells = <1>;
        clocks = <&xtal>,
                 <&scmi_clk 13>,
                 <&scmi_clk 16>,
                 <&scmi_clk 18>,
                 <&scmi_clk 20>,
                 <&scmi_clk 22>,
                 <&scmi_clk 24>,
                 <&scmi_clk 26>,
                 <&scmi_clk 28>,
                 <&hifi 1>,
                 <&gp0 1>,
                 <&gp1 1>,
                 <&mpll 4>,
                 <&mpll 6>;
        clock-names = "xtal",
                      "sys",
                      "fix",
                      "fdiv2",
                      "fdiv2p5",
                      "fdiv3",
                      "fdiv4",
                      "fdiv5",
                      "fdiv7",
                      "hifi",
                      "gp0",
                      "gp1",
                      "mpll1",
                      "mpll2";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2024-2025 Amlogic, Inc. All rights reserved

Amlogic T7 PLL Clock Control Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,t7-pll-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Jerome Brunet <jbrunet@baylibre.com>", "Jian Hu <jian.hu@amlogic.com>", "Xianwei Zhao <xianwei.zhao@amlogic.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "amlogic,t7-gp0-pll", "amlogic,t7-gp1-pll", "amlogic,t7-hifi-pll", "amlogic,t7-pcie-pll", "amlogic,t7-mpll", "amlogic,t7-hdmi-pll", "amlogic,t7-mclk-pll"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

mclk pll input oscillator gate

Item 2

oscillator input clock source for mclk_sel_0

Item 3

fixed input clock source for mclk_sel_0

Minimum number of items (minItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "in0"

Item 2

Exact value (const): "in1"

Item 3

Exact value (const): "in2"

Minimum number of items (minItems): 1

Required in this object (required): "compatible", "#clock-cells", "reg", "clocks", "clock-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "amlogic,t7-mclk-pll"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

clock-names — not listed as required here

Minimum number of items (minItems): 3

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "amlogic,t7-gp0-pll", "amlogic,t7-gp1--pll", "amlogic,t7-hifi-pll", "amlogic,t7-pcie-pll", "amlogic,t7-mpll", "amlogic,t7-hdmi-pll"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

apb {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@8080 {
        compatible = "amlogic,t7-gp0-pll";
        reg = <0 0x8080 0 0x20>;
        clocks = <&scmi_clk 2>;
        clock-names = "in0";
        #clock-cells = <1>;
    };

    clock-controller@8300 {
        compatible = "amlogic,t7-mclk-pll";
        reg = <0 0x8300 0 0x18>;
        clocks = <&scmi_clk 2>,
                 <&xtal>,
                 <&scmi_clk 31>;
        clock-names = "in0", "in1", "in2";
        #clock-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2024-2025 Amlogic, Inc. All rights reserved

APM X-Gene SoC device clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/apm,xgene-device-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Khuong Dinh <khuong@os.amperecomputing.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "apm,xgene-device-clock"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Allowed values (enum): "csr-reg", "div-reg"

Item 2

Exact value (const): "div-reg"

Minimum number of items (minItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clock-output-names — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Maximum number of items (maxItems): 1

csr-offset — not listed as required here #

Offset to the CSR reset register

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 0

csr-mask — not listed as required here #

CSR reset mask bit

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 15

enable-offset — not listed as required here #

Offset to the enable register

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 8

enable-mask — not listed as required here #

CSR enable mask bit

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 15

divider-offset — not listed as required here #

Offset to the divider register

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 0

divider-width — not listed as required here #

Width of the divider register

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 0

divider-shift — not listed as required here #

Bit shift of the divider register

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 0

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

APM X-Gene SoC PLL, PCPPLL, and PMD clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/apm,xgene-socpll-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Khuong Dinh <khuong@os.amperecomputing.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "apm,xgene-pcppll-clock", "apm,xgene-pcppll-v2-clock", "apm,xgene-pmd-clock", "apm,xgene-socpll-clock", "apm,xgene-socpll-v2-clock"

reg — required here #

Maximum number of items (maxItems): 1

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Allowed values (enum): "csr-reg", "div-reg"

Item 2

Exact value (const): "div-reg"

Minimum number of items (minItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Allowed values (enum): "pcppll", "socpll"

#clock-cells — required here #

Exact value (const): 1

clock-output-names — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Apple SoCs' NCO block

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/apple,nco.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Martin Povišer <povik+lin@cutebit.org>"

The NCO (Numerically Controlled Oscillator) block found on Apple SoCs such as the t8103 (M1) is a programmable clock generator performing fractional division of a high frequency input clock.

It carries a number of independent channels and is typically used for generation of audio bitclocks.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "apple,t6020-nco"

Item 2

Exact value (const): "apple,t8103-nco"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "apple,t6000-nco", "apple,t8103-nco", "apple,t8112-nco"

Item 2

Exact value (const): "apple,nco"

clocks — required here #

Specifies the reference clock from which the output clocks are derived through fractional division.

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "#clock-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

nco_clkref: clock-ref {
  compatible = "fixed-clock";
  #clock-cells = <0>;
  clock-frequency = <900000000>;
  clock-output-names = "nco-ref";
};

nco: clock-controller@23b044000 {
  compatible = "apple,t8103-nco", "apple,nco";
  reg = <0x3b044000 0x14000>;
  #clock-cells = <1>;
  clocks = <&nco_clkref>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 28: Do not add additional SoC to this list.

ARM System Controller ICST Clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/arm,syscon-icst.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

The ICS525 and ICS307 oscillators are produced by Integrated Devices Technology (IDT). ARM integrated these oscillators deeply into their reference designs by adding special control registers that manage such oscillators to their system controllers.

The various ARM system controllers contain logic to serialize and initialize an ICST clock request after a write to the 32 bit register at an offset into the system controller. Furthermore, to even be able to alter one of these frequencies, the system controller must first be unlocked by writing a special token to another offset in the system controller.

Some ARM hardware contain special versions of the serial interface that only connects the low 8 bits of the VDW (missing one bit), hard-wires RDW to different values and sometimes also hard-wires the output divider. They therefore have special compatible strings as per this table (the OD value is the value on the pins, not the resulting output divider).

In the core modules and logic tiles, the ICST is a configurable clock fed from a 24 MHz clock on the motherboard (usually the main crystal) used for generating e.g. video clocks. It is located on the core module and there is only one of these. This clock node must be a subnode of the core module.

Hardware variant RDW OD VDW

Integrator/AP 22 1 Bit 8 0, rest variable integratorap-cm

Integrator/AP 46 3 Bit 8 0, rest variable integratorap-sys

Integrator/AP 22 or 1 17 or (33 or 25 MHz) integratorap-pci 14 1 14

Integrator/CP 22 variable Bit 8 0, rest variable integratorcp-cm-core

Integrator/CP 22 variable Bit 8 0, rest variable integratorcp-cm-mem

The ICST oscillator must be provided inside a system controller node.

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "arm,syscon-icst525", "arm,syscon-icst307", "arm,syscon-icst525-integratorap-cm", "arm,syscon-icst525-integratorap-sys", "arm,syscon-icst525-integratorap-pci", "arm,syscon-icst525-integratorcp-cm-core", "arm,syscon-icst525-integratorcp-cm-mem", "arm,integrator-cm-auxosc", "arm,versatile-cm-auxosc", "arm,impd1-vco1", "arm,impd1-vco2"

reg — not listed as required here #

Maximum number of items (maxItems): 1

The VCO register

clocks — required here #

Parent clock for the ICST VCO

Maximum number of items (maxItems): 1

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

lock-offset — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Offset to the unlocking register for the oscillator

vco-offset — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Offset to the VCO register for the oscillator

Deprecated (deprecated): true

Required in this object (required): "#clock-cells", "compatible", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

vco1: clock {
  compatible = "arm,impd1-vco1";
  #clock-cells = <0>;
  lock-offset = <0x08>;
  vco-offset = <0x00>;
  clocks = <&sysclk>;
  clock-output-names = "IM-PD1-VCO1";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Atmel Power Management Controller (PMC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/atmel,at91rm9200-pmc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea@microchip.com>"

The power management controller optimizes power consumption by controlling all system and user peripheral clocks. The PMC enables/disables the clock inputs to many of the peripherals and to the processor.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "atmel,at91sam9g20-pmc"

Item 2

Exact value (const): "atmel,at91sam9260-pmc"

Item 3

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "atmel,at91sam9g15-pmc", "atmel,at91sam9g25-pmc", "atmel,at91sam9g35-pmc", "atmel,at91sam9x25-pmc", "atmel,at91sam9x35-pmc"

Item 2

Exact value (const): "atmel,at91sam9x5-pmc"

Item 3

Exact value (const): "syscon"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "atmel,at91rm9200-pmc", "atmel,at91sam9260-pmc", "atmel,at91sam9261-pmc", "atmel,at91sam9263-pmc", "atmel,at91sam9g45-pmc", "atmel,at91sam9n12-pmc", "atmel,at91sam9rl-pmc", "atmel,at91sam9x5-pmc", "atmel,sama5d2-pmc", "atmel,sama5d3-pmc", "atmel,sama5d4-pmc", "microchip,sam9x60-pmc", "microchip,sam9x7-pmc", "microchip,sama7d65-pmc", "microchip,sama7g5-pmc"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

- 1st cell is the clock type, one of PMC_TYPE_CORE, PMC_TYPE_SYSTEM,
  PMC_TYPE_PERIPHERAL, PMC_TYPE_GCK, PMC_TYPE_PROGRAMMABLE (as defined
  in <dt-bindings/clock/at91.h>)
- 2nd cell is the clock identifier as defined in <dt-bindings/clock/at91.h
  (for core clocks) or as defined in datasheet (for system, peripheral,
  gck and programmable clocks).

Exact value (const): 2

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

clock-names — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

atmel,osc-bypass — not listed as required here #

set when a clock signal is directly provided on XIN

Value type (type): "boolean"

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells", "clocks", "clock-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "microchip,sam9x60-pmc", "microchip,sam9x7-pmc", "microchip,sama7d65-pmc", "microchip,sama7g5-pmc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "td_slck"

Item 2

Exact value (const): "md_slck"

Item 3

Exact value (const): "main_xtal"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "atmel,at91rm9200-pmc", "atmel,at91sam9260-pmc", "atmel,at91sam9261-pmc", "atmel,at91sam9263-pmc", "atmel,at91sam9g20-pmc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "slow_xtal"

Item 2

Exact value (const): "main_xtal"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "atmel,sama5d2-pmc", "atmel,sama5d3-pmc", "atmel,sama5d4-pmc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "slow_clk"

Item 2

Exact value (const): "main_xtal"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

pmc: clock-controller@f0018000 {
    compatible = "atmel,sama5d4-pmc", "syscon";
    reg = <0xf0018000 0x120>;
    interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
    #clock-cells = <2>;
    clocks = <&clk32k>, <&main_xtal>;
    clock-names = "slow_clk", "main_xtal";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Atmel Slow Clock Controller (SCKC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/atmel,at91sam9x5-sckc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea@microchip.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "atmel,at91sam9x5-sckc", "atmel,sama5d3-sckc", "atmel,sama5d4-sckc", "microchip,sam9x60-sckc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,sam9x7-sckc", "microchip,sama7d65-sckc", "microchip,sama7g5-sckc"

Item 2

Exact value (const): "microchip,sam9x60-sckc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Allowed values (enum): 0, 1

atmel,osc-bypass — not listed as required here #

Value type (type): "boolean"

set when a clock signal is directly provided on XIN

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "microchip,sam9x60-sckc"

When the condition matches (then) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 1

When the condition does not match (else) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 0

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk32k: clock-controller@fffffe50 {
    compatible = "microchip,sam9x60-sckc";
    reg = <0xfffffe50 0x4>;
    clocks = <&slow_xtal>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Axis ARTPEC-6 clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/axis,artpec6-clkctrl.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lars Persson <lars.persson@axis.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "axis,artpec6-clkctrl"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

external 50 MHz oscillator.

Item 2

optional audio reference clock.

Item 3

fractional audio clock divider 0.

Item 4

fractional audio clock divider 1.

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "sys_refclk"

Item 2

Exact value (const): "i2s_refclk"

Item 3

Exact value (const): "frac_clk0"

Item 4

Exact value (const): "frac_clk1"

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@f8000000 {
    compatible = "axis,artpec6-clkctrl";
    reg = <0xf8000000 0x48>;
    #clock-cells = <1>;
    clocks = <&ext_clk>;
    clock-names = "sys_refclk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Axis ARTPEC-8 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/axis,artpec8-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jesper Nilsson <jesper.nilsson@axis.com>"

ARTPEC-8 clock controller is comprised of several CMU (Clock Management Unit) units, generating clocks for different domains. Those CMU units are modeled as separate device tree nodes, and might depend on each other. The root clock in that root tree is an external clock: OSCCLK (25 MHz). This external clock must be defined as a fixed-rate clock in dts.

CMU_CMU is a top-level CMU, where all base clocks are prepared using PLLs and dividers; all other clocks of function blocks (other CMUs) are usually derived from CMU_CMU.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All clocks available for usage in clock consumer nodes are defined as preprocessor macros in 'include/dt-bindings/clock/axis,artpec8-clk.h' header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "axis,artpec8-cmu-cmu", "axis,artpec8-cmu-bus", "axis,artpec8-cmu-core", "axis,artpec8-cmu-cpucl", "axis,artpec8-cmu-fsys", "axis,artpec8-cmu-imem", "axis,artpec8-cmu-peri"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "axis,artpec8-cmu-cmu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (25 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "axis,artpec8-cmu-bus"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (25 MHz)

Item 2

CMU_BUS BUS clock (from CMU_CMU)

Item 3

CMU_BUS DLP clock (from CMU_CMU)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "dlp"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "axis,artpec8-cmu-core"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (25 MHz)

Item 2

CMU_CORE main clock (from CMU_CMU)

Item 3

CMU_CORE DLP clock (from CMU_CMU)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "main"

Item 3

Exact value (const): "dlp"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "axis,artpec8-cmu-cpucl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (25 MHz)

Item 2

CMU_CPUCL switch clock (from CMU_CMU)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "switch"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "axis,artpec8-cmu-fsys"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (25 MHz)

Item 2

CMU_FSYS SCAN0 clock (from CMU_CMU)

Item 3

CMU_FSYS SCAN1 clock (from CMU_CMU)

Item 4

CMU_FSYS BUS clock (from CMU_CMU)

Item 5

CMU_FSYS IP clock (from CMU_CMU)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "scan0"

Item 3

Exact value (const): "scan1"

Item 4

Exact value (const): "bus"

Item 5

Exact value (const): "ip"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "axis,artpec8-cmu-imem"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (25 MHz)

Item 2

CMU_IMEM ACLK clock (from CMU_CMU)

Item 3

CMU_IMEM JPEG clock (from CMU_CMU)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "aclk"

Item 3

Exact value (const): "jpeg"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "axis,artpec8-cmu-peri"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (25 MHz)

Item 2

CMU_PERI IP clock (from CMU_CMU)

Item 3

CMU_PERI AUDIO clock (from CMU_CMU)

Item 4

CMU_PERI DISP clock (from CMU_CMU)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "ip"

Item 3

Exact value (const): "audio"

Item 4

Exact value (const): "disp"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/axis,artpec8-clk.h>

cmu_fsys: clock-controller@16c10000 {
    compatible = "axis,artpec8-cmu-fsys";
    reg = <0x16c10000 0x4000>;
    #clock-cells = <1>;
    clocks = <&fin_pll>,
             <&cmu_cmu CLK_DOUT_CMU_FSYS_SCAN0>,
             <&cmu_cmu CLK_DOUT_CMU_FSYS_SCAN1>,
             <&cmu_cmu CLK_DOUT_CMU_FSYS_BUS>,
             <&cmu_cmu CLK_DOUT_CMU_FSYS_IP>;
    clock-names = "fin_pll", "scan0", "scan1", "bus", "ip";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 197: Clock controller node for CMU_FSYS

Baikal-T1 Clock Control Unit Dividers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/baikal,bt1-ccu-div.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"

Clocks Control Unit is the core of Baikal-T1 SoC System Controller
responsible for the chip subsystems clocking and resetting. The CCU is
connected with an external fixed rate oscillator, which signal is transformed
into clocks of various frequencies and then propagated to either individual
IP-blocks or to groups of blocks (clock domains). The transformation is done
by means of an embedded into CCU PLLs and gateable/non-gateable dividers. The
later ones are described in this binding. Each clock domain can be also
individually reset by using the domain clocks divider configuration
registers. Baikal-T1 CCU is logically divided into the next components:
1) External oscillator (normally XTAL's 25 MHz crystal oscillator, but
   in general can provide any frequency supported by the CCU PLLs).
2) PLLs clocks generators (PLLs).
3) AXI-bus clock dividers (AXI) - described in this binding file.
4) System devices reference clock dividers (SYS) - described in this binding
   file.
which are connected with each other as shown on the next figure:
        +---------------+
        | Baikal-T1 CCU |
        |   +----+------|- MIPS P5600 cores
        | +-|PLLs|------|- DDR controller
        | | +----+      |
+----+  | |  |  |       |
|XTAL|--|-+  |  | +---+-|
+----+  | |  |  +-|AXI|-|- AXI-bus
        | |  |    +---+-|
        | |  |          |
        | |  +----+---+-|- APB-bus
        | +-------|SYS|-|- Low-speed Devices
        |         +---+-|- High-speed Devices
        +---------------+

Each sub-block is represented as a separate DT node and has an individual driver to be bound with.

In order to create signals of wide range frequencies the external oscillator output is primarily connected to a set of CCU PLLs. Some of PLLs CLKOUT are then passed over CCU dividers to create signals required for the target clock domain (like AXI-bus or System Device consumers). The dividers have the following structure:

        +--------------+
CLKIN --|->+----+ 1|\  |
SETCLK--|--|/DIV|->| | |
CLKDIV--|--|    |  | |-|->CLKLOUT
LOCK----|--+----+  | | |
        |          |/  |
        |           |  |
EN------|-----------+  |
RST-----|--------------|->RSTOUT
        +--------------+

where CLKIN is the reference clock coming either from CCU PLLs or from an external clock oscillator, SETCLK - a command to update the output clock in accordance with a set divider, CLKDIV - clocks divider, LOCK - a signal of the output clock stabilization, EN - enable/disable the divider block, RST/RSTOUT - reset clocks domain signal. Depending on the consumer IP-core peculiarities the dividers may lack of some functionality depicted on the figure above (like EN, CLKDIV/LOCK/SETCLK). In this case the corresponding clock provider just doesn't expose either switching functions, or the rate configuration, or both of them.

The clock dividers, which output clock is then consumed by the SoC individual devices, are united into a single clocks provider called System Devices CCU. Similarly the dividers with output clocks utilized as AXI-bus reference clocks are called AXI-bus CCU. Both of them use the common clock bindings with no custom properties. The list of exported clocks and reset signals can be found in the files: 'include/dt-bindings/clock/bt1-ccu.h' and 'include/dt-bindings/reset/bt1-ccu.h'. Since System Devices and AXI-bus CCU are a part of the Baikal-T1 SoC System Controller their DT nodes are supposed to be a children of later one.

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "baikal,bt1-ccu-axi"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Array item rules (items)

Item 1

CCU SATA PLL output clock

Item 2

CCU PCIe PLL output clock

Item 3

CCU Ethernet PLL output clock

clock-names — not listed as required here #

Array item rules (items)

Item 1

Exact value (const): "sata_clk"

Item 2

Exact value (const): "pcie_clk"

Item 3

Exact value (const): "eth_clk"

When the condition does not match (else) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Array item rules (items)

Item 1

External reference clock

Item 2

CCU SATA PLL output clock

Item 3

CCU PCIe PLL output clock

Item 4

CCU Ethernet PLL output clock

clock-names — not listed as required here #

Array item rules (items)

Item 1

Exact value (const): "ref_clk"

Item 2

Exact value (const): "sata_clk"

Item 3

Exact value (const): "pcie_clk"

Item 4

Exact value (const): "eth_clk"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "baikal,bt1-ccu-axi", "baikal,bt1-ccu-sys"

reg — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 4

clock-names — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 4

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names"

Examples (examples) #

#include <dt-bindings/clock/bt1-ccu.h>

clock-controller@1f04d030 {
  compatible = "baikal,bt1-ccu-axi";
  reg = <0x1f04d030 0x030>;
  #clock-cells = <1>;
  #reset-cells = <1>;

  clocks = <&ccu_pll CCU_SATA_PLL>,
           <&ccu_pll CCU_PCIE_PLL>,
           <&ccu_pll CCU_ETH_PLL>;
  clock-names = "sata_clk", "pcie_clk", "eth_clk";
};
#include <dt-bindings/clock/bt1-ccu.h>

clock-controller@1f04d060 {
  compatible = "baikal,bt1-ccu-sys";
  reg = <0x1f04d060 0x0a0>;
  #clock-cells = <1>;
  #reset-cells = <1>;

  clocks = <&clk25m>,
           <&ccu_pll CCU_SATA_PLL>,
           <&ccu_pll CCU_PCIE_PLL>,
           <&ccu_pll CCU_ETH_PLL>;
  clock-names = "ref_clk", "sata_clk", "pcie_clk",
                "eth_clk";
};
ccu_pll: clock-controller@1f04d000 {
  compatible = "baikal,bt1-ccu-pll";
  reg = <0x1f04d000 0x028>;
  #clock-cells = <1>;

  clocks = <&clk25m>;
  clock-names = "ref_clk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2020 BAIKAL ELECTRONICS, JSC

Line 154: AXI-bus Clock Control Unit node:

Line 169: System Devices Clock Control Unit node:

Line 186: Required Clock Control Unit PLL node:

Baikal-T1 Clock Control Unit PLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/baikal,bt1-ccu-pll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"

Clocks Control Unit is the core of Baikal-T1 SoC System Controller
responsible for the chip subsystems clocking and resetting. The CCU is
connected with an external fixed rate oscillator, which signal is transformed
into clocks of various frequencies and then propagated to either individual
IP-blocks or to groups of blocks (clock domains). The transformation is done
by means of PLLs and gateable/non-gateable dividers embedded into the CCU.
It's logically divided into the next components:
1) External oscillator (normally XTAL's 25 MHz crystal oscillator, but
   in general can provide any frequency supported by the CCU PLLs).
2) PLLs clocks generators (PLLs) - described in this binding file.
3) AXI-bus clock dividers (AXI).
4) System devices reference clock dividers (SYS).
which are connected with each other as shown on the next figure:
        +---------------+
        | Baikal-T1 CCU |
        |   +----+------|- MIPS P5600 cores
        | +-|PLLs|------|- DDR controller
        | | +----+      |
+----+  | |  |  |       |
|XTAL|--|-+  |  | +---+-|
+----+  | |  |  +-|AXI|-|- AXI-bus
        | |  |    +---+-|
        | |  |          |
        | |  +----+---+-|- APB-bus
        | +-------|SYS|-|- Low-speed Devices
        |         +---+-|- High-speed Devices
        +---------------+

Each CCU sub-block is represented as a separate dts-node and has an individual driver to be bound with.

In order to create signals of wide range frequencies the external oscillator output is primarily connected to a set of CCU PLLs. There are five PLLs to create a clock for the MIPS P5600 cores, the embedded DDR controller, SATA, Ethernet and PCIe domains. The last three domains though named by the biggest system interfaces in fact include nearly all of the rest SoC peripherals. Each of the PLLs is based on True Circuits TSMC CLN28HPM core with an interface wrapper (so called safe PLL' clocks switcher) to simplify the PLL configuration procedure. The PLLs work as depicted on the next diagram:

    +--------------------------+
    |                          |
    +-->+---+    +---+   +---+ |  +---+   0|\
CLKF--->|/NF|--->|PFD|...|VCO|-+->|/OD|--->| |
        +---+ +->+---+   +---+ /->+---+    | |--->CLKOUT
CLKOD---------C----------------+          1| |
     +--------C--------------------------->|/
     |        |                             ^
Rclk-+->+---+ |                             |
CLKR--->|/NR|-+                             |
        +---+                               |
BYPASS--------------------------------------+
BWADJ--->

where Rclk is the reference clock coming from XTAL, NR - reference clock divider, NF - PLL clock multiplier, OD - VCO output clock divider, CLKOUT - output clock, BWADJ is the PLL bandwidth adjustment parameter. At this moment the binding supports the PLL dividers configuration in accordance with a requested rate, while bypassing and bandwidth adjustment settings can be added in future if it gets to be necessary.

The PLLs CLKOUT is then either directly connected with the corresponding clocks consumer (like P5600 cores or DDR controller) or passed over a CCU divider to create a signal required for the clock domain.

The CCU PLL dts-node uses the common clock bindings with no custom parameters. The list of exported clocks can be found in 'include/dt-bindings/clock/bt1-ccu.h'. Since CCU PLL is a part of the Baikal-T1 SoC System Controller its DT node is supposed to be a child of later one.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "baikal,bt1-ccu-pll"

reg — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

External reference clock

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "ref_clk"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names"

Examples (examples) #

clock-controller@1f04d000 {
  compatible = "baikal,bt1-ccu-pll";
  reg = <0x1f04d000 0x028>;
  #clock-cells = <1>;

  clocks = <&clk25m>;
  clock-names = "ref_clk";
};
clk25m: clock-oscillator-25m {
  compatible = "fixed-clock";
  #clock-cells = <0>;
  clock-frequency = <25000000>;
  clock-output-names = "clk25m";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2020 BAIKAL ELECTRONICS, JSC

Line 113: Clock Control Unit PLL node:

Line 123: Required external oscillator:

Bitmain BM1880 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/bitmain,bm1880-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"

The Bitmain BM1880 clock controller generates and supplies clock to various peripherals within the SoC.

This binding uses common clock bindings [1] Documentation/devicetree/bindings/clock/clock-bindings.txt

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "bitmain,bm1880-clk"

reg — required here #

Array item rules (items) #

Item 1

pll registers

Item 2

system registers

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pll"

Item 2

Exact value (const): "sys"

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "osc"

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk: clock-controller@e8 {
    compatible = "bitmain,bm1880-clk";
    reg = <0xe8 0x0c>, <0x800 0xb0>;
    reg-names = "pll", "sys";
    clocks = <&osc>;
    clock-names = "osc";
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 53: Clock controller node:

Broadcom BCM2711 HDMI DVP

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/brcm,bcm2711-dvp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Exact value (const): "brcm,brcm2711-dvp"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dvp: clock@7ef00000 {
    compatible = "brcm,brcm2711-dvp";
    reg = <0x7ef00000 0x10>;
    clocks = <&clk_108MHz>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Broadcom BCM2835 auxiliary peripheral clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/brcm,bcm2835-aux-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stefan Wahren <wahrenst@gmx.net>", "Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>"

The auxiliary peripherals (UART, SPI1, and SPI2) have a small register area controlling clock gating to the peripherals, and providing an IRQ status register.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "brcm,bcm2835-aux"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/bcm2835.h>
clock@7e215000 {
    compatible = "brcm,bcm2835-aux";
    reg = <0x7e215000 0x8>;
    #clock-cells = <1>;
    clocks = <&clocks BCM2835_CLOCK_VPU>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Broadcom BCM2835 CPRMAN clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/brcm,bcm2835-cprman.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stefan Wahren <wahrenst@gmx.net>", "Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>"

The CPRMAN clock controller generates clocks in the audio power domain of the BCM2835. There is a level of PLLs deriving from an external oscillator, a level of PLL dividers that produce channels off of the few PLLs, and a level of mostly-generic clock generators sourcing from the PLL channels. Most other hardware components source from the clock generators, but a few (like the ARM or HDMI) will source from the PLL dividers directly.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2711-cprman", "brcm,bcm2835-cprman"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

External oscillator clock.

Item 2

DSI0 byte clock.

Item 3

DSI0 DDR2 clock.

Item 4

DSI0 DDR clock.

Item 5

DSI1 byte clock.

Item 6

DSI1 DDR2 clock.

Item 7

DSI1 DDR clock.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "#clock-cells", "reg", "clocks"

Examples (examples) #

clock-controller@7e101000 {
    compatible = "brcm,bcm2835-cprman";
    reg = <0x7e101000 0x2000>;
    #clock-cells = <1>;
    clocks = <&clk_osc>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Broadcom BCM53573 ILP clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/brcm,bcm53573-ilp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Rafał Miłecki <rafal@milecki.pl>"

ILP clock (sometimes referred as "slow clock") on Broadcom BCM53573 devices using Cortex-A7 CPU. ILP's rate has to be calculated on runtime and it depends on ALP clock which has to be referenced. This clock is part of PMU (Power Management Unit), a Broadcom device handling power-related aspects. Its node must be sub-node of the PMU device.

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "brcm,bcm53573-ilp"

clocks — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "ilp"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

ilp {
    compatible = "brcm,bcm53573-ilp";
    clocks = <&alp>;
    #clock-cells = <0>;
    clock-output-names = "ilp";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Broadcom BCM63268 Timer Clock and Reset

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/brcm,bcm63268-timer-clocks.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Álvaro Fernández Rojas <noltari@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "brcm,bcm63268-timer-clocks"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

timer_clk: clock-controller@100000ac {
  compatible = "brcm,bcm63268-timer-clocks";
  reg = <0x100000ac 0x4>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

MIPS based BCM63XX SoCs Gated Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/brcm,bcm63xx-clocks.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Álvaro Fernández Rojas <noltari@gmail.com>", "Jonas Gorski <jonas.gorski@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm3368-clocks", "brcm,bcm6318-clocks", "brcm,bcm6318-ubus-clocks", "brcm,bcm6328-clocks", "brcm,bcm6358-clocks", "brcm,bcm6362-clocks", "brcm,bcm6368-clocks", "brcm,bcm63268-clocks"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@10000004 {
    compatible = "brcm,bcm6328-clocks";
    reg = <0x10000004 0x4>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Broadcom iProc Family Clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/brcm,iproc-clocks.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ray Jui <rjui@broadcom.com>", "Scott Branden <sbranden@broadcom.com>"

The iProc clock controller manages clocks that are common to the iProc family. An SoC from the iProc family may have several PLLs, e.g., ARMPLL, GENPLL, LCPLL0, MIPIPLL, and etc., all derived from an onboard crystal. Each PLL comprises of several leaf clocks

ASIU clocks are a special case. These clocks are derived directly from the reference clock of the onboard crystal.

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "brcm,bcm63138-armpll", "brcm,cygnus-armpll", "brcm,cygnus-genpll", "brcm,cygnus-lcpll0", "brcm,cygnus-mipipll", "brcm,cygnus-asiu-clk", "brcm,cygnus-audiopll", "brcm,hr2-armpll", "brcm,nsp-armpll", "brcm,nsp-genpll", "brcm,nsp-lcpll0", "brcm,ns2-genpll-scr", "brcm,ns2-genpll-sw", "brcm,ns2-lcpll-ddr", "brcm,ns2-lcpll-ports", "brcm,sr-genpll0", "brcm,sr-genpll1", "brcm,sr-genpll2", "brcm,sr-genpll3", "brcm,sr-genpll4", "brcm,sr-genpll5", "brcm,sr-genpll6", "brcm,sr-lcpll0", "brcm,sr-lcpll1", "brcm,sr-lcpll-pcie"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

base register

Item 2

power register

Item 3

ASIU or split status register

clocks — required here #

The input parent clock phandle for the PLL / ASIU clock. For most iProc PLLs, this is an onboard crystal with a fixed rate.

Maximum number of items (maxItems): 1

#clock-cells — required here #

true — No constraints added by this property rule.

clock-output-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 45

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,cygnus-armpll", "brcm,nsp-armpll"

When the condition matches (then) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 0

When the condition does not match (else) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 1

Required in this object (required): "clock-output-names"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,cygnus-armpll", "brcm,cygnus-genpll", "brcm,cygnus-lcpll0", "brcm,cygnus-mipipll", "brcm,cygnus-asiu-clk", "brcm,cygnus-audiopll"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

The following table defines the set of PLL/clock index and ID for Cygnus.
These clock IDs are defined in:
    "include/dt-bindings/clock/bcm-cygnus.h"

Clock Source (Parent) Index ID ----- --------------- ----- -- crystal N/A N/A N/A

armpll crystal N/A N/A

keypad crystal (ASIU) 0 BCM_CYGNUS_ASIU_KEYPAD_CLK adc/tsc crystal (ASIU) 1 BCM_CYGNUS_ASIU_ADC_CLK pwm crystal (ASIU) 2 BCM_CYGNUS_ASIU_PWM_CLK

genpll crystal 0 BCM_CYGNUS_GENPLL axi21 genpll 1 BCM_CYGNUS_GENPLL_AXI21_CLK 250mhz genpll 2 BCM_CYGNUS_GENPLL_250MHZ_CLK ihost_sys genpll 3 BCM_CYGNUS_GENPLL_IHOST_SYS_CLK enet_sw genpll 4 BCM_CYGNUS_GENPLL_ENET_SW_CLK audio_125 genpll 5 BCM_CYGNUS_GENPLL_AUDIO_125_CLK can genpll 6 BCM_CYGNUS_GENPLL_CAN_CLK

lcpll0 crystal 0 BCM_CYGNUS_LCPLL0 pcie_phy lcpll0 1 BCM_CYGNUS_LCPLL0_PCIE_PHY_REF_CLK ddr_phy lcpll0 2 BCM_CYGNUS_LCPLL0_DDR_PHY_CLK sdio lcpll0 3 BCM_CYGNUS_LCPLL0_SDIO_CLK usb_phy lcpll0 4 BCM_CYGNUS_LCPLL0_USB_PHY_REF_CLK smart_card lcpll0 5 BCM_CYGNUS_LCPLL0_SMART_CARD_CLK ch5_unused lcpll0 6 BCM_CYGNUS_LCPLL0_CH5_UNUSED

mipipll crystal 0 BCM_CYGNUS_MIPIPLL ch0_unused mipipll 1 BCM_CYGNUS_MIPIPLL_CH0_UNUSED ch1_lcd mipipll 2 BCM_CYGNUS_MIPIPLL_CH1_LCD ch2_v3d mipipll 3 BCM_CYGNUS_MIPIPLL_CH2_V3D ch3_unused mipipll 4 BCM_CYGNUS_MIPIPLL_CH3_UNUSED ch4_unused mipipll 5 BCM_CYGNUS_MIPIPLL_CH4_UNUSED ch5_unused mipipll 6 BCM_CYGNUS_MIPIPLL_CH5_UNUSED

audiopll crystal 0 BCM_CYGNUS_AUDIOPLL ch0_audio audiopll 1 BCM_CYGNUS_AUDIOPLL_CH0 ch1_audio audiopll 2 BCM_CYGNUS_AUDIOPLL_CH1 ch2_audio audiopll 3 BCM_CYGNUS_AUDIOPLL_CH2

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,hr2-armpll"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

The following table defines the set of PLL/clock for Hurricane 2:

Clock Source Index ID ----- ------ ----- -- crystal N/A N/A N/A

armpll crystal N/A N/A

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,nsp-armpll", "brcm,nsp-genpll", "brcm,nsp-lcpll0"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

The following table defines the set of PLL/clock index and ID for Northstar and
Northstar Plus.  These clock IDs are defined in:
    "include/dt-bindings/clock/bcm-nsp.h"

Clock Source Index ID ----- ------ ----- -- crystal N/A N/A N/A

armpll crystal N/A N/A

genpll crystal 0 BCM_NSP_GENPLL phy genpll 1 BCM_NSP_GENPLL_PHY_CLK ethernetclk genpll 2 BCM_NSP_GENPLL_ENET_SW_CLK usbclk genpll 3 BCM_NSP_GENPLL_USB_PHY_REF_CLK iprocfast genpll 4 BCM_NSP_GENPLL_IPROCFAST_CLK sata1 genpll 5 BCM_NSP_GENPLL_SATA1_CLK sata2 genpll 6 BCM_NSP_GENPLL_SATA2_CLK

lcpll0 crystal 0 BCM_NSP_LCPLL0 pcie_phy lcpll0 1 BCM_NSP_LCPLL0_PCIE_PHY_REF_CLK sdio lcpll0 2 BCM_NSP_LCPLL0_SDIO_CLK ddr_phy lcpll0 3 BCM_NSP_LCPLL0_DDR_PHY_CLK

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,ns2-genpll-scr", "brcm,ns2-genpll-sw", "brcm,ns2-lcpll-ddr", "brcm,ns2-lcpll-ports"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

The following table defines the set of PLL/clock index and ID for Northstar 2.
These clock IDs are defined in:
    "include/dt-bindings/clock/bcm-ns2.h"

Clock Source Index ID ----- ------ ----- -- crystal N/A N/A N/A

genpll_scr crystal 0 BCM_NS2_GENPLL_SCR scr genpll_scr 1 BCM_NS2_GENPLL_SCR_SCR_CLK fs genpll_scr 2 BCM_NS2_GENPLL_SCR_FS_CLK audio_ref genpll_scr 3 BCM_NS2_GENPLL_SCR_AUDIO_CLK ch3_unused genpll_scr 4 BCM_NS2_GENPLL_SCR_CH3_UNUSED ch4_unused genpll_scr 5 BCM_NS2_GENPLL_SCR_CH4_UNUSED ch5_unused genpll_scr 6 BCM_NS2_GENPLL_SCR_CH5_UNUSED

genpll_sw crystal 0 BCM_NS2_GENPLL_SW rpe genpll_sw 1 BCM_NS2_GENPLL_SW_RPE_CLK 250 genpll_sw 2 BCM_NS2_GENPLL_SW_250_CLK nic genpll_sw 3 BCM_NS2_GENPLL_SW_NIC_CLK chimp genpll_sw 4 BCM_NS2_GENPLL_SW_CHIMP_CLK port genpll_sw 5 BCM_NS2_GENPLL_SW_PORT_CLK sdio genpll_sw 6 BCM_NS2_GENPLL_SW_SDIO_CLK

lcpll_ddr crystal 0 BCM_NS2_LCPLL_DDR pcie_sata_usb lcpll_ddr 1 BCM_NS2_LCPLL_DDR_PCIE_SATA_USB_CLK ddr lcpll_ddr 2 BCM_NS2_LCPLL_DDR_DDR_CLK ch2_unused lcpll_ddr 3 BCM_NS2_LCPLL_DDR_CH2_UNUSED ch3_unused lcpll_ddr 4 BCM_NS2_LCPLL_DDR_CH3_UNUSED ch4_unused lcpll_ddr 5 BCM_NS2_LCPLL_DDR_CH4_UNUSED ch5_unused lcpll_ddr 6 BCM_NS2_LCPLL_DDR_CH5_UNUSED

lcpll_ports crystal 0 BCM_NS2_LCPLL_PORTS wan lcpll_ports 1 BCM_NS2_LCPLL_PORTS_WAN_CLK rgmii lcpll_ports 2 BCM_NS2_LCPLL_PORTS_RGMII_CLK ch2_unused lcpll_ports 3 BCM_NS2_LCPLL_PORTS_CH2_UNUSED ch3_unused lcpll_ports 4 BCM_NS2_LCPLL_PORTS_CH3_UNUSED ch4_unused lcpll_ports 5 BCM_NS2_LCPLL_PORTS_CH4_UNUSED ch5_unused lcpll_ports 6 BCM_NS2_LCPLL_PORTS_CH5_UNUSED

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,sr-genpll0", "brcm,sr-genpll1", "brcm,sr-genpll2", "brcm,sr-genpll3", "brcm,sr-genpll4", "brcm,sr-genpll5", "brcm,sr-genpll6", "brcm,sr-lcpll0", "brcm,sr-lcpll1", "brcm,sr-lcpll-pcie"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

The following table defines the set of PLL/clock index and ID for Stingray.
These clock IDs are defined in:
    "include/dt-bindings/clock/bcm-sr.h"

Clock Source Index ID ----- ------ ----- -- crystal N/A N/A N/A crmu_ref25m crystal N/A N/A

genpll0 crystal 0 BCM_SR_GENPLL0 clk_125m genpll0 1 BCM_SR_GENPLL0_125M_CLK clk_scr genpll0 2 BCM_SR_GENPLL0_SCR_CLK clk_250 genpll0 3 BCM_SR_GENPLL0_250M_CLK clk_pcie_axi genpll0 4 BCM_SR_GENPLL0_PCIE_AXI_CLK clk_paxc_axi_x2 genpll0 5 BCM_SR_GENPLL0_PAXC_AXI_X2_CLK clk_paxc_axi genpll0 6 BCM_SR_GENPLL0_PAXC_AXI_CLK

genpll1 crystal 0 BCM_SR_GENPLL1 clk_pcie_tl genpll1 1 BCM_SR_GENPLL1_PCIE_TL_CLK clk_mhb_apb genpll1 2 BCM_SR_GENPLL1_MHB_APB_CLK

genpll2 crystal 0 BCM_SR_GENPLL2 clk_nic genpll2 1 BCM_SR_GENPLL2_NIC_CLK clk_ts_500_ref genpll2 2 BCM_SR_GENPLL2_TS_500_REF_CLK clk_125_nitro genpll2 3 BCM_SR_GENPLL2_125_NITRO_CLK clk_chimp genpll2 4 BCM_SR_GENPLL2_CHIMP_CLK clk_nic_flash genpll2 5 BCM_SR_GENPLL2_NIC_FLASH_CLK clk_fs genpll2 6 BCM_SR_GENPLL2_FS_CLK

genpll3 crystal 0 BCM_SR_GENPLL3 clk_hsls genpll3 1 BCM_SR_GENPLL3_HSLS_CLK clk_sdio genpll3 2 BCM_SR_GENPLL3_SDIO_CLK

genpll4 crystal 0 BCM_SR_GENPLL4 clk_ccn genpll4 1 BCM_SR_GENPLL4_CCN_CLK clk_tpiu_pll genpll4 2 BCM_SR_GENPLL4_TPIU_PLL_CLK clk_noc genpll4 3 BCM_SR_GENPLL4_NOC_CLK clk_chclk_fs4 genpll4 4 BCM_SR_GENPLL4_CHCLK_FS4_CLK clk_bridge_fscpu genpll4 5 BCM_SR_GENPLL4_BRIDGE_FSCPU_CLK

genpll5 crystal 0 BCM_SR_GENPLL5 clk_fs4_hf genpll5 1 BCM_SR_GENPLL5_FS4_HF_CLK clk_crypto_ae genpll5 2 BCM_SR_GENPLL5_CRYPTO_AE_CLK clk_raid_ae genpll5 3 BCM_SR_GENPLL5_RAID_AE_CLK

genpll6 crystal 0 BCM_SR_GENPLL6 clk_48_usb genpll6 1 BCM_SR_GENPLL6_48_USB_CLK

lcpll0 crystal 0 BCM_SR_LCPLL0 clk_sata_refp lcpll0 1 BCM_SR_LCPLL0_SATA_REFP_CLK clk_sata_refn lcpll0 2 BCM_SR_LCPLL0_SATA_REFN_CLK clk_sata_350 lcpll0 3 BCM_SR_LCPLL0_SATA_350_CLK clk_sata_500 lcpll0 4 BCM_SR_LCPLL0_SATA_500_CLK

lcpll1 crystal 0 BCM_SR_LCPLL1 clk_wan lcpll1 1 BCM_SR_LCPLL1_WAN_CLK clk_usb_ref lcpll1 2 BCM_SR_LCPLL1_USB_REF_CLK clk_crmu_ts lcpll1 3 BCM_SR_LCPLL1_CRMU_TS_CLK

lcpll_pcie crystal 0 BCM_SR_LCPLL_PCIE clk_pcie_phy_ref lcpll1 1 BCM_SR_LCPLL_PCIE_PHY_REF_CLK

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,cygnus-genpll"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "genpll"

Item 2

Exact value (const): "axi21"

Item 3

Exact value (const): "250mhz"

Item 4

Exact value (const): "ihost_sys"

Item 5

Exact value (const): "enet_sw"

Item 6

Exact value (const): "audio_125"

Item 7

Exact value (const): "can"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,nsp-lcpll0"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "lcpll0"

Item 2

Exact value (const): "pcie_phy"

Item 3

Exact value (const): "sdio"

Item 4

Exact value (const): "ddr_phy"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,nsp-genpll"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "genpll"

Item 2

Exact value (const): "phy"

Item 3

Exact value (const): "ethernetclk"

Item 4

Exact value (const): "usbclk"

Item 5

Exact value (const): "iprocfast"

Item 6

Exact value (const): "sata1"

Item 7

Exact value (const): "sata2"

Required in this object (required): "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

osc1: oscillator {
    #clock-cells = <0>;
    compatible = "fixed-clock";
    clock-frequency = <25000000>;
};

genpll@301d000 {
    #clock-cells = <1>;
    compatible = "brcm,cygnus-genpll";
    reg = <0x301d000 0x2c>, <0x301c020 0x4>;
    clocks = <&os1c>;
    clock-output-names = "genpll", "axi21", "250mhz", "ihost_sys",
                 "enet_sw", "audio_125", "can";
};
osc2: oscillator {
    #clock-cells = <0>;
    compatible = "fixed-clock";
    clock-frequency = <25000000>;
};

asiu_clks@301d048 {
    #clock-cells = <1>;
    compatible = "brcm,cygnus-asiu-clk";
    reg = <0x301d048 0xc>, <0x180aa024 0x4>;
    clocks = <&osc2>;
    clock-output-names = "keypad", "adc/touch", "pwm";
};
arm_clk@0 {
    #clock-cells = <0>;
    compatible = "brcm,nsp-armpll";
    clocks = <&osc>;
    reg = <0x0 0x1000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Broadcom Kona family clock control units (CCU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/brcm,kona-ccu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Florian Fainelli <florian.fainelli@broadcom.com>", "Ray Jui <rjui@broadcom.com>", "Scott Branden <sbranden@broadcom.com>"

Broadcom "Kona" style clock control unit (CCU) is a clock provider that manages a set of clock signals.

All available clock IDs are defined in - include/dt-bindings/clock/bcm281xx.h for BCM281XX family - include/dt-bindings/clock/bcm21664.h for BCM21664 family

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm11351-aon-ccu", "brcm,bcm11351-hub-ccu", "brcm,bcm11351-master-ccu", "brcm,bcm11351-root-ccu", "brcm,bcm11351-slave-ccu", "brcm,bcm21664-aon-ccu", "brcm,bcm21664-master-ccu", "brcm,bcm21664-root-ccu", "brcm,bcm21664-slave-ccu"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clock-output-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

Required in this object (required): "compatible", "reg", "#clock-cells", "clock-output-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm11351-aon-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hub_timer"

Item 2

Exact value (const): "pmu_bsc"

Item 3

Exact value (const): "pmu_bsc_var"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm11351-hub-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Exact value (const): "tmon_1m"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm11351-master-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "sdio1"

Item 2

Exact value (const): "sdio2"

Item 3

Exact value (const): "sdio3"

Item 4

Exact value (const): "sdio4"

Item 5

Exact value (const): "usb_ic"

Item 6

Exact value (const): "hsic2_48m"

Item 7

Exact value (const): "hsic2_12m"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "brcm,bcm11351-root-ccu", "brcm,bcm21664-root-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Exact value (const): "frac_1m"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm11351-slave-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "uartb"

Item 2

Exact value (const): "uartb2"

Item 3

Exact value (const): "uartb3"

Item 4

Exact value (const): "uartb4"

Item 5

Exact value (const): "ssp0"

Item 6

Exact value (const): "ssp2"

Item 7

Exact value (const): "bsc1"

Item 8

Exact value (const): "bsc2"

Item 9

Exact value (const): "bsc3"

Item 10

Exact value (const): "pwm"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm21664-aon-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Exact value (const): "hub_timer"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm21664-master-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "sdio1"

Item 2

Exact value (const): "sdio2"

Item 3

Exact value (const): "sdio3"

Item 4

Exact value (const): "sdio4"

Item 5

Exact value (const): "sdio1_sleep"

Item 6

Exact value (const): "sdio2_sleep"

Item 7

Exact value (const): "sdio3_sleep"

Item 8

Exact value (const): "sdio4_sleep"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm21664-slave-ccu"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "uartb"

Item 2

Exact value (const): "uartb2"

Item 3

Exact value (const): "uartb3"

Item 4

Exact value (const): "bsc1"

Item 5

Exact value (const): "bsc2"

Item 6

Exact value (const): "bsc3"

Item 7

Exact value (const): "bsc4"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@3e011000 {
  compatible = "brcm,bcm11351-slave-ccu";
  reg = <0x3e011000 0x0f00>;
  #clock-cells = <1>;
  clock-output-names = "uartb",
                       "uartb2",
                       "uartb3",
                       "uartb4",
                       "ssp0",
                       "ssp2",
                       "bsc1",
                       "bsc2",
                       "bsc3",
                       "pwm";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Calxeda highbank platform Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/calxeda.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

This binding covers the Calxeda SoC internal peripheral and bus clocks as used by peripherals. The clocks live inside the "system register" region of the SoC, so are typically presented as children of an "hb-sregs" node.

Maintainers (maintainers): "Andre Przywara <andre.przywara@arm.com>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "calxeda,hb-pll-clock", "calxeda,hb-a9periph-clock", "calxeda,hb-a9bus-clock", "calxeda,hb-emmc-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "clocks", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

sregs@3fffc000 {
    compatible = "calxeda,hb-sregs";
    reg = <0x3fffc000 0x1000>;

    clocks {
        #address-cells = <1>;
        #size-cells = <0>;

        osc: oscillator {
            #clock-cells = <0>;
            compatible = "fixed-clock";
            clock-frequency = <33333000>;
        };

        ddrpll: ddrpll@108 {
            #clock-cells = <0>;
            compatible = "calxeda,hb-pll-clock";
            clocks = <&osc>;
            reg = <0x108>;
        };

        a9pll: a9pll@100 {
            #clock-cells = <0>;
            compatible = "calxeda,hb-pll-clock";
            clocks = <&osc>;
            reg = <0x100>;
        };

        a9periphclk: a9periphclk@104 {
            #clock-cells = <0>;
            compatible = "calxeda,hb-a9periph-clock";
            clocks = <&a9pll>;
            reg = <0x104>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Canaan Kendryte K210 Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/canaan,k210-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Damien Le Moal <dlemoal@kernel.org>"

Canaan Kendryte K210 SoC clocks driver bindings. The clock controller node must be defined as a child node of the K210 system controller node.

See also: - dt-bindings/clock/k210-clk.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "canaan,k210-clk"

clocks — required here #

Maximum number of items (maxItems): 1

Phandle of the SoC 26MHz fixed-rate oscillator clock.

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "#clock-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/k210-clk.h>
clocks {
  in0: oscillator {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <26000000>;
  };
};

/* ... */
sysclk: clock-controller {
  #clock-cells = <1>;
  compatible = "canaan,k210-clk";
  clocks = <&in0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

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

Cirrus Logic CLPS711X Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/cirrus,ep7209-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexander Shiyan <shc_work@mail.ru>"

See include/dt-bindings/clock/clps711x-clock.h for the full list of CLPS711X clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "cirrus,ep7312-clk"

Item 2

Exact value (const): "cirrus,ep7209-clk"

reg — required here #

Maximum number of items (maxItems): 1

startup-frequency — required here #

Factory set CPU startup frequency in HZ.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "startup-frequency", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@80000000 {
    compatible = "cirrus,ep7312-clk", "cirrus,ep7209-clk";
    reg = <0x80000000 0xc000>;
    #clock-cells = <1>;
    startup-frequency = <73728000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Cirrus Logic Lochnagar Audio Development Board

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/cirrus,lochnagar.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "patches@opensource.cirrus.com"

Lochnagar is an evaluation and development board for Cirrus Logic Smart CODEC and Amp devices. It allows the connection of most Cirrus Logic devices on mini-cards, as well as allowing connection of various application processor systems to provide a full evaluation platform. Audio system topology, clocking and power can all be controlled through the Lochnagar, allowing the device under test to be used in a variety of possible use cases.

This binding document describes the binding for the clock portion of the driver.

Also see these documents for generic binding information:
  [1] Clock : ../clock/clock-bindings.txt
And these for relevant defines:
  [2] include/dt-bindings/clock/lochnagar.h
This binding must be part of the Lochnagar MFD binding:
  [3] ../mfd/cirrus,lochnagar.yaml

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "cirrus,lochnagar1-clk", "cirrus,lochnagar2-clk"

#clock-cells — required here #

The first cell indicates the clock number, see [2] for available clocks and [1].

Exact value (const): 1

clock-names — not listed as required here #

Array item rules (items) #

Allowed values (enum): "ln-cdc-clkout", "ln-dsp-clkout", "ln-gf-mclk1", "ln-gf-mclk2", "ln-gf-mclk3", "ln-gf-mclk4", "ln-psia1-mclk", "ln-psia2-mclk", "ln-spdif-mclk", "ln-spdif-clkout", "ln-adat-mclk", "ln-pmic-32k", "ln-clk-12m", "ln-clk-11m", "ln-clk-24m", "ln-clk-22m", "ln-clk-8m", "ln-usb-clk-24m", "ln-usb-clk-12m"

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 19

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 19

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "#clock-cells"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 48: Output clock from CODEC card.

Line 49: Output clock from DSP card.

Line 50: Optional input clock from host system.

Line 51: Optional input clock from host system.

Line 52: Optional input clock from host system.

Line 53: Optional input clock from host system.

Line 54: Optional input clock from external connector.

Line 55: Optional input clock from external connector.

Line 56: Optional input clock from SPDIF.

Line 57: Optional input clock from SPDIF.

Line 58: Optional input clock from ADAT.

Line 59: On board fixed clock.

Line 60: On board fixed clock.

Line 61: On board fixed clock.

Line 62: On board fixed clock.

Line 63: On board fixed clock.

Line 64: On board fixed clock.

Line 65: On board fixed clock.

Line 66: On board fixed clock.

Simple fixed-rate clock sources

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fixed-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Turquette <mturquette@baylibre.com>", "Stephen Boyd <sboyd@kernel.org>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

At least one of these rules must match (anyOf) #

Rule 1

Preferred name is 'clock-<freq>' with <freq> being the output frequency as defined in the 'clock-frequency' property.

String pattern (pattern): "^clock-([0-9]+|[a-z0-9-]+)$"

Rule 2

Any name allowed

Deprecated (deprecated): true

compatible — required here #

Exact value (const): "fixed-clock"

#clock-cells — required here #

Exact value (const): 0

clock-frequency — required here #

true — No constraints added by this property rule.

clock-accuracy — not listed as required here #

accuracy of clock in ppb (parts per billion).

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "clock-frequency"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock {
  compatible = "fixed-clock";
  #clock-cells = <0>;
  clock-frequency = <1000000000>;
  clock-accuracy = <100>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Simple fixed factor rate clock sources

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fixed-factor-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Turquette <mturquette@baylibre.com>", "Stephen Boyd <sboyd@kernel.org>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

At least one of these rules must match (anyOf) #

Rule 1

If the frequency is fixed, the preferred name is 'clock-<freq>' with <freq> being the output frequency.

String pattern (pattern): "^clock-([0-9]+|[0-9a-z-]+)$"

Rule 2

Any name allowed

Deprecated (deprecated): true

compatible — required here #

Allowed values (enum): "fixed-factor-clock"

#clock-cells — required here #

Exact value (const): 0

clocks — required here #

Maximum number of items (maxItems): 1

clock-div — required here #

Fixed divider

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 1

clock-mult — required here #

Fixed multiplier

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "#clock-cells", "clock-div", "clock-mult"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock {
  compatible = "fixed-factor-clock";
  clocks = <&parentclk>;
  #clock-cells = <0>;
  clock-div = <2>;
  clock-mult = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Simple memory mapped IO fixed-rate clock sources

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fixed-mmio-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

This binding describes a fixed-rate clock for which the frequency can be read from a single 32-bit memory mapped I/O register. It was designed for test systems, like FPGA, not for complete, finished SoCs.

Maintainers (maintainers): "Jan Kotas <jank@cadence.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fixed-mmio-clock"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

sysclock: sysclock@fd020004 {
  compatible = "fixed-mmio-clock";
  #clock-cells = <0>;
  reg = <0xfd020004 0x4>;
  clock-output-names = "sysclk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Freescale FlexSPI clock driver for Layerscape SoCs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,flexspi-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Walle <michael@walle.cc>"

The Freescale Layerscape SoCs have a special FlexSPI clock which is derived from the platform PLL.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,ls1028a-flexspi-clk", "fsl,lx2160a-flexspi-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dcfg {
    #address-cells = <1>;
    #size-cells = <1>;

    fspi_clk: clock-controller@900 {
        compatible = "fsl,ls1028a-flexspi-clk";
        reg = <0x900 0x4>;
        #clock-cells = <0>;
        clocks = <&parentclk>;
        clock-output-names = "fspi_clk";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP i.MX8 Audio Clock Mux

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,imx8-acm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Shengjiu Wang <shengjiu.wang@nxp.com>"

NXP i.MX8 Audio Clock Mux is dedicated clock muxing IP used to control Audio related clock on the SoC.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8dxl-acm", "fsl,imx8qm-acm", "fsl,imx8qxp-acm"

reg — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Minimum number of items (minItems): 13

Maximum number of items (maxItems): 21

#clock-cells — required here #

Exact value (const): 1

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8-clock.h for the full list of i.MX8 ACM clock IDs.

clocks — required here #

Minimum number of items (minItems): 13

Maximum number of items (maxItems): 27

clock-names — required here #

Minimum number of items (minItems): 13

Maximum number of items (maxItems): 27

Required in this object (required): "compatible", "reg", "power-domains", "#clock-cells", "clocks", "clock-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx8qxp-acm"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

Array item rules (items)

Item 1

power domain of IMX_SC_R_AUDIO_CLK_0

Item 2

power domain of IMX_SC_R_AUDIO_CLK_1

Item 3

power domain of IMX_SC_R_MCLK_OUT_0

Item 4

power domain of IMX_SC_R_MCLK_OUT_1

Item 5

power domain of IMX_SC_R_AUDIO_PLL_0

Item 6

power domain of IMX_SC_R_AUDIO_PLL_1

Item 7

power domain of IMX_SC_R_ASRC_0

Item 8

power domain of IMX_SC_R_ASRC_1

Item 9

power domain of IMX_SC_R_ESAI_0

Item 10

power domain of IMX_SC_R_SAI_0

Item 11

power domain of IMX_SC_R_SAI_1

Item 12

power domain of IMX_SC_R_SAI_2

Item 13

power domain of IMX_SC_R_SAI_3

Item 14

power domain of IMX_SC_R_SAI_4

Item 15

power domain of IMX_SC_R_SAI_5

Item 16

power domain of IMX_SC_R_SPDIF_0

Item 17

power domain of IMX_SC_R_MQS_0

clocks — not listed as required here

Minimum number of items (minItems): 18

Maximum number of items (maxItems): 18

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "aud_rec_clk0_lpcg_clk"

Item 2

Exact value (const): "aud_rec_clk1_lpcg_clk"

Item 3

Exact value (const): "aud_pll_div_clk0_lpcg_clk"

Item 4

Exact value (const): "aud_pll_div_clk1_lpcg_clk"

Item 5

Exact value (const): "ext_aud_mclk0"

Item 6

Exact value (const): "ext_aud_mclk1"

Item 7

Exact value (const): "esai0_rx_clk"

Item 8

Exact value (const): "esai0_rx_hf_clk"

Item 9

Exact value (const): "esai0_tx_clk"

Item 10

Exact value (const): "esai0_tx_hf_clk"

Item 11

Exact value (const): "spdif0_rx"

Item 12

Exact value (const): "sai0_rx_bclk"

Item 13

Exact value (const): "sai0_tx_bclk"

Item 14

Exact value (const): "sai1_rx_bclk"

Item 15

Exact value (const): "sai1_tx_bclk"

Item 16

Exact value (const): "sai2_rx_bclk"

Item 17

Exact value (const): "sai3_rx_bclk"

Item 18

Exact value (const): "sai4_rx_bclk"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx8qm-acm"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

Array item rules (items)

Item 1

power domain of IMX_SC_R_AUDIO_CLK_0

Item 2

power domain of IMX_SC_R_AUDIO_CLK_1

Item 3

power domain of IMX_SC_R_MCLK_OUT_0

Item 4

power domain of IMX_SC_R_MCLK_OUT_1

Item 5

power domain of IMX_SC_R_AUDIO_PLL_0

Item 6

power domain of IMX_SC_R_AUDIO_PLL_1

Item 7

power domain of IMX_SC_R_ASRC_0

Item 8

power domain of IMX_SC_R_ASRC_1

Item 9

power domain of IMX_SC_R_ESAI_0

Item 10

power domain of IMX_SC_R_ESAI_1

Item 11

power domain of IMX_SC_R_SAI_0

Item 12

power domain of IMX_SC_R_SAI_1

Item 13

power domain of IMX_SC_R_SAI_2

Item 14

power domain of IMX_SC_R_SAI_3

Item 15

power domain of IMX_SC_R_SAI_4

Item 16

power domain of IMX_SC_R_SAI_5

Item 17

power domain of IMX_SC_R_SAI_6

Item 18

power domain of IMX_SC_R_SAI_7

Item 19

power domain of IMX_SC_R_SPDIF_0

Item 20

power domain of IMX_SC_R_SPDIF_1

Item 21

power domain of IMX_SC_R_MQS_0

clocks — not listed as required here

Minimum number of items (minItems): 27

Maximum number of items (maxItems): 27

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "aud_rec_clk0_lpcg_clk"

Item 2

Exact value (const): "aud_rec_clk1_lpcg_clk"

Item 3

Exact value (const): "aud_pll_div_clk0_lpcg_clk"

Item 4

Exact value (const): "aud_pll_div_clk1_lpcg_clk"

Item 5

Exact value (const): "mlb_clk"

Item 6

Exact value (const): "hdmi_rx_mclk"

Item 7

Exact value (const): "ext_aud_mclk0"

Item 8

Exact value (const): "ext_aud_mclk1"

Item 9

Exact value (const): "esai0_rx_clk"

Item 10

Exact value (const): "esai0_rx_hf_clk"

Item 11

Exact value (const): "esai0_tx_clk"

Item 12

Exact value (const): "esai0_tx_hf_clk"

Item 13

Exact value (const): "esai1_rx_clk"

Item 14

Exact value (const): "esai1_rx_hf_clk"

Item 15

Exact value (const): "esai1_tx_clk"

Item 16

Exact value (const): "esai1_tx_hf_clk"

Item 17

Exact value (const): "spdif0_rx"

Item 18

Exact value (const): "spdif1_rx"

Item 19

Exact value (const): "sai0_rx_bclk"

Item 20

Exact value (const): "sai0_tx_bclk"

Item 21

Exact value (const): "sai1_rx_bclk"

Item 22

Exact value (const): "sai1_tx_bclk"

Item 23

Exact value (const): "sai2_rx_bclk"

Item 24

Exact value (const): "sai3_rx_bclk"

Item 25

Exact value (const): "sai4_rx_bclk"

Item 26

Exact value (const): "sai5_tx_bclk"

Item 27

Exact value (const): "sai6_rx_bclk"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx8dxl-acm"

When the condition matches (then) #

Properties and child nodes (properties)

power-domains — not listed as required here

Array item rules (items)

Item 1

power domain of IMX_SC_R_AUDIO_CLK_0

Item 2

power domain of IMX_SC_R_AUDIO_CLK_1

Item 3

power domain of IMX_SC_R_MCLK_OUT_0

Item 4

power domain of IMX_SC_R_MCLK_OUT_1

Item 5

power domain of IMX_SC_R_AUDIO_PLL_0

Item 6

power domain of IMX_SC_R_AUDIO_PLL_1

Item 7

power domain of IMX_SC_R_ASRC_0

Item 8

power domain of IMX_SC_R_SAI_0

Item 9

power domain of IMX_SC_R_SAI_1

Item 10

power domain of IMX_SC_R_SAI_2

Item 11

power domain of IMX_SC_R_SAI_3

Item 12

power domain of IMX_SC_R_SPDIF_0

Item 13

power domain of IMX_SC_R_MQS_0

clocks — not listed as required here

Minimum number of items (minItems): 13

Maximum number of items (maxItems): 13

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "aud_rec_clk0_lpcg_clk"

Item 2

Exact value (const): "aud_rec_clk1_lpcg_clk"

Item 3

Exact value (const): "aud_pll_div_clk0_lpcg_clk"

Item 4

Exact value (const): "aud_pll_div_clk1_lpcg_clk"

Item 5

Exact value (const): "ext_aud_mclk0"

Item 6

Exact value (const): "ext_aud_mclk1"

Item 7

Exact value (const): "spdif0_rx"

Item 8

Exact value (const): "sai0_rx_bclk"

Item 9

Exact value (const): "sai0_tx_bclk"

Item 10

Exact value (const): "sai1_rx_bclk"

Item 11

Exact value (const): "sai1_tx_bclk"

Item 12

Exact value (const): "sai2_rx_bclk"

Item 13

Exact value (const): "sai3_rx_bclk"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>

clock-controller@59e00000 {
    compatible = "fsl,imx8qxp-acm";
    reg = <0x59e00000 0x1d0000>;
    #clock-cells = <1>;
    power-domains = <&pd IMX_SC_R_AUDIO_CLK_0>,
                    <&pd IMX_SC_R_AUDIO_CLK_1>,
                    <&pd IMX_SC_R_MCLK_OUT_0>,
                    <&pd IMX_SC_R_MCLK_OUT_1>,
                    <&pd IMX_SC_R_AUDIO_PLL_0>,
                    <&pd IMX_SC_R_AUDIO_PLL_1>,
                    <&pd IMX_SC_R_ASRC_0>,
                    <&pd IMX_SC_R_ASRC_1>,
                    <&pd IMX_SC_R_ESAI_0>,
                    <&pd IMX_SC_R_SAI_0>,
                    <&pd IMX_SC_R_SAI_1>,
                    <&pd IMX_SC_R_SAI_2>,
                    <&pd IMX_SC_R_SAI_3>,
                    <&pd IMX_SC_R_SAI_4>,
                    <&pd IMX_SC_R_SAI_5>,
                    <&pd IMX_SC_R_SPDIF_0>,
                    <&pd IMX_SC_R_MQS_0>;
    clocks = <&aud_rec0_lpcg IMX_LPCG_CLK_0>,
             <&aud_rec1_lpcg IMX_LPCG_CLK_0>,
             <&aud_pll_div0_lpcg IMX_LPCG_CLK_0>,
             <&aud_pll_div1_lpcg IMX_LPCG_CLK_0>,
             <&clk_ext_aud_mclk0>,
             <&clk_ext_aud_mclk1>,
             <&clk_esai0_rx_clk>,
             <&clk_esai0_rx_hf_clk>,
             <&clk_esai0_tx_clk>,
             <&clk_esai0_tx_hf_clk>,
             <&clk_spdif0_rx>,
             <&clk_sai0_rx_bclk>,
             <&clk_sai0_tx_bclk>,
             <&clk_sai1_rx_bclk>,
             <&clk_sai1_tx_bclk>,
             <&clk_sai2_rx_bclk>,
             <&clk_sai3_rx_bclk>,
             <&clk_sai4_rx_bclk>;
    clock-names = "aud_rec_clk0_lpcg_clk",
                  "aud_rec_clk1_lpcg_clk",
                  "aud_pll_div_clk0_lpcg_clk",
                  "aud_pll_div_clk1_lpcg_clk",
                  "ext_aud_mclk0",
                  "ext_aud_mclk1",
                  "esai0_rx_clk",
                  "esai0_rx_hf_clk",
                  "esai0_tx_clk",
                  "esai0_tx_hf_clk",
                  "spdif0_rx",
                  "sai0_rx_bclk",
                  "sai0_tx_bclk",
                  "sai1_rx_bclk",
                  "sai1_tx_bclk",
                  "sai2_rx_bclk",
                  "sai3_rx_bclk",
                  "sai4_rx_bclk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 220: Clock Control Module node:

NXP i.MX8M Family Anatop Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,imx8m-anatop.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

NXP i.MX8M Family anatop PLL module which generates PLL to CCM root.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "fsl,imx8mm-anatop", "fsl,imx8mq-anatop"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx8mn-anatop", "fsl,imx8mp-anatop"

Item 2

Exact value (const): "fsl,imx8mm-anatop"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

anatop: clock-controller@30360000 {
    compatible = "fsl,imx8mn-anatop", "fsl,imx8mm-anatop";
    reg = <0x30360000 0x10000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP i.MX8ULP LPAV System Integration Module (SIM)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,imx8ulp-sim-lpav.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>"

The i.MX8ULP LPAV subsystem contains a block control module known as SIM LPAV, which offers functionalities such as clock gating or reset line assertion/de-assertion.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8ulp-sim-lpav"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 3

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "core"

Item 3

Exact value (const): "plat"

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

mux-controller — required here #

Shared schema rule ($ref): /schemas/mux/reg-mux.yaml#

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#reset-cells", "mux-controller"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8ulp-clock.h>

clock-controller@2da50000 {
    compatible = "fsl,imx8ulp-sim-lpav";
    reg = <0x2da50000 0x10000>;
    clocks = <&cgc2 IMX8ULP_CLK_LPAV_BUS_DIV>,
             <&cgc2 IMX8ULP_CLK_HIFI_DIVCORE>,
             <&cgc2 IMX8ULP_CLK_HIFI_DIVPLAT>;
    clock-names = "bus", "core", "plat";
    #clock-cells = <1>;
    #reset-cells = <1>;

    mux-controller {
        compatible = "reg-mux";
        #mux-control-cells = <1>;
        mux-reg-masks = <0x8 0x00000200>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP i.MX93 ANATOP Clock Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,imx93-anatop.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

NXP i.MX93 ANATOP module which contains PLL and OSC to Clock Controller Module.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx93-anatop"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@44480000 {
    compatible = "fsl,imx93-anatop";
    reg = <0x44480000 0x2000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP QorIQ Layerscape LS1028A Display PIXEL Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,plldig.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Wen He <wen.he_1@nxp.com>"

NXP LS1028A has a clock domain PXLCLK0 used for the Display output interface in the display core, as implemented in TSMC CLN28HPM PLL. which generate and offers pixel clocks to Display.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,ls1028a-plldig"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

fsl,vco-hz — not listed as required here #

Optional for VCO frequency of the PLL in Hertz. The VCO frequency of this PLL cannot be changed during runtime only at startup. Therefore, the output frequencies are very limited and might not even closely match the requested frequency. To work around this restriction the user may specify its own desired VCO frequency for the PLL.

Minimum value (minimum): 650000000

Maximum value (maximum): 1300000000

Default value (default): 1188000000

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dpclk: clock-display@f1f0000 {
    compatible = "fsl,ls1028a-plldig";
    reg = <0xf1f0000 0xffff>;
    #clock-cells = <0>;
    clocks = <&osc_27m>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 49: Display PIXEL Clock node:

Legacy Clock Block on Freescale QorIQ Platforms

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,qoriq-clock-legacy.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

These nodes are deprecated. Kernels should continue to support device trees with these nodes, but new device trees should not use them.

Most of the bindings are from the common clock binding[1]. [1] Documentation/devicetree/bindings/clock/clock-bindings.txt

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,qoriq-core-pll-1.0", "fsl,qoriq-core-pll-2.0", "fsl,qoriq-core-mux-1.0", "fsl,qoriq-core-mux-2.0", "fsl,qoriq-sysclk-1.0", "fsl,qoriq-sysclk-2.0", "fsl,qoriq-platform-pll-1.0", "fsl,qoriq-platform-pll-2.0"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-output-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

#clock-cells — required here #

Minimum value (minimum): 0

Maximum value (maximum): 1

Required in this object (required): "compatible", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,qoriq-sysclk-1.0", "fsl,qoriq-sysclk-2.0"

When the condition matches (then) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 0

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,qoriq-core-pll-1.0", "fsl,qoriq-core-pll-2.0"

When the condition matches (then) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 1

* 0 - equal to the PLL frequency * 1 - equal to the PLL frequency divided by 2 * 2 - equal to the PLL frequency divided by 4

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Clock Block on Freescale QorIQ Platforms

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,qoriq-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Freescale QorIQ chips take primary clocking input from the external SYSCLK signal. The SYSCLK input (frequency) is multiplied using multiple phase locked loops (PLL) to create a variety of frequencies which can then be passed to a variety of internal logic, including cores and peripheral IP blocks. Please refer to the Reference Manual for details.

All references to "1.0" and "2.0" refer to the QorIQ chassis version to which the chip complies.

Chassis Version    Example Chips
---------------    -------------
     1.0          p4080, p5020, p5040
     2.0          t4240

Clock Provider

The clockgen node should act as a clock provider, though in older device trees the children of the clockgen node are the clock providers.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "fsl,p2041-clockgen", "fsl,p3041-clockgen", "fsl,p4080-clockgen", "fsl,p5020-clockgen", "fsl,p5040-clockgen"

Item 2

Exact value (const): "fsl,qoriq-clockgen-1.0"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,t1023-clockgen", "fsl,t1024-clockgen", "fsl,t1040-clockgen", "fsl,t1042-clockgen", "fsl,t2080-clockgen", "fsl,t2081-clockgen", "fsl,t4240-clockgen"

Item 2

Exact value (const): "fsl,qoriq-clockgen-2.0"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "fsl,b4420-clockgen", "fsl,b4860-clockgen"

Item 2

Exact value (const): "fsl,b4-clockgen"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "fsl,ls1012a-clockgen", "fsl,ls1021a-clockgen", "fsl,ls1028a-clockgen", "fsl,ls1043a-clockgen", "fsl,ls1046a-clockgen", "fsl,ls1088a-clockgen", "fsl,ls2080a-clockgen", "fsl,lx2160a-clockgen"

reg — required here #

Maximum number of items (maxItems): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

#clock-cells — required here #

Exact value (const): 2

The first cell of the clock specifier is the clock type, and the second cell is the clock index for the specified type.

  Type#  Name       Index Cell
  0  sysclk          must be 0
  1  cmux            index (n in CLKCnCSR)
  2  hwaccel         index (n in CLKCGnHWACSR)
  3  fman            0 for fm1, 1 for fm2
  4  platform pll    n=pll/(n+1). For example, when n=1,
                    that means output_freq=PLL_freq/2.
  5  coreclk         must be 0

clock-frequency — not listed as required here #

Input system clock frequency (SYSCLK)

clocks — not listed as required here #

Array item rules (items) #

Item 1

sysclk may be provided as an input clock. Either clock-frequency or clocks must be provided.

Item 2

A second input clock, called "coreclk", may be provided if core PLLs are based on a different input clock from the platform PLL.

Minimum number of items (minItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "sysclk"

Item 2

Exact value (const): "coreclk"

Properties matching a name pattern (patternProperties) #

^mux[0-9]@[a-f0-9]+$ — name matches this regular expression #

Deprecated (deprecated): true

Shared schema rule ($ref): fsl,qoriq-clock-legacy.yaml

^sysclk(-[a-z0-9]+)?$ — name matches this regular expression #

Deprecated (deprecated): true

Shared schema rule ($ref): fsl,qoriq-clock-legacy.yaml

^pll[0-9]@[a-f0-9]+$ — name matches this regular expression #

Deprecated (deprecated): true

Shared schema rule ($ref): fsl,qoriq-clock-legacy.yaml

^platform\-pll@[a-f0-9]+$ — name matches this regular expression #

Deprecated (deprecated): true

Shared schema rule ($ref): fsl,qoriq-clock-legacy.yaml

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

/* clock provider example */
global-utilities@e1000 {
    compatible = "fsl,p5020-clockgen", "fsl,qoriq-clockgen-1.0";
    reg = <0xe1000 0x1000>;
    clock-frequency = <133333333>;
    #clock-cells = <2>;
};
/* Legacy example */
global-utilities@e1000 {
    compatible = "fsl,p5020-clockgen", "fsl,qoriq-clockgen-1.0";
    reg = <0xe1000 0x1000>;
    ranges = <0x0 0xe1000 0x1000>;
    clock-frequency = <133333333>;
    #address-cells = <1>;
    #size-cells = <1>;
    #clock-cells = <2>;

    sysclk: sysclk {
        compatible = "fsl,qoriq-sysclk-1.0";
        clock-output-names = "sysclk";
        #clock-cells = <0>;
    };

    pll0: pll0@800 {
        compatible = "fsl,qoriq-core-pll-1.0";
        reg = <0x800 0x4>;
        #clock-cells = <1>;
        clocks = <&sysclk>;
        clock-output-names = "pll0", "pll0-div2";
    };

    pll1: pll1@820 {
        compatible = "fsl,qoriq-core-pll-1.0";
        reg = <0x820 0x4>;
        #clock-cells = <1>;
        clocks = <&sysclk>;
        clock-output-names = "pll1", "pll1-div2";
    };

    mux0: mux0@0 {
        compatible = "fsl,qoriq-core-mux-1.0";
        reg = <0x0 0x4>;
        #clock-cells = <0>;
        clocks = <&pll0 0>, <&pll0 1>, <&pll1 0>, <&pll1 1>;
        clock-names = "pll0", "pll0-div2", "pll1", "pll1-div2";
        clock-output-names = "cmux0";
    };

    mux1: mux1@20 {
        compatible = "fsl,qoriq-core-mux-1.0";
        reg = <0x20 0x4>;
        #clock-cells = <0>;
        clocks = <&pll0 0>, <&pll0 1>, <&pll1 0>, <&pll1 1>;
        clock-names = "pll0", "pll0-div2", "pll1", "pll1-div2";
        clock-output-names = "cmux1";
    };

    platform-pll@c00 {
        #clock-cells = <1>;
        reg = <0xc00 0x4>;
        compatible = "fsl,qoriq-platform-pll-1.0";
        clocks = <&sysclk>;
        clock-output-names = "platform-pll", "platform-pll-div2";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale SAI bitclock-as-a-clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,sai-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Walle <michael@walle.cc>"

It is possible to use the BCLK pin of a SAI module as a generic clock output. Some SoC are very constrained in their pin multiplexer configuration. Eg. pins can only be changed groups. For example, on the LS1028A SoC you can only enable SAIs in pairs. If you use only one SAI, the second pins are wasted. Using this binding it is possible to use the clock of the second SAI as a MCLK clock for an audio codec, for example.

This is a composite of a gated clock and a divider clock.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,vf610-sai-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    mclk: clock-mclk@f130080 {
        compatible = "fsl,vf610-sai-clock";
        reg = <0x0 0xf130080 0x0 0x80>;
        #clock-cells = <0>;
        clocks = <&parentclk>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

i.MX SCU Client Device Node - Clock Controller Based on SCU Message Protocol

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,scu-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abel.vesa@nxp.com>"

i.MX SCU Client Device Node Client nodes are maintained as children of the relevant IMX-SCU device node. This binding uses the common clock binding. (Documentation/devicetree/bindings/clock/clock-bindings.txt) The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See the full list of clock IDs from include/dt-bindings/clock/imx8qxp-clock.h

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,imx8dxl-clk", "fsl,imx8qm-clk", "fsl,imx8qxp-clk"

Item 2

Exact value (const): "fsl,scu-clk"

#clock-cells — required here #

Exact value (const): 2

Required in this object (required): "compatible", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller {
    compatible = "fsl,imx8qxp-clk", "fsl,scu-clk";
    #clock-cells = <2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Clock for Freescale Vybrid VF610 SOC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/fsl,vf610-ccm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/vf610-clock.h for the full list of VF610 clock IDs

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,vf610-ccm"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

external crystal oscillator 32KHz, recommended

Item 2

external crystal oscillator 24MHz, recommended

Item 3

audio

Item 4

enet

Minimum number of items (minItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "sxosc"

Item 2

Exact value (const): "fxosc"

Item 3

Exact value (const): "enet_ext"

Item 4

Exact value (const): "audio_ext"

Minimum number of items (minItems): 2

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@4006b000 {
    compatible = "fsl,vf610-ccm";
    reg = <0x4006b000 0x1000>;
    #clock-cells = <1>;
    clocks = <&sxosc>, <&fxosc>;
    clock-names = "sxosc", "fxosc";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Gated Fixed clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/gated-fixed-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "gated-fixed-clock"

#clock-cells — required here #

Exact value (const): 0

clock-frequency — required here #

true — No constraints added by this property rule.

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

enable-gpios — not listed as required here #

Contains a single GPIO specifier for the GPIO that enables and disables the oscillator.

Maximum number of items (maxItems): 1

vdd-supply — required here #

handle of the regulator that provides the supply voltage

Required in this object (required): "compatible", "#clock-cells", "clock-frequency", "vdd-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-1000000000 {
  compatible = "gated-fixed-clock";
  #clock-cells = <0>;
  clock-frequency = <1000000000>;
  vdd-supply = <&reg_vdd>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Google GS101 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/google,gs101-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Peter Griffin <peter.griffin@linaro.org>"

Google GS101 clock controller is comprised of several CMU units, generating clocks for different domains. Those CMU units are modeled as separate device tree nodes, and might depend on each other. The root clock in that clock tree is OSCCLK (24.576 MHz). That external clock must be defined as a fixed-rate clock in dts.

CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and dividers; all other leaf clocks (other CMUs) are usually derived from CMU_TOP.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All clocks available for usage in clock consumer nodes are defined as preprocessor macros in 'dt-bindings/clock/gs101.h' header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "google,gs101-cmu-top", "google,gs101-cmu-apm", "google,gs101-cmu-dpu", "google,gs101-cmu-hsi0", "google,gs101-cmu-hsi2", "google,gs101-cmu-misc", "google,gs101-cmu-peric0", "google,gs101-cmu-peric1"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

#clock-cells — required here #

Exact value (const): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

samsung,sysreg — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to system registers interface.

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "google,gs101-cmu-top", "google,gs101-cmu-apm"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24.576 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "google,gs101-cmu-dpu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24.576 MHz)

Item 2

DPU bus clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "google,gs101-cmu-hsi0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24.576 MHz)

Item 2

HSI0 bus clock (from CMU_TOP)

Item 3

DPGTC (from CMU_TOP)

Item 4

USB DRD controller clock (from CMU_TOP)

Item 5

USB Display Port debug clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "dpgtc"

Item 4

Exact value (const): "usb31drd"

Item 5

Exact value (const): "usbdpdbg"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "google,gs101-cmu-hsi2"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24.576 MHz)

Item 2

High Speed Interface bus clock (from CMU_TOP)

Item 3

High Speed Interface pcie clock (from CMU_TOP)

Item 4

High Speed Interface ufs clock (from CMU_TOP)

Item 5

High Speed Interface mmc clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "pcie"

Item 4

Exact value (const): "ufs"

Item 5

Exact value (const): "mmc"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "google,gs101-cmu-misc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Misc bus clock (from CMU_TOP)

Item 2

Misc sss clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "sss"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "google,gs101-cmu-peric0", "google,gs101-cmu-peric1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24.576 MHz)

Item 2

Connectivity Peripheral 0/1 bus clock (from CMU_TOP)

Item 3

Connectivity Peripheral 0/1 IP clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "ip"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "google,gs101-cmu-top"

When the condition matches (then) #

Properties and child nodes (properties)

samsung,sysreg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "samsung,sysreg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/google,gs101.h>

cmu_top: clock-controller@1e080000 {
    compatible = "google,gs101-cmu-top";
    reg = <0x1e080000 0x10000>;
    #clock-cells = <1>;
    clocks = <&ext_24_5m>;
    clock-names = "oscclk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 208: Clock controller node for CMU_TOP

Simple GPIO clock gate

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/gpio-gate-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jyri Sarha <jsarha@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "gpio-gate-clock"

clocks — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

enable-gpios — required here #

GPIO reference for enabling and disabling the clock.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "enable-gpios"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

clock {
    compatible = "gpio-gate-clock";
    clocks = <&parentclk>;
    #clock-cells = <0>;
    enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Simple GPIO clock multiplexer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/gpio-mux-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sergej Sawazki <ce3a@gmx.de>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "gpio-mux-clock"

clocks — required here #

Array item rules (items) #

Item 1

First parent clock

Item 2

Second parent clock

#clock-cells — required here #

Exact value (const): 0

select-gpios — required here #

GPIO reference for selecting the parent clock.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "#clock-cells", "select-gpios"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

clock {
        compatible = "gpio-mux-clock";
        clocks = <&parentclk1>, <&parentclk2>;
        #clock-cells = <0>;
        select-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Hisilicon SOC Clock for HI3559AV100

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/hisilicon,hi3559av100-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dongjiu Geng <gengdongjiu@huawei.com>"

Hisilicon SOC clock control module which supports the clocks, resets and power domains on HI3559AV100.

See also:
  dt-bindings/clock/hi3559av100-clock.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "hisilicon,hi3559av100-clock", "hisilicon,hi3559av100-shub-clock"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 2

First cell is reset request register offset. Second cell is bit offset in reset request register.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@12010000 {
        compatible = "hisilicon,hi3559av100-clock";
        #clock-cells = <1>;
        #reset-cells = <2>;
        reg = <0x0 0x12010000 0x0 0x10000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

IDT VersaClock 5 and 6 programmable I2C clock generators

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/idt,versaclock5.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The IDT VersaClock 5 and VersaClock 6 are programmable I2C clock generators providing from 3 to 12 output clocks.

When referencing the provided clock in the DT using phandle and clock specifier, the following mapping applies:

- 5P49V5923:
  0 -- OUT0_SEL_I2CB
  1 -- OUT1
  2 -- OUT2
- 5P49V5933:
  0 -- OUT0_SEL_I2CB
  1 -- OUT1
  2 -- OUT4
- other parts:
  0 -- OUT0_SEL_I2CB
  1 -- OUT1
  2 -- OUT2
  3 -- OUT3
  4 -- OUT4

The idt,shutdown and idt,output-enable-active properties control the SH (en_global_shutdown) and SP bits of the Primary Source and Shutdown Register, respectively. Their behavior is summarized by the following table:

SH SP Output when the SD/OE pin is Low/High == == ===================================== 0 0 Active/Inactive 0 1 Inactive/Active 1 0 Active/Shutdown 1 1 Inactive/Shutdown

The case where SH and SP are both 1 is likely not very interesting.

Maintainers (maintainers): "Luca Ceresoli <luca.ceresoli@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "idt,5p49v5923", "idt,5p49v5925", "idt,5p49v5933", "idt,5p49v5935", "idt,5p49v60", "idt,5p49v6901", "idt,5p49v6965", "idt,5p49v6975"

reg — required here #

I2C device address

Allowed values (enum): 104, 106

#clock-cells — required here #

Exact value (const): 1

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Array item rules (items) #

Allowed values (enum): "xin", "clkin"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

idt,xtal-load-femtofarads — not listed as required here #

Minimum value (minimum): 9000

Maximum value (maximum): 22760

Optional load capacitor for XTAL1 and XTAL2

idt,shutdown — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

If 1, this enables the shutdown functionality: the chip will be shut down if the SD/OE pin is driven high. If 0, this disables the shutdown functionality: the chip will never be shut down based on the value of the SD/OE pin. This property corresponds to the SH bit of the Primary Source and Shutdown Register.

idt,output-enable-active — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

If 1, this enables output when the SD/OE pin is high, and disables output when the SD/OE pin is low. If 0, this disables output when the SD/OE pin is high, and enables output when the SD/OE pin is low. This corresponds to the SP bit of the Primary Source and Shutdown Register.

Properties matching a name pattern (patternProperties) #

^OUT[1-4]$ — name matches this regular expression #

Value type (type): "object"

Description of one of the outputs (OUT1..OUT4). See "Clock1 Output Configuration" in the Versaclock 5/6/6E Family Register Description and Programming Guide.

Properties and child nodes (properties) #

idt,mode — not listed as required here

The output drive mode. Values defined in dt-bindings/clock/versaclock.h

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 6

idt,voltage-microvolt — not listed as required here

The output drive voltage.

Allowed values (enum): 1800000, 2500000, 3300000

idt,slew-percent — not listed as required here

The Slew rate control for CMOS single-ended.

Allowed values (enum): 80, 85, 90, 100

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "idt,5p49v5933", "idt,5p49v5935", "idt,5p49v6975"

When the condition matches (then) #

Properties and child nodes (properties)

clock-names — not listed as required here

Exact value (const): "clkin"

clocks — not listed as required here

Maximum number of items (maxItems): 1

When the condition does not match (else) #

Required in this object (required): "clock-names", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/versaclock.h>

/* 25MHz reference crystal */
ref25: ref25m {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <25000000>;
};

i2c@0 {
    reg = <0x0 0x100>;
    #address-cells = <1>;
    #size-cells = <0>;

    /* IDT 5P49V5923 I2C clock generator */
    vc5: clock-generator@6a {
        compatible = "idt,5p49v5923";
        reg = <0x6a>;
        #clock-cells = <1>;

        /* Connect XIN input to 25MHz reference */
        clocks = <&ref25m>;
        clock-names = "xin";

        /* Set the SD/OE pin's settings */
        idt,shutdown = <0>;
        idt,output-enable-active = <0>;

        OUT1 {
            idt,mode = <VC5_CMOSD>;
            idt,voltage-microvolt = <1800000>;
            idt,slew-percent = <80>;
        };

        OUT4 {
            idt,mode = <VC5_LVDS>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 139: Devices with builtin crystal + optional external input

Line 146: Devices without builtin crystal

Imagination Technologies Pistachio SoC clock controllers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/img,pistachio-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrew Bresticker <abrestic@chromium.org>"

Pistachio has four clock controllers (core clock, peripheral clock, peripheral general control, and top general control) which are instantiated individually from the device-tree.

Core clock controller:

The core clock controller generates clocks for the CPU, RPU (WiFi + BT co-processor), audio, and several peripherals.

Peripheral clock controller:

The peripheral clock controller generates clocks for the DDR, ROM, and other peripherals. The peripheral system clock ("periph_sys") generated by the core clock controller is the input clock to the peripheral clock controller.

Peripheral general control:

The peripheral general control block generates system interface clocks and resets for various peripherals. It also contains miscellaneous peripheral control registers.

Top-level general control:

The top-level general control block contains miscellaneous control registers and gates for the external clocks "audio_clk_in" and "enet_clk_in".

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "img,pistachio-clk", "img,pistachio-clk-periph", "img,pistachio-cr-periph", "img,pistachio-cr-top"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "img,pistachio-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External 52Mhz oscillator

Item 2

Alternate audio reference clock

Item 3

Alternate ethernet PHY clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xtal"

Item 2

Exact value (const): "audio_refclk_ext_gate"

Item 3

Exact value (const): "ext_enet_in_gate"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "img,pistachio-clk-periph"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Peripheral system clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "periph_sys_core"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "img,pistachio-cr-periph"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

System interface clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "sys"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "img,pistachio-cr-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External audio reference clock

Item 2

External ethernet PHY clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "audio_clk_in"

Item 2

Exact value (const): "enet_clk_in"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX1 CPUs Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx1-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexander Shiyan <shc_work@mail.ru>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx1-clock.h for the full list of i.MX1 clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx1-ccm"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#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/imx1-clock.h>

clock-controller@21b000 {
    #clock-cells = <1>;
    compatible = "fsl,imx1-ccm";
    reg = <0x0021b000 0x1000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX21 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx21-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexander Shiyan <shc_work@mail.ru>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx21-clock.h for the full list of i.MX21 clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx21-ccm"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#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/imx21-clock.h>

clock-controller@10027000 {
    compatible = "fsl,imx21-ccm";
    reg = <0x10027000 0x800>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX23 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx23-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Shawn Guo <shawnguo@kernel.org>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. The following is a full list of i.MX23 clocks and IDs.

      Clock		ID
      ------------------
      ref_xtal	0
      pll		1
      ref_cpu		2
      ref_emi		3
      ref_pix		4
      ref_io		5
      saif_sel	6
      lcdif_sel	7
      gpmi_sel	8
      ssp_sel		9
      emi_sel		10
      cpu		11
      etm_sel		12
      cpu_pll		13
      cpu_xtal	14
      hbus		15
      xbus		16
      lcdif_div	17
      ssp_div		18
      gpmi_div	19
      emi_pll		20
      emi_xtal	21
      etm_div		22
      saif_div	23
      clk32k_div	24
      rtc		25
      adc		26
      spdif_div	27
      clk32k		28
      dri		29
      pwm		30
      filt		31
      uart		32
      ssp		33
      gpmi		34
      spdif		35
      emi		36
      saif		37
      lcdif		38
      etm		39
      usb		40
      usb_phy		41

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx23-clkctrl"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@80040000 {
    compatible = "fsl,imx23-clkctrl";
    reg = <0x80040000 0x2000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX25 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx25-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sascha Hauer <s.hauer@pengutronix.de>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. The following is a full list of i.MX25 clocks and IDs.

      Clock			ID
      --------------------------
      dummy			0
      osc			1
      mpll			2
      upll			3
      mpll_cpu_3_4		4
      cpu_sel			5
      cpu			6
      ahb			7
      usb_div			8
      ipg			9
      per0_sel		10
      per1_sel		11
      per2_sel		12
      per3_sel		13
      per4_sel		14
      per5_sel		15
      per6_sel		16
      per7_sel		17
      per8_sel		18
      per9_sel		19
      per10_sel		20
      per11_sel		21
      per12_sel		22
      per13_sel		23
      per14_sel		24
      per15_sel		25
      per0			26
      per1			27
      per2			28
      per3			29
      per4			30
      per5			31
      per6			32
      per7			33
      per8			34
      per9			35
      per10			36
      per11			37
      per12			38
      per13			39
      per14			40
      per15			41
      csi_ipg_per		42
      epit_ipg_per		43
      esai_ipg_per		44
      esdhc1_ipg_per		45
      esdhc2_ipg_per		46
      gpt_ipg_per		47
      i2c_ipg_per		48
      lcdc_ipg_per		49
      nfc_ipg_per		50
      owire_ipg_per		51
      pwm_ipg_per		52
      sim1_ipg_per		53
      sim2_ipg_per		54
      ssi1_ipg_per		55
      ssi2_ipg_per		56
      uart_ipg_per		57
      ata_ahb			58
      reserved		59
      csi_ahb			60
      emi_ahb			61
      esai_ahb		62
      esdhc1_ahb		63
      esdhc2_ahb		64
      fec_ahb			65
      lcdc_ahb		66
      rtic_ahb		67
      sdma_ahb		68
      slcdc_ahb		69
      usbotg_ahb		70
      reserved		71
      reserved		72
      reserved		73
      reserved		74
      can1_ipg		75
      can2_ipg		76
      csi_ipg			77
      cspi1_ipg		78
      cspi2_ipg		79
      cspi3_ipg		80
      dryice_ipg		81
      ect_ipg			82
      epit1_ipg		83
      epit2_ipg		84
      reserved		85
      esdhc1_ipg		86
      esdhc2_ipg		87
      fec_ipg			88
      reserved		89
      reserved		90
      reserved		91
      gpt1_ipg		92
      gpt2_ipg		93
      gpt3_ipg		94
      gpt4_ipg		95
      reserved		96
      reserved		97
      reserved		98
      iim_ipg			99
      reserved		100
      reserved		101
      kpp_ipg			102
      lcdc_ipg		103
      reserved		104
      pwm1_ipg		105
      pwm2_ipg		106
      pwm3_ipg		107
      pwm4_ipg		108
      rngb_ipg		109
      reserved		110
      scc_ipg			111
      sdma_ipg		112
      sim1_ipg		113
      sim2_ipg		114
      slcdc_ipg		115
      spba_ipg		116
      ssi1_ipg		117
      ssi2_ipg		118
      tsc_ipg			119
      uart1_ipg		120
      uart2_ipg		121
      uart3_ipg		122
      uart4_ipg		123
      uart5_ipg		124
      reserved		125
      wdt_ipg			126
      cko_div			127
      cko_sel			128
      cko			129

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx25-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@53f80000 {
    compatible = "fsl,imx25-ccm";
    reg = <0x53f80000 0x4000>;
    interrupts = <31>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX27 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx27-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx27-clock.h for the full list of i.MX27 clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx27-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#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/imx27-clock.h>

clock-controller@10027000 {
    compatible = "fsl,imx27-ccm";
    reg = <0x10027000 0x1000>;
    interrupts = <31>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX28 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx28-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Shawn Guo <shawnguo@kernel.org>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. The following is a full list of i.MX28 clocks and IDs.

      Clock		ID
      ------------------
      ref_xtal	0
      pll0		1
      pll1		2
      pll2		3
      ref_cpu		4
      ref_emi		5
      ref_io0		6
      ref_io1		7
      ref_pix		8
      ref_hsadc	9
      ref_gpmi	10
      saif0_sel	11
      saif1_sel	12
      gpmi_sel	13
      ssp0_sel	14
      ssp1_sel	15
      ssp2_sel	16
      ssp3_sel	17
      emi_sel		18
      etm_sel		19
      lcdif_sel	20
      cpu		21
      ptp_sel		22
      cpu_pll		23
      cpu_xtal	24
      hbus		25
      xbus		26
      ssp0_div	27
      ssp1_div	28
      ssp2_div	29
      ssp3_div	30
      gpmi_div	31
      emi_pll		32
      emi_xtal	33
      lcdif_div	34
      etm_div		35
      ptp		36
      saif0_div	37
      saif1_div	38
      clk32k_div	39
      rtc		40
      lradc		41
      spdif_div	42
      clk32k		43
      pwm		44
      uart		45
      ssp0		46
      ssp1		47
      ssp2		48
      ssp3		49
      gpmi		50
      spdif		51
      emi		52
      saif0		53
      saif1		54
      lcdif		55
      etm		56
      fec		57
      can0		58
      can1		59
      usb0		60
      usb1		61
      usb0_phy	62
      usb1_phy	63
      enet_out	64

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx28-clkctrl"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@80040000 {
    compatible = "fsl,imx28-clkctrl";
    reg = <0x80040000 0x2000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX31 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx31-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. The following is a full list of i.MX31 clocks and IDs.

      Clock		    ID
      -----------------------
      dummy	             0
      ckih                 1
      ckil                 2
      mpll                 3
      spll                 4
      upll                 5
      mcu_main             6
      hsp                  7
      ahb                  8
      nfc                  9
      ipg                  10
      per_div              11
      per                  12
      csi_sel              13
      fir_sel              14
      csi_div              15
      usb_div_pre          16
      usb_div_post         17
      fir_div_pre          18
      fir_div_post         19
      sdhc1_gate           20
      sdhc2_gate           21
      gpt_gate             22
      epit1_gate           23
      epit2_gate           24
      iim_gate             25
      ata_gate             26
      sdma_gate            27
      cspi3_gate           28
      rng_gate             29
      uart1_gate           30
      uart2_gate           31
      ssi1_gate            32
      i2c1_gate            33
      i2c2_gate            34
      i2c3_gate            35
      hantro_gate          36
      mstick1_gate         37
      mstick2_gate         38
      csi_gate             39
      rtc_gate             40
      wdog_gate            41
      pwm_gate             42
      sim_gate             43
      ect_gate             44
      usb_gate             45
      kpp_gate             46
      ipu_gate             47
      uart3_gate           48
      uart4_gate           49
      uart5_gate           50
      owire_gate           51
      ssi2_gate            52
      cspi1_gate           53
      cspi2_gate           54
      gacc_gate            55
      emi_gate             56
      rtic_gate            57
      firi_gate            58

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx31-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

CCM provides 2 interrupt requests, request 1 is to generate interrupt for DVFS when a frequency change is requested, request 2 is to generate interrupt for DPTC when a voltage change is requested.

Array item rules (items) #

Item 1

CCM DVFS interrupt request 1

Item 2

CCM DPTC interrupt request 2

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@53f80000 {
    compatible = "fsl,imx31-ccm";
    reg = <0x53f80000 0x4000>;
    interrupts = <31>, <53>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX35 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx35-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Steffen Trumtrar <s.trumtrar@pengutronix.de>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. The following is a full list of i.MX35 clocks and IDs.

      Clock			ID
      ---------------------------
      ckih			0
      mpll			1
      ppll			2
      mpll_075		3
      arm			4
      hsp			5
      hsp_div			6
      hsp_sel			7
      ahb			8
      ipg			9
      arm_per_div		10
      ahb_per_div		11
      ipg_per			12
      uart_sel		13
      uart_div		14
      esdhc_sel		15
      esdhc1_div		16
      esdhc2_div		17
      esdhc3_div		18
      spdif_sel		19
      spdif_div_pre		20
      spdif_div_post		21
      ssi_sel			22
      ssi1_div_pre		23
      ssi1_div_post		24
      ssi2_div_pre		25
      ssi2_div_post		26
      usb_sel			27
      usb_div			28
      nfc_div			29
      asrc_gate		30
      pata_gate		31
      audmux_gate		32
      can1_gate		33
      can2_gate		34
      cspi1_gate		35
      cspi2_gate		36
      ect_gate		37
      edio_gate		38
      emi_gate		39
      epit1_gate		40
      epit2_gate		41
      esai_gate		42
      esdhc1_gate		43
      esdhc2_gate		44
      esdhc3_gate		45
      fec_gate		46
      gpio1_gate		47
      gpio2_gate		48
      gpio3_gate		49
      gpt_gate		50
      i2c1_gate		51
      i2c2_gate		52
      i2c3_gate		53
      iomuxc_gate		54
      ipu_gate		55
      kpp_gate		56
      mlb_gate		57
      mshc_gate		58
      owire_gate		59
      pwm_gate		60
      rngc_gate		61
      rtc_gate		62
      rtic_gate		63
      scc_gate		64
      sdma_gate		65
      spba_gate		66
      spdif_gate		67
      ssi1_gate		68
      ssi2_gate		69
      uart1_gate		70
      uart2_gate		71
      uart3_gate		72
      usbotg_gate		73
      wdog_gate		74
      max_gate		75
      admux_gate		76
      csi_gate		77
      csi_div			78
      csi_sel			79
      iim_gate		80
      gpu2d_gate		81
      ckli_gate		82

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx35-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@53f80000 {
    compatible = "fsl,imx35-ccm";
    reg = <0x53f80000 0x4000>;
    interrupts = <31>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX5 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx5-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx5-clock.h for the full list of i.MX5 clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx53-ccm", "fsl,imx51-ccm", "fsl,imx50-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

CCM provides 2 interrupt requests, request 1 is to generate interrupt for frequency or mux change, request 2 is to generate interrupt for oscillator read or PLL lock.

Array item rules (items) #

Item 1

CCM interrupt request 1

Item 2

CCM interrupt request 2

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "interrupts", "#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/imx5-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

clock-controller@53fd4000{
    compatible = "fsl,imx53-ccm";
    reg = <0x53fd4000 0x4000>;
    interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>,
                 <0 72 IRQ_TYPE_LEVEL_HIGH>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX6 Quad Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx6q-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abelvesa@kernel.org>", "Peng Fan <peng.fan@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx6q-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

CCM provides 2 interrupt requests, request 1 is to generate interrupt for frequency or mux change, request 2 is to generate interrupt for oscillator read or PLL lock.

Array item rules (items) #

Item 1

CCM interrupt request 1

Item 2

CCM interrupt request 2

#clock-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

24m osc

Item 2

32k osc

Item 3

ckih1 clock input

Item 4

anaclk1 clock input

Item 5

anaclk2 clock input

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "osc"

Item 2

Exact value (const): "ckil"

Item 3

Exact value (const): "ckih1"

Item 4

Exact value (const): "anaclk1"

Item 5

Exact value (const): "anaclk2"

fsl,pmic-stby-poweroff — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Use this property if the SoC should be powered off by external power management IC (PMIC) triggered via PMIC_STBY_REQ signal. Boards that are designed to initiate poweroff on PMIC_ON_REQ signal should be using "syscon-poweroff" driver instead.

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

clock-controller@20c4000 {
    compatible = "fsl,imx6q-ccm";
    reg = <0x020c4000 0x4000>;
    interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
                 <0 88 IRQ_TYPE_LEVEL_HIGH>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 64: Clock Control Module node:

Freescale i.MX6 SoloLite Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx6sl-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abelvesa@kernel.org>", "Peng Fan <peng.fan@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx6sl-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

CCM provides 2 interrupt requests, request 1 is to generate interrupt for frequency or mux change, request 2 is to generate interrupt for oscillator read or PLL lock.

Array item rules (items) #

Item 1

CCM interrupt request 1

Item 2

CCM interrupt request 2

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

clock-controller@20c4000 {
    compatible = "fsl,imx6sl-ccm";
    reg = <0x020c4000 0x4000>;
    interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
                 <0 88 IRQ_TYPE_LEVEL_HIGH>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 40: Clock Control Module node:

Freescale i.MX6 SLL Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx6sll-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abelvesa@kernel.org>", "Peng Fan <peng.fan@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx6sll-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

CCM provides 2 interrupt requests, request 1 is to generate interrupt for frequency or mux change, request 2 is to generate interrupt for oscillator read or PLL lock.

Array item rules (items) #

Item 1

CCM interrupt request 1

Item 2

CCM interrupt request 2

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

32k osc

Item 2

24m osc

Item 3

ipp_di0 clock input

Item 4

ipp_di1 clock input

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ckil"

Item 2

Exact value (const): "osc"

Item 3

Exact value (const): "ipp_di0"

Item 4

Exact value (const): "ipp_di1"

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

clock-controller@20c4000 {
    compatible = "fsl,imx6sll-ccm";
    reg = <0x020c4000 0x4000>;
    interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
    #clock-cells = <1>;
    clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
    clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 56: Clock Control Module node:

Freescale i.MX6 SoloX Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx6sx-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abelvesa@kernel.org>", "Peng Fan <peng.fan@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx6sx-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

CCM provides 2 interrupt requests, request 1 is to generate interrupt for frequency or mux change, request 2 is to generate interrupt for oscillator read or PLL lock.

Array item rules (items) #

Item 1

CCM interrupt request 1

Item 2

CCM interrupt request 2

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

32k osc

Item 2

24m osc

Item 3

ipp_di0 clock input

Item 4

ipp_di1 clock input

Item 5

anaclk1 clock input

Item 6

anaclk2 clock input

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ckil"

Item 2

Exact value (const): "osc"

Item 3

Exact value (const): "ipp_di0"

Item 4

Exact value (const): "ipp_di1"

Item 5

Exact value (const): "anaclk1"

Item 6

Exact value (const): "anaclk2"

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

clock-controller@20c4000 {
    compatible = "fsl,imx6sx-ccm";
    reg = <0x020c4000 0x4000>;
    interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
    #clock-cells = <1>;
    clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>, <&anaclk1>, <&anaclk2>;
    clock-names = "ckil", "osc", "ipp_di0", "ipp_di1", "anaclk1", "anaclk2";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 60: Clock Control Module node:

Freescale i.MX6 UltraLite Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx6ul-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abelvesa@kernel.org>", "Peng Fan <peng.fan@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx6ul-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

CCM provides 2 interrupt requests, request 1 is to generate interrupt for frequency or mux change, request 2 is to generate interrupt for oscillator read or PLL lock.

Array item rules (items) #

Item 1

CCM interrupt request 1

Item 2

CCM interrupt request 2

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

32k osc

Item 2

24m osc

Item 3

ipp_di0 clock input

Item 4

ipp_di1 clock input

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ckil"

Item 2

Exact value (const): "osc"

Item 3

Exact value (const): "ipp_di0"

Item 4

Exact value (const): "ipp_di1"

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

clock-controller@20c4000 {
    compatible = "fsl,imx6ul-ccm";
    reg = <0x020c4000 0x4000>;
    interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
    #clock-cells = <1>;
    clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
    clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 56: Clock Control Module node:

Freescale i.MX7 Dual Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx7d-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx7d-clock.h for the full list of i.MX7 Dual clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx7d-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

CCM interrupt request 1

Item 2

CCM interrupt request 2

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

32k osc

Item 2

24m osc

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ckil"

Item 2

Exact value (const): "osc"

Required in this object (required): "compatible", "reg", "interrupts", "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/interrupt-controller/arm-gic.h>

clock-controller@30380000 {
    compatible = "fsl,imx7d-ccm";
    reg = <0x30380000 0x10000>;
    interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
    #clock-cells = <1>;
    clocks = <&ckil>, <&osc>;
    clock-names = "ckil", "osc";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX7ULP Peripheral Clock Control (PCC) modules Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx7ulp-pcc-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "A.s. Dong <aisheng.dong@nxp.com>"

i.MX7ULP Clock functions are under joint control of the System Clock Generation (SCG) modules, Peripheral Clock Control (PCC) modules, and Core Mode Controller (CMC)1 blocks

The clocking scheme provides clear separation between M4 domain and A7 domain. Except for a few clock sources shared between two domains, such as the System Oscillator clock, the Slow IRC (SIRC), and and the Fast IRC clock (FIRCLK), clock sources and clock management are separated and contained within each domain.

M4 clock management consists of SCG0, PCC0, PCC1, and CMC0 modules. A7 clock management consists of SCG1, PCC2, PCC3, and CMC1 modules.

Note: this binding doc is only for A7 clock domain.

The Peripheral Clock Control (PCC) is responsible for clock selection, optional division and clock gating mode for peripherals in their respected power domain.

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx7ulp-clock.h for the full list of i.MX7ULP clock IDs of each module.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx7ulp-pcc2", "fsl,imx7ulp-pcc3"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

nic1 bus clock

Item 2

nic1 clock

Item 3

ddr clock

Item 4

apll pfd2

Item 5

apll pfd1

Item 6

apll pfd0

Item 7

usb pll

Item 8

system osc bus clock

Item 9

fast internal reference clock bus

Item 10

rtc osc

Item 11

system pll bus clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "nic1_bus_clk"

Item 2

Exact value (const): "nic1_clk"

Item 3

Exact value (const): "ddr_clk"

Item 4

Exact value (const): "apll_pfd2"

Item 5

Exact value (const): "apll_pfd1"

Item 6

Exact value (const): "apll_pfd0"

Item 7

Exact value (const): "upll"

Item 8

Exact value (const): "sosc_bus_clk"

Item 9

Exact value (const): "firc_bus_clk"

Item 10

Exact value (const): "rosc"

Item 11

Exact value (const): "spll_bus_clk"

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx7ulp-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

clock-controller@403f0000 {
    compatible = "fsl,imx7ulp-pcc2";
    reg = <0x403f0000 0x10000>;
    #clock-cells = <1>;
    clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>,
             <&scg1 IMX7ULP_CLK_NIC1_DIV>,
             <&scg1 IMX7ULP_CLK_DDR_DIV>,
             <&scg1 IMX7ULP_CLK_APLL_PFD2>,
             <&scg1 IMX7ULP_CLK_APLL_PFD1>,
             <&scg1 IMX7ULP_CLK_APLL_PFD0>,
             <&scg1 IMX7ULP_CLK_UPLL>,
             <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>,
             <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>,
             <&scg1 IMX7ULP_CLK_ROSC>,
             <&scg1 IMX7ULP_CLK_SPLL_BUS_CLK>;
     clock-names = "nic1_bus_clk", "nic1_clk", "ddr_clk",
                   "apll_pfd2", "apll_pfd1", "apll_pfd0",
                   "upll", "sosc_bus_clk", "firc_bus_clk",
                   "rosc", "spll_bus_clk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Freescale i.MX7ULP System Clock Generation (SCG) modules Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx7ulp-scg-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "A.s. Dong <aisheng.dong@nxp.com>"

i.MX7ULP Clock functions are under joint control of the System Clock Generation (SCG) modules, Peripheral Clock Control (PCC) modules, and Core Mode Controller (CMC)1 blocks

The clocking scheme provides clear separation between M4 domain and A7 domain. Except for a few clock sources shared between two domains, such as the System Oscillator clock, the Slow IRC (SIRC), and and the Fast IRC clock (FIRCLK), clock sources and clock management are separated and contained within each domain.

M4 clock management consists of SCG0, PCC0, PCC1, and CMC0 modules. A7 clock management consists of SCG1, PCC2, PCC3, and CMC1 modules.

Note: this binding doc is only for A7 clock domain.

The System Clock Generation (SCG) is responsible for clock generation and distribution across this device. Functions performed by the SCG include: clock reference selection, generation of clock used to derive processor, system, peripheral bus and external memory interface clocks, source selection for peripheral clocks and control of power saving clock gating mode.

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx7ulp-clock.h for the full list of i.MX7ULP clock IDs of each module.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx7ulp-scg1"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

rtc osc

Item 2

system osc

Item 3

slow internal reference clock

Item 4

fast internal reference clock

Item 5

usb PLL

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rosc"

Item 2

Exact value (const): "sosc"

Item 3

Exact value (const): "sirc"

Item 4

Exact value (const): "firc"

Item 5

Exact value (const): "upll"

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx7ulp-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

clock-controller@403e0000 {
    compatible = "fsl,imx7ulp-scg1";
    reg = <0x403e0000 0x10000>;
    clocks = <&rosc>, <&sosc>, <&sirc>,
             <&firc>, <&upll>;
    clock-names = "rosc", "sosc", "sirc",
                  "firc", "upll";
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP i.MX8M Family Clock Control Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx8m-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abelvesa@kernel.org>", "Peng Fan <peng.fan@nxp.com>"

NXP i.MX8M Mini/Nano/Plus/Quad clock control module is an integrated clock controller, which generates and supplies to all modules.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8mm-ccm", "fsl,imx8mn-ccm", "fsl,imx8mp-ccm", "fsl,imx8mq-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 2

clocks — required here #

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 7

clock-names — required here #

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 7

#clock-cells — required here #

Exact value (const): 1

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8m-clock.h for the full list of i.MX8M clock IDs.

fsl,operating-mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Allowed values (enum): "nominal", "overdrive"

The operating mode of the SoC. This affects the maximum clock rates that can safely be configured by the clock controller.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx8mq-ccm"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

32k osc

Item 2

25m osc

Item 3

27m osc

Item 4

ext1 clock input

Item 5

ext2 clock input

Item 6

ext3 clock input

Item 7

ext4 clock input

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ckil"

Item 2

Exact value (const): "osc_25m"

Item 3

Exact value (const): "osc_27m"

Item 4

Exact value (const): "clk_ext1"

Item 5

Exact value (const): "clk_ext2"

Item 6

Exact value (const): "clk_ext3"

Item 7

Exact value (const): "clk_ext4"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

32k osc

Item 2

24m osc

Item 3

ext1 clock input

Item 4

ext2 clock input

Item 5

ext3 clock input

Item 6

ext4 clock input

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "osc_32k"

Item 2

Exact value (const): "osc_24m"

Item 3

Exact value (const): "clk_ext1"

Item 4

Exact value (const): "clk_ext2"

Item 5

Exact value (const): "clk_ext3"

Item 6

Exact value (const): "clk_ext4"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@30380000 {
    compatible = "fsl,imx8mm-ccm";
    reg = <0x30380000 0x10000>;
    #clock-cells = <1>;
    clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>,
             <&clk_ext3>, <&clk_ext4>;
    clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
                  "clk_ext3", "clk_ext4";
    fsl,operating-mode = "nominal";
};
clock-controller@30380000 {
    compatible = "fsl,imx8mq-ccm";
    reg = <0x30380000 0x10000>;
    #clock-cells = <1>;
    clocks = <&ckil>, <&osc_25m>, <&osc_27m>, <&clk_ext1>,
             <&clk_ext2>, <&clk_ext3>, <&clk_ext4>;
    clock-names = "ckil", "osc_25m", "osc_27m", "clk_ext1",
                  "clk_ext2", "clk_ext3", "clk_ext4";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 109: Clock Control Module node:

NXP i.MX8MP AudioMIX Block Control

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx8mp-audiomix.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

NXP i.MX8M Plus AudioMIX is dedicated clock muxing and gating IP used to control Audio related clock on the SoC.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8mp-audio-blk-ctrl"

reg — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 8

Maximum number of items (maxItems): 8

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ahb"

Item 2

Exact value (const): "sai1"

Item 3

Exact value (const): "sai2"

Item 4

Exact value (const): "sai3"

Item 5

Exact value (const): "sai5"

Item 6

Exact value (const): "sai6"

Item 7

Exact value (const): "sai7"

Item 8

Exact value (const): "axi"

#clock-cells — required here #

Exact value (const): 1

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8mp-clock.h for the full list of i.MX8MP IMX8MP_CLK_AUDIOMIX_ clock IDs.

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "power-domains", "#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/imx8mp-clock.h>

clock-controller@30e20000 {
    compatible = "fsl,imx8mp-audio-blk-ctrl";
    reg = <0x30e20000 0x10000>;
    #clock-cells = <1>;
    clocks = <&clk IMX8MP_CLK_AUDIO_ROOT>,
             <&clk IMX8MP_CLK_SAI1>,
             <&clk IMX8MP_CLK_SAI2>,
             <&clk IMX8MP_CLK_SAI3>,
             <&clk IMX8MP_CLK_SAI5>,
             <&clk IMX8MP_CLK_SAI6>,
             <&clk IMX8MP_CLK_SAI7>,
             <&clk IMX8MP_CLK_AUDIO_AXI_ROOT>;
    clock-names = "ahb",
                  "sai1", "sai2", "sai3",
                  "sai5", "sai6", "sai7", "axi";
    power-domains = <&pgc_audio>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 62: Clock Control Module node:

NXP i.MX8QXP LPCG (Low-Power Clock Gating) Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx8qxp-lpcg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Aisheng Dong <aisheng.dong@nxp.com>"

The Low-Power Clock Gate (LPCG) modules contain a local programming model to control the clock gates for the peripherals. An LPCG module is used to locally gate the clocks for the associated peripheral.

This level of clock gating is provided after the clocks are generated by the SCU resources and clock controls. Thus even if the clock is enabled by these control bits, it might still not be running based on the base resource.

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See the full list of clock IDs from: include/dt-bindings/clock/imx8-lpcg.h

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "fsl,imx8qxp-lpcg"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx8qm-lpcg"

Item 2

Exact value (const): "fsl,imx8qxp-lpcg"

Rule 3

Allowed values (enum): "fsl,imx8qxp-lpcg-adma", "fsl,imx8qxp-lpcg-conn", "fsl,imx8qxp-lpcg-dc", "fsl,imx8qxp-lpcg-dsp", "fsl,imx8qxp-lpcg-gpu", "fsl,imx8qxp-lpcg-hsio", "fsl,imx8qxp-lpcg-img", "fsl,imx8qxp-lpcg-lsio", "fsl,imx8qxp-lpcg-vpu"

Deprecated (deprecated): true

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Input parent clocks phandle array for each clock

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

clock-indices — not listed as required here #

An integer array indicating the bit offset for each clock. Refer to <include/dt-bindings/clock/imx8-lpcg.h> for the supported LPCG clock indices.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

clock-output-names — not listed as required here #

Shall be the corresponding names of the outputs. NOTE this property must be specified in the same order as the clock-indices property.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#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/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

sdhc0_lpcg: clock-controller@5b200000 {
    compatible = "fsl,imx8qxp-lpcg";
    reg = <0x5b200000 0x10000>;
    #clock-cells = <1>;
    clocks = <&sdhc0_clk IMX_SC_PM_CLK_PER>,
             <&conn_ipg_clk>,
             <&conn_axi_clk>;
    clock-indices = <IMX_LPCG_CLK_0>,
                    <IMX_LPCG_CLK_4>,
                    <IMX_LPCG_CLK_5>;
    clock-output-names = "sdhc0_lpcg_per_clk",
                         "sdhc0_lpcg_ipg_clk",
                         "sdhc0_lpcg_ahb_clk";
    power-domains = <&pd IMX_SC_R_SDHC_0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP i.MX8ULP Clock Generation & Control(CGC) Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx8ulp-cgc-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jacky Bai <ping.bai@nxp.com>"

On i.MX8ULP, The clock sources generation, distribution and management is under the control of several CGCs & PCCs modules. The CGC modules generate and distribute clocks on the device.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8ulp-cgc1", "fsl,imx8ulp-cgc2"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@292c0000 {
    compatible = "fsl,imx8ulp-cgc1";
    reg = <0x292c0000 0x10000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 37: Clock Generation & Control Module node:

NXP i.MX8ULP Peripheral Clock Controller(PCC) Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx8ulp-pcc-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jacky Bai <ping.bai@nxp.com>"

On i.MX8ULP, The clock sources generation, distribution and management is under the control of several CGCs & PCCs modules. The PCC modules control software reset, clock selection, optional division and clock gating mode for peripherals.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8ulp-pcc3", "fsl,imx8ulp-pcc4", "fsl,imx8ulp-pcc5"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@292d0000 {
    compatible = "fsl,imx8ulp-pcc3";
    reg = <0x292d0000 0x10000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 43: Peripheral Clock Control Module node:

NXP i.MX93 Clock Control Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx93-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

i.MX93 clock control module is an integrated clock controller, which includes clock generator, clock gate and supplies to all modules.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx91-ccm", "fsl,imx93-ccm"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

specify the external clocks used by the CCM module.

Array item rules (items) #

Item 1

32k osc

Item 2

24m osc

Item 3

ext1 clock input

clock-names — not listed as required here #

specify the external clocks names used by the CCM module.

Array item rules (items) #

Item 1

Exact value (const): "osc_32k"

Item 2

Exact value (const): "osc_24m"

Item 3

Exact value (const): "clk_ext1"

#clock-cells — required here #

Exact value (const): 1

See include/dt-bindings/clock/imx93-clock.h for the full list of i.MX93 clock IDs.

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@44450000 {
    compatible = "fsl,imx93-ccm";
    reg = <0x44450000 0x10000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 55: Clock Control Module node:

Freescale i.MXRT Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/imxrt1050-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Giulio Benetti <giulio.benetti@benettiengineering.com>", "Jesse Taube <Mr.Bossman075@gmail.com>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imxrt*-clock.h for the full list of i.MXRT clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imxrt1050-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 2

clocks — required here #

24m osc

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "osc"

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "interrupts", "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/imxrt1050-clock.h>

clks: clock-controller@400fc000 {
    compatible = "fsl,imxrt1050-ccm";
    reg = <0x400fc000 0x4000>;
    interrupts = <95>, <96>;
    clocks = <&osc>;
    clock-names = "osc";
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Ingenic SoCs CGU

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/ingenic,cgu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The CGU in an Ingenic SoC provides all the clocks generated on-chip. It typically includes a variety of PLLs, multiplexers, dividers & gates in order to provide many different clock signals derived from only 2 external source clocks.

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "ingenic,jz4740-cgu", "ingenic,jz4725b-cgu", "ingenic,jz4755-cgu", "ingenic,jz4760-cgu", "ingenic,jz4760b-cgu", "ingenic,jz4770-cgu", "ingenic,jz4780-cgu", "ingenic,x1000-cgu", "ingenic,x1830-cgu"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^clock-controller@[0-9a-f]+$"

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

#clock-cells — required here #

Exact value (const): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "ingenic,jz4740-cgu", "ingenic,jz4725b-cgu", "ingenic,jz4755-cgu", "ingenic,jz4760-cgu", "ingenic,jz4760b-cgu", "ingenic,jz4770-cgu", "ingenic,jz4780-cgu", "ingenic,x1000-cgu", "ingenic,x1830-cgu"

Item 2

Exact value (const): "simple-mfd"

Minimum number of items (minItems): 1

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

External oscillator clock

Item 2

Internal 32 kHz RTC clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ext"

Item 2

Allowed values (enum): "rtc", "osc32k"

assigned-clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

assigned-clock-parents — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

assigned-clock-rates — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 64

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-names"

Properties matching a name pattern (patternProperties) #

^usb-phy@[a-f0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/phy/ingenic,phy-usb.yaml#

^mac-phy-ctrl@[a-f0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/net/ingenic,mac.yaml#

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/ingenic,jz4770-cgu.h>
cgu: clock-controller@10000000 {
  compatible = "ingenic,jz4770-cgu", "simple-mfd";
  reg = <0x10000000 0x100>;
  #address-cells = <1>;
  #size-cells = <1>;
  ranges = <0x0 0x10000000 0x100>;

  clocks = <&ext>, <&osc32k>;
  clock-names = "ext", "osc32k";

  #clock-cells = <1>;

  otg_phy: usb-phy@3c {
    compatible = "ingenic,jz4770-phy";
    reg = <0x3c 0x10>;

    clocks = <&cgu JZ4770_CLK_OTG_PHY>;

    vcc-supply = <&ldo5>;

    #phy-cells = <0>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 78: Different name, same clock

Intel SoCFPGA Agilex platform clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/intel,agilex.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dinh Nguyen <dinguyen@kernel.org>"

The Intel Agilex Clock controller is an integrated clock controller, which generates and supplies to all modules.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,agilex-clkmgr"

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clkmgr: clock-controller@ffd10000 {
  compatible = "intel,agilex-clkmgr";
  reg = <0xffd10000 0x1000>;
  clocks = <&osc1>;
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 38: Clock controller node:

Intel SoCFPGA Agilex5 clock manager

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/intel,agilex5-clkmgr.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dinh Nguyen <dinguyen@kernel.org>"

The Intel Agilex5 Clock Manager is an integrated clock controller, which generates and supplies clock to all the modules.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,agilex5-clkmgr"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clkmgr: clock-controller@10d10000 {
  compatible = "intel,agilex5-clkmgr";
  reg = <0x10d10000 0x1000>;
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Intel Lightning Mountain SoC's Clock Controller(CGU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/intel,cgu-lgm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Rahul Tanwar <rahul.tanwar@linux.intel.com>"

Lightning Mountain(LGM) SoC's Clock Generation Unit(CGU) driver provides all means to access the CGU hardware module in order to generate a series of clocks for the whole system and individual peripherals.

Please refer to include/dt-bindings/clock/intel,lgm-clk.h header file, it defines all available clocks as macros. These macros can be used in device tree sources.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,cgu-lgm"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cgu: clock-controller@e0200000 {
    compatible = "intel,cgu-lgm";
    reg = <0xe0200000 0x33c>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Intel SoCFPGA eASIC N5X platform clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/intel,easic-n5x.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dinh Nguyen <dinguyen@kernel.org>"

The Intel eASIC N5X Clock controller is an integrated clock controller, which generates and supplies to all modules.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,easic-n5x-clkmgr"

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clkmgr: clock-controller@ffd10000 {
  compatible = "intel,easic-n5x-clkmgr";
  reg = <0xffd10000 0x1000>;
  clocks = <&osc1>;
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 38: Clock controller node:

Intel SoCFPGA Stratix10 platform clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/intel,stratix10.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dinh Nguyen <dinguyen@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,stratix10-clkmgr"

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@ffd10000 {
    compatible = "intel,stratix10-clkmgr";
    reg = <0xffd10000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Loongson-1 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/loongson,ls1x-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Keguang Zhang <keguang.zhang@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "loongson,ls1b-clk", "loongson,ls1c-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clkc: clock-controller@1fe78030 {
    compatible = "loongson,ls1b-clk";
    reg = <0x1fe78030 0x8>;

    clocks = <&xtal>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Loongson-2 SoC Clock Control Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/loongson,ls2k-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Yinbo Zhu <zhuyinbo@loongson.cn>"

Loongson-2 SoC clock control module is an integrated clock controller, which generates and supplies to all modules.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "loongson,ls2k0300-clk", "loongson,ls2k0500-clk", "loongson,ls2k-clk", "loongson,ls2k2000-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "ref_100m"

#clock-cells — required here #

Exact value (const): 1

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/loongson,ls2k-clk.h for the full list of Loongson-2 SoC clock IDs.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "loongson,ls2k0300-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clock-names — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "clock-names"

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

ref_100m: clock-ref-100m {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <100000000>;
    clock-output-names = "ref_100m";
};

clk: clock-controller@1fe00480 {
    compatible = "loongson,ls2k-clk";
    reg = <0x1fe00480 0x58>;
    #clock-cells = <1>;
    clocks = <&ref_100m>;
    clock-names = "ref_100m";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 21: This is for Loongson-2K1000

LSI AXM5516 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/lsi,axm5516-clks.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Anders Berg <anders.berg@lsi.com>"

See <dt-bindings/clock/lsi,axxia-clock.h> for the list of supported clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "lsi,axm5516-clks"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus {
    #address-cells = <2>;
    #size-cells = <1>;
    clock-controller@2010020000 {
        compatible = "lsi,axm5516-clks";
        #clock-cells = <1>;
        reg = <0x20 0x10020000 0x20000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright 2025 LSI

TI-NSPIRE Clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/lsi,nspire-cx-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Daniel Tang <dt.tangr@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "lsi,nspire-cx-ahb-divider", "lsi,nspire-classic-ahb-divider", "lsi,nspire-cx-clock", "lsi,nspire-classic-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 0

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Marvell Armada AP80x System Controller Clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,ap80x-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Gregory Clement <gregory.clement@bootlin.com>", "Miquel Raynal <miquel.raynal@bootlin.com>"

The AP806/AP807 is one of the two core HW blocks of the Marvell Armada 7K/8K/931x SoCs. It contains system controllers, which provide several registers giving access to numerous features: clocks, pin-muxing and many other SoC configuration items.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,ap806-clock", "marvell,ap806-cpu-clock", "marvell,ap807-clock", "marvell,ap807-cpu-clock"

reg — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

cluster 0 parent clock phandle

Item 2

cluster 1 parent clock phandle

Required in this object (required): "compatible", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "marvell,ap806-cpu-clock", "marvell,ap807-cpu-clock"

When the condition matches (then) #

Required in this object (required): "clocks"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Marvell MVEBU Core Divider Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/marvell,armada-370-corediv-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "marvell,armada-370-corediv-clock", "marvell,armada-375-corediv-clock", "marvell,armada-380-corediv-clock", "marvell,mv98dx3236-corediv-clock"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "marvell,armada-390-corediv-clock"

Item 2

Exact value (const): "marvell,armada-380-corediv-clock"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@18740 {
    compatible = "marvell,armada-370-corediv-clock";
    reg = <0x18740 0xc>;
    #clock-cells = <1>;
    clocks = <&pll>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Marvell Armada 37xx SoCs Peripheral Clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,armada-3700-periph-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"

Marvell Armada 37xx SoCs provide peripheral clocks which are used as clock source for the peripheral of the SoC. There are two different blocks associated to north bridge and south bridge. The following is a list of provided IDs for Armada 3700 North bridge clocks:

  ID	Clock name	Description
  -----------------------------------
  0	mmc		MMC controller
  1	sata_host	Sata Host
  2	sec_at		Security AT
  3	sac_dap		Security DAP
  4	tsecm		Security Engine
  5	setm_tmx	Serial Embedded Trace Module
  6	avs		Adaptive Voltage Scaling
  7	sqf		SPI
  8	pwm		PWM
  9	i2c_2		I2C 2
  10	i2c_1		I2C 1
  11	ddr_phy		DDR PHY
  12	ddr_fclk	DDR F clock
  13	trace		Trace
  14	counter		Counter
  15	eip97		EIP 97
  16	cpu		CPU

The following is a list of provided IDs for Armada 3700 South bridge clocks:

  ID	Clock name	Description
  -----------------------------------
  0	gbe-50		50 MHz parent clock for Gigabit Ethernet
  1	gbe-core	parent clock for Gigabit Ethernet core
  2	gbe-125		125 MHz parent clock for Gigabit Ethernet
  3	gbe1-50		50 MHz clock for Gigabit Ethernet port 1
  4	gbe0-50		50 MHz clock for Gigabit Ethernet port 0
  5	gbe1-125	125 MHz clock for Gigabit Ethernet port 1
  6	gbe0-125	125 MHz clock for Gigabit Ethernet port 0
  7	gbe1-core	Gigabit Ethernet core port 1
  8	gbe0-core	Gigabit Ethernet core port 0
  9	gbe-bm		Gigabit Ethernet Buffer Manager
  10	sdio		SDIO
  11	usb32-sub2-sys	USB 2 clock
  12	usb32-ss-sys	USB 3 clock
  13	pcie		PCIe controller

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "marvell,armada-3700-periph-clock-sb"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "marvell,armada-3700-periph-clock-nb"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

TBG-A P clock and specifier

Item 2

TBG-B P clock and specifier

Item 3

TBG-A S clock and specifier

Item 4

TBG-B S clock and specifier

Item 5

Xtal clock and specifier

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@13000{
    compatible = "marvell,armada-3700-periph-clock-sb";
    reg = <0x13000 0x1000>;
    clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>, <&tbg 3>, <&xtalclk>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Marvell Armada 3700 Time Base Generator Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,armada-3700-tbg-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"

Marvell Armada 37xx SoCs provide Time Base Generator clocks which are used as parent clocks for the peripheral clocks. The TBG clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. The following is a list of provided IDs and clock names on Armada 3700:

  0 = TBG A P
  1 = TBG B P
  2 = TBG A S
  3 = TBG B S

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "marvell,armada-3700-tbg-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@13200 {
    compatible = "marvell,armada-3700-tbg-clock";
    reg = <0x13200 0x1000>;
    clocks = <&xtalclk>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Marvell Armada 3720 UART clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,armada-3700-uart-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Pali Rohár <pali@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "marvell,armada-3700-uart-clock"

reg — required here #

Array item rules (items) #

Item 1

UART Clock Control Register

Item 2

UART 2 Baud Rate Divisor Register

clocks — required here #

List of parent clocks suitable for UART from following set:
  "TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal"
UART clock can use one from this set and when more are provided
then kernel would choose and configure the most suitable one.
It is suggest to specify at least one TBG clock to achieve
baudrates above 230400 and also to specify clock which bootloader
used for UART (most probably xtal) for smooth boot log on UART.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "TBG-A-P"

Item 2

Exact value (const): "TBG-B-P"

Item 3

Exact value (const): "TBG-A-S"

Item 4

Exact value (const): "TBG-B-S"

Item 5

Exact value (const): "xtal"

Minimum number of items (minItems): 1

#clock-cells — required here #

Exact value (const): 1

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) #

uartclk: clock-controller@12010 {
  compatible = "marvell,armada-3700-uart-clock";
  reg = <0x12010 0x4>, <0x12210 0x4>;
  clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>, <&tbg 3>, <&xtalclk>;
  clock-names = "TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal";
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Marvell EBU CPU Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,armada-xp-cpu-clock.yaml#"

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,armada-xp-cpu-clock", "marvell,mv98dx3236-cpu-clock"

reg — required here #

Array item rules (items) #

Item 1

Clock complex registers

Item 2

PMU DFS registers

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@d0018700 {
    #clock-cells = <1>;
    compatible = "marvell,armada-xp-cpu-clock";
    reg = <0xd0018700 0xa0>, <0x1c054 0x10>;
    clocks = <&coreclk 1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Marvell Berlin Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,berlin2-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jisheng Zhang <jszhang@kernel.org>"

Clock related registers are spread among the chip control registers. Berlin clock node should be a sub-node of the chip controller node. Marvell Berlin2 (BG2, BG2CD, BG2Q) SoCs share the same IP for PLLs and clocks, with some minor differences in features and register layout.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,berlin2-clk", "marvell,berlin2q-clk"

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "refclk", "video_ext0"

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller {
    compatible = "marvell,berlin2q-clk";
    #clock-cells = <1>;
    clocks = <&refclk>;
    clock-names = "refclk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Marvell Armada CP110 System Controller Clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,cp110-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Gregory Clement <gregory.clement@bootlin.com>", "Miquel Raynal <miquel.raynal@bootlin.com>"

The CP110 is one of the two core HW blocks of the Marvell Armada 7K/8K/931x SoCs. It contains system controllers, which provide several registers giving access to numerous features: clocks, pin-muxing and many other SoC configuration items.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "marvell,cp110-clock"

#clock-cells — required here #

Exact value (const): 2

The first cell must be 0 or 1. 0 for the core clocks and 1 for the gateable clocks. The second cell identifies the particular core clock or gateable clocks. The following clocks are available:

  - Core clocks
    - 0 0       APLL
    - 0 1       PPv2 core
    - 0 2       EIP
    - 0 3       Core
    - 0 4       NAND core
    - 0 5       SDIO core
  - Gateable clocks
    - 1 0       Audio
    - 1 1       Comm Unit
    - 1 2       NAND
    - 1 3       PPv2
    - 1 4       SDIO
    - 1 5       MG Domain
    - 1 6       MG Core
    - 1 7       XOR1
    - 1 8       XOR0
    - 1 9       GOP DP
    - 1 11      PCIe x1 0
    - 1 12      PCIe x1 1
    - 1 13      PCIe x4
    - 1 14      PCIe / XOR
    - 1 15      SATA
    - 1 16      SATA USB
    - 1 17      Main
    - 1 18      SD/MMC/GOP
    - 1 21      Slow IO (SPI, NOR, BootROM, I2C, UART)
    - 1 22      USB3H0
    - 1 23      USB3H1
    - 1 24      USB3 Device
    - 1 25      EIP150
    - 1 26      EIP197

Required in this object (required): "compatible", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Marvell Dove PLL Divider Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/marvell,dove-divider-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"

Marvell Dove has a 2GHz PLL, which feeds into a set of dividers to provide high speed clocks for a number of peripherals. These dividers are part of the PMU, and thus this node should be a child of the PMU node. The following clocks are provided:

  ID	Clock
  -------------
  0	AXI bus clock
  1	GPU clock
  2	VMeta clock
  3	LCD clock

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "marvell,dove-divider-clock"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@64 {
    compatible = "marvell,dove-divider-clock";
    reg = <0x0064 0x8>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Marvell MMP2 Audio Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,mmp2-audio-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"

The audio clock controller generates and supplies the clocks to the audio codec.

Each clock is assigned an identifier and client nodes use this identifier to specify the clock which they consume.

All these identifiers could be found in <dt-bindings/clock/marvell,mmp2-audio.h>.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,mmp2-audio-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Audio subsystem clock

Item 2

The crystal oscillator clock

Item 3

First I2S clock

Item 4

Second I2S clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "audio"

Item 2

Exact value (const): "vctcxo"

Item 3

Exact value (const): "i2s0"

Item 4

Exact value (const): "i2s1"

#clock-cells — required here #

Exact value (const): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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/marvell,mmp2-audio.h>
#include <dt-bindings/clock/marvell,mmp2.h>
#include <dt-bindings/power/marvell,mmp2.h>

clock-controller@d42a0c30 {
  compatible = "marvell,mmp2-audio-clock";
  reg = <0xd42a0c30 0x10>;
  clock-names = "audio", "vctcxo", "i2s0", "i2s1";
  clocks = <&soc_clocks MMP2_CLK_AUDIO>,
           <&soc_clocks MMP2_CLK_VCTCXO>,
           <&soc_clocks MMP2_CLK_I2S0>,
           <&soc_clocks MMP2_CLK_I2S1>;
  power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)

Marvell MMP2 and MMP3 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,mmp2-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"

The clock subsystem on MMP2 or MMP3 generates and supplies clock to various controllers within the SoC.

Each clock is assigned an identifier and client nodes use this identifier to specify the clock which they consume.

All these identifiers could be found in <dt-bindings/clock/marvell,mmp2.h>.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,mmp2-clock", "marvell,mmp3-clock"

reg — required here #

Array item rules (items) #

Item 1

MPMU register region

Item 2

APMU register region

Item 3

APBC register region

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mpmu"

Item 2

Exact value (const): "apmu"

Item 3

Exact value (const): "apbc"

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

#power-domain-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "reg-names", "#clock-cells", "#reset-cells", "#power-domain-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@d4050000 {
  compatible = "marvell,mmp2-clock";
  reg = <0xd4050000 0x1000>,
        <0xd4282800 0x400>,
        <0xd4015000 0x1000>;
  reg-names = "mpmu", "apmu", "apbc";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 24: controller compatible with MMP2 SoC

Line 25: controller compatible with MMP3 SoC

Marvell MVEBU SoC core clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,mvebu-core-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"

Marvell MVEBU SoCs usually allow to determine core clock frequencies by reading the Sample-At-Reset (SAR) register. The core clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. The following is a list of provided IDs and clock names on Armada 370/XP: 0 = tclk (Internal Bus clock) 1 = cpuclk (CPU clock) 2 = nbclk (L2 Cache clock) 3 = hclk (DRAM control clock) 4 = dramclk (DDR clock)

The following is a list of provided IDs and clock names on Armada 375: 0 = tclk (Internal Bus clock) 1 = cpuclk (CPU clock) 2 = l2clk (L2 Cache clock) 3 = ddrclk (DDR clock)

The following is a list of provided IDs and clock names on Armada 380/385: 0 = tclk (Internal Bus clock) 1 = cpuclk (CPU clock) 2 = l2clk (L2 Cache clock) 3 = ddrclk (DDR clock)

The following is a list of provided IDs and clock names on Armada 39x: 0 = tclk (Internal Bus clock) 1 = cpuclk (CPU clock) 2 = nbclk (Coherent Fabric clock) 3 = hclk (SDRAM Controller Internal Clock) 4 = dclk (SDRAM Interface Clock) 5 = refclk (Reference Clock)

The following is a list of provided IDs and clock names on 98dx3236: 0 = tclk (Internal Bus clock) 1 = cpuclk (CPU clock) 2 = ddrclk (DDR clock) 3 = mpll (MPLL Clock)

The following is a list of provided IDs and clock names on Kirkwood and Dove: 0 = tclk (Internal Bus clock) 1 = cpuclk (CPU0 clock) 2 = l2clk (L2 Cache clock derived from CPU0 clock) 3 = ddrclk (DDR controller clock derived from CPU0 clock)

The following is a list of provided IDs and clock names on Orion5x: 0 = tclk (Internal Bus clock) 1 = cpuclk (CPU0 clock) 2 = ddrclk (DDR controller clock derived from CPU0 clock)

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,armada-370-core-clock", "marvell,armada-375-core-clock", "marvell,armada-380-core-clock", "marvell,armada-390-core-clock", "marvell,armada-xp-core-clock", "marvell,dove-core-clock", "marvell,kirkwood-core-clock", "marvell,mv88f5181-core-clock", "marvell,mv88f5182-core-clock", "marvell,mv88f5281-core-clock", "marvell,mv88f6180-core-clock", "marvell,mv88f6183-core-clock", "marvell,mv98dx1135-core-clock", "marvell,mv98dx3236-core-clock"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clock-output-names — not listed as required here #

Overwrite default clock output names.

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Marvell PXA1908 Clock Controllers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,pxa1908.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Duje Mihanović <duje.mihanovic@skole.hr>"

The PXA1908 clock subsystem generates and supplies clock to various controllers within the PXA1908 SoC. The PXA1908 contains numerous clock controller blocks, with the ones currently supported being APBC, APBCP, MPMU and APMU roughly corresponding to internal buses.

All these clock identifiers could be found in <include/dt-bindings/marvell,pxa1908.h>.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "marvell,pxa1908-apbc", "marvell,pxa1908-apbcp", "marvell,pxa1908-mpmu"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "marvell,pxa1908-apmu"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#power-domain-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Condition (if) #

This rule must not match (not) #

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "marvell,pxa1908-apmu"

When the condition matches (then) #

Properties and child nodes (properties) #

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

Examples (examples) #

clock-controller@d4282800 {
  compatible = "marvell,pxa1908-apmu", "syscon";
  reg = <0xd4282800 0x400>;
  #clock-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 59: APMU block:

Marvell EBU SoC gating-clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell-armada-370-gating-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"

Marvell Armada 370/375/380/385/39x/XP, Dove and Kirkwood allow some peripheral clocks to be gated to save some power. The clock ID is directly mapped to the corresponding clock gating control bit in HW to ease manual clock lookup in datasheet. The following is a list of provided IDs for Armada 370:

  ID    Clock    Peripheral
  -----------------------------------
  0     Audio    AC97 Cntrl
  1     pex0_en  PCIe 0 Clock out
  2     pex1_en  PCIe 1 Clock out
  3     ge1      Gigabit Ethernet 1
  4     ge0      Gigabit Ethernet 0
  5     pex0     PCIe Cntrl 0
  9     pex1     PCIe Cntrl 1
  15    sata0    SATA Host 0
  17    sdio     SDHCI Host
  23    crypto   CESA (crypto engine)
  25    tdm      Time Division Mplx
  28    ddr      DDR Cntrl
  30    sata1   SATA Host 0

The following is a list of provided IDs for Armada 375:

  ID    Clock           Peripheral
  -----------------------------------
  2     mu              Management Unit
  3     pp              Packet Processor
  4     ptp             PTP
  5     pex0            PCIe 0 Clock out
  6     pex1            PCIe 1 Clock out
  8     audio           Audio Cntrl
  11    nd_clk          Nand Flash Cntrl
  14    sata0_link      SATA 0 Link
  15    sata0_core      SATA 0 Core
  16    usb3            USB3 Host
  17    sdio            SDHCI Host
  18    usb             USB Host
  19    gop             Gigabit Ethernet MAC
  20    sata1_link      SATA 1 Link
  21    sata1_core      SATA 1 Core
  22    xor0            XOR DMA 0
  23    xor1            XOR DMA 0
  24    copro           Coprocessor
  25    tdm             Time Division Mplx
  28    crypto0_enc     Cryptographic Unit Port 0 Encryption
  29    crypto0_core    Cryptographic Unit Port 0 Core
  30    crypto1_enc     Cryptographic Unit Port 1 Encryption
  31    crypto1_core    Cryptographic Unit Port 1 Core

The following is a list of provided IDs for Armada 380/385:

  ID    Clock           Peripheral
  -----------------------------------
  0     audio           Audio
  2     ge2             Gigabit Ethernet 2
  3     ge1             Gigabit Ethernet 1
  4     ge0             Gigabit Ethernet 0
  5     pex1            PCIe 1
  6     pex2            PCIe 2
  7     pex3            PCIe 3
  8     pex0            PCIe 0
  9     usb3h0          USB3 Host 0
  10    usb3h1          USB3 Host 1
  11    usb3d           USB3 Device
  13    bm              Buffer Management
  14    crypto0z        Cryptographic 0 Z
  15    sata0           SATA 0
  16    crypto1z        Cryptographic 1 Z
  17    sdio            SDIO
  18    usb2            USB 2
  21    crypto1         Cryptographic 1
  22    xor0            XOR 0
  23    crypto0         Cryptographic 0
  25    tdm             Time Division Multiplexing
  28    xor1            XOR 1
  30    sata1           SATA 1

The following is a list of provided IDs for Armada 39x:

  ID    Clock           Peripheral
  -----------------------------------
  5     pex1            PCIe 1
  6     pex2            PCIe 2
  7     pex3            PCIe 3
  8     pex0            PCIe 0
  9     usb3h0          USB3 Host 0
  10    usb3h1          USB3 Host 1
  15    sata0           SATA 0
  17    sdio            SDIO
  22    xor0            XOR 0
  28    xor1            XOR 1

The following is a list of provided IDs for Armada XP:

  ID    Clock           Peripheral
  -----------------------------------
  0     audio           Audio Cntrl
  1     ge3             Gigabit Ethernet 3
  2     ge2             Gigabit Ethernet 2
  3     ge1             Gigabit Ethernet 1
  4     ge0             Gigabit Ethernet 0
  5     pex0            PCIe Cntrl 0
  6     pex1            PCIe Cntrl 1
  7     pex2            PCIe Cntrl 2
  8     pex3            PCIe Cntrl 3
  13    bp
  14    sata0lnk
  15    sata0           SATA Host 0
  16    lcd             LCD Cntrl
  17    sdio            SDHCI Host
  18    usb0            USB Host 0
  19    usb1            USB Host 1
  20    usb2            USB Host 2
  22    xor0            XOR DMA 0
  23    crypto          CESA engine
  25    tdm             Time Division Mplx
  28    xor1            XOR DMA 1
  29    sata1lnk
  30    sata1           SATA Host 1

The following is a list of provided IDs for 98dx3236:

  ID    Clock           Peripheral
  -----------------------------------
  3     ge1             Gigabit Ethernet 1
  4     ge0             Gigabit Ethernet 0
  5     pex0            PCIe Cntrl 0
  17    sdio            SDHCI Host
  18    usb0            USB Host 0
  22    xor0            XOR DMA 0
The following is a list of provided IDs for Dove:
ID    Clock           Peripheral -----------------------------------
  0     usb0            USB Host 0
  1     usb1            USB Host 1
  2     ge              Gigabit Ethernet
  3     sata            SATA Host
  4     pex0            PCIe Cntrl 0
  5     pex1            PCIe Cntrl 1
  8     sdio0           SDHCI Host 0
  9     sdio1           SDHCI Host 1
  10    nand            NAND Cntrl
  11    camera          Camera Cntrl
  12    i2s0            I2S Cntrl 0
  13    i2s1            I2S Cntrl 1
  15    crypto          CESA engine
  21    ac97            AC97 Cntrl
  22    pdma            Peripheral DMA
  23    xor0            XOR DMA 0
  24    xor1            XOR DMA 1
  30    gephy           Gigabit Ethernet PHY
  Note: gephy(30) is implemented as a parent clock of ge(2)

The following is a list of provided IDs for Kirkwood:

  ID    Clock           Peripheral
  -----------------------------------
  0     ge0             Gigabit Ethernet 0
  2     pex0            PCIe Cntrl 0
  3     usb0            USB Host 0
  4     sdio            SDIO Cntrl
  5     tsu             Transp. Stream Unit
  6     dunit           SDRAM Cntrl
  7     runit           Runit
  8     xor0            XOR DMA 0
  9     audio           I2S Cntrl 0
  14    sata0           SATA Host 0
  15    sata1           SATA Host 1
  16    xor1            XOR DMA 1
  17    crypto          CESA engine
  18    pex1            PCIe Cntrl 1
  19    ge1             Gigabit Ethernet 1
  20    tdm             Time Division Mplx

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,armada-370-gating-clock", "marvell,armada-375-gating-clock", "marvell,armada-380-gating-clock", "marvell,armada-390-gating-clock", "marvell,armada-xp-gating-clock", "marvell,mv98dx3236-gating-clock", "marvell,dove-gating-clock", "marvell,kirkwood-gating-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@d0038 {
    compatible = "marvell,dove-gating-clock";
    reg = <0xd0038 0x4>;
    /* default parent clock is tclk */
    clocks = <&core_clk 0>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Maxim MAX9485 Programmable Audio Clock Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/maxim,max9485.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Daniel Mack <daniel@zonque.org>"

Maxim MAX9485 Programmable Audio Clock Generator exposes 4 clocks in total:

  - MAX9485_MCLKOUT:  A gated, buffered output of the input clock of 27 MHz
  - MAX9485_CLKOUT:   A PLL that can be configured to 16 different discrete
                      frequencies
  - MAX9485_CLKOUT[1,2]:  Two gated outputs for MAX9485_CLKOUT

MAX9485_CLKOUT[1,2] are children of MAX9485_CLKOUT which upchain all rate set requests.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max9485"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Input clock. Must provide 27 MHz

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xclk"

#clock-cells — required here #

Exact value (const): 1

reset-gpios — not listed as required here #

GPIO descriptor connected to the #RESET input pin

vdd-supply — not listed as required here #

A regulator node for Vdd

clock-output-names — not listed as required here #

Name of output clocks, as defined in common clock bindings

Array item rules (items) #

Item 1

Exact value (const): "mclkout"

Item 2

Exact value (const): "clkout"

Item 3

Exact value (const): "clkout1"

Item 4

Exact value (const): "clkout2"

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/gpio/gpio.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    clock-controller@63 {
        compatible = "maxim,max9485";
        reg = <0x63>;
        #clock-cells = <1>;
        clock-names = "xclk";
        clocks = <&xo_27mhz>;
        reset-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
        vdd-supply = <&reg_3v3>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

MediaTek AP Mixedsys Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,apmixedsys.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Turquette <mturquette@baylibre.com>", "Stephen Boyd <sboyd@kernel.org>"

The Mediatek apmixedsys controller provides PLLs to the system. The clock values can be found in <dt-bindings/clock/mt*-clk.h> and <dt-bindings/clock/mediatek,mt*-apmixedsys.h>.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt6797-apmixedsys", "mediatek,mt7622-apmixedsys", "mediatek,mt7981-apmixedsys", "mediatek,mt7986-apmixedsys", "mediatek,mt7988-apmixedsys", "mediatek,mt8135-apmixedsys", "mediatek,mt8173-apmixedsys", "mediatek,mt8516-apmixedsys"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt7623-apmixedsys"

Item 2

Exact value (const): "mediatek,mt2701-apmixedsys"

Item 3

Exact value (const): "syscon"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt2701-apmixedsys", "mediatek,mt2712-apmixedsys", "mediatek,mt6735-apmixedsys", "mediatek,mt6765-apmixedsys", "mediatek,mt6779-apmixed", "mediatek,mt6795-apmixedsys", "mediatek,mt7629-apmixedsys", "mediatek,mt8167-apmixedsys", "mediatek,mt8183-apmixedsys"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

apmixedsys: clock-controller@10209000 {
    compatible = "mediatek,mt8173-apmixedsys";
    reg = <0x10209000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Mediatek ethsys controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,ethsys.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The available clocks are defined in dt-bindings/clock/mt*-clk.h.

Maintainers (maintainers): "James Liao <jamesjj.liao@mediatek.com>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt2701-ethsys", "mediatek,mt7622-ethsys", "mediatek,mt7629-ethsys", "mediatek,mt7981-ethsys", "mediatek,mt7986-ethsys", "mediatek,mt7988-ethsys"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt7623-ethsys"

Item 2

Exact value (const): "mediatek,mt2701-ethsys"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1b000000 {
    compatible = "mediatek,mt2701-ethsys", "syscon";
    reg = <0x1b000000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

MediaTek Infrastructure System Configuration Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,infracfg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>"

The Mediatek infracfg controller provides various clocks and reset outputs to the system. The clock values can be found in <dt-bindings/clock/mt*-clk.h> and <dt-bindings/clock/mediatek,mt*-infracfg.h>, and reset values in <dt-bindings/reset/mt*-reset.h>, <dt-bindings/reset/mt*-resets.h> and <dt-bindings/reset/mediatek,mt*-infracfg.h>.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt2701-infracfg", "mediatek,mt2712-infracfg", "mediatek,mt6735-infracfg", "mediatek,mt6765-infracfg", "mediatek,mt6795-infracfg", "mediatek,mt6779-infracfg_ao", "mediatek,mt6797-infracfg", "mediatek,mt7622-infracfg", "mediatek,mt7629-infracfg", "mediatek,mt7981-infracfg", "mediatek,mt7986-infracfg", "mediatek,mt7988-infracfg", "mediatek,mt8135-infracfg", "mediatek,mt8167-infracfg", "mediatek,mt8173-infracfg", "mediatek,mt8183-infracfg", "mediatek,mt8516-infracfg"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt7623-infracfg"

Item 2

Exact value (const): "mediatek,mt2701-infracfg"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "mediatek,mt2701-infracfg", "mediatek,mt2712-infracfg", "mediatek,mt6795-infracfg", "mediatek,mt7622-infracfg", "mediatek,mt7986-infracfg", "mediatek,mt8135-infracfg", "mediatek,mt8173-infracfg", "mediatek,mt8183-infracfg"

When the condition matches (then) #

Required in this object (required): "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

infracfg: clock-controller@10001000 {
    compatible = "mediatek,mt8173-infracfg", "syscon";
    reg = <0x10001000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek HIFSYS clock and reset controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt2701-hifsys.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The MediaTek HIFSYS controller provides various clocks and reset outputs to the system.

Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt2701-hifsys", "mediatek,mt7622-hifsys"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt7623-hifsys"

Item 2

Exact value (const): "mediatek,mt2701-hifsys"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

The available clocks are defined in dt-bindings/clock/mt*-clk.h

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1a000000 {
    compatible = "mediatek,mt2701-hifsys";
    reg = <0x1a000000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

MediaTek Functional Clock Controller for MT6795

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt6795-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>", "Chun-Jie Chen <chun-jie.chen@mediatek.com>"

The clock architecture in MediaTek like below
PLLs -->
        dividers -->
                    muxes
                         -->
                            clock gate

The devices provide clock gate control in different IP blocks.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt6795-mfgcfg", "mediatek,mt6795-vdecsys", "mediatek,mt6795-vencsys"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    mfgcfg: clock-controller@13000000 {
        compatible = "mediatek,mt6795-mfgcfg";
        reg = <0 0x13000000 0 0x1000>;
        #clock-cells = <1>;
    };

    vdecsys: clock-controller@16000000 {
        compatible = "mediatek,mt6795-vdecsys";
        reg = <0 0x16000000 0 0x1000>;
        #clock-cells = <1>;
    };

    vencsys: clock-controller@18000000 {
        compatible = "mediatek,mt6795-vencsys";
        reg = <0 0x18000000 0 0x1000>;
        #clock-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MT7621 Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt7621-sysc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sergio Paracuellos <sergio.paracuellos@gmail.com>"

The MT7621 has a PLL controller from where the cpu clock is provided as well as derived clocks for the bus and the peripherals. It also can gate SoC device clocks.

Each clock is assigned an identifier and client nodes use this identifier to specify the clock which they consume.

All these identifiers could be found in: [1]: <include/dt-bindings/clock/mt7621-clk.h>.

The clocks are provided inside a system controller node.

This node is also a reset provider for all the peripherals.

Reset related bits are defined in: [2]: <include/dt-bindings/reset/mt7621-reset.h>.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "mediatek,mt7621-sysc"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

The first cell indicates the clock number, see [1] for available clocks.

Exact value (const): 1

#reset-cells — not listed as required here #

The first cell indicates the reset bit within the register, see [2] for available resets.

Exact value (const): 1

ralink,memctl — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle of syscon used to control memory registers

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 8

Required in this object (required): "compatible", "reg", "#clock-cells", "ralink,memctl"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt7621-clk.h>

sysc: sysc@0 {
  compatible = "mediatek,mt7621-sysc", "syscon";
  reg = <0x0 0x100>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  ralink,memctl = <&memc>;
  clock-output-names = "xtal", "cpu", "bus",
                       "50m", "125m", "150m",
                       "250m", "270m";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

MediaTek PCIESYS clock and reset controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt7622-pciesys.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The MediaTek PCIESYS controller provides various clocks to the system.

Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "mediatek,mt7622-pciesys", "mediatek,mt7629-pciesys"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

The available clocks are defined in dt-bindings/clock/mt*-clk.h

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1a100800 {
    compatible = "mediatek,mt7622-pciesys";
    reg = <0x1a100800 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

MediaTek SSUSBSYS clock and reset controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt7622-ssusbsys.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The MediaTek SSUSBSYS controller provides various clocks to the system.

Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "mediatek,mt7622-ssusbsys", "mediatek,mt7629-ssusbsys"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

The available clocks are defined in dt-bindings/clock/mt*-clk.h

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1a000000 {
    compatible = "mediatek,mt7622-ssusbsys";
    reg = <0x1a000000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

MediaTek MT7988 ethwarp Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt7988-ethwarp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Daniel Golle <daniel@makrotopia.org>"

The Mediatek MT7988 ethwarp controller provides clocks and resets for the Ethernet related subsystems found the MT7988 SoC. The clock values can be found in <dt-bindings/clock/mt*-clk.h>.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "mediatek,mt7988-ethwarp"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/reset/ti-syscon.h>
soc {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@15031000 {
        compatible = "mediatek,mt7988-ethwarp";
        reg = <0 0x15031000 0 0x1000>;
        #clock-cells = <1>;
        #reset-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek MT7988 XFI PLL Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt7988-xfi-pll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Daniel Golle <daniel@makrotopia.org>"

The MediaTek XFI PLL controller provides the 156.25MHz clock for the Ethernet SerDes PHY from the 40MHz top_xtal clock.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mediatek,mt7988-xfi-pll"

reg — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "resets", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

soc {
    #address-cells = <2>;
    #size-cells = <2>;
    clock-controller@11f40000 {
        compatible = "mediatek,mt7988-xfi-pll";
        reg = <0 0x11f40000 0 0x1000>;
        resets = <&watchdog 16>;
        #clock-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek Functional Clock Controller for MT8186

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8186-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chun-Jie Chen <chun-jie.chen@mediatek.com>"

The clock architecture in MediaTek like below
PLLs -->
        dividers -->
                    muxes
                         -->
                            clock gate

The devices provide clock gate control in different IP blocks.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8186-imp_iic_wrap", "mediatek,mt8186-mfgsys", "mediatek,mt8186-wpesys", "mediatek,mt8186-imgsys1", "mediatek,mt8186-imgsys2", "mediatek,mt8186-vdecsys", "mediatek,mt8186-vencsys", "mediatek,mt8186-camsys", "mediatek,mt8186-camsys_rawa", "mediatek,mt8186-camsys_rawb", "mediatek,mt8186-mdpsys", "mediatek,mt8186-ipesys"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

imp_iic_wrap: clock-controller@11017000 {
    compatible = "mediatek,mt8186-imp_iic_wrap";
    reg = <0x11017000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek frequency hopping and spread spectrum clocking control

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8186-fhctl.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Edward-JW Yang <edward-jw.yang@mediatek.com>"

Frequency hopping control (FHCTL) is a piece of hardware that control some PLLs to adopt "hopping" mechanism to adjust their frequency. Spread spectrum clocking (SSC) is another function provided by this hardware.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt6795-fhctl", "mediatek,mt8173-fhctl", "mediatek,mt8186-fhctl", "mediatek,mt8192-fhctl", "mediatek,mt8195-fhctl"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Phandles of the PLL with FHCTL hardware capability.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 30

mediatek,hopping-ssc-percent — not listed as required here #

The percentage of spread spectrum clocking for one PLL.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 30

Array item rules (items) #

Default value (default): 0

Minimum value (minimum): 0

Maximum value (maximum): 8

Required in this object (required): "compatible", "reg", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8186-clk.h>
fhctl: fhctl@1000ce00 {
    compatible = "mediatek,mt8186-fhctl";
    reg = <0x1000ce00 0x200>;
    clocks = <&apmixedsys CLK_APMIXED_MSDCPLL>;
    mediatek,hopping-ssc-percent = <3>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek System Clock Controller for MT8186

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8186-sys-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chun-Jie Chen <chun-jie.chen@mediatek.com>"

The clock architecture in MediaTek like below
PLLs -->
        dividers -->
                    muxes
                         -->
                            clock gate

The apmixedsys provides most of PLLs which generated from SoC 26m. The topckgen provides dividers and muxes which provide the clock source to other IP blocks. The infracfg_ao provides clock gate in peripheral and infrastructure IP blocks. The mcusys provides mux control to select the clock source in AP MCU. The device nodes also provide the system control capacity for configuration.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8186-mcusys", "mediatek,mt8186-topckgen", "mediatek,mt8186-infracfg_ao", "mediatek,mt8186-apmixedsys"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

topckgen: syscon@10000000 {
    compatible = "mediatek,mt8186-topckgen", "syscon";
    reg = <0x10000000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek Functional Clock Controller for MT8188

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8188-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Garmin Chang <garmin.chang@mediatek.com>"

The clock architecture in MediaTek like below
PLLs -->
        dividers -->
                    muxes
                         -->
                            clock gate

The devices provide clock gate control in different IP blocks.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt8188-adsp-audio26m", "mediatek,mt8188-camsys", "mediatek,mt8188-camsys-rawa", "mediatek,mt8188-camsys-rawb", "mediatek,mt8188-camsys-yuva", "mediatek,mt8188-camsys-yuvb", "mediatek,mt8188-ccusys", "mediatek,mt8188-imgsys", "mediatek,mt8188-imgsys-wpe1", "mediatek,mt8188-imgsys-wpe2", "mediatek,mt8188-imgsys-wpe3", "mediatek,mt8188-imgsys1-dip-nr", "mediatek,mt8188-imgsys1-dip-top", "mediatek,mt8188-imp-iic-wrap-c", "mediatek,mt8188-imp-iic-wrap-en", "mediatek,mt8188-imp-iic-wrap-w", "mediatek,mt8188-ipesys", "mediatek,mt8188-mfgcfg", "mediatek,mt8188-vdecsys", "mediatek,mt8188-vdecsys-soc", "mediatek,mt8188-vencsys", "mediatek,mt8188-wpesys", "mediatek,mt8188-wpesys-vpp0"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "mediatek,mt8188-camsys-rawa", "mediatek,mt8188-camsys-rawb", "mediatek,mt8188-camsys-yuva", "mediatek,mt8188-camsys-yuvb", "mediatek,mt8188-imgsys-wpe1", "mediatek,mt8188-imgsys-wpe2", "mediatek,mt8188-imgsys-wpe3", "mediatek,mt8188-imgsys1-dip-nr", "mediatek,mt8188-imgsys1-dip-top", "mediatek,mt8188-ipesys"

When the condition matches (then) #

Required in this object (required): "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@11283000 {
    compatible = "mediatek,mt8188-imp-iic-wrap-c";
    reg = <0x11283000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek System Clock Controller for MT8188

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8188-sys-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Garmin Chang <garmin.chang@mediatek.com>"

The clock architecture in MediaTek like below
PLLs -->
        dividers -->
                    muxes
                         -->
                            clock gate

The apmixedsys provides most of PLLs which generated from SoC 26m. The topckgen provides dividers and muxes which provide the clock source to other IP blocks. The infracfg_ao provides clock gate in peripheral and infrastructure IP blocks. The mcusys provides mux control to select the clock source in AP MCU. The device nodes also provide the system control capacity for configuration.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8188-apmixedsys", "mediatek,mt8188-infracfg-ao", "mediatek,mt8188-pericfg-ao", "mediatek,mt8188-topckgen"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@10000000 {
    compatible = "mediatek,mt8188-topckgen", "syscon";
    reg = <0x10000000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek Functional Clock Controller for MT8192

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8192-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chun-Jie Chen <chun-jie.chen@mediatek.com>"

The Mediatek functional clock controller provides various clocks on MT8192.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8192-scp_adsp", "mediatek,mt8192-imp_iic_wrap_c", "mediatek,mt8192-imp_iic_wrap_e", "mediatek,mt8192-imp_iic_wrap_s", "mediatek,mt8192-imp_iic_wrap_ws", "mediatek,mt8192-imp_iic_wrap_w", "mediatek,mt8192-imp_iic_wrap_n", "mediatek,mt8192-msdc_top", "mediatek,mt8192-mfgcfg", "mediatek,mt8192-imgsys", "mediatek,mt8192-imgsys2", "mediatek,mt8192-vdecsys_soc", "mediatek,mt8192-vdecsys", "mediatek,mt8192-vencsys", "mediatek,mt8192-camsys", "mediatek,mt8192-camsys_rawa", "mediatek,mt8192-camsys_rawb", "mediatek,mt8192-camsys_rawc", "mediatek,mt8192-ipesys", "mediatek,mt8192-mdpsys"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

scp_adsp: clock-controller@10720000 {
    compatible = "mediatek,mt8192-scp_adsp";
    reg = <0x10720000 0x1000>;
    #clock-cells = <1>;
};
imp_iic_wrap_c: clock-controller@11007000 {
    compatible = "mediatek,mt8192-imp_iic_wrap_c";
    reg = <0x11007000 0x1000>;
    #clock-cells = <1>;
};
imp_iic_wrap_e: clock-controller@11cb1000 {
    compatible = "mediatek,mt8192-imp_iic_wrap_e";
    reg = <0x11cb1000 0x1000>;
    #clock-cells = <1>;
};
imp_iic_wrap_s: clock-controller@11d03000 {
    compatible = "mediatek,mt8192-imp_iic_wrap_s";
    reg = <0x11d03000 0x1000>;
    #clock-cells = <1>;
};
imp_iic_wrap_ws: clock-controller@11d23000 {
    compatible = "mediatek,mt8192-imp_iic_wrap_ws";
    reg = <0x11d23000 0x1000>;
    #clock-cells = <1>;
};
imp_iic_wrap_w: clock-controller@11e01000 {
    compatible = "mediatek,mt8192-imp_iic_wrap_w";
    reg = <0x11e01000 0x1000>;
    #clock-cells = <1>;
};
imp_iic_wrap_n: clock-controller@11f02000 {
    compatible = "mediatek,mt8192-imp_iic_wrap_n";
    reg = <0x11f02000 0x1000>;
    #clock-cells = <1>;
};
msdc_top: clock-controller@11f10000 {
    compatible = "mediatek,mt8192-msdc_top";
    reg = <0x11f10000 0x1000>;
    #clock-cells = <1>;
};
mfgcfg: clock-controller@13fbf000 {
    compatible = "mediatek,mt8192-mfgcfg";
    reg = <0x13fbf000 0x1000>;
    #clock-cells = <1>;
};
imgsys: clock-controller@15020000 {
    compatible = "mediatek,mt8192-imgsys";
    reg = <0x15020000 0x1000>;
    #clock-cells = <1>;
};
imgsys2: clock-controller@15820000 {
    compatible = "mediatek,mt8192-imgsys2";
    reg = <0x15820000 0x1000>;
    #clock-cells = <1>;
};
vdecsys_soc: clock-controller@1600f000 {
    compatible = "mediatek,mt8192-vdecsys_soc";
    reg = <0x1600f000 0x1000>;
    #clock-cells = <1>;
};
vdecsys: clock-controller@1602f000 {
    compatible = "mediatek,mt8192-vdecsys";
    reg = <0x1602f000 0x1000>;
    #clock-cells = <1>;
};
vencsys: clock-controller@17000000 {
    compatible = "mediatek,mt8192-vencsys";
    reg = <0x17000000 0x1000>;
    #clock-cells = <1>;
};
camsys: clock-controller@1a000000 {
    compatible = "mediatek,mt8192-camsys";
    reg = <0x1a000000 0x1000>;
    #clock-cells = <1>;
};
camsys_rawa: clock-controller@1a04f000 {
    compatible = "mediatek,mt8192-camsys_rawa";
    reg = <0x1a04f000 0x1000>;
    #clock-cells = <1>;
};
camsys_rawb: clock-controller@1a06f000 {
    compatible = "mediatek,mt8192-camsys_rawb";
    reg = <0x1a06f000 0x1000>;
    #clock-cells = <1>;
};
camsys_rawc: clock-controller@1a08f000 {
    compatible = "mediatek,mt8192-camsys_rawc";
    reg = <0x1a08f000 0x1000>;
    #clock-cells = <1>;
};
ipesys: clock-controller@1b000000 {
    compatible = "mediatek,mt8192-ipesys";
    reg = <0x1b000000 0x1000>;
    #clock-cells = <1>;
};
mdpsys: clock-controller@1f000000 {
    compatible = "mediatek,mt8192-mdpsys";
    reg = <0x1f000000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek System Clock Controller for MT8192

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8192-sys-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chun-Jie Chen <chun-jie.chen@mediatek.com>"

The Mediatek system clock controller provides various clocks and system configuration like reset and bus protection on MT8192.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8192-topckgen", "mediatek,mt8192-infracfg", "mediatek,mt8192-pericfg", "mediatek,mt8192-apmixedsys"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

topckgen: syscon@10000000 {
    compatible = "mediatek,mt8192-topckgen", "syscon";
    reg = <0x10000000 0x1000>;
    #clock-cells = <1>;
};
infracfg: syscon@10001000 {
    compatible = "mediatek,mt8192-infracfg", "syscon";
    reg = <0x10001000 0x1000>;
    #clock-cells = <1>;
};
pericfg: syscon@10003000 {
    compatible = "mediatek,mt8192-pericfg", "syscon";
    reg = <0x10003000 0x1000>;
    #clock-cells = <1>;
};
apmixedsys: syscon@1000c000 {
    compatible = "mediatek,mt8192-apmixedsys", "syscon";
    reg = <0x1000c000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek Functional Clock Controller for MT8195

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8195-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chun-Jie Chen <chun-jie.chen@mediatek.com>"

The clock architecture in Mediatek like below PLLs --> dividers --> muxes --> clock gate The devices except apusys_pll provide clock gate control in different IP blocks. The apusys_pll provides Plls which generated from SoC 26m for AI Processing Unit.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8195-scp_adsp", "mediatek,mt8195-imp_iic_wrap_s", "mediatek,mt8195-imp_iic_wrap_w", "mediatek,mt8195-mfgcfg", "mediatek,mt8195-wpesys", "mediatek,mt8195-wpesys_vpp0", "mediatek,mt8195-wpesys_vpp1", "mediatek,mt8195-imgsys", "mediatek,mt8195-imgsys1_dip_top", "mediatek,mt8195-imgsys1_dip_nr", "mediatek,mt8195-imgsys1_wpe", "mediatek,mt8195-ipesys", "mediatek,mt8195-camsys", "mediatek,mt8195-camsys_rawa", "mediatek,mt8195-camsys_yuva", "mediatek,mt8195-camsys_rawb", "mediatek,mt8195-camsys_yuvb", "mediatek,mt8195-camsys_mraw", "mediatek,mt8195-ccusys", "mediatek,mt8195-vdecsys_soc", "mediatek,mt8195-vdecsys", "mediatek,mt8195-vdecsys_core1", "mediatek,mt8195-vencsys", "mediatek,mt8195-vencsys_core1", "mediatek,mt8195-apusys_pll"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

scp_adsp: clock-controller@10720000 {
    compatible = "mediatek,mt8195-scp_adsp";
    reg = <0x10720000 0x1000>;
    #clock-cells = <1>;
};
imp_iic_wrap_s: clock-controller@11d03000 {
    compatible = "mediatek,mt8195-imp_iic_wrap_s";
    reg = <0x11d03000 0x1000>;
    #clock-cells = <1>;
};
imp_iic_wrap_w: clock-controller@11e05000 {
    compatible = "mediatek,mt8195-imp_iic_wrap_w";
    reg = <0x11e05000 0x1000>;
    #clock-cells = <1>;
};
mfgcfg: clock-controller@13fbf000 {
    compatible = "mediatek,mt8195-mfgcfg";
    reg = <0x13fbf000 0x1000>;
    #clock-cells = <1>;
};
wpesys: clock-controller@14e00000 {
    compatible = "mediatek,mt8195-wpesys";
    reg = <0x14e00000 0x1000>;
    #clock-cells = <1>;
};
wpesys_vpp0: clock-controller@14e02000 {
    compatible = "mediatek,mt8195-wpesys_vpp0";
    reg = <0x14e02000 0x1000>;
    #clock-cells = <1>;
};
wpesys_vpp1: clock-controller@14e03000 {
    compatible = "mediatek,mt8195-wpesys_vpp1";
    reg = <0x14e03000 0x1000>;
    #clock-cells = <1>;
};
imgsys: clock-controller@15000000 {
    compatible = "mediatek,mt8195-imgsys";
    reg = <0x15000000 0x1000>;
    #clock-cells = <1>;
};
imgsys1_dip_top: clock-controller@15110000 {
    compatible = "mediatek,mt8195-imgsys1_dip_top";
    reg = <0x15110000 0x1000>;
    #clock-cells = <1>;
};
imgsys1_dip_nr: clock-controller@15130000 {
    compatible = "mediatek,mt8195-imgsys1_dip_nr";
    reg = <0x15130000 0x1000>;
    #clock-cells = <1>;
};
imgsys1_wpe: clock-controller@15220000 {
    compatible = "mediatek,mt8195-imgsys1_wpe";
    reg = <0x15220000 0x1000>;
    #clock-cells = <1>;
};
ipesys: clock-controller@15330000 {
    compatible = "mediatek,mt8195-ipesys";
    reg = <0x15330000 0x1000>;
    #clock-cells = <1>;
};
camsys: clock-controller@16000000 {
    compatible = "mediatek,mt8195-camsys";
    reg = <0x16000000 0x1000>;
    #clock-cells = <1>;
};
camsys_rawa: clock-controller@1604f000 {
    compatible = "mediatek,mt8195-camsys_rawa";
    reg = <0x1604f000 0x1000>;
    #clock-cells = <1>;
};
camsys_yuva: clock-controller@1606f000 {
    compatible = "mediatek,mt8195-camsys_yuva";
    reg = <0x1606f000 0x1000>;
    #clock-cells = <1>;
};
camsys_rawb: clock-controller@1608f000 {
    compatible = "mediatek,mt8195-camsys_rawb";
    reg = <0x1608f000 0x1000>;
    #clock-cells = <1>;
};
camsys_yuvb: clock-controller@160af000 {
    compatible = "mediatek,mt8195-camsys_yuvb";
    reg = <0x160af000 0x1000>;
    #clock-cells = <1>;
};
camsys_mraw: clock-controller@16140000 {
    compatible = "mediatek,mt8195-camsys_mraw";
    reg = <0x16140000 0x1000>;
    #clock-cells = <1>;
};
ccusys: clock-controller@17200000 {
    compatible = "mediatek,mt8195-ccusys";
    reg = <0x17200000 0x1000>;
    #clock-cells = <1>;
};
vdecsys_soc: clock-controller@1800f000 {
    compatible = "mediatek,mt8195-vdecsys_soc";
    reg = <0x1800f000 0x1000>;
    #clock-cells = <1>;
};
vdecsys: clock-controller@1802f000 {
    compatible = "mediatek,mt8195-vdecsys";
    reg = <0x1802f000 0x1000>;
    #clock-cells = <1>;
};
vdecsys_core1: clock-controller@1803f000 {
    compatible = "mediatek,mt8195-vdecsys_core1";
    reg = <0x1803f000 0x1000>;
    #clock-cells = <1>;
};
vencsys: clock-controller@1a000000 {
    compatible = "mediatek,mt8195-vencsys";
    reg = <0x1a000000 0x1000>;
    #clock-cells = <1>;
};
vencsys_core1: clock-controller@1b000000 {
    compatible = "mediatek,mt8195-vencsys_core1";
    reg = <0x1b000000 0x1000>;
    #clock-cells = <1>;
};
apusys_pll: clock-controller@190f3000 {
    compatible = "mediatek,mt8195-apusys_pll";
    reg = <0x190f3000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek System Clock Controller for MT8195

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8195-sys-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chun-Jie Chen <chun-jie.chen@mediatek.com>"

The clock architecture in Mediatek like below PLLs --> dividers --> muxes --> clock gate The apmixedsys provides most of PLLs which generated from SoC 26m. The topckgen provides dividers and muxes which provide the clock source to other IP blocks. The infracfg_ao and pericfg_ao provides clock gate in peripheral and infrastructure IP blocks.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8195-topckgen", "mediatek,mt8195-infracfg_ao", "mediatek,mt8195-apmixedsys", "mediatek,mt8195-pericfg_ao"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

topckgen: syscon@10000000 {
    compatible = "mediatek,mt8195-topckgen", "syscon";
    reg = <0x10000000 0x1000>;
    #clock-cells = <1>;
};
infracfg_ao: syscon@10001000 {
    compatible = "mediatek,mt8195-infracfg_ao", "syscon";
    reg = <0x10001000 0x1000>;
    #clock-cells = <1>;
};
apmixedsys: syscon@1000c000 {
    compatible = "mediatek,mt8195-apmixedsys", "syscon";
    reg = <0x1000c000 0x1000>;
    #clock-cells = <1>;
};
pericfg_ao: syscon@11003000 {
    compatible = "mediatek,mt8195-pericfg_ao", "syscon";
    reg = <0x11003000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek Functional Clock Controller for MT8196

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8196-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Guangjie Song <guangjie.song@mediatek.com>", "Laura Nao <laura.nao@collabora.com>"

The clock architecture in MediaTek SoCs is structured like below:
PLLs -->
        dividers -->
                    muxes
                         -->
                            clock gate

The device nodes provide clock gate control in different IP blocks.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8196-imp-iic-wrap-c", "mediatek,mt8196-imp-iic-wrap-e", "mediatek,mt8196-imp-iic-wrap-n", "mediatek,mt8196-imp-iic-wrap-w", "mediatek,mt8196-mdpsys0", "mediatek,mt8196-mdpsys1", "mediatek,mt8196-pericfg-ao", "mediatek,mt8196-pextp0cfg-ao", "mediatek,mt8196-pextp1cfg-ao", "mediatek,mt8196-ufscfg-ao", "mediatek,mt8196-vencsys", "mediatek,mt8196-vencsys-c1", "mediatek,mt8196-vencsys-c2", "mediatek,mt8196-vdecsys", "mediatek,mt8196-vdecsys-soc", "mediatek,mt8196-vdisp-ao"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

Reset lines for PEXTP0/1 and UFS blocks.

mediatek,hardware-voter — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the "Hardware Voter" (HWV), as named in the vendor documentation for MT8196/MT6991.

The HWV is a SoC-internal fixed-function MCU used to collect votes from both the Application Processor and other remote processors within the SoC. It is intended to transparently enable or disable hardware resources (such as power domains or clocks) based on internal vote aggregation handled by the MCU's internal state machine.

However, in practice, this design is incomplete. While the HWV performs some internal vote aggregation,software is still required to - Manually enable power supplies externally, if present and if required - Manually enable parent clocks via direct MMIO writes to clock controllers - Enable the FENC after the clock has been ungated via direct MMIO writes to clock controllers

As such, the HWV behaves more like a hardware-managed clock reference counter than a true voter. Furthermore, it is not a separate controller. It merely serves as an alternative interface to the same underlying clock or power controller. Actual control still requires direct access to the controller's own MMIO register space, in addition to writing to the HWV's MMIO region.

For this reason, a custom phandle is used here - drivers need to directly access the HWV MMIO region in a syscon-like fashion, due to how the hardware is wired. This differs from true hardware voting systems, which typically do not require custom phandles and rely instead on generic APIs (clocks, power domains, interconnects).

The name "hardware-voter" is retained to match vendor documentation, but this should not be reused or misunderstood as a proper voting mechanism.

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pericfg_ao: clock-controller@16640000 {
    compatible = "mediatek,mt8196-pericfg-ao", "syscon";
    reg = <0x16640000 0x1000>;
    mediatek,hardware-voter = <&scp_hwv>;
    #clock-cells = <1>;
};
pextp0cfg_ao: clock-controller@169b0000 {
    compatible = "mediatek,mt8196-pextp0cfg-ao", "syscon";
    reg = <0x169b0000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek System Clock Controller for MT8196

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8196-sys-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Guangjie Song <guangjie.song@mediatek.com>", "Laura Nao <laura.nao@collabora.com>"

The clock architecture in MediaTek SoCs is structured like below:
PLLs -->
        dividers -->
                    muxes
                         -->
                            clock gate

The apmixedsys, apmixedsys_gp2, vlpckgen, armpll, ccipll, mfgpll and ptppll provide most of the PLLs which are generated from the SoC's 26MHZ crystal oscillator. The topckgen, topckgen_gp2 and vlpckgen provide dividers and muxes which provide the clock source to other IP blocks.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8196-apmixedsys", "mediatek,mt8196-armpll-b-pll-ctrl", "mediatek,mt8196-armpll-bl-pll-ctrl", "mediatek,mt8196-armpll-ll-pll-ctrl", "mediatek,mt8196-apmixedsys-gp2", "mediatek,mt8196-ccipll-pll-ctrl", "mediatek,mt8196-mfgpll-pll-ctrl", "mediatek,mt8196-mfgpll-sc0-pll-ctrl", "mediatek,mt8196-mfgpll-sc1-pll-ctrl", "mediatek,mt8196-ptppll-pll-ctrl", "mediatek,mt8196-topckgen", "mediatek,mt8196-topckgen-gp2", "mediatek,mt8196-vlpckgen"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

mediatek,hardware-voter — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the "Hardware Voter" (HWV), as named in the vendor documentation for MT8196/MT6991.

The HWV is a SoC-internal fixed-function MCU used to collect votes from both the Application Processor and other remote processors within the SoC. It is intended to transparently enable or disable hardware resources (such as power domains or clocks) based on internal vote aggregation handled by the MCU's internal state machine.

However, in practice, this design is incomplete. While the HWV performs some internal vote aggregation,software is still required to - Manually enable power supplies externally, if present and if required - Manually enable parent clocks via direct MMIO writes to clock controllers - Enable the FENC after the clock has been ungated via direct MMIO writes to clock controllers

As such, the HWV behaves more like a hardware-managed clock reference counter than a true voter. Furthermore, it is not a separate controller. It merely serves as an alternative interface to the same underlying clock or power controller. Actual control still requires direct access to the controller's own MMIO register space, in addition to writing to the HWV's MMIO region.

For this reason, a custom phandle is used here - drivers need to directly access the HWV MMIO region in a syscon-like fashion, due to how the hardware is wired. This differs from true hardware voting systems, which typically do not require custom phandles and rely instead on generic APIs (clocks, power domains, interconnects).

The name "hardware-voter" is retained to match vendor documentation, but this should not be reused or misunderstood as a proper voting mechanism.

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

apmixedsys_clk: syscon@10000800 {
    compatible = "mediatek,mt8196-apmixedsys", "syscon";
    reg = <0x10000800 0x1000>;
    #clock-cells = <1>;
};
topckgen: syscon@10000000 {
    compatible = "mediatek,mt8196-topckgen", "syscon";
    reg = <0x10000000 0x800>;
    mediatek,hardware-voter = <&scp_hwv>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek Functional Clock Controller for MT8365

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8365-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Markus Schneider-Pargmann <msp@baylibre.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8365-apu", "mediatek,mt8365-imgsys", "mediatek,mt8365-mfgcfg", "mediatek,mt8365-vdecsys", "mediatek,mt8365-vencsys"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

apu: clock-controller@19020000 {
    compatible = "mediatek,mt8365-apu", "syscon";
    reg = <0x19020000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek System Clock Controller for MT8365

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mt8365-sys-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Markus Schneider-Pargmann <msp@baylibre.com>"

The apmixedsys module provides most of PLLs which generated from SoC 26m. The topckgen provides dividers and muxes which provides the clock source to other IP blocks. The infracfg_ao and pericfg_ao provides clock gate in peripheral and infrastructure IP blocks.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt8365-topckgen", "mediatek,mt8365-infracfg", "mediatek,mt8365-apmixedsys", "mediatek,mt8365-pericfg", "mediatek,mt8365-mcucfg"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

topckgen: clock-controller@10000000 {
    compatible = "mediatek,mt8365-topckgen", "syscon";
    reg = <0x10000000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MTMIPS SoCs System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,mtmips-sysc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sergio Paracuellos <sergio.paracuellos@gmail.com>"

MediaTek MIPS and Ralink SoCs provides a system controller to allow to access to system control registers. These registers include clock and reset related ones so this node is both clock and reset provider for the rest of the world.

These SoCs have an XTAL from where the cpu clock is provided as well as derived clocks for the bus and the peripherals.

Each clock is assigned an identifier and client nodes use this identifier to specify the clock which they consume.

All these identifiers could be found in: [1]: <include/dt-bindings/clock/mediatek,mtmips-sysc.h>.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "ralink,mt7620-sysc", "ralink,mt7688-sysc", "ralink,rt2880-sysc", "ralink,rt3050-sysc", "ralink,rt3052-sysc", "ralink,rt3352-sysc", "ralink,rt3883-sysc", "ralink,rt5350-sysc"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "ralink,mt7628-sysc"

Item 2

Exact value (const): "ralink,mt7688-sysc"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

The first cell indicates the clock number, see [1] for available clocks.

Exact value (const): 1

#reset-cells — required here #

The first cell indicates the reset bit within the register.

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mediatek,mtmips-sysc.h>

syscon@0 {
  compatible = "ralink,rt5350-sysc", "syscon";
  reg = <0x0 0x100>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

MediaTek Peripheral Configuration Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,pericfg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bartosz Golaszewski <bgolaszewski@baylibre.com>"

The Mediatek pericfg controller provides various clocks and reset outputs to the system.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt2701-pericfg", "mediatek,mt2712-pericfg", "mediatek,mt6735-pericfg", "mediatek,mt6765-pericfg", "mediatek,mt6795-pericfg", "mediatek,mt7622-pericfg", "mediatek,mt7629-pericfg", "mediatek,mt8135-pericfg", "mediatek,mt8173-pericfg", "mediatek,mt8183-pericfg", "mediatek,mt8186-pericfg", "mediatek,mt8188-pericfg", "mediatek,mt8195-pericfg", "mediatek,mt8516-pericfg"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt7623-pericfg"

Item 2

Exact value (const): "mediatek,mt2701-pericfg"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pericfg@10003000 {
    compatible = "mediatek,mt8173-pericfg", "syscon";
    reg = <0x10003000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};
pericfg@10003000 {
    compatible =  "mediatek,mt7623-pericfg", "mediatek,mt2701-pericfg", "syscon";
    reg = <0x10003000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 37: Special case for mt7623 for backward compatibility

MediaTek Clock controller syscon's

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,syscon.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"

The MediaTek clock controller syscon's provide various clocks to the system.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt2701-bdpsys", "mediatek,mt2701-imgsys", "mediatek,mt2701-vdecsys", "mediatek,mt2712-bdpsys", "mediatek,mt2712-imgsys", "mediatek,mt2712-jpgdecsys", "mediatek,mt2712-mcucfg", "mediatek,mt2712-mfgcfg", "mediatek,mt2712-vdecsys", "mediatek,mt2712-vencsys", "mediatek,mt6735-imgsys", "mediatek,mt6735-mfgcfg", "mediatek,mt6735-vdecsys", "mediatek,mt6735-vencsys", "mediatek,mt6765-camsys", "mediatek,mt6765-imgsys", "mediatek,mt6765-mipi0a", "mediatek,mt6765-vcodecsys", "mediatek,mt6779-camsys", "mediatek,mt6779-imgsys", "mediatek,mt6779-ipesys", "mediatek,mt6779-mfgcfg", "mediatek,mt6779-vdecsys", "mediatek,mt6779-vencsys", "mediatek,mt6797-imgsys", "mediatek,mt6797-vdecsys", "mediatek,mt6797-vencsys", "mediatek,mt8167-imgsys", "mediatek,mt8167-mfgcfg", "mediatek,mt8167-vdecsys", "mediatek,mt8173-imgsys", "mediatek,mt8173-vdecsys", "mediatek,mt8173-vencltsys", "mediatek,mt8173-vencsys", "mediatek,mt8183-camsys", "mediatek,mt8183-imgsys", "mediatek,mt8183-ipu_conn", "mediatek,mt8183-ipu_adl", "mediatek,mt8183-ipu_core0", "mediatek,mt8183-ipu_core1", "mediatek,mt8183-mcucfg", "mediatek,mt8183-mfgcfg", "mediatek,mt8183-vdecsys", "mediatek,mt8183-vencsys"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt7623-bdpsys"

Item 2

Exact value (const): "mediatek,mt2701-bdpsys"

Item 3

Exact value (const): "syscon"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt7623-imgsys"

Item 2

Exact value (const): "mediatek,mt2701-imgsys"

Item 3

Exact value (const): "syscon"

Rule 4

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt7623-vdecsys"

Item 2

Exact value (const): "mediatek,mt2701-vdecsys"

Item 3

Exact value (const): "syscon"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "#clock-cells"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "mediatek,mt8183-mfgcfg"

When the condition matches (then) #

Properties and child nodes (properties) #

power-domains — not listed as required here #

true — No constraints added by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties) #

power-domains — not listed as required here #

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@11220000 {
    compatible = "mediatek,mt2701-bdpsys", "syscon";
    reg = <0x11220000 0x2000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MediaTek Top Clock Generator Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,topckgen.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Turquette <mturquette@baylibre.com>", "Stephen Boyd <sboyd@kernel.org>"

The Mediatek topckgen controller provides various clocks to the system. The clock values can be found in <dt-bindings/clock/mt*-clk.h> and <dt-bindings/clock/mediatek,mt*-topckgen.h>.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt6797-topckgen", "mediatek,mt7622-topckgen", "mediatek,mt8135-topckgen", "mediatek,mt8173-topckgen", "mediatek,mt8516-topckgen"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt7623-topckgen"

Item 2

Exact value (const): "mediatek,mt2701-topckgen"

Item 3

Exact value (const): "syscon"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt2701-topckgen", "mediatek,mt2712-topckgen", "mediatek,mt6735-topckgen", "mediatek,mt6765-topckgen", "mediatek,mt6779-topckgen", "mediatek,mt6795-topckgen", "mediatek,mt7629-topckgen", "mediatek,mt7981-topckgen", "mediatek,mt7986-topckgen", "mediatek,mt7988-mcusys", "mediatek,mt7988-topckgen", "mediatek,mt8167-topckgen", "mediatek,mt8183-topckgen"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

topckgen: clock-controller@10000000 {
    compatible = "mediatek,mt8173-topckgen";
    reg = <0x10000000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Microchip LAN966X Generic Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/microchip,lan966x-gck.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>"

The LAN966X Generic clock controller contains 3 PLLs - cpu_clk, ddr_clk and sys_clk. This clock controller generates and supplies clock to various peripherals within the SoC.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "microchip,lan966x-gck", "microchip,lan9691-gck"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,lan9698-gck", "microchip,lan9696-gck", "microchip,lan9694-gck", "microchip,lan9693-gck", "microchip,lan9692-gck"

Item 2

Exact value (const): "microchip,lan9691-gck"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Generic clock registers

Item 2

Optional gate clock registers

clocks — required here #

Array item rules (items) #

Item 1

CPU clock source

Item 2

DDR clock source

Item 3

System clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cpu"

Item 2

Exact value (const): "ddr"

Item 3

Exact value (const): "sys"

#clock-cells — required here #

Exact value (const): 1

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) #

clks: clock-controller@e00c00a8 {
    compatible = "microchip,lan966x-gck";
    #clock-cells = <1>;
    clocks = <&cpu_clk>, <&ddr_clk>, <&sys_clk>;
    clock-names = "cpu", "ddr", "sys";
    reg = <0xe00c00a8 0x38>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Microchip PolarFire SoC Fabric Clock Conditioning Circuitry

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/microchip,mpfs-ccc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Conor Dooley <conor.dooley@microchip.com>"

Microchip PolarFire SoC has 4 Clock Conditioning Circuitry blocks. Each of these blocks contains two PLLs and 2 DLLs & are located in the four corners of the FPGA. For more information see "PolarFire SoC FPGA Clocking Resources" at: https://onlinedocs.microchip.com/pr/GUID-8F0CC4C0-0317-4262-89CA-CE7773ED1931-en-US-1/index.html

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "microchip,pic64gx-ccc"

Item 2

Exact value (const): "microchip,mpfs-ccc"

Rule 2

Exact value (const): "microchip,mpfs-ccc"

reg — required here #

Array item rules (items) #

Item 1

PLL0's control registers

Item 2

PLL1's control registers

Item 3

DLL0's control registers

Item 4

DLL1's control registers

clocks — required here #

The CCC PLL's have two input clocks. It is required that even if the input clocks are identical that both are provided.

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

PLL0's refclk0

Item 2

PLL0's refclk1

Item 3

PLL1's refclk0

Item 4

PLL1's refclk1

Item 5

DLL0's refclk

Item 6

DLL1's refclk

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "pll0_ref0"

Item 2

Exact value (const): "pll0_ref1"

Item 3

Exact value (const): "pll1_ref0"

Item 4

Exact value (const): "pll1_ref1"

Item 5

Exact value (const): "dll0_ref"

Item 6

Exact value (const): "dll1_ref"

#clock-cells — required here #

Exact value (const): 1

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/microchip,mpfs-clock.h for the full list of PolarFire clock IDs.

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) #

clock-controller@38100000 {
    compatible = "microchip,mpfs-ccc";
    reg = <0x38010000 0x1000>, <0x38020000 0x1000>,
          <0x39010000 0x1000>, <0x39020000 0x1000>;
    #clock-cells = <1>;
    clocks = <&refclk_ccc>, <&refclk_ccc>, <&refclk_ccc>, <&refclk_ccc>,
              <&refclk_ccc>, <&refclk_ccc>;
    clock-names = "pll0_ref0", "pll0_ref1", "pll1_ref0", "pll1_ref1",
                  "dll0_ref", "dll1_ref";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Microchip PolarFire Clock Control Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/microchip,mpfs-clkcfg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Daire McNamara <daire.mcnamara@microchip.com>"

Microchip PolarFire clock control (CLKCFG) is an integrated clock controller, which gates and enables all peripheral clocks.

This device tree binding describes 33 gate clocks. Clocks are referenced by user nodes by the CLKCFG node phandle and the clock index in the group, from 0 to 32.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "microchip,pic64gx-clkcfg"

Item 2

Exact value (const): "microchip,mpfs-clkcfg"

Rule 2

Exact value (const): "microchip,mpfs-clkcfg"

reg — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

clock config registers: These registers contain enable, reset & divider tables for the, cpu, axi, ahb and rtc/mtimer reference clocks as well as enable and reset for the peripheral clocks.

Item 2

mss pll dri registers: Block of registers responsible for dynamic reconfiguration of the mss pll

Deprecated (deprecated): true

Rule 2

Array item rules (items)

Item 1

mss pll dri registers: Block of registers responsible for dynamic reconfiguration of the mss pll

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/microchip,mpfs-clock.h for the full list of PolarFire clock IDs.

resets — not listed as required here #

Maximum number of items (maxItems): 1

#reset-cells — not listed as required here #

The AHB/AXI peripherals on the PolarFire SoC have reset support, so from CLK_ENVM to CLK_CFM. The reset consumer should specify the desired peripheral via the clock ID in its "resets" phandle cell. See include/dt-bindings/clock/microchip,mpfs-clock.h for the full list of PolarFire clock IDs.

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "microchip,pic64gx-clkcfg"

When the condition matches (then) #

Properties and child nodes (properties) #

reg — not listed as required here #

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/microchip,mpfs-clock.h>
soc {
        #address-cells = <1>;
        #size-cells = <1>;

        clkcfg: clock-controller@3E001000 {
            compatible = "microchip,mpfs-clkcfg";
            reg = <0x3E001000 0x1000>;
            clocks = <&ref>;
            #clock-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 89: Clock Config node:

Microchip PIC32MZDA Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/microchip,pic32mzda-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Purna Chandra Mandal <purna.mandal@microchip.com>"

Microchip clock controller consists of a few oscillators, PLL, multiplexer and divider modules.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "microchip,pic32mzda-clk"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

microchip,pic32mzda-sosc — not listed as required here #

Presence of secondary oscillator.

Value type (type): "boolean"

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1f801200 {
    compatible = "microchip,pic32mzda-clk";
    reg = <0x1f801200 0x200>;
    #clock-cells = <1>;
    /* optional */
    microchip,pic32mzda-sosc;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Microchip Sparx5 DPLL Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/microchip,sparx5-dpll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lars Povlsen <lars.povlsen@microchip.com>"

The Sparx5 DPLL clock controller generates and supplies clock to various peripherals within the SoC.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "microchip,sparx5-dpll"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

lcpll_clk: lcpll-clk {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <2500000000>;
};
clks: clock-controller@61110000c {
    compatible = "microchip,sparx5-dpll";
    #clock-cells = <1>;
    clocks = <&lcpll_clk>;
    reg = <0x1110000c 0x24>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 38: Clock provider for eMMC:

Milbeaut SoCs Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/milbeaut-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taichi Sugaya <sugaya.taichi@socionext.com>"

Milbeaut SoCs Clock controller is an integrated clock controller, which generates and supplies to all modules.

This binding uses common clock bindings [1] Documentation/devicetree/bindings/clock/clock-bindings.txt

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "socionext,milbeaut-m10v-ccu"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

external clock

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1d021000 {
    compatible = "socionext,milbeaut-m10v-ccu";
    reg = <0x1d021000 0x4000>;
    #clock-cells = <1>;
    clocks = <&clki40mhz>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

MOXA ART Clock Controllers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/moxa,moxart-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

MOXA ART SoCs allow to determine PLL output and APB frequencies by reading registers holding multiplier and divisor information.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "moxa,moxart-apb-clock", "moxa,moxart-pll-clock"

#clock-cells — required here #

Exact value (const): 0

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-output-names — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "#clock-cells", "reg"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

MStar/Sigmastar MSC313 CPU PLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mstar,msc313-cpupll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Daniel Palmer <daniel@thingy.jp>"

The MStar/SigmaStar MSC313 and later ARMv7 chips have a scalable PLL that can be used as the clock source for the CPU(s).

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mstar,msc313-cpupll"

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "clocks", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mstar-msc313-mpll.h>
cpupll: cpupll@206400 {
    compatible = "mstar,msc313-cpupll";
    reg = <0x206400 0x200>;
    #clock-cells = <1>;
    clocks = <&mpll MSTAR_MSC313_MPLL_DIV2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

MStar/Sigmastar MSC313 MPLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/mstar,msc313-mpll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Daniel Palmer <daniel@thingy.jp>"

The MStar/SigmaStar MSC313 and later ARMv7 chips have an MPLL block that takes the external xtal input and multiplies it to create a high frequency clock and divides that down into a number of clocks that peripherals use.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mstar,msc313-mpll"

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "clocks", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

mpll@206000 {
    compatible = "mstar,msc313-mpll";
    reg = <0x206000 0x200>;
    #clock-cells = <1>;
    clocks = <&xtal>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Nuvoton MA35D1 Clock Controller Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nuvoton,ma35d1-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chi-Fang Li <cfli0@nuvoton.com>", "Jacky Huang <ychuang3@nuvoton.com>"

The MA35D1 clock controller generates clocks for the whole chip, including system clocks and all peripheral clocks.

See also:
  include/dt-bindings/clock/ma35d1-clk.h

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "nuvoton,ma35d1-clk"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

nuvoton,pll-mode — not listed as required here #

A list of PLL operation mode corresponding to CAPLL, DDRPLL, APLL, EPLL, and VPLL in sequential.

Maximum number of items (maxItems): 5

Array item rules (items) #

Allowed values (enum): "integer", "fractional", "spread-spectrum"

Shared schema rule ($ref): /schemas/types.yaml#/definitions/non-unique-string-array

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #


clock-controller@40460200 {
    compatible = "nuvoton,ma35d1-clk";
    reg = <0x40460200 0x100>;
    #clock-cells = <1>;
    clocks = <&clk_hxt>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Nuvoton NPCM7XX Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nuvoton,npcm750-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tali Perry <tali.perry1@gmail.com>"

Nuvoton Poleg BMC NPCM7XX contains an integrated clock controller, which generates and supplies clocks to all modules within the BMC. External clocks: There are six fixed clocks that are generated outside the BMC. All clocks are of a known fixed value that cannot be changed. clk_refclk, clk_mcbypck and clk_sysbypck are inputs to the clock controller. clk_rg1refck, clk_rg2refck and clk_xin are external clocks suppling the network. They are set on the device tree, but not used by the clock module. The network devices use them directly. All available clocks are defined as preprocessor macros in: dt-bindings/clock/nuvoton,npcm7xx-clock.h and can be reused as DT sources.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nuvoton,npcm750-clk"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "refclk"

Item 2

Exact value (const): "sysbypck"

Item 3

Exact value (const): "mcbypck"

clocks — not listed as required here #

Array item rules (items) #

Item 1

refclk

Item 2

sysbypck

Item 3

mcbypck

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@f0801000 {
    compatible = "nuvoton,npcm750-clk";
    #clock-cells = <1>;
    reg = <0xf0801000 0x1000>;
    clock-names = "refclk", "sysbypck", "mcbypck";
    clocks = <&clk_refclk>, <&clk_sysbypck>, <&clk_mcbypck>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Nuvoton NPCM8XX Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nuvoton,npcm845-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tomer Maimon <tmaimon77@gmail.com>"

Nuvoton Arbel BMC NPCM8XX contains an integrated clock controller, which generates and supplies clocks to all modules within the BMC.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nuvoton,npcm845-clk"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

See include/dt-bindings/clock/nuvoton,npcm8xx-clock.h for the full list of NPCM8XX clock IDs.

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

ahb {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@f0801000 {
        compatible = "nuvoton,npcm845-clk";
        reg = <0x0 0xf0801000 0x0 0x1000>;
        #clock-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

NVIDIA Tegra Clock and Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nvidia,tegra124-car.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jon Hunter <jonathanh@nvidia.com>", "Thierry Reding <thierry.reding@gmail.com>"

The Clock and Reset (CAR) is the HW module responsible for muxing and gating Tegra's clocks, and setting their rates. It comprises CLKGEN and RSTGEN units.

CLKGEN provides the registers to program the PLLs. It controls most of the clock source programming and most of the clock dividers.

CLKGEN input signals include the external clock for the reference frequency (12 MHz, 26 MHz) and the external clock for the Real Time Clock (32.768 KHz).

Outputs from CLKGEN are inputs clock of the h/w blocks in the Tegra system.

RSTGEN provides the registers needed to control resetting of each block in the Tegra system.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nvidia,tegra124-car", "nvidia,tegra132-car"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

nvidia,external-memory-controller — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle of the external memory controller node

Properties matching a name pattern (patternProperties) #

^emc-timings-[0-9]+$ — name matches this regular expression #

Value type (type): "object"

Properties and child nodes (properties) #

nvidia,ram-code — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

value of the RAM_CODE field in the PMC_STRAPPING_OPT_A register that this timing set is used for

Properties matching a name pattern (patternProperties) #

^timing-[0-9]+$ — name matches this regular expression

Value type (type): "object"

Properties and child nodes (properties)

clock-frequency — required here

external memory clock rate in Hz

Minimum value (minimum): 1000000

Maximum value (maximum): 1000000000

nvidia,parent-clock-frequency — required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

rate of parent clock in Hz

Minimum value (minimum): 1000000

Maximum value (maximum): 1000000000

clocks — required here

Array item rules (items)

Item 1

parent clock of EMC

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "emc-parent"

Required in this object (required): "clock-frequency", "nvidia,parent-clock-frequency", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/tegra124-car.h>

car: clock-controller@60006000 {
    compatible = "nvidia,tegra124-car";
    reg = <0x60006000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)

NVIDIA Tegra Clock and Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nvidia,tegra20-car.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jon Hunter <jonathanh@nvidia.com>", "Thierry Reding <thierry.reding@gmail.com>"

The Clock and Reset (CAR) is the HW module responsible for muxing and gating Tegra's clocks, and setting their rates. It comprises CLKGEN and RSTGEN units.

CLKGEN provides the registers to program the PLLs. It controls most of the clock source programming and most of the clock dividers.

CLKGEN input signals include the external clock for the reference frequency (12 MHz, 26 MHz) and the external clock for the Real Time Clock (32.768 KHz).

Outputs from CLKGEN are inputs clock of the h/w blocks in the Tegra system.

RSTGEN provides the registers needed to control resetting of each block in the Tegra system.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nvidia,tegra20-car", "nvidia,tegra30-car", "nvidia,tegra114-car", "nvidia,tegra210-car"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^(sclk)|(pll-[cem])$ — name matches this regular expression #

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "nvidia,tegra20-sclk", "nvidia,tegra30-sclk", "nvidia,tegra30-pllc", "nvidia,tegra30-plle", "nvidia,tegra30-pllm"

operating-points-v2 — required here

true — No constraints added by this property rule.

clocks — required here

Array item rules (items)

Item 1

node's clock

power-domains — required here

Maximum number of items (maxItems): 1

phandle to the core SoC power domain

Required in this object (required): "compatible", "operating-points-v2", "clocks", "power-domains"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/tegra20-car.h>

car: clock-controller@60006000 {
    compatible = "nvidia,tegra20-car";
    reg = <0x60006000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;

    sclk {
        compatible = "nvidia,tegra20-sclk";
        operating-points-v2 = <&opp_table>;
        clocks = <&tegra_car TEGRA20_CLK_SCLK>;
        power-domains = <&domain>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)

NXP i.MX95 Block Control

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nxp,imx95-blk-ctl.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "nxp,imx94-display-csr", "nxp,imx94-lvds-csr", "nxp,imx95-camera-csr", "nxp,imx95-display-csr", "nxp,imx95-hsio-blk-ctl", "nxp,imx95-lvds-csr", "nxp,imx95-netcmix-blk-ctrl", "nxp,imx95-vpu-csr"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/nxp,imx95-clock.h

Required in this object (required): "compatible", "reg", "#clock-cells", "power-domains", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@4c410000 {
  compatible = "nxp,imx95-vpu-csr", "syscon";
  reg = <0x4c410000 0x10000>;
  #clock-cells = <1>;
  clocks = <&scmi_clk 114>;
  power-domains = <&scmi_devpd 21>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP i.MX95 Display Master Block Control

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nxp,imx95-display-master-csr.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "nxp,imx95-display-master-csr"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/nxp,imx95-clock.h

mux-controller — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/mux/reg-mux.yaml

Required in this object (required): "compatible", "reg", "#clock-cells", "mux-controller", "power-domains", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@4c410000 {
  compatible = "nxp,imx95-display-master-csr", "syscon";
  reg = <0x4c410000 0x10000>;
  #clock-cells = <1>;
  clocks = <&scmi_clk 62>;
  power-domains = <&scmi_devpd 3>;

  mux: mux-controller {
    compatible = "mmio-mux";
    #mux-control-cells = <1>;
    mux-reg-masks = <0x4 0x00000001>; /* Pixel_link_sel */
    idle-states = <0>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP LPC1850 Clock Control Unit (CCU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nxp,lpc1850-ccu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Each CGU base clock has several clock branches which can be turned on or off independently by the Clock Control Units CCU1 or CCU2. The branch clocks are distributed between CCU1 and CCU2. Above text taken from NXP LPC1850 User Manual

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,lpc1850-ccu"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

Array item rules (items) #

Allowed values (enum): "base_usb0_clk", "base_periph_clk", "base_usb1_clk", "base_cpu_clk", "base_spifi_clk", "base_spi_clk", "base_apb1_clk", "base_apb3_clk", "base_adchs_clk", "base_sdio_clk", "base_ssp0_clk", "base_ssp1_clk", "base_uart0_clk", "base_uart1_clk", "base_uart2_clk", "base_uart3_clk", "base_audio_clk"

Which branch clocks that are available on the CCU depends on the specific LPC part. Check the user manual for your specific part. A list of CCU clocks can be found in dt-bindings/clock/lpc18xx-ccu.h.

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/lpc18xx-cgu.h>

clock-controller@40051000 {
    compatible = "nxp,lpc1850-ccu";
    reg = <0x40051000 0x1000>;
    #clock-cells = <1>;
    clocks = <&cgu BASE_APB3_CLK>, <&cgu BASE_APB1_CLK>,
             <&cgu BASE_SPIFI_CLK>, <&cgu BASE_CPU_CLK>,
             <&cgu BASE_PERIPH_CLK>, <&cgu BASE_USB0_CLK>,
             <&cgu BASE_USB1_CLK>, <&cgu BASE_SPI_CLK>;
    clock-names = "base_apb3_clk",   "base_apb1_clk",
                  "base_spifi_clk",  "base_cpu_clk",
                  "base_periph_clk", "base_usb0_clk",
                  "base_usb1_clk",   "base_spi_clk";
};
#include <dt-bindings/clock/lpc18xx-cgu.h>

clock-controller@40052000 {
    compatible = "nxp,lpc1850-ccu";
    reg = <0x40052000 0x1000>;
    #clock-cells = <1>;
    clocks = <&cgu BASE_AUDIO_CLK>, <&cgu BASE_UART3_CLK>,
             <&cgu BASE_UART2_CLK>, <&cgu BASE_UART1_CLK>,
             <&cgu BASE_UART0_CLK>, <&cgu BASE_SSP1_CLK>,
             <&cgu BASE_SSP0_CLK>,  <&cgu BASE_SDIO_CLK>;
    clock-names = "base_audio_clk", "base_uart3_clk",
                  "base_uart2_clk", "base_uart1_clk",
                  "base_uart0_clk", "base_ssp1_clk",
                  "base_ssp0_clk",  "base_sdio_clk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP LPC1850 Clock Generation Unit (CGU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nxp,lpc1850-cgu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The CGU generates multiple independent clocks for the core and the peripheral blocks of the LPC18xx. Each independent clock is called a base clock and itself is one of the inputs to the two Clock Control Units (CCUs) which control the branch clocks to the individual peripherals. The CGU selects the inputs to the clock generators from multiple clock sources, controls the clock generation, and routes the outputs of the clock generators through the clock source bus to the output stages. Each output stage provides an independent clock source and corresponds to one of the base clocks for the LPC18xx. Above text taken from NXP LPC1850 User Manual.

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,lpc1850-cgu"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Which base clocks that are available on the CGU depends on the specific LPC part. Base clocks are numbered from 0 to 27.

Number:         Name:                   Description:
 0              BASE_SAFE_CLK           Base safe clock (always on) for WWDT
 1              BASE_USB0_CLK           Base clock for USB0
 2              BASE_PERIPH_CLK         Base clock for Cortex-M0SUB subsystem,
                                  SPI, and SGPIO
 3              BASE_USB1_CLK           Base clock for USB1
 4              BASE_CPU_CLK            System base clock for ARM Cortex-M core
                                  and APB peripheral blocks #0 and #2
 5              BASE_SPIFI_CLK          Base clock for SPIFI
 6              BASE_SPI_CLK            Base clock for SPI
 7              BASE_PHY_RX_CLK         Base clock for Ethernet PHY Receive clock
 8              BASE_PHY_TX_CLK         Base clock for Ethernet PHY Transmit clock
 9              BASE_APB1_CLK           Base clock for APB peripheral block # 1
10              BASE_APB3_CLK           Base clock for APB peripheral block # 3
11              BASE_LCD_CLK            Base clock for LCD
12              BASE_ADCHS_CLK          Base clock for ADCHS
13              BASE_SDIO_CLK           Base clock for SD/MMC
14              BASE_SSP0_CLK           Base clock for SSP0
15              BASE_SSP1_CLK           Base clock for SSP1
16              BASE_UART0_CLK          Base clock for UART0
17              BASE_UART1_CLK          Base clock for UART1
18              BASE_UART2_CLK          Base clock for UART2
19              BASE_UART3_CLK          Base clock for UART3
20              BASE_OUT_CLK            Base clock for CLKOUT pin
24-21           -                       Reserved
25              BASE_AUDIO_CLK          Base clock for audio system (I2S)
26              BASE_CGU_OUT0_CLK       Base clock for CGU_OUT0 clock output
27              BASE_CGU_OUT1_CLK       Base clock for CGU_OUT1 clock output

BASE_PERIPH_CLK and BASE_SPI_CLK is only available on LPC43xx. BASE_ADCHS_CLK is only available on LPC4370.

clocks — required here #

Maximum number of items (maxItems): 5

clock-indices — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 28

clock-output-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 28

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@40050000 {
    compatible = "nxp,lpc1850-cgu";
    reg = <0x40050000 0x1000>;
    #clock-cells = <1>;
    clocks = <&xtal>, <&creg_clk 1>, <&enet_rx_clk>, <&enet_tx_clk>, <&gp_clkin>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP LPC32xx Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nxp,lpc3220-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,lpc3220-clk"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

External 32768 Hz oscillator.

Item 2

Optional high frequency oscillator.

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "xtal_32k"

Item 2

Exact value (const): "xtal"

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@0 {
    compatible = "nxp,lpc3220-clk";
    reg = <0x00 0x114>;
    #clock-cells = <1>;
    clocks = <&xtal_32k>, <&xtal>;
    clock-names = "xtal_32k", "xtal";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

NXP LPC32xx USB Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/nxp,lpc3220-usb-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,lpc3220-usb-clk"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@f00 {
    compatible = "nxp,lpc3220-usb-clk";
    reg = <0xf00 0x100>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

An external clock signal driven by a PWM pin.

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/pwm-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Philipp Zabel <p.zabel@pengutronix.de>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "pwm-clock"

#clock-cells — required here #

Exact value (const): 0

clock-frequency — not listed as required here #

Exact output frequency, in case the PWM period is not exact but was rounded to nanoseconds.

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

pwms — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "pwms"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock {
    compatible = "pwm-clock";
    #clock-cells = <0>;
    clock-frequency = <25000000>;
    clock-output-names = "mipi_mclk";
    pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Qualcomm Atheros ATH79 PLL controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qca,ath79-pll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alban Bedel <albeu@free.fr>", "Antony Pavlov <antonynpavlov@gmail.com>"

The PLL controller provides the 3 main clocks of the SoC: CPU, DDR and AHB.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "qca,ar9132-pll"

Item 2

Exact value (const): "qca,ar9130-pll"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qca,ar7100-pll", "qca,ar7240-pll", "qca,ar9130-pll", "qca,ar9330-pll", "qca,ar9340-pll", "qca,qca9530-pll", "qca,qca9550-pll", "qca,qca9560-pll"

reg — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ref"

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clock-output-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "cpu"

Item 2

Exact value (const): "ddr"

Item 3

Exact value (const): "ahb"

Required in this object (required): "compatible", "reg", "clock-names", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@18050000 {
    compatible = "qca,ar9132-pll", "qca,ar9130-pll";
    reg = <0x18050000 0x20>;
    clock-names = "ref";
    clocks = <&extosc>;
    #clock-cells = <1>;
    clock-output-names = "cpu", "ddr", "ahb";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm A53 PLL clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,a53pll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

The A53 PLL on few Qualcomm platforms is the main CPU PLL used used for frequencies above 1GHz.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,ipq5018-a53pll", "qcom,ipq5332-a53pll", "qcom,ipq6018-a53pll", "qcom,ipq8074-a53pll", "qcom,ipq9574-a73pll", "qcom,msm8226-a7pll", "qcom,msm8916-a53pll", "qcom,msm8939-a53pll"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

clocks — not listed as required here #

Array item rules (items) #

Item 1

board XO clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

operating-points-v2 — not listed as required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

a53pll: clock@b016000 {
    compatible = "qcom,msm8916-a53pll";
    reg = <0xb016000 0x40>;
    #clock-cells = <0>;
};
a53pll_ipq: clock-controller@b116000 {
    compatible = "qcom,ipq6018-a53pll";
    reg = <0x0b116000 0x40>;
    #clock-cells = <0>;
    clocks = <&xo>;
    clock-names = "xo";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 55: Example 1 - A53 PLL found on MSM8916 devices

Line 62: Example 2 - A53 PLL found on IPQ6018 devices

Qualcomm A7 PLL clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,a7pll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"

The A7 PLL on the Qualcomm platforms like SDX55, SDX65 is used to provide high frequency clock to the CPU.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sdx55-a7pll"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

clocks — not listed as required here #

Array item rules (items) #

Item 1

board XO clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Required in this object (required): "compatible", "reg", "#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/qcom,rpmh.h>
a7pll: clock@17808000 {
    compatible = "qcom,sdx55-a7pll";
    reg = <0x17808000 0x1000>;
    clocks = <&rpmhcc RPMH_CXO_CLK>;
    clock-names = "bi_tcxo";
    #clock-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

LPASS Always ON Clock Controller on SM8250 SoCs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,aoncc-sm8250.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h for the full list of Audio Clock controller clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8250-lpass-aoncc"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

LPASS Core voting clock

Item 2

LPASS Audio codec voting clock

Item 3

Glitch Free Mux register clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "audio"

Item 3

Exact value (const): "bus"

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm8250-lpass-aoncc.h>
#include <dt-bindings/sound/qcom,q6afe.h>
clock-controller@3800000 {
  #clock-cells = <1>;
  compatible = "qcom,sm8250-lpass-aoncc";
  reg = <0x03380000 0x40000>;
  clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
           <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
           <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
  clock-names = "core", "audio", "bus";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

LPASS Audio Clock Controller on SM8250 SoCs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,audiocc-sm8250.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/qcom,sm8250-lpass-audiocc.h for the full list of Audio Clock controller clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8250-lpass-audiocc"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

LPASS Core voting clock

Item 2

LPASS Audio codec voting clock

Item 3

Glitch Free Mux register clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "audio"

Item 3

Exact value (const): "bus"

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm8250-lpass-audiocc.h>
#include <dt-bindings/sound/qcom,q6afe.h>
clock-controller@3300000 {
  #clock-cells = <1>;
  compatible = "qcom,sm8250-lpass-audiocc";
  reg = <0x03300000 0x30000>;
  clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
           <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
           <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
  clock-names = "core", "audio", "bus";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on SM8250

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,camcc-sm8250.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jonathan Marek <jonathan@marek.ca>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SM8250.

See also: include/dt-bindings/clock/qcom,camcc-sm8250.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8250-camcc"

clocks — required here #

Array item rules (items) #

Item 1

AHB

Item 2

Board XO source

Item 3

Board active XO source

Item 4

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bi_tcxo"

Item 3

Exact value (const): "bi_tcxo_ao"

Item 4

Exact value (const): "sleep_clk"

power-domains — not listed as required here #

Array item rules (items) #

Item 1

MMCX power domain

reg — not listed as required here #

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

Maximum number of items (maxItems): 1

OPP node describing required MMCX performance point.

Required in this object (required): "compatible", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm8250.h>
#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@ad00000 {
  compatible = "qcom,sm8250-camcc";
  reg = <0x0ad00000 0x10000>;
  clocks = <&gcc GCC_CAMERA_AHB_CLK>,
           <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  clock-names = "iface", "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on SC8280XP

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,dispcc-sc8280xp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

Qualcomm display clock control module which supports the clocks, resets and power domains for the two MDSS instances on SC8280XP.

See also:
  include/dt-bindings/clock/qcom,dispcc-sc8280xp.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sc8280xp-dispcc0", "qcom,sc8280xp-dispcc1"

clocks — required here #

Array item rules (items) #

Item 1

AHB interface clock,

Item 2

SoC CXO clock

Item 3

SoC sleep clock

Item 4

DisplayPort 0 link clock

Item 5

DisplayPort 0 VCO div clock

Item 6

DisplayPort 1 link clock

Item 7

DisplayPort 1 VCO div clock

Item 8

DisplayPort 2 link clock

Item 9

DisplayPort 2 VCO div clock

Item 10

DisplayPort 3 link clock

Item 11

DisplayPort 3 VCO div clock

Item 12

DSI 0 PLL byte clock

Item 13

DSI 0 PLL DSI clock

Item 14

DSI 1 PLL byte clock

Item 15

DSI 1 PLL DSI clock

power-domains — not listed as required here #

Array item rules (items) #

Item 1

MMCX power domain

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
clock-controller@af00000 {
  compatible = "qcom,sc8280xp-dispcc0";
  reg = <0x0af00000 0x20000>;
  clocks = <&gcc GCC_DISP_AHB_CLK>,
           <&rpmhcc RPMH_CXO_CLK>,
           <&sleep_clk>,
           <&mdss0_dp_phy0 0>,
           <&mdss0_dp_phy0 1>,
           <&mdss0_dp_phy1 0>,
           <&mdss0_dp_phy1 1>,
           <&mdss0_dp_phy2 0>,
           <&mdss0_dp_phy2 1>,
           <&mdss0_dp_phy3 0>,
           <&mdss0_dp_phy3 1>,
           <&mdss0_dsi0_phy 0>,
           <&mdss0_dsi0_phy 1>,
           <&mdss0_dsi1_phy 0>,
           <&mdss0_dsi1_phy 1>;
  power-domains = <&rpmhpd SC8280XP_MMCX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock Controller on SM6125

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,dispcc-sm6125.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Martin Botka <martin.botka@somainline.org>"

Qualcomm display clock control module provides the clocks and power domains on SM6125.

See also: include/dt-bindings/clock/qcom,dispcc-sm6125.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm6125-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Byte clock from DSI PHY0

Item 3

Pixel clock from DSI PHY0

Item 4

Pixel clock from DSI PHY1

Item 5

Link clock from DP PHY

Item 6

VCO DIV clock from DP PHY

Item 7

AHB config clock from GCC

Item 8

GPLL0 div source from GCC

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "dsi0_phy_pll_out_byteclk"

Item 3

Exact value (const): "dsi0_phy_pll_out_dsiclk"

Item 4

Exact value (const): "dsi1_phy_pll_out_dsiclk"

Item 5

Exact value (const): "dp_phy_pll_link_clk"

Item 6

Exact value (const): "dp_phy_pll_vco_div_clk"

Item 7

Exact value (const): "cfg_ahb_clk"

Item 8

Exact value (const): "gcc_disp_gpll0_div_clk_src"

#clock-cells — required here #

Exact value (const): 1

#power-domain-cells — required here #

Exact value (const): 1

power-domains — not listed as required here #

A phandle and PM domain specifier for the CX power domain.

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

A phandle to an OPP node describing the power domain's performance point.

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#power-domain-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/clock/qcom,gcc-sm6125.h>
#include <dt-bindings/power/qcom-rpmpd.h>
clock-controller@5f00000 {
  compatible = "qcom,sm6125-dispcc";
  reg = <0x5f00000 0x20000>;

  clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
           <&dsi0_phy 0>,
           <&dsi0_phy 1>,
           <&dsi1_phy 1>,
           <&dp_phy 0>,
           <&dp_phy 1>,
           <&gcc GCC_DISP_AHB_CLK>,
           <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>;
  clock-names = "bi_tcxo",
                "dsi0_phy_pll_out_byteclk",
                "dsi0_phy_pll_out_dsiclk",
                "dsi1_phy_pll_out_dsiclk",
                "dp_phy_pll_link_clk",
                "dp_phy_pll_vco_div_clk",
                "cfg_ahb_clk",
                "gcc_disp_gpll0_div_clk_src";

  required-opps = <&rpmhpd_opp_ret>;
  power-domains = <&rpmpd SM6125_VDDCX>;

  #clock-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on SM6350

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,dispcc-sm6350.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm display clock control module provides the clocks, resets and power domains on SM6350.

See also: include/dt-bindings/clock/qcom,dispcc-sm6350.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm6350-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 source from GCC

Item 3

Byte clock from DSI PHY

Item 4

Pixel clock from DSI PHY

Item 5

Link clock from DP PHY

Item 6

VCO DIV clock from DP PHY

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "gcc_disp_gpll0_clk"

Item 3

Exact value (const): "dsi0_phy_pll_out_byteclk"

Item 4

Exact value (const): "dsi0_phy_pll_out_dsiclk"

Item 5

Exact value (const): "dp_phy_pll_link_clk"

Item 6

Exact value (const): "dp_phy_pll_vco_div_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm6350.h>
#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@af00000 {
  compatible = "qcom,sm6350-dispcc";
  reg = <0x0af00000 0x20000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_DISP_GPLL0_CLK>,
           <&dsi_phy 0>,
           <&dsi_phy 1>,
           <&dp_phy 0>,
           <&dp_phy 1>;
  clock-names = "bi_tcxo",
                "gcc_disp_gpll0_clk",
                "dsi0_phy_pll_out_byteclk",
                "dsi0_phy_pll_out_dsiclk",
                "dp_phy_pll_link_clk",
                "dp_phy_pll_vco_div_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on SM8150/SM8250/SM8350

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,dispcc-sm8x50.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jonathan Marek <jonathan@marek.ca>"

Qualcomm display clock control module provides the clocks, resets and power domains on SM8150/SM8250/SM8350.

See also::
  include/dt-bindings/clock/qcom,dispcc-sm8150.h
  include/dt-bindings/clock/qcom,dispcc-sm8250.h
  include/dt-bindings/clock/qcom,dispcc-sm8350.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sc8180x-dispcc", "qcom,sm8150-dispcc", "qcom,sm8250-dispcc", "qcom,sm8350-dispcc"

clocks — required here #

Minimum number of items (minItems): 7

Array item rules (items) #

Item 1

Board XO source

Item 2

Byte clock from DSI PHY0

Item 3

Pixel clock from DSI PHY0

Item 4

Byte clock from DSI PHY1

Item 5

Pixel clock from DSI PHY1

Item 6

Link clock from DP PHY

Item 7

VCO DIV clock from DP PHY

Item 8

Link clock from eDP PHY

Item 9

VCO DIV clock from eDP PHY

Item 10

Link clock from DP1 PHY

Item 11

VCO DIV clock from DP1 PHY

Item 12

Link clock from DP2 PHY

Item 13

VCO DIV clock from DP2 PHY

clock-names — required here #

Minimum number of items (minItems): 7

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "dsi0_phy_pll_out_byteclk"

Item 3

Exact value (const): "dsi0_phy_pll_out_dsiclk"

Item 4

Exact value (const): "dsi1_phy_pll_out_byteclk"

Item 5

Exact value (const): "dsi1_phy_pll_out_dsiclk"

Item 6

Exact value (const): "dp_phy_pll_link_clk"

Item 7

Exact value (const): "dp_phy_pll_vco_div_clk"

Item 8

Exact value (const): "edp_phy_pll_link_clk"

Item 9

Exact value (const): "edp_phy_pll_vco_div_clk"

Item 10

Exact value (const): "dptx1_phy_pll_link_clk"

Item 11

Exact value (const): "dptx1_phy_pll_vco_div_clk"

Item 12

Exact value (const): "dptx2_phy_pll_link_clk"

Item 13

Exact value (const): "dptx2_phy_pll_vco_div_clk"

power-domains — not listed as required here #

A phandle and PM domain specifier for the MMCX power domain.

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

A phandle to an OPP node describing required MMCX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sc8180x-dispcc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 7

clock-names — not listed as required here

Maximum number of items (maxItems): 7

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@af00000 {
  compatible = "qcom,sm8250-dispcc";
  reg = <0x0af00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&dsi0_phy 0>,
           <&dsi0_phy 1>,
           <&dsi1_phy 0>,
           <&dsi1_phy 1>,
           <&dp_phy 0>,
           <&dp_phy 1>;
  clock-names = "bi_tcxo",
                "dsi0_phy_pll_out_byteclk",
                "dsi0_phy_pll_out_dsiclk",
                "dsi1_phy_pll_out_byteclk",
                "dsi1_phy_pll_out_dsiclk",
                "dp_phy_pll_link_clk",
                "dp_phy_pll_vco_div_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  power-domains = <&rpmhpd RPMHPD_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on APQ8064/MSM8960

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-apq8064.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on APQ8064.

See also::
  include/dt-bindings/clock/qcom,gcc-msm8960.h
  include/dt-bindings/reset/qcom,gcc-msm8960.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "qcom,gcc-apq8064", "qcom,gcc-msm8960"

Item 2

Exact value (const): "syscon"

Rule 2

Allowed values (enum): "qcom,gcc-apq8064", "qcom,gcc-msm8960"

Deprecated (deprecated): true

thermal-sensor — not listed as required here #

child tsens device

Shared schema rule ($ref): /schemas/thermal/qcom-tsens.yaml#

clocks — not listed as required here #

Maximum number of items (maxItems): 3

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "cxo"

Item 2

Exact value (const): "pxo"

Item 3

Exact value (const): "pll4"

nvmem-cells — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Deprecated (deprecated): true

Qualcomm TSENS (thermal sensor device) on some devices can be part of GCC and hence the TSENS properties can also be part of the GCC/clock-controller node. For more details on the TSENS properties please refer Documentation/devicetree/bindings/thermal/qcom-tsens.yaml

nvmem-cell-names — not listed as required here #

Minimum number of items (minItems): 1

Deprecated (deprecated): true

Array item rules (items) #

Item 1

Exact value (const): "calib"

Item 2

Exact value (const): "calib_backup"

#thermal-sensor-cells — not listed as required here #

Exact value (const): 1

Deprecated (deprecated): true

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@900000 {
  compatible = "qcom,gcc-apq8064", "syscon";
  reg = <0x00900000 0x4000>;
  #clock-cells = <1>;
  #reset-cells = <1>;

  thermal-sensor {
    compatible = "qcom,msm8960-tsens";

    nvmem-cells = <&tsens_calib>, <&tsens_backup>;
    nvmem-cell-names = "calib", "calib_backup";
    interrupts = <0 178 4>;
    interrupt-names = "uplow";

    #qcom,sensors = <11>;
    #thermal-sensor-cells = <1>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Global Clock & Reset Controller on APQ8084

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-apq8084.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on APQ8084.

See also::
  include/dt-bindings/clock/qcom,gcc-apq8084.h
  include/dt-bindings/reset/qcom,gcc-apq8084.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-apq8084"

clocks — not listed as required here #

Array item rules (items) #

Item 1

XO source

Item 2

Sleep clock source

Item 3

UFS RX symbol 0 clock

Item 4

UFS RX symbol 1 clock

Item 5

UFS TX symbol 0 clock

Item 6

UFS TX symbol 1 clock

Item 7

SATA ASIC0 clock

Item 8

SATA RX clock

Item 9

PCIe PIPE clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "ufs_rx_symbol_0_clk_src"

Item 4

Exact value (const): "ufs_rx_symbol_1_clk_src"

Item 5

Exact value (const): "ufs_tx_symbol_0_clk_src"

Item 6

Exact value (const): "ufs_tx_symbol_1_clk_src"

Item 7

Exact value (const): "sata_asic0_clk"

Item 8

Exact value (const): "sata_rx_clk"

Item 9

Exact value (const): "pcie_pipe"

Required in this object (required): "compatible", "#power-domain-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

/* UFS PHY on APQ8084 is not supported (yet), so these bindings just serve an example */
clock-controller@fc400000 {
    compatible = "qcom,gcc-apq8084";
    reg = <0xfc400000 0x4000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;

    clocks = <&xo_board>,
             <&sleep_clk>,
             <&ufsphy 0>,
             <&ufsphy 1>,
             <&ufsphy 2>,
             <&ufsphy 3>,
             <&sata 0>,
             <&sata 1>,
             <&pcie_phy>;
    clock-names = "xo",
                  "sleep_clk",
                  "ufs_rx_symbol_0_clk_src",
                  "ufs_rx_symbol_1_clk_src",
                  "ufs_tx_symbol_0_clk_src",
                  "ufs_tx_symbol_1_clk_src",
                  "sata_asic0_clk",
                  "sata_rx_clk",
                  "pcie_pipe";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Global Clock & Reset Controller on IPQ4019

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-ipq4019.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>", "Robert Marko <robert.markoo@sartura.hr>"

Qualcomm global clock control module provides the clocks, resets and power domains on IPQ4019.

See also: include/dt-bindings/clock/qcom,gcc-ipq4019.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-ipq4019"

clocks — not listed as required here #

Array item rules (items) #

Item 1

board XO clock

Item 2

sleep clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1800000 {
  compatible = "qcom,gcc-ipq4019";
  reg = <0x1800000 0x60000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  clocks = <&xo>, <&sleep_clk>;
  clock-names = "xo", "sleep_clk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on IPQ6018

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-ipq6018.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>", "Robert Marko <robimarko@gmail.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on IPQ6018.

See also::
  include/dt-bindings/clock/qcom,gcc-ipq6018.h
  include/dt-bindings/reset/qcom,gcc-ipq6018.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-ipq6018"

clocks — required here #

Array item rules (items) #

Item 1

board XO clock

Item 2

sleep clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1800000 {
  compatible = "qcom,gcc-ipq6018";
  reg = <0x01800000 0x80000>;
  clocks = <&xo>, <&sleep_clk>;
  clock-names = "xo", "sleep_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on IPQ8064

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-ipq8064.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ansuel Smith <ansuelsmth@gmail.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on IPQ8064.

See also::
  include/dt-bindings/clock/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064)
  include/dt-bindings/reset/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064)

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "qcom,gcc-ipq8064"

Item 2

Exact value (const): "syscon"

clocks — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

PXO source

Item 2

CXO source

Item 3

PLL4 from LCC

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "pxo"

Item 2

Exact value (const): "cxo"

Item 3

Exact value (const): "pll4"

thermal-sensor — not listed as required here #

Value type (type): "object"

All of these rules must match (allOf) #

Rule 1

Shared schema rule ($ref): /schemas/thermal/qcom-tsens.yaml#

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,lcc-ipq806x.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

gcc: clock-controller@900000 {
  compatible = "qcom,gcc-ipq8064", "syscon";
  reg = <0x00900000 0x4000>;
  clocks = <&pxo_board>, <&cxo_board>, <&lcc PLL4>;
  clock-names = "pxo", "cxo", "pll4";
  #clock-cells = <1>;
  #reset-cells = <1>;

  tsens: thermal-sensor {
    compatible = "qcom,ipq8064-tsens";

    nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>;
    nvmem-cell-names = "calib", "calib_backup";
    interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "uplow";

    #qcom,sensors = <11>;
    #thermal-sensor-cells = <1>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Global Clock & Reset Controller on IPQ8074

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-ipq8074.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on IPQ8074.

See also: include/dt-bindings/clock/qcom,gcc-ipq8074.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-ipq8074"

clocks — not listed as required here #

Array item rules (items) #

Item 1

board XO clock

Item 2

sleep clock

Item 3

Gen3 QMP PCIe PHY PIPE clock

Item 4

Gen2 QMP PCIe PHY PIPE clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "pcie0_pipe"

Item 4

Exact value (const): "pcie1_pipe"

Required in this object (required): "compatible", "#power-domain-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1800000 {
  compatible = "qcom,gcc-ipq8074";
  reg = <0x01800000 0x80000>;
  #clock-cells = <1>;
  #power-domain-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Global Clock & Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-mdm9607.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains.

See also::
  include/dt-bindings/clock/qcom,gcc-mdm9607.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-mdm9607"

Required in this object (required): "compatible", "#power-domain-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@900000 {
  compatible = "qcom,gcc-mdm9607";
  reg = <0x900000 0x4000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Global Clock & Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-mdm9615.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains.

See also::
  include/dt-bindings/clock/qcom,gcc-mdm9615.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-mdm9615"

clocks — not listed as required here #

Array item rules (items) #

Item 1

CXO clock

Item 2

PLL4 from LLC

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@900000 {
  compatible = "qcom,gcc-mdm9615";
  reg = <0x900000 0x4000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  clocks = <&cxo_board>,
           <&lcc_pll4>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Global Clock & Reset Controller on MSM8660

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-msm8660.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks and resets on MSM8660

See also::
  include/dt-bindings/clock/qcom,gcc-msm8660.h
  include/dt-bindings/reset/qcom,gcc-msm8660.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-msm8660"

clocks — not listed as required here #

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "pxo"

Item 2

Exact value (const): "cxo"

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@900000 {
  compatible = "qcom,gcc-msm8660";
  reg = <0x900000 0x4000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  clocks = <&pxo_board>, <&cxo_board>;
  clock-names = "pxo", "cxo";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 45: Example for GCC for MSM8974:

Qualcomm Global Clock & Reset Controller on MSM8909, MSM8917 and QM215

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-msm8909.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephan Gerhold <stephan@gerhold.net>"

Qualcomm global clock control module provides the clocks, resets and power domains on MSM8909, MSM8917 or QM215.

See also::
  include/dt-bindings/clock/qcom,gcc-msm8909.h
  include/dt-bindings/clock/qcom,gcc-msm8917.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-msm8909", "qcom,gcc-msm8917", "qcom,gcc-qm215"

clocks — required here #

Array item rules (items) #

Item 1

XO source

Item 2

Sleep clock source

Item 3

DSI phy instance 0 dsi clock

Item 4

DSI phy instance 0 byte clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "dsi0pll"

Item 4

Exact value (const): "dsi0pllbyte"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

gcc: clock-controller@1800000 {
  compatible = "qcom,gcc-msm8909";
  reg = <0x01800000 0x80000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  clocks = <&xo_board>, <&sleep_clk>, <&dsi0_phy 1>, <&dsi0_phy 0>;
  clock-names = "xo", "sleep_clk", "dsi0pll", "dsi0pllbyte";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on MSM8916 and MSM8939

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-msm8916.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on MSM8916 or MSM8939.

See also::
  include/dt-bindings/clock/qcom,gcc-msm8916.h
  include/dt-bindings/clock/qcom,gcc-msm8939.h
  include/dt-bindings/reset/qcom,gcc-msm8916.h
  include/dt-bindings/reset/qcom,gcc-msm8939.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-msm8916", "qcom,gcc-msm8939"

clocks — not listed as required here #

Array item rules (items) #

Item 1

XO source

Item 2

Sleep clock source

Item 3

DSI phy instance 0 dsi clock

Item 4

DSI phy instance 0 byte clock

Item 5

External MCLK clock

Item 6

External Primary I2S clock

Item 7

External Secondary I2S clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "dsi0pll"

Item 4

Exact value (const): "dsi0pllbyte"

Item 5

Exact value (const): "ext_mclk"

Item 6

Exact value (const): "ext_pri_i2s"

Item 7

Exact value (const): "ext_sec_i2s"

Required in this object (required): "compatible", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@300000 {
  compatible = "qcom,gcc-msm8916";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  reg = <0x300000 0x90000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Global Clock & Reset Controller on MSM8937, MSM8940, MSM8953 and SDM439

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-msm8953.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Adam Skladowski <a_skl39@protonmail.com>", "Sireesh Kodali <sireeshkodali@protonmail.com>", "Barnabas Czeman <barnabas.czeman@mainlining.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on MSM8937, MSM8940, MSM8953 or SDM439.

See also::
  include/dt-bindings/clock/qcom,gcc-msm8917.h
  include/dt-bindings/clock/qcom,gcc-msm8953.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-msm8937", "qcom,gcc-msm8940", "qcom,gcc-msm8953", "qcom,gcc-sdm439"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

Byte clock from DSI PHY0

Item 4

Pixel clock from DSI PHY0

Item 5

Byte clock from DSI PHY1

Item 6

Pixel clock from DSI PHY1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep"

Item 3

Exact value (const): "dsi0pll"

Item 4

Exact value (const): "dsi0pllbyte"

Item 5

Exact value (const): "dsi1pll"

Item 6

Exact value (const): "dsi1pllbyte"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>

clock-controller@1800000 {
    compatible = "qcom,gcc-msm8953";
    reg = <0x01800000 0x80000>;
    clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
             <&sleep_clk>,
             <&dsi0_phy 1>,
             <&dsi0_phy 0>,
             <&dsi1_phy 1>,
             <&dsi1_phy 0>;
    clock-names = "xo",
                  "sleep",
                  "dsi0pll",
                  "dsi0pllbyte",
                  "dsi1pll",
                  "dsi1pllbyte";
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on MSM8974 (including Pro) and MSM8226 Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-msm8974.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on MSM8974 (all variants) and MSM8226.

See also::
  include/dt-bindings/clock/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
  include/dt-bindings/reset/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-msm8226", "qcom,gcc-msm8974", "qcom,gcc-msm8974pro", "qcom,gcc-msm8974pro-ac"

clocks — not listed as required here #

Array item rules (items) #

Item 1

XO source

Item 2

Sleep clock source

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

Required in this object (required): "compatible", "#power-domain-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@fc400000 {
    compatible = "qcom,gcc-msm8974";
    reg = <0x00100000 0x94000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;

    clock-names = "xo", "sleep_clk";
    clocks = <&xo_board>,
             <&sleep_clk>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on MSM8976

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-msm8976.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on MSM8976.

See also: include/dt-bindings/clock/qcom,gcc-msm8976.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-msm8976", "qcom,gcc-msm8976-v1.1"

clocks — required here #

Array item rules (items) #

Item 1

XO source

Item 2

Always-on XO source

Item 3

Pixel clock from DSI PHY0

Item 4

Byte clock from DSI PHY0

Item 5

Pixel clock from DSI PHY1

Item 6

Byte clock from DSI PHY1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "xo_a"

Item 3

Exact value (const): "dsi0pll"

Item 4

Exact value (const): "dsi0pllbyte"

Item 5

Exact value (const): "dsi1pll"

Item 6

Exact value (const): "dsi1pllbyte"

vdd_gfx-supply — required here #

Phandle to voltage regulator providing power to the GX domain.

Required in this object (required): "compatible", "clocks", "clock-names", "vdd_gfx-supply", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1800000 {
  compatible = "qcom,gcc-msm8976";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  reg = <0x1800000 0x80000>;

  clocks = <&xo_board>,
           <&xo_board>,
           <&dsi0_phy 1>,
           <&dsi0_phy 0>,
           <&dsi1_phy 1>,
           <&dsi1_phy 0>;

  clock-names = "xo",
                "xo_a",
                "dsi0pll",
                "dsi0pllbyte",
                "dsi1pll",
                "dsi1pllbyte";

  vdd_gfx-supply = <&pm8004_s5>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on MSM8994

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-msm8994.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on MSM8994 and MSM8992.

See also: include/dt-bindings/clock/qcom,gcc-msm8994.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-msm8992", "qcom,gcc-msm8994"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@300000 {
  compatible = "qcom,gcc-msm8994";
  reg = <0x00300000 0x90000>;
  clocks = <&xo_board>, <&sleep_clk>;
  clock-names = "xo", "sleep";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on MSM8996

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-msm8996.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module which provides the clocks, resets and power domains on MSM8996.

See also: include/dt-bindings/clock/qcom,gcc-msm8996.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-msm8996"

clocks — not listed as required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

XO source

Item 2

Second XO source

Item 3

Sleep clock source

Item 4

PCIe 0 PIPE clock (optional)

Item 5

PCIe 1 PIPE clock (optional)

Item 6

PCIe 2 PIPE clock (optional)

Item 7

USB3 PIPE clock (optional)

Item 8

UFS RX symbol 0 clock (optional)

Item 9

UFS RX symbol 1 clock (optional)

Item 10

UFS TX symbol 0 clock (optional)

clock-names — not listed as required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Exact value (const): "cxo"

Item 2

Exact value (const): "cxo2"

Item 3

Exact value (const): "sleep_clk"

Item 4

Exact value (const): "pcie_0_pipe_clk_src"

Item 5

Exact value (const): "pcie_1_pipe_clk_src"

Item 6

Exact value (const): "pcie_2_pipe_clk_src"

Item 7

Exact value (const): "usb3_phy_pipe_clk_src"

Item 8

Exact value (const): "ufs_rx_symbol_0_clk_src"

Item 9

Exact value (const): "ufs_rx_symbol_1_clk_src"

Item 10

Exact value (const): "ufs_tx_symbol_0_clk_src"

Required in this object (required): "compatible", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@300000 {
  compatible = "qcom,gcc-msm8996";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  reg = <0x300000 0x90000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Global Clock & Reset Controller on MSM8998

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-msm8998.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on MSM8998.

See also: include/dt-bindings/clock/qcom,gcc-msm8998.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-msm8998"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

Audio reference clock (Optional clock)

Minimum number of items (minItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "aud_ref_clk"

Minimum number of items (minItems): 2

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@100000 {
  compatible = "qcom,gcc-msm8998";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  reg = <0x00100000 0xb0000>;
  clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
           <&sleep>,
           <0>;
  clock-names = "xo",
                "sleep_clk",
                "aud_ref_clk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 34: Optional clock

Qualcomm Global Clock & Reset Controller on QCM2290

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-qcm2290.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Shawn Guo <shawn.guo@linaro.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on QCM2290.

See also: include/dt-bindings/clock/qcom,gcc-qcm2290.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-qcm2290"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "sleep_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@1400000 {
    compatible = "qcom,gcc-qcm2290";
    reg = <0x01400000 0x1f0000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
    clock-names = "bi_tcxo", "sleep_clk";
    clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on QCS404

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-qcs404.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on QCS404.

See also: include/dt-bindings/clock/qcom,gcc-qcs404.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-qcs404"

clocks — not listed as required here #

Array item rules (items) #

Item 1

XO source

Item 2

Sleep clock source

Item 3

PCIe 0 PIPE clock (optional)

Item 4

DSI phy instance 0 dsi clock

Item 5

DSI phy instance 0 byte clock

Item 6

HDMI phy PLL clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "cxo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "pcie_0_pipe_clk_src"

Item 4

Exact value (const): "dsi0pll"

Item 5

Exact value (const): "dsi0pllbyte"

Item 6

Exact value (const): "hdmi_pll"

Required in this object (required): "compatible", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1800000 {
  compatible = "qcom,gcc-qcs404";
  reg = <0x01800000 0x80000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Global Clock & Reset Controller on SC7180

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sc7180.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SC7180.

See also: include/dt-bindings/clock/qcom,gcc-sc7180.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sc7180"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "sleep_clk"

power-domains — not listed as required here #

Array item rules (items) #

Item 1

CX domain

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>

clock-controller@100000 {
  compatible = "qcom,gcc-sc7180";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
  power-domains = <&rpmhpd SC7180_CX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Global Clock & Reset Controller on SC7280

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sc7280.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SC7280.

See also: include/dt-bindings/clock/qcom,gcc-sc7280.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sc7280"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Sleep clock source

Item 4

PCIE-0 pipe clock source

Item 5

PCIE-1 pipe clock source

Item 6

USF phy rx symbol 0 clock source

Item 7

USF phy rx symbol 1 clock source

Item 8

USF phy tx symbol 0 clock source

Item 9

USB30 phy wrapper pipe clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "sleep_clk"

Item 4

Exact value (const): "pcie_0_pipe_clk"

Item 5

Exact value (const): "pcie_1_pipe_clk"

Item 6

Exact value (const): "ufs_phy_rx_symbol_0_clk"

Item 7

Exact value (const): "ufs_phy_rx_symbol_1_clk"

Item 8

Exact value (const): "ufs_phy_tx_symbol_0_clk"

Item 9

Exact value (const): "usb3_phy_wrapper_gcc_usb30_pipe_clk"

power-domains — not listed as required here #

Array item rules (items) #

Item 1

CX domain

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>

clock-controller@100000 {
  compatible = "qcom,gcc-sc7280";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>,
           <&pcie_0_pipe_clk>, <&pcie_1_pipe_clk>,
           <&ufs_phy_rx_symbol_0_clk>, <&ufs_phy_rx_symbol_1_clk>,
           <&ufs_phy_tx_symbol_0_clk>,
           <&usb3_phy_wrapper_gcc_usb30_pipe_clk>;

  clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", "pcie_0_pipe_clk",
                 "pcie_1_pipe_clk", "ufs_phy_rx_symbol_0_clk",
                 "ufs_phy_rx_symbol_1_clk", "ufs_phy_tx_symbol_0_clk",
                 "usb3_phy_wrapper_gcc_usb30_pipe_clk";
  power-domains = <&rpmhpd SC7280_CX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SC8180x

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sc8180x.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SC8180x.

See also: include/dt-bindings/clock/qcom,gcc-sc8180x.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sc8180x"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "sleep_clk"

power-domains — required here #

Array item rules (items) #

Item 1

CX domain

Required in this object (required): "compatible", "clocks", "clock-names", "power-domains", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
clock-controller@100000 {
  compatible = "qcom,gcc-sc8180x";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
  power-domains = <&rpmhpd SC8180X_CX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SC8280xp

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sc8280xp.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SC8280xp.

See also: include/dt-bindings/clock/qcom,gcc-sc8280xp.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sc8280xp"

clocks — required here #

Array item rules (items) #

Item 1

XO reference clock

Item 2

Sleep clock

Item 3

UFS memory first RX symbol clock

Item 4

UFS memory second RX symbol clock

Item 5

UFS memory first TX symbol clock

Item 6

UFS card first RX symbol clock

Item 7

UFS card second RX symbol clock

Item 8

UFS card first TX symbol clock

Item 9

Primary USB SuperSpeed pipe clock

Item 10

USB4 PHY pipegmux clock source

Item 11

USB4 PHY DP gmux clock source

Item 12

USB4 PHY sys pipegmux clock source

Item 13

USB4 PHY PCIe pipe clock

Item 14

USB4 PHY router max pipe clock

Item 15

Primary USB4 RX0 clock

Item 16

Primary USB4 RX1 clock

Item 17

Secondary USB SuperSpeed pipe clock

Item 18

Second USB4 PHY pipegmux clock source

Item 19

Second USB4 PHY DP gmux clock source

Item 20

Second USB4 PHY sys pipegmux clock source

Item 21

Second USB4 PHY PCIe pipe clock

Item 22

Second USB4 PHY router max pipe clock

Item 23

Secondary USB4 RX0 clock

Item 24

Secondary USB4 RX1 clock

Item 25

Multiport USB first SuperSpeed pipe clock

Item 26

Multiport USB second SuperSpeed pipe clock

Item 27

PCIe 2a pipe clock

Item 28

PCIe 2b pipe clock

Item 29

PCIe 3a pipe clock

Item 30

PCIe 3b pipe clock

Item 31

PCIe 4 pipe clock

Item 32

First EMAC controller reference clock

Item 33

Second EMAC controller reference clock

power-domains — not listed as required here #

Array item rules (items) #

Item 1

CX domain

protected-clocks — not listed as required here #

Maximum number of items (maxItems): 389

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>

clock-controller@100000 {
  compatible = "qcom,gcc-sc8280xp";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&sleep_clk>,
           <&ufs_phy_rx_symbol_0_clk>,
           <&ufs_phy_rx_symbol_1_clk>,
           <&ufs_phy_tx_symbol_0_clk>,
           <&ufs_card_rx_symbol_0_clk>,
           <&ufs_card_rx_symbol_1_clk>,
           <&ufs_card_tx_symbol_0_clk>,
           <&usb_0_ssphy>,
           <&gcc_usb4_phy_pipegmux_clk_src>,
           <&gcc_usb4_phy_dp_gmux_clk_src>,
           <&gcc_usb4_phy_sys_pipegmux_clk_src>,
           <&usb4_phy_gcc_usb4_pcie_pipe_clk>,
           <&usb4_phy_gcc_usb4rtr_max_pipe_clk>,
           <&qusb4phy_gcc_usb4_rx0_clk>,
           <&qusb4phy_gcc_usb4_rx1_clk>,
           <&usb_1_ssphy>,
           <&gcc_usb4_1_phy_pipegmux_clk_src>,
           <&gcc_usb4_1_phy_dp_gmux_clk_src>,
           <&gcc_usb4_1_phy_sys_pipegmux_clk_src>,
           <&usb4_1_phy_gcc_usb4_pcie_pipe_clk>,
           <&usb4_1_phy_gcc_usb4rtr_max_pipe_clk>,
           <&qusb4phy_1_gcc_usb4_rx0_clk>,
           <&qusb4phy_1_gcc_usb4_rx1_clk>,
           <&usb_2_ssphy>,
           <&usb_3_ssphy>,
           <&pcie2a_lane>,
           <&pcie2b_lane>,
           <&pcie3a_lane>,
           <&pcie3b_lane>,
           <&pcie4_lane>,
           <&rxc0_ref_clk>,
           <&rxc1_ref_clk>;
  power-domains = <&rpmhpd SC8280XP_CX>;

  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm SDM660/SDM630/SDM636 Global Clock & Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sdm660.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SDM630, SDM636 and SDM660

See also::
  include/dt-bindings/clock/qcom,gcc-sdm660.h  (qcom,gcc-sdm630 and qcom,gcc-sdm660)

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-sdm630", "qcom,gcc-sdm660"

clocks — not listed as required here #

Array item rules (items) #

Item 1

XO source

Item 2

Sleep clock source

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#power-domain-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
    compatible = "qcom,gcc-sdm660";
    reg = <0x00100000 0x94000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;

    clock-names = "xo", "sleep_clk";
    clocks = <&xo_board>,
             <&sleep_clk>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 48: Example for GCC for SDM660:

Qualcomm Global Clock & Reset Controller on SDM670 and SDM845

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sdm845.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SDM670 and SDM845

See also: include/dt-bindings/clock/qcom,gcc-sdm845.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-sdm670", "qcom,gcc-sdm845"

clocks — not listed as required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 5

clock-names — not listed as required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 5

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,gcc-sdm670"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Sleep clock source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "sleep_clk"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,gcc-sdm845"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Sleep clock source

Item 4

PCIE 0 Pipe clock source

Item 5

PCIE 1 Pipe clock source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "sleep_clk"

Item 4

Exact value (const): "pcie_0_pipe_clk"

Item 5

Exact value (const): "pcie_1_pipe_clk"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,gcc-sdm845";
  reg = <0x100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>,
           <&pcie0_lane>,
           <&pcie1_lane>;
  clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", "pcie_0_pipe_clk", "pcie_1_pipe_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 85: Example for GCC for SDM845:

Qualcomm Global Clock & Reset Controller on SDX55

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sdx55.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>", "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SDX55

See also: include/dt-bindings/clock/qcom,gcc-sdx55.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sdx55"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "sleep_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,gcc-sdx55";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&sleep_clk>;
  clock-names = "bi_tcxo",
                "sleep_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SDX65

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sdx65.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Vamsi krishna Lanka <quic_vamslank@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SDX65

See also: include/dt-bindings/clock/qcom,gcc-sdx65.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sdx65"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Sleep clock source

Item 4

PCIE Pipe clock source

Item 5

USB3 phy wrapper pipe clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "sleep_clk"

Item 4

Exact value (const): "pcie_pipe_clk"

Item 5

Exact value (const): "usb3_phy_wrapper_gcc_usb30_pipe_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,gcc-sdx65";
  reg = <0x100000 0x1f7400>;
  clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>,
           <&pcie_pipe_clk>, <&usb3_phy_wrapper_gcc_usb30_pipe_clk>;
  clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk",
                "pcie_pipe_clk", "usb3_phy_wrapper_gcc_usb30_pipe_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM6115 and SM4250

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sm6115.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Iskren Chernev <iskren.chernev@gmail.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM4250/6115.

See also: include/dt-bindings/clock/qcom,gcc-sm6115.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sm6115"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "sleep_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@1400000 {
    compatible = "qcom,gcc-sm6115";
    reg = <0x01400000 0x1f0000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
    clock-names = "bi_tcxo", "sleep_clk";
    clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM6125

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sm6125.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM6125.

See also: include/dt-bindings/clock/qcom,gcc-sm6125.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sm6125"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "sleep_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@1400000 {
    compatible = "qcom,gcc-sm6125";
    reg = <0x01400000 0x1f0000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
    clock-names = "bi_tcxo", "sleep_clk";
    clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM6350

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sm6350.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM6350.

See also: include/dt-bindings/clock/qcom,gcc-sm6350.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sm6350"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "sleep_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,gcc-sm6350";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM8150

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sm8150.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM8150.

See also: include/dt-bindings/clock/qcom,gcc-sm8150.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sm8150"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "sleep_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,gcc-sm8150";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&sleep_clk>;
  clock-names = "bi_tcxo", "sleep_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Global Clock & Reset Controller on SM8250

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sm8250.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM8250.

See also: include/dt-bindings/clock/qcom,gcc-sm8250.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sm8250"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "sleep_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,gcc-sm8250";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM8350

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sm8350.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM8350.

See also: include/dt-bindings/clock/qcom,gcc-sm8350.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-sm8350"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

PCIE 0 Pipe clock source (Optional clock)

Item 4

PCIE 1 Pipe clock source (Optional clock)

Item 5

UFS card Rx symbol 0 clock source (Optional clock)

Item 6

UFS card Rx symbol 1 clock source (Optional clock)

Item 7

UFS card Tx symbol 0 clock source (Optional clock)

Item 8

UFS phy Rx symbol 0 clock source (Optional clock)

Item 9

UFS phy Rx symbol 1 clock source (Optional clock)

Item 10

UFS phy Tx symbol 0 clock source (Optional clock)

Item 11

USB3 phy wrapper pipe clock source (Optional clock)

Item 12

USB3 phy sec pipe clock source (Optional clock)

Minimum number of items (minItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "pcie_0_pipe_clk"

Item 4

Exact value (const): "pcie_1_pipe_clk"

Item 5

Exact value (const): "ufs_card_rx_symbol_0_clk"

Item 6

Exact value (const): "ufs_card_rx_symbol_1_clk"

Item 7

Exact value (const): "ufs_card_tx_symbol_0_clk"

Item 8

Exact value (const): "ufs_phy_rx_symbol_0_clk"

Item 9

Exact value (const): "ufs_phy_rx_symbol_1_clk"

Item 10

Exact value (const): "ufs_phy_tx_symbol_0_clk"

Item 11

Exact value (const): "usb3_phy_wrapper_gcc_usb30_pipe_clk"

Item 12

Exact value (const): "usb3_uni_phy_sec_gcc_usb30_pipe_clk"

Minimum number of items (minItems): 2

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,gcc-sm8350";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&sleep_clk>;
  clock-names = "bi_tcxo", "sleep_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 42: Optional clock

Line 43: Optional clock

Line 44: Optional clock

Line 45: Optional clock

Line 46: Optional clock

Line 47: Optional clock

Line 48: Optional clock

Line 49: Optional clock

Line 50: Optional clock

Line 51: Optional clock

Qualcomm Global Clock & Reset Controller on SM8450

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-sm8450.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM8450

See also: include/dt-bindings/clock/qcom,gcc-sm8450.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-sm8450", "qcom,sm8475-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

PCIE 0 Pipe clock source (Optional clock)

Item 4

PCIE 1 Pipe clock source (Optional clock)

Item 5

PCIE 1 Phy Auxiliary clock source (Optional clock)

Item 6

UFS Phy Rx symbol 0 clock source (Optional clock)

Item 7

UFS Phy Rx symbol 1 clock source (Optional clock)

Item 8

UFS Phy Tx symbol 0 clock source (Optional clock)

Item 9

USB3 Phy wrapper pipe clock source (Optional clock)

Minimum number of items (minItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "pcie_0_pipe_clk"

Item 4

Exact value (const): "pcie_1_pipe_clk"

Item 5

Exact value (const): "pcie_1_phy_aux_clk"

Item 6

Exact value (const): "ufs_phy_rx_symbol_0_clk"

Item 7

Exact value (const): "ufs_phy_rx_symbol_1_clk"

Item 8

Exact value (const): "ufs_phy_tx_symbol_0_clk"

Item 9

Exact value (const): "usb3_phy_wrapper_gcc_usb30_pipe_clk"

Minimum number of items (minItems): 2

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,gcc-sm8450";
  reg = <0x00100000 0x001f4200>;
  clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>;
  clock-names = "bi_tcxo", "sleep_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 41: Optional clock

Line 42: Optional clock

Line 43: Optional clock

Line 44: Optional clock

Line 45: Optional clock

Line 46: Optional clock

Line 47: Optional clock

Qualcomm Global Clock & Reset Controller Common Properties

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Common bindings for Qualcomm global clock control module providing the clocks, resets and power domains.

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

#power-domain-cells — not listed as required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

protected-clocks — not listed as required here #

Protected clock specifier list as per common clock binding.

Required in this object (required): "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Display Clock & Reset Controller on GLYMUR

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,glymur-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <taniya.das@oss.qualcomm.com>"

Qualcomm display clock control module which supports the clocks, resets and power domains for the MDSS instances on GLYMUR SoC.

See also:
  include/dt-bindings/clock/qcom,dispcc-glymur.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,glymur-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board CXO clock

Item 2

Board sleep clock

Item 3

DisplayPort 0 link clock

Item 4

DisplayPort 0 VCO div clock

Item 5

DisplayPort 1 link clock

Item 6

DisplayPort 1 VCO div clock

Item 7

DisplayPort 2 link clock

Item 8

DisplayPort 2 VCO div clock

Item 9

DisplayPort 3 link clock

Item 10

DisplayPort 3 VCO div clock

Item 11

DSI 0 PLL byte clock

Item 12

DSI 0 PLL DSI clock

Item 13

DSI 1 PLL byte clock

Item 14

DSI 1 PLL DSI clock

Item 15

Standalone PHY 0 PLL link clock

Item 16

Standalone PHY 0 VCO div clock

Item 17

Standalone PHY 1 PLL link clock

Item 18

Standalone PHY 1 VCO div clock

power-domains — required here #

A phandle and PM domain specifier for the MMCX power domain.

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

A phandle to an OPP node describing required MMCX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "power-domains", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

clock-controller@af00000 {
  compatible = "qcom,glymur-dispcc";
  reg = <0x0af00000 0x20000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&sleep_clk>,
           <&mdss_dp_phy0 0>,
           <&mdss_dp_phy0 1>,
           <&mdss_dp_phy1 0>,
           <&mdss_dp_phy1 1>,
           <&mdss_dp_phy2 0>,
           <&mdss_dp_phy2 1>,
           <&mdss_dp_phy3 0>,
           <&mdss_dp_phy3 1>,
           <&mdss_dsi0_phy 0>,
           <&mdss_dsi0_phy 1>,
           <&mdss_dsi1_phy 0>,
           <&mdss_dsi1_phy 1>,
           <&mdss_phy0_link 0>,
           <&mdss_phy0_vco_div 0>,
           <&mdss_phy1_link 1>,
           <&mdss_phy1_vco_div 1>;
  power-domains = <&rpmhpd RPMHPD_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on Glymur SoC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,glymur-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <taniya.das@oss.qualcomm.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on Glymur SoC.

See also: include/dt-bindings/clock/qcom,glymur-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,glymur-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board XO_A source

Item 3

Sleep clock source

Item 4

USB 0 Phy DP0 GMUX clock source

Item 5

USB 0 Phy DP1 GMUX clock source

Item 6

USB 0 Phy PCIE PIPEGMUX clock source

Item 7

USB 0 Phy PIPEGMUX clock source

Item 8

USB 0 Phy SYS PCIE PIPEGMUX clock source

Item 9

USB 1 Phy DP0 GMUX 2 clock source

Item 10

USB 1 Phy DP1 GMUX 2 clock source

Item 11

USB 1 Phy PCIE PIPEGMUX clock source

Item 12

USB 1 Phy PIPEGMUX clock source

Item 13

USB 1 Phy SYS PCIE PIPEGMUX clock source

Item 14

USB 2 Phy DP0 GMUX 2 clock source

Item 15

USB 2 Phy DP1 GMUX 2 clock source

Item 16

USB 2 Phy PCIE PIPEGMUX clock source

Item 17

USB 2 Phy PIPEGMUX clock source

Item 18

USB 2 Phy SYS PCIE PIPEGMUX clock source

Item 19

PCIe 3a pipe clock

Item 20

PCIe 3b pipe clock

Item 21

PCIe 4 pipe clock

Item 22

PCIe 5 pipe clock

Item 23

PCIe 6 pipe clock

Item 24

QUSB4 0 PHY RX 0 clock source

Item 25

QUSB4 0 PHY RX 1 clock source

Item 26

QUSB4 1 PHY RX 0 clock source

Item 27

QUSB4 1 PHY RX 1 clock source

Item 28

QUSB4 2 PHY RX 0 clock source

Item 29

QUSB4 2 PHY RX 1 clock source

Item 30

UFS PHY RX Symbol 0 clock source

Item 31

UFS PHY RX Symbol 1 clock source

Item 32

UFS PHY TX Symbol 0 clock source

Item 33

USB3 PHY 0 pipe clock source

Item 34

USB3 PHY 1 pipe clock source

Item 35

USB3 PHY 2 pipe clock source

Item 36

USB3 UNI PHY pipe 0 clock source

Item 37

USB3 UNI PHY pipe 1 clock source

Item 38

USB4 PHY 0 pcie pipe clock source

Item 39

USB4 PHY 0 Max pipe clock source

Item 40

USB4 PHY 1 pcie pipe clock source

Item 41

USB4 PHY 1 Max pipe clock source

Item 42

USB4 PHY 2 pcie pipe clock source

Item 43

USB4 PHY 2 Max pipe clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,glymur-gcc";
  reg = <0x100000 0x1f9000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>,
           <&usb_0_phy_dp0_gmux>,
           <&usb_0_phy_dp1_gmux>,
           <&usb_0_phy_pcie_pipegmux>,
           <&usb_0_phy_pipegmux>,
           <&usb_0_phy_sys_pcie_pipegmux>,
           <&usb_1_phy_dp0_gmux_2>,
           <&usb_1_phy_dp1_gmux_2>,
           <&usb_1_phy_pcie_pipegmux>,
           <&usb_1_phy_pipegmux>,
           <&usb_1_phy_sys_pcie_pipegmux>,
           <&usb_2_phy_dp0_gmux 2>,
           <&usb_2_phy_dp1_gmux 2>,
           <&usb_2_phy_pcie_pipegmux>,
           <&usb_2_phy_pipegmux>,
           <&usb_2_phy_sys_pcie_pipegmux>,
           <&pcie_3a_pipe>, <&pcie_3b_pipe>,
           <&pcie_4_pipe>, <&pcie_5_pipe>,
           <&pcie_6_pipe>,
           <&qusb4_0_phy_rx_0>, <&qusb4_0_phy_rx_1>,
           <&qusb4_1_phy_rx_0>, <&qusb4_1_phy_rx_1>,
           <&qusb4_2_phy_rx_0>, <&qusb4_2_phy_rx_1>,
           <&ufs_phy_rx_symbol_0>, <&ufs_phy_rx_symbol_1>,
           <&ufs_phy_tx_symbol_0>,
           <&usb3_phy_0_pipe>, <&usb3_phy_1_pipe>,
           <&usb3_phy_2_pipe>,
           <&usb3_uni_phy_pipe_0>, <&usb3_uni_phy_pipe_1>,
           <&usb4_phy_0_pcie_pipe>, <&usb4_phy_0_max_pipe>,
           <&usb4_phy_1_pcie_pipe>, <&usb4_phy_1_max_pipe>,
           <&usb4_phy_2_pcie_pipe>, <&usb4_phy_2_max_pipe>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Graphics Clock & Reset Controller on SDM630 and SDM660

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gpucc-sdm660.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>"

Qualcomm graphics clock control module provides the clocks, resets and power domains on SDM630 and SDM660.

See also dt-bindings/clock/qcom,gpucc-sdm660.h.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gpucc-sdm630", "qcom,gpucc-sdm660"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 main gpu branch

Item 3

GPLL0 divider gpu branch

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "gcc_gpu_gpll0_clk"

Item 3

Exact value (const): "gcc_gpu_gpll0_div_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sdm660.h>
#include <dt-bindings/clock/qcom,rpmcc.h>

clock-controller@5065000 {
  compatible = "qcom,gpucc-sdm660";
  reg = <0x05065000 0x9038>;
  clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
           <&gcc GCC_GPU_GPLL0_CLK>,
           <&gcc GCC_GPU_GPLL0_DIV_CLK>;
  clock-names = "xo", "gcc_gpu_gpll0_clk",
                "gcc_gpu_gpll0_div_clk";
  #clock-cells = <1>;
  #power-domain-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Graphics Clock & Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gpucc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>", "Imran Shaik <quic_imrashai@quicinc.com>"

Qualcomm graphics clock control module provides the clocks, resets and power domains on Qualcomm SoCs.

See also::
  include/dt-bindings/clock/qcom,gpucc-sdm845.h
  include/dt-bindings/clock/qcom,gpucc-sa8775p.h
  include/dt-bindings/clock/qcom,gpucc-sc7180.h
  include/dt-bindings/clock/qcom,gpucc-sc7280.h
  include/dt-bindings/clock/qcom,gpucc-sc8280xp.h
  include/dt-bindings/clock/qcom,gpucc-sm6350.h
  include/dt-bindings/clock/qcom,gpucc-sm8150.h
  include/dt-bindings/clock/qcom,gpucc-sm8250.h
  include/dt-bindings/clock/qcom,gpucc-sm8350.h
  include/dt-bindings/clock/qcom,qcs8300-gpucc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,qcs8300-gpucc", "qcom,sdm845-gpucc", "qcom,sa8775p-gpucc", "qcom,sc7180-gpucc", "qcom,sc7280-gpucc", "qcom,sc8180x-gpucc", "qcom,sc8280xp-gpucc", "qcom,sm6350-gpucc", "qcom,sm8150-gpucc", "qcom,sm8250-gpucc", "qcom,sm8350-gpucc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 main branch source

Item 3

GPLL0 div branch source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "gcc_gpu_gpll0_clk_src"

Item 3

Exact value (const): "gcc_gpu_gpll0_div_clk_src"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

vdd-gfx-supply — not listed as required here #

Regulator supply for the VDD_GFX pads

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

This rule must not match (not) #

Required in this object (required): "power-domains", "vdd-gfx-supply"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@5090000 {
  compatible = "qcom,sdm845-gpucc";
  reg = <0x05090000 0x9000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_GPU_GPLL0_CLK_SRC>,
           <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
  clock-names = "bi_tcxo",
                "gcc_gpu_gpll0_clk_src",
                "gcc_gpu_gpll0_div_clk_src";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 68: Require that power-domains and vdd-gfx-supply are not both present

Qualcomm High-Frequency PLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,hfpll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

The HFPLL is used as CPU PLL on various Qualcomm SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,msm8974-hfpll", "qcom,msm8976-hfpll-a53", "qcom,msm8976-hfpll-a72", "qcom,msm8976-hfpll-cci", "qcom,qcs404-hfpll"

Rule 2

Exact value (const): "qcom,hfpll"

Deprecated (deprecated): true

reg — required here #

Array item rules (items) #

Item 1

HFPLL registers

Item 2

Alias register region

Minimum number of items (minItems): 1

#clock-cells — required here #

Exact value (const): 0

clocks — required here #

Array item rules (items) #

Item 1

board XO clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

clock-output-names — required here #

Name of the PLL. Typically hfpllX where X is a CPU number starting at 0. Otherwise hfpll_Y where Y is more specific such as "l2".

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@f908a000 {
    compatible = "qcom,msm8974-hfpll";
    reg = <0xf908a000 0x30>, <0xf900a000 0x30>;
    #clock-cells = <0>;
    clock-output-names = "hfpll0";
    clocks = <&xo_board>;
    clock-names = "xo";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on IPQ5018

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,ipq5018-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sricharan Ramabadhran <quic_srichara@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on IPQ5018

See also::
  include/dt-bindings/clock/qcom,ipq5018-gcc.h
  include/dt-bindings/reset/qcom,ipq5018-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-ipq5018"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

PCIE20 PHY0 pipe clock source

Item 4

PCIE20 PHY1 pipe clock source

Item 5

USB3 PHY pipe clock source

Item 6

GEPHY RX clock source

Item 7

GEPHY TX clock source

Item 8

UNIPHY RX clock source

Item 9

UNIPHY TX clk source

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1800000 {
  compatible = "qcom,gcc-ipq5018";
  reg = <0x01800000 0x80000>;
  clocks = <&xo_board_clk>,
           <&sleep_clk>,
           <&pcie20_phy0_pipe_clk>,
           <&pcie20_phy1_pipe_clk>,
           <&usb3_phy0_pipe_clk>,
           <&gephy_rx_clk>,
           <&gephy_tx_clk>,
           <&uniphy_rx_clk>,
           <&uniphy_tx_clk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on IPQ5332 and IPQ5424

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,ipq5332-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on IPQ5332 and IPQ5424.

See also:
  include/dt-bindings/clock/qcom,gcc-ipq5332.h
  include/dt-bindings/clock/qcom,gcc-ipq5424.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,ipq5332-gcc", "qcom,ipq5424-gcc"

clocks — required here #

Minimum number of items (minItems): 5

Array item rules (items) #

Item 1

Board XO clock source

Item 2

Sleep clock source

Item 3

PCIE 2lane PHY pipe clock source

Item 4

PCIE 2lane x1 PHY pipe clock source (For second lane)

Item 5

USB PCIE wrapper pipe clock source

Item 6

PCIE 2-lane PHY2 pipe clock source

Item 7

PCIE 2-lane PHY3 pipe clock source

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

#interconnect-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,ipq5332-gcc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 5

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,ipq5424-gcc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 7

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1800000 {
  compatible = "qcom,ipq5332-gcc";
  reg = <0x01800000 0x80000>;
  clocks = <&xo_board>,
           <&sleep_clk>,
           <&pcie_2lane_phy_pipe_clk>,
           <&pcie_2lane_phy_pipe_clk_x1>,
           <&usb_pcie_wrapper_pipe_clk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm APSS IPQ5424 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,ipq5424-apss-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Varadarajan Narayanan <quic_varada@quicinc.com>"

The CPU core in ipq5424 is clocked by a huayra PLL with RCG support. The RCG and PLL have a separate register space from the GCC.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,ipq5424-apss-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Reference to the XO clock.

Item 2

Reference to the GPLL0 clock.

#clock-cells — required here #

Exact value (const): 1

#interconnect-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells", "#interconnect-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,ipq5424-gcc.h>

apss_clk: clock-controller@fa80000 {
  compatible = "qcom,ipq5424-apss-clk";
  reg = <0x0fa80000 0x20000>;
  clocks = <&xo_board>,
           <&gcc GPLL0>;
  #clock-cells = <1>;
  #interconnect-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm CMN PLL Clock Controller on IPQ SoC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,ipq9574-cmn-pll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Luo Jie <quic_luoj@quicinc.com>"

The CMN (or common) PLL clock controller expects a reference input clock. This reference clock is from the on-board Wi-Fi. The CMN PLL supplies a number of fixed rate output clocks to the devices providing networking functions and to GCC. These networking hardware include PPE (packet process engine), PCS and the externally connected switch or PHY devices. The CMN PLL block also outputs fixed rate clocks to GCC. The PLL's primary function is to enable fixed rate output clocks for networking hardware functions used with the IPQ SoC.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,ipq5018-cmn-pll", "qcom,ipq5424-cmn-pll", "qcom,ipq9574-cmn-pll"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

The reference clock. The supported clock rates include 25000000, 31250000, 40000000, 48000000, 50000000 and 96000000 HZ.

Item 2

The AHB clock

Item 3

The SYS clock

The reference clock is the source clock of CMN PLL, which is from the Wi-Fi. The AHB and SYS clocks must be enabled to access CMN PLL clock registers.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ref"

Item 2

Exact value (const): "ahb"

Item 3

Exact value (const): "sys"

#clock-cells — required here #

Exact value (const): 1

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/qcom,ipq-cmn-pll.h>
#include <dt-bindings/clock/qcom,ipq9574-gcc.h>

cmn_pll: clock-controller@9b000 {
    compatible = "qcom,ipq9574-cmn-pll";
    reg = <0x0009b000 0x800>;
    clocks = <&cmn_pll_ref_clk>,
             <&gcc GCC_CMN_12GPLL_AHB_CLK>,
             <&gcc GCC_CMN_12GPLL_SYS_CLK>;
    clock-names = "ref", "ahb", "sys";
    #clock-cells = <1>;
    assigned-clocks = <&cmn_pll CMN_PLL_CLK>;
    assigned-clock-rates-u64 = /bits/ 64 <12000000000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Global Clock & Reset Controller on IPQ9574

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,ipq9574-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Anusha Rao <quic_anusha@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on IPQ9574

See also::
  include/dt-bindings/clock/qcom,ipq9574-gcc.h
  include/dt-bindings/reset/qcom,ipq9574-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,ipq9574-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

Bias PLL ubi clock source

Item 4

PCIE30 PHY0 pipe clock source

Item 5

PCIE30 PHY1 pipe clock source

Item 6

PCIE30 PHY2 pipe clock source

Item 7

PCIE30 PHY3 pipe clock source

Item 8

USB3 PHY pipe clock source

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

#interconnect-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1800000 {
  compatible = "qcom,ipq9574-gcc";
  reg = <0x01800000 0x80000>;
  clocks = <&xo_board_clk>,
           <&sleep_clk>,
           <&bias_pll_ubi_nc_clk>,
           <&pcie30_phy0_pipe_clk>,
           <&pcie30_phy1_pipe_clk>,
           <&pcie30_phy2_pipe_clk>,
           <&pcie30_phy3_pipe_clk>,
           <&usb3phy_0_cc_pipe_clk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Networking Sub System Clock & Reset Controller on IPQ9574 and IPQ5424

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,ipq9574-nsscc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Anusha Rao <quic_anusha@quicinc.com>"

Qualcomm networking sub system clock control module provides the clocks, resets on IPQ9574 and IPQ5424

See also:
  include/dt-bindings/clock/qcom,ipq5424-nsscc.h
  include/dt-bindings/clock/qcom,ipq9574-nsscc.h
  include/dt-bindings/reset/qcom,ipq5424-nsscc.h
  include/dt-bindings/reset/qcom,ipq9574-nsscc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,ipq5424-nsscc", "qcom,ipq9574-nsscc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

CMN_PLL NSS (Bias PLL cc) clock source. This clock rate can vary for different IPQ SoCs. For example, it is 1200 MHz on the IPQ9574 and 300 MHz on the IPQ5424.

Item 3

CMN_PLL PPE (Bias PLL ubi nc) clock source. The clock rate can vary for different IPQ SoCs. For example, it is 353 MHz on the IPQ9574 and 375 MHz on the IPQ5424.

Item 4

GCC GPLL0 OUT AUX clock source

Item 5

Uniphy0 NSS Rx clock source

Item 6

Uniphy0 NSS Tx clock source

Item 7

Uniphy1 NSS Rx clock source

Item 8

Uniphy1 NSS Tx clock source

Item 9

Uniphy2 NSS Rx clock source

Item 10

Uniphy2 NSS Tx clock source

Item 11

GCC NSSCC clock source

#interconnect-cells — not listed as required here #

Exact value (const): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Allowed values (enum): "nss_1200", "nss"

Item 3

Allowed values (enum): "ppe_353", "ppe"

Item 4

Exact value (const): "gpll0_out"

Item 5

Exact value (const): "uniphy0_rx"

Item 6

Exact value (const): "uniphy0_tx"

Item 7

Exact value (const): "uniphy1_rx"

Item 8

Exact value (const): "uniphy1_tx"

Item 9

Exact value (const): "uniphy2_rx"

Item 10

Exact value (const): "uniphy2_tx"

Item 11

Exact value (const): "bus"

Required in this object (required): "compatible", "clocks", "clock-names"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,ipq9574-nsscc"

When the condition matches (then) #

Properties and child nodes (properties)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "nss_1200"

Item 3

Exact value (const): "ppe_353"

Item 4

Exact value (const): "gpll0_out"

Item 5

Exact value (const): "uniphy0_rx"

Item 6

Exact value (const): "uniphy0_tx"

Item 7

Exact value (const): "uniphy1_rx"

Item 8

Exact value (const): "uniphy1_tx"

Item 9

Exact value (const): "uniphy2_rx"

Item 10

Exact value (const): "uniphy2_tx"

Item 11

Exact value (const): "bus"

When the condition does not match (else) #

Properties and child nodes (properties)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "nss"

Item 3

Exact value (const): "ppe"

Item 4

Exact value (const): "gpll0_out"

Item 5

Exact value (const): "uniphy0_rx"

Item 6

Exact value (const): "uniphy0_tx"

Item 7

Exact value (const): "uniphy1_rx"

Item 8

Exact value (const): "uniphy1_tx"

Item 9

Exact value (const): "uniphy2_rx"

Item 10

Exact value (const): "uniphy2_tx"

Item 11

Exact value (const): "bus"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,ipq9574-gcc.h>
#include <dt-bindings/clock/qcom,ipq-cmn-pll.h>
clock-controller@39b00000 {
  compatible = "qcom,ipq9574-nsscc";
  reg = <0x39b00000 0x80000>;
  clocks = <&xo_board_clk>,
           <&cmn_pll NSS_1200MHZ_CLK>,
           <&cmn_pll PPE_353MHZ_CLK>,
           <&gcc GPLL0_OUT_AUX>,
           <&uniphy 0>,
           <&uniphy 1>,
           <&uniphy 2>,
           <&uniphy 3>,
           <&uniphy 4>,
           <&uniphy 5>,
           <&gcc GCC_NSSCC_CLK>;
  clock-names = "xo",
                "nss_1200",
                "ppe_353",
                "gpll0_out",
                "uniphy0_rx",
                "uniphy0_tx",
                "uniphy1_rx",
                "uniphy1_tx",
                "uniphy2_rx",
                "uniphy2_tx",
                "bus";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #interconnect-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Graphics power domain Controller on Kaanapali

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,kaanapali-gxclkctl.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <taniya.das@oss.qualcomm.com>"

Qualcomm GX(graphics) is a clock controller which has PLLs, clocks and Power domains (GDSC). This module provides the power domains control of gxclkctl on Qualcomm SoCs which helps the recovery of Graphics subsystem.

See also:
  include/dt-bindings/clock/qcom,kaanapali-gxclkctl.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,kaanapali-gxclkctl"

power-domains — required here #

Power domains required for the clock controller to operate

Array item rules (items) #

Item 1

GFX power domain

Item 2

GMXC power domain

Item 3

GPUCC(CX) power domain

#power-domain-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "power-domains", "#power-domain-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/power/qcom,rpmhpd.h>
soc {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@3d64000 {
        compatible = "qcom,kaanapali-gxclkctl";
        reg = <0x0 0x03d64000 0x0 0x6000>;
        power-domains = <&rpmhpd RPMHPD_GFX>,
                        <&rpmhpd RPMHPD_GMXC>,
                        <&gpucc 0>;
        #power-domain-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Krait Processor Sub-system (KPSS) Application Clock Controller (ACC) v1

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,kpss-acc-v1.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Christian Marangi <ansuelsmth@gmail.com>"

The KPSS ACC provides clock, power domain, and reset control to a Krait CPU. There is one ACC register region per CPU within the KPSS remapped region as well as an alias register region that remaps accesses to the ACC associated with the CPU accessing the region. ACC v1 is currently used as a clock-controller for enabling the cpu and handling the aux clocks.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,kpss-acc-v1"

reg — required here #

Array item rules (items) #

Item 1

Base address and size of the register region

Item 2

Optional base address and size of the alias register region

Minimum number of items (minItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pll8_vote"

Item 2

Exact value (const): "pxo"

clock-output-names — required here #

Name of the aux clock. Krait can have at most 4 cpu.

Allowed values (enum): "acpu0_aux", "acpu1_aux", "acpu2_aux", "acpu3_aux"

#clock-cells — required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "clock-output-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/qcom,gcc-ipq806x.h>

clock-controller@2088000 {
  compatible = "qcom,kpss-acc-v1";
  reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
  clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
  clock-names = "pll8_vote", "pxo";
  clock-output-names = "acpu0_aux";
  #clock-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Krait Processor Sub-system (KPSS) Global Clock Controller (GCC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,kpss-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Christian Marangi <ansuelsmth@gmail.com>"

Krait Processor Sub-system (KPSS) Global Clock Controller (GCC). Used to control L2 mux (in the current implementation) and provide access to the kpss-gcc registers.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,kpss-gcc-ipq8064", "qcom,kpss-gcc-apq8064", "qcom,kpss-gcc-msm8974", "qcom,kpss-gcc-msm8960", "qcom,kpss-gcc-msm8660", "qcom,kpss-gcc-mdm9615"

Item 2

Exact value (const): "qcom,kpss-gcc"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "pll8_vote"

Item 2

Exact value (const): "pxo"

#clock-cells — not listed as required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "qcom,kpss-gcc-ipq8064", "qcom,kpss-gcc-apq8064", "qcom,kpss-gcc-msm8974", "qcom,kpss-gcc-msm8960"

When the condition matches (then) #

Required in this object (required): "clocks", "clock-names", "#clock-cells"

When the condition does not match (else) #

Properties and child nodes (properties) #

clock — not listed as required here #

false — Not permitted by this property rule.

clock-names — not listed as required here #

false — Not permitted by this property rule.

#clock-cells — not listed as required here #

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-ipq806x.h>

clock-controller@2011000 {
  compatible = "qcom,kpss-gcc-ipq8064", "qcom,kpss-gcc", "syscon";
  reg = <0x2011000 0x1000>;
  clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
  clock-names = "pll8_vote", "pxo";
  #clock-cells = <0>;
};
clock-controller@2011000 {
  compatible = "qcom,kpss-gcc-mdm9615", "qcom,kpss-gcc", "syscon";
  reg = <0x02011000 0x1000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Krait Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,krait-cc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,krait-cc-v1", "qcom,krait-cc-v2"

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

Parent clock phandle for hfpll0

Item 2

Parent clock phandle for hfpll1

Item 3

Parent clock phandle for acpu0_aux

Item 4

Parent clock phandle for acpu1_aux

Item 5

Parent clock phandle for qsb

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "hfpll0"

Item 2

Exact value (const): "hfpll1"

Item 3

Exact value (const): "acpu0_aux"

Item 4

Exact value (const): "acpu1_aux"

Item 5

Exact value (const): "qsb"

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm LPASS Clock & Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,lcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,lcc-apq8064", "qcom,lcc-ipq8064", "qcom,lcc-mdm9615", "qcom,lcc-msm8960"

clocks — not listed as required here #

Maximum number of items (maxItems): 8

clock-names — not listed as required here #

Maximum number of items (maxItems): 8

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,lcc-apq8064", "qcom,lcc-msm8960"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Array item rules (items)

Item 1

Board PXO source

Item 2

PLL 4 Vote clock

Item 3

MI2S codec clock

Item 4

Mic I2S codec clock

Item 5

Mic I2S spare clock

Item 6

Speaker I2S codec clock

Item 7

Speaker I2S spare clock

Item 8

PCM codec clock

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "pxo"

Item 2

Exact value (const): "pll4_vote"

Item 3

Exact value (const): "mi2s_codec_clk"

Item 4

Exact value (const): "codec_i2s_mic_codec_clk"

Item 5

Exact value (const): "spare_i2s_mic_codec_clk"

Item 6

Exact value (const): "codec_i2s_spkr_codec_clk"

Item 7

Exact value (const): "spare_i2s_spkr_codec_clk"

Item 8

Exact value (const): "pcm_codec_clk"

Required in this object (required): "clocks", "clock-names"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,lcc-mdm9615"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Array item rules (items)

Item 1

Board CXO source

Item 2

PLL 4 Vote clock

Item 3

MI2S codec clock

Item 4

Mic I2S codec clock

Item 5

Mic I2S spare clock

Item 6

Speaker I2S codec clock

Item 7

Speaker I2S spare clock

Item 8

PCM codec clock

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "cxo"

Item 2

Exact value (const): "pll4_vote"

Item 3

Exact value (const): "mi2s_codec_clk"

Item 4

Exact value (const): "codec_i2s_mic_codec_clk"

Item 5

Exact value (const): "spare_i2s_mic_codec_clk"

Item 6

Exact value (const): "codec_i2s_spkr_codec_clk"

Item 7

Exact value (const): "spare_i2s_spkr_codec_clk"

Item 8

Exact value (const): "pcm_codec_clk"

Required in this object (required): "clocks", "clock-names"

Examples (examples) #

clock-controller@28000000 {
    compatible = "qcom,lcc-ipq8064";
    reg = <0x28000000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm Camera Clock & Reset Controller on Milos

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,milos-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Luca Weiss <luca.weiss@fairphone.com>"

Qualcomm camera clock control module provides the clocks, resets and power domains on Milos.

See also: include/dt-bindings/clock/qcom,milos-camcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,milos-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

Camera AHB clock from GCC

Required in this object (required): "compatible", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,milos-gcc.h>
clock-controller@adb0000 {
    compatible = "qcom,milos-camcc";
    reg = <0x0adb0000 0x40000>;
    clocks = <&bi_tcxo_div2>,
             <&sleep_clk>,
             <&gcc GCC_CAMERA_AHB_CLK>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on Milos

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,milos-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Luca Weiss <luca.weiss@fairphone.com>"

Qualcomm display clock control module provides the clocks, resets and power domains on Milos.

See also: include/dt-bindings/clock/qcom,milos-dispcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,milos-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

Display's AHB clock

Item 4

GPLL0 source from GCC

Item 5

Byte clock from DSI PHY0

Item 6

Pixel clock from DSI PHY0

Item 7

Link clock from DP PHY0

Item 8

VCO DIV clock from DP PHY0

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,milos-gcc.h>
#include <dt-bindings/phy/phy-qcom-qmp.h>
clock-controller@af00000 {
    compatible = "qcom,milos-dispcc";
    reg = <0x0af00000 0x20000>;
    clocks = <&bi_tcxo_div2>,
             <&sleep_clk>,
             <&gcc GCC_DISP_AHB_CLK>,
             <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
             <&mdss_dsi0_phy 0>,
             <&mdss_dsi0_phy 1>,
             <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>,
             <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on Milos

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,milos-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Luca Weiss <luca.weiss@fairphone.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on Milos.

See also: include/dt-bindings/clock/qcom,milos-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,milos-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

PCIE 0 Pipe clock source

Item 4

PCIE 1 Pipe clock source

Item 5

UFS Phy Rx symbol 0 clock source

Item 6

UFS Phy Rx symbol 1 clock source

Item 7

UFS Phy Tx symbol 0 clock source

Item 8

USB3 Phy wrapper pipe clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
    compatible = "qcom,milos-gcc";
    reg = <0x00100000 0x1f4200>;
    clocks = <&rpmhcc RPMH_CXO_CLK>,
             <&sleep_clk>,
             <&pcie0_phy>,
             <&pcie1_phy>,
             <&ufs_mem_phy 0>,
             <&ufs_mem_phy 1>,
             <&ufs_mem_phy 2>,
             <&usb_1_qmpphy>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Video Clock & Reset Controller on Milos

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,milos-videocc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Luca Weiss <luca.weiss@fairphone.com>"

Qualcomm video clock control module provides the clocks, resets and power domains on Milos.

See also: include/dt-bindings/clock/qcom,milos-videocc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,milos-videocc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Sleep clock source

Item 4

Video AHB clock from GCC

Required in this object (required): "compatible", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,milos-gcc.h>
clock-controller@aaf0000 {
    compatible = "qcom,milos-videocc";
    reg = <0x0aaf0000 0x10000>;
    clocks = <&bi_tcxo_div2>,
             <&bi_tcxo_ao_div2>,
             <&sleep_clk>,
             <&gcc GCC_VIDEO_AHB_CLK>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Multimedia Clock & Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,mmcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jeffrey Hugo <quic_jhugo@quicinc.com>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm multimedia clock control module provides the clocks, resets and power domains.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,mmcc-apq8064", "qcom,mmcc-apq8084", "qcom,mmcc-msm8226", "qcom,mmcc-msm8660", "qcom,mmcc-msm8960", "qcom,mmcc-msm8974", "qcom,mmcc-msm8992", "qcom,mmcc-msm8994", "qcom,mmcc-msm8996", "qcom,mmcc-msm8998", "qcom,mmcc-sdm630", "qcom,mmcc-sdm660"

clocks — not listed as required here #

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 13

clock-names — not listed as required here #

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 13

vdd-gfx-supply — not listed as required here #

Regulator supply for the GPU_GX GDSC

Required in this object (required): "compatible", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,mmcc-apq8064", "qcom,mmcc-msm8960"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 8

Array item rules (items)

Item 1

Board PXO source

Item 2

PLL 3 clock

Item 3

PLL 3 Vote clock

Item 4

DSI phy instance 1 dsi clock

Item 5

DSI phy instance 1 byte clock

Item 6

DSI phy instance 2 dsi clock

Item 7

DSI phy instance 2 byte clock

Item 8

HDMI phy PLL clock

Item 9

LVDS PLL clock

clock-names — not listed as required here

Minimum number of items (minItems): 8

Array item rules (items)

Item 1

Exact value (const): "pxo"

Item 2

Exact value (const): "pll3"

Item 3

Exact value (const): "pll8_vote"

Item 4

Exact value (const): "dsi1pll"

Item 5

Exact value (const): "dsi1pllbyte"

Item 6

Exact value (const): "dsi2pll"

Item 7

Exact value (const): "dsi2pllbyte"

Item 8

Exact value (const): "hdmipll"

Item 9

Exact value (const): "lvdspll"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,mmcc-msm8226"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

MMSS GPLL0 voted clock

Item 3

GPLL0 voted clock

Item 4

GPLL1 voted clock

Item 5

GFX3D clock source

Item 6

DSI phy instance 0 dsi clock

Item 7

DSI phy instance 0 byte clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "mmss_gpll0_vote"

Item 3

Exact value (const): "gpll0_vote"

Item 4

Exact value (const): "gpll1_vote"

Item 5

Exact value (const): "gfx3d_clk_src"

Item 6

Exact value (const): "dsi0pll"

Item 7

Exact value (const): "dsi0pllbyte"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,mmcc-msm8974"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

MMSS GPLL0 voted clock

Item 3

GPLL0 voted clock

Item 4

GPLL1 voted clock

Item 5

GFX3D clock source

Item 6

DSI phy instance 0 dsi clock

Item 7

DSI phy instance 0 byte clock

Item 8

DSI phy instance 1 dsi clock

Item 9

DSI phy instance 1 byte clock

Item 10

HDMI phy PLL clock

Item 11

eDP phy PLL link clock

Item 12

eDP phy PLL vco clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "mmss_gpll0_vote"

Item 3

Exact value (const): "gpll0_vote"

Item 4

Exact value (const): "gpll1_vote"

Item 5

Exact value (const): "gfx3d_clk_src"

Item 6

Exact value (const): "dsi0pll"

Item 7

Exact value (const): "dsi0pllbyte"

Item 8

Exact value (const): "dsi1pll"

Item 9

Exact value (const): "dsi1pllbyte"

Item 10

Exact value (const): "hdmipll"

Item 11

Exact value (const): "edp_link_clk"

Item 12

Exact value (const): "edp_vco_div"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,mmcc-apq8084"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

Board sleep source

Item 3

MMSS GPLL0 voted clock

Item 4

GPLL0 clock

Item 5

GPLL0 voted clock

Item 6

GPLL1 clock

Item 7

DSI phy instance 0 dsi clock

Item 8

DSI phy instance 0 byte clock

Item 9

DSI phy instance 1 dsi clock

Item 10

DSI phy instance 1 byte clock

Item 11

HDMI phy PLL clock

Item 12

eDP phy PLL link clock

Item 13

eDP phy PLL vco clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "mmss_gpll0_vote"

Item 4

Exact value (const): "gpll0"

Item 5

Exact value (const): "gpll0_vote"

Item 6

Exact value (const): "gpll1"

Item 7

Exact value (const): "dsi0pll"

Item 8

Exact value (const): "dsi0pllbyte"

Item 9

Exact value (const): "dsi1pll"

Item 10

Exact value (const): "dsi1pllbyte"

Item 11

Exact value (const): "hdmipll"

Item 12

Exact value (const): "edp_link_clk"

Item 13

Exact value (const): "edp_vco_div"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,mmcc-msm8994", "qcom,mmcc-msm8998", "qcom,mmcc-sdm630", "qcom,mmcc-sdm660"

When the condition matches (then) #

Required in this object (required): "clocks", "clock-names"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,mmcc-msm8994"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

Global PLL 0 clock

Item 3

MMSS NoC AHB clock

Item 4

GFX3D clock

Item 5

DSI phy instance 0 dsi clock

Item 6

DSI phy instance 0 byte clock

Item 7

DSI phy instance 1 dsi clock

Item 8

DSI phy instance 1 byte clock

Item 9

HDMI phy PLL clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "gpll0"

Item 3

Exact value (const): "mmssnoc_ahb"

Item 4

Exact value (const): "oxili_gfx3d_clk_src"

Item 5

Exact value (const): "dsi0pll"

Item 6

Exact value (const): "dsi0pllbyte"

Item 7

Exact value (const): "dsi1pll"

Item 8

Exact value (const): "dsi1pllbyte"

Item 9

Exact value (const): "hdmipll"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,mmcc-msm8996"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

Global PLL 0 clock

Item 3

MMSS NoC AHB clock

Item 4

DSI phy instance 0 dsi clock

Item 5

DSI phy instance 0 byte clock

Item 6

DSI phy instance 1 dsi clock

Item 7

DSI phy instance 1 byte clock

Item 8

HDMI phy PLL clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "gpll0"

Item 3

Exact value (const): "gcc_mmss_noc_cfg_ahb_clk"

Item 4

Exact value (const): "dsi0pll"

Item 5

Exact value (const): "dsi0pllbyte"

Item 6

Exact value (const): "dsi1pll"

Item 7

Exact value (const): "dsi1pllbyte"

Item 8

Exact value (const): "hdmipll"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,mmcc-msm8998"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

Global PLL 0 clock

Item 3

DSI phy instance 0 dsi clock

Item 4

DSI phy instance 0 byte clock

Item 5

DSI phy instance 1 dsi clock

Item 6

DSI phy instance 1 byte clock

Item 7

HDMI phy PLL clock

Item 8

DisplayPort phy PLL link clock

Item 9

DisplayPort phy PLL vco clock

Item 10

Global PLL 0 DIV clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "gpll0"

Item 3

Exact value (const): "dsi0dsi"

Item 4

Exact value (const): "dsi0byte"

Item 5

Exact value (const): "dsi1dsi"

Item 6

Exact value (const): "dsi1byte"

Item 7

Exact value (const): "hdmipll"

Item 8

Exact value (const): "dplink"

Item 9

Exact value (const): "dpvco"

Item 10

Exact value (const): "gpll0_div"

Rule 10 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,mmcc-sdm630", "qcom,mmcc-sdm660"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

Board sleep source

Item 3

Global PLL 0 clock

Item 4

Global PLL 0 DIV clock

Item 5

DSI phy instance 0 dsi clock

Item 6

DSI phy instance 0 byte clock

Item 7

DSI phy instance 1 dsi clock

Item 8

DSI phy instance 1 byte clock

Item 9

DisplayPort phy PLL link clock

Item 10

DisplayPort phy PLL vco clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "gpll0"

Item 4

Exact value (const): "gpll0_div"

Item 5

Exact value (const): "dsi0pll"

Item 6

Exact value (const): "dsi0pllbyte"

Item 7

Exact value (const): "dsi1pll"

Item 8

Exact value (const): "dsi1pllbyte"

Item 9

Exact value (const): "dp_link_2x_clk_divsel_five"

Item 10

Exact value (const): "dp_vco_divided_clk_src_mux"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@4000000 {
  compatible = "qcom,mmcc-msm8960";
  reg = <0x4000000 0x1000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 337: Example for MMCC for MSM8960:

Qualcomm clock controller for MSM8996 CPUs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,msm8996-apcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Loic Poulain <loic.poulain@linaro.org>"

Qualcomm CPU clock controller for MSM8996 CPUs, clock 0 is for Power cluster and clock 1 is for Perf cluster.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,msm8996-apcc"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

XO source

Item 2

SYS APCS AUX clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sys_apcs_aux"

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

kryocc: clock-controller@6400000 {
    compatible = "qcom,msm8996-apcc";
    reg = <0x6400000 0x90000>;
    #clock-cells = <1>;

    clocks = <&xo_board>, <&apcs_glb>;
    clock-names = "xo", "sys_apcs_aux";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm MSM8996 Core Bus Fabric (CBF) clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,msm8996-cbf.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

The clock controller for the Qualcomm MSM8996 CBF clock, which drives the interconnect between two CPU clusters.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,msm8996-cbf", "qcom,msm8996pro-cbf"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

XO source

Item 2

SYS APCS AUX clock

#clock-cells — required here #

Exact value (const): 0

#interconnect-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells", "#interconnect-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@9a11000 {
    compatible = "qcom,msm8996-cbf";
    reg = <0x09a11000 0x10000>;
    clocks = <&rpmcc RPM_SMD_BB_CLK1>, <&apcs_glb>;
    #clock-cells = <0>;
    #interconnect-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Graphics Clock & Reset Controller on MSM8998

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,msm8998-gpucc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm graphics clock control module provides the clocks, resets and power domains on MSM8998.

See also: include/dt-bindings/clock/qcom,gpucc-msm8998.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,msm8998-gpucc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 main branch source (gcc_gpu_gpll0_clk_src)

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "gpll0"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-msm8998.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@5065000 {
  compatible = "qcom,msm8998-gpucc";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  reg = <0x05065000 0x9000>;
  clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0_OUT_MAIN>;
  clock-names = "xo", "gpll0";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Q6SSTOP clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,q6sstopcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,qcs404-q6sstopcc"

reg — required here #

Array item rules (items) #

Item 1

Q6SSTOP clocks register region

Item 2

Q6SSTOP_TCSR register region

clocks — required here #

Array item rules (items) #

Item 1

ahb clock for the q6sstopCC

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

q6sstopcc: clock-controller@7500000 {
  compatible = "qcom,qcs404-q6sstopcc";
  reg = <0x07500000 0x4e000>, <0x07550000 0x10000>;
  clocks = <&gcc 141>;
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm NSS Clock & Reset Controller on QCA8386/QCA8084

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qca8k-nsscc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Luo Jie <quic_luoj@quicinc.com>"

Qualcomm NSS clock control module provides the clocks and resets on QCA8386(switch mode)/QCA8084(PHY mode)

See also::
  include/dt-bindings/clock/qcom,qca8k-nsscc.h
  include/dt-bindings/reset/qcom,qca8k-nsscc.h

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "qcom,qca8084-nsscc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,qca8082-nsscc", "qcom,qca8085-nsscc", "qcom,qca8384-nsscc", "qcom,qca8385-nsscc", "qcom,qca8386-nsscc"

Item 2

Exact value (const): "qcom,qca8084-nsscc"

clocks — required here #

Array item rules (items) #

Item 1

Chip reference clock source

Item 2

UNIPHY0 RX 312P5M/125M clock source

Item 3

UNIPHY0 TX 312P5M/125M clock source

Item 4

UNIPHY1 RX 312P5M/125M clock source

Item 5

UNIPHY1 TX 312P5M/125M clock source

Item 6

UNIPHY1 RX 312P5M clock source

Item 7

UNIPHY1 TX 312P5M clock source

reg — required here #

Array item rules (items) #

Item 1

MDIO bus address for Clock & Reset Controller register

reset-gpios — required here #

GPIO connected to the chip

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "reg", "reset-gpios"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
mdio {
  #address-cells = <1>;
  #size-cells = <0>;

  clock-controller@18 {
    compatible = "qcom,qca8084-nsscc";
    reg = <0x18>;
    reset-gpios = <&tlmm 51 GPIO_ACTIVE_LOW>;
    clocks = <&pcs0_pll>,
             <&qca8k_uniphy0_rx>,
             <&qca8k_uniphy0_tx>,
             <&qca8k_uniphy1_rx>,
             <&qca8k_uniphy1_tx>,
             <&qca8k_uniphy1_rx312p5m>,
             <&qca8k_uniphy1_tx312p5m>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on QCM2290

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qcm2290-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Loic Poulain <loic.poulain@linaro.org>"

Qualcomm display clock control module provides the clocks, resets and power domains on qcm2290.

See also: include/dt-bindings/clock/qcom,dispcc-qcm2290.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,qcm2290-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active-only XO source

Item 3

GPLL0 source from GCC

Item 4

GPLL0 div source from GCC

Item 5

Byte clock from DSI PHY

Item 6

Pixel clock from DSI PHY

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "gcc_disp_gpll0_clk_src"

Item 4

Exact value (const): "gcc_disp_gpll0_div_clk_src"

Item 5

Exact value (const): "dsi0_phy_pll_out_byteclk"

Item 6

Exact value (const): "dsi0_phy_pll_out_dsiclk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,dispcc-qcm2290.h>
#include <dt-bindings/clock/qcom,gcc-qcm2290.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@5f00000 {
        compatible = "qcom,qcm2290-dispcc";
        reg = <0x5f00000 0x20000>;
        clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
                 <&rpmcc RPM_SMD_XO_A_CLK_SRC>,
                 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
                 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
                 <&dsi0_phy 0>,
                 <&dsi0_phy 1>;
        clock-names = "bi_tcxo",
                      "bi_tcxo_ao",
                      "gcc_disp_gpll0_clk_src",
                      "gcc_disp_gpll0_div_clk_src",
                      "dsi0_phy_pll_out_byteclk",
                      "dsi0_phy_pll_out_dsiclk";
        #clock-cells = <1>;
        #reset-cells = <1>;
        #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Graphics Clock & Reset Controller on QCM2290

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qcm2290-gpucc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm graphics clock control module provides the clocks, resets and power domains on Qualcomm SoCs.

See also::
  include/dt-bindings/clock/qcom,qcm2290-gpucc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,qcm2290-gpucc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

AHB interface clock,

Item 2

SoC CXO clock

Item 3

GPLL0 main branch source

Item 4

GPLL0 div branch source

power-domains — required here #

A phandle and PM domain specifier for the CX power domain.

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

A phandle to an OPP node describing required CX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "power-domains"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-qcm2290.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/power/qcom-rpmpd.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@5990000 {
        compatible = "qcom,qcm2290-gpucc";
        reg = <0x0 0x05990000 0x0 0x9000>;
        clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
                 <&rpmcc RPM_SMD_XO_CLK_SRC>,
                 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
                 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
        power-domains = <&rpmpd QCM2290_VDDCX>;
        required-opps = <&rpmpd_opp_low_svs>;
        #clock-cells = <1>;
        #reset-cells = <1>;
        #power-domain-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Turing Clock & Reset Controller on QCS404

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qcs404-turingcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,qcs404-turingcc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-qcs404.h>
clock-controller@800000 {
    compatible = "qcom,qcs404-turingcc";
    reg = <0x00800000 0x30000>;
    clocks = <&gcc GCC_CDSP_CFG_AHB_CLK>;

    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on QCS615

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qcs615-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm display clock control module provides the clocks, resets and power domains on QCS615.

See also: include/dt-bindings/clock/qcom,qcs615-dispcc.h

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "qcom,qcs615-dispcc"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 clock source from GCC

Item 3

Byte clock from DSI PHY0

Item 4

Pixel clock from DSI PHY0

Item 5

Pixel clock from DSI PHY1

Item 6

Display port PLL link clock

Item 7

Display port PLL VCO DIV clock

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,qcs615-gcc.h>
clock-controller@af00000 {
  compatible = "qcom,qcs615-dispcc";
  reg = <0x0af00000 0x20000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
           <&mdss_dsi0_phy 0>,
           <&mdss_dsi0_phy 1>,
           <&mdss_dsi1_phy 0>,
           <&mdss_dp_phy 0>,
           <&mdss_dp_vco 0>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on QCS615

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qcs615-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on QCS615.

See also: include/dt-bindings/clock/qcom,qcs615-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,qcs615-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "sleep_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,qcs615-gcc";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Graphics Clock & Reset Controller on QCS615

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qcs615-gpucc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm graphics clock control module provides clocks, resets and power domains on QCS615 Qualcomm SoCs.

See also: include/dt-bindings/clock/qcom,qcs615-gpucc.h

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "qcom,qcs615-gpucc"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 main branch source

Item 3

GPLL0 GPUCC div branch source

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,qcs615-gcc.h>

clock-controller@5090000 {
  compatible = "qcom,qcs615-gpucc";
  reg = <0x5090000 0x9000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GPLL0>,
           <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;

  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Video Clock & Reset Controller on QCS615

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qcs615-videocc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm video clock control module provides clocks, resets and power domains on QCS615 Qualcomm SoCs.

See also: include/dt-bindings/clock/qcom,qcs615-videocc.h

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "qcom,qcs615-videocc"

clocks — not listed as required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,qcs615-gcc.h>

clock-controller@ab00000 {
  compatible = "qcom,qcs615-videocc";
  reg = <0xab00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&sleep_clk>;

  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Technologies, Inc. Global Clock & Reset Controller on QCS8300

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qcs8300-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>", "Imran Shaik <quic_imrashai@quicinc.com>"

Qualcomm Technologies, Inc. Global clock control module provides the clocks, resets and power domains on QCS8300

See also: include/dt-bindings/clock/qcom,qcs8300-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,qcs8300-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

PCIE 0 Pipe clock source

Item 4

PCIE 1 Pipe clock source

Item 5

PCIE Phy Auxiliary clock source

Item 6

First EMAC controller reference clock

Item 7

UFS Phy Rx symbol 0 clock source

Item 8

UFS Phy Rx symbol 1 clock source

Item 9

UFS Phy Tx symbol 0 clock source

Item 10

USB3 Phy wrapper pipe clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,qcs8300-gcc";
  reg = <0x00100000 0xc7018>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&sleep_clk>,
           <&pcie_0_pipe_clk>,
           <&pcie_1_pipe_clk>,
           <&pcie_phy_aux_clk>,
           <&rxc0_ref_clk>,
           <&ufs_phy_rx_symbol_0_clk>,
           <&ufs_phy_rx_symbol_1_clk>,
           <&ufs_phy_tx_symbol_0_clk>,
           <&usb3_phy_wrapper_gcc_usb30_prim_pipe_clk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm ECPRI Clock & Reset Controller for QDU1000 and QRU1000

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qdu1000-ecpricc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>", "Imran Shaik <quic_imrashai@quicinc.com>"

Qualcomm ECPRI Specification V2.0 Common Public Radio Interface clock control module which supports the clocks, resets on QDU1000 and QRU1000

See also: include/dt-bindings/clock/qcom,qdu1000-ecpricc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,qdu1000-ecpricc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 source from GCC

Item 3

GPLL1 source from GCC

Item 4

GPLL2 source from GCC

Item 5

GPLL3 source from GCC

Item 6

GPLL4 source from GCC

Item 7

GPLL5 source from GCC

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,qdu1000-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@280000 {
  compatible = "qcom,qdu1000-ecpricc";
  reg = <0x00280000 0x31c00>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_ECPRI_CC_GPLL0_CLK_SRC>,
           <&gcc GCC_ECPRI_CC_GPLL1_EVEN_CLK_SRC>,
           <&gcc GCC_ECPRI_CC_GPLL2_EVEN_CLK_SRC>,
           <&gcc GCC_ECPRI_CC_GPLL3_CLK_SRC>,
           <&gcc GCC_ECPRI_CC_GPLL4_CLK_SRC>,
           <&gcc GCC_ECPRI_CC_GPLL5_EVEN_CLK_SRC>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller for QDU1000 and QRU1000

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,qdu1000-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>", "Imran Shaik <quic_imrashai@quicinc.com>"

Qualcomm global clock control module which supports the clocks, resets and power domains on QDU1000 and QRU1000

See also: include/dt-bindings/clock/qcom,qdu1000-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,qdu1000-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

PCIE 0 Pipe clock source

Item 4

PCIE 0 Phy Auxiliary clock source

Item 5

USB3 Phy wrapper pipe clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,qdu1000-gcc";
  reg = <0x00100000 0x001f4200>;
  clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>,
           <&pcie_0_pipe_clk>, <&pcie_0_phy_aux_clk>,
           <&usb3_phy_wrapper_pipe_clk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm RPM Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,rpmcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>", "Krzysztof Kozlowski <krzk@kernel.org>"

The clock enumerators are defined in <dt-bindings/clock/qcom,rpmcc.h> and come in pairs:: FOO_CLK followed by FOO_A_CLK. The latter clock is an "active" clock, which means that the consumer only care that the clock is available when the apps CPU subsystem is active, i.e. not suspended or in deep idle. If it is important that the clock keeps running during system suspend, you need to specify the non-active clock, the one not containing *_A_* in the enumerator name.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,rpmcc-apq8060", "qcom,rpmcc-apq8064", "qcom,rpmcc-ipq806x", "qcom,rpmcc-mdm9607", "qcom,rpmcc-msm8226", "qcom,rpmcc-msm8660", "qcom,rpmcc-msm8909", "qcom,rpmcc-msm8916", "qcom,rpmcc-msm8917", "qcom,rpmcc-msm8936", "qcom,rpmcc-msm8937", "qcom,rpmcc-msm8940", "qcom,rpmcc-msm8953", "qcom,rpmcc-msm8974", "qcom,rpmcc-msm8976", "qcom,rpmcc-msm8992", "qcom,rpmcc-msm8994", "qcom,rpmcc-msm8996", "qcom,rpmcc-msm8998", "qcom,rpmcc-qcm2290", "qcom,rpmcc-qcs404", "qcom,rpmcc-sdm429", "qcom,rpmcc-sdm660", "qcom,rpmcc-sm6115", "qcom,rpmcc-sm6125", "qcom,rpmcc-sm6375"

Item 2

Exact value (const): "qcom,rpmcc"

#clock-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,rpmcc-apq8060", "qcom,rpmcc-ipq806x", "qcom,rpmcc-msm8660"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

pxo clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "pxo"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,rpmcc-apq8064"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

pxo clock

Item 2

cxo clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "pxo"

Item 2

Exact value (const): "cxo"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,rpmcc-mdm9607", "qcom,rpmcc-msm8226", "qcom,rpmcc-msm8916", "qcom,rpmcc-msm8917", "qcom,rpmcc-msm8936", "qcom,rpmcc-msm8937", "qcom,rpmcc-msm8940", "qcom,rpmcc-msm8953", "qcom,rpmcc-msm8974", "qcom,rpmcc-msm8976", "qcom,rpmcc-msm8992", "qcom,rpmcc-msm8994", "qcom,rpmcc-msm8996", "qcom,rpmcc-msm8998", "qcom,rpmcc-qcm2290", "qcom,rpmcc-qcs404", "qcom,rpmcc-sdm429", "qcom,rpmcc-sdm660", "qcom,rpmcc-sm6115", "qcom,rpmcc-sm6125"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

xo clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "xo"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

rpm {
    rpm-requests {
        compatible = "qcom,rpm-msm8916", "qcom,smd-rpm";
        qcom,smd-channels = "rpm_requests";

        clock-controller {
            compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
            #clock-cells = <1>;
        };
    };
};
rpm {
    clock-controller {
        compatible = "qcom,rpmcc-ipq806x", "qcom,rpmcc";
        #clock-cells = <1>;
        clocks = <&pxo_board>;
        clock-names = "pxo";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Technologies, Inc. RPMh Clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,rpmhcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Resource Power Manager Hardened (RPMh) manages shared resources on some Qualcomm Technologies Inc. SoCs. It accepts clock requests from other hardware subsystems via RSC to control clocks.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,glymur-rpmh-clk", "qcom,kaanapali-rpmh-clk", "qcom,milos-rpmh-clk", "qcom,qcs615-rpmh-clk", "qcom,qdu1000-rpmh-clk", "qcom,sa8775p-rpmh-clk", "qcom,sar2130p-rpmh-clk", "qcom,sc7180-rpmh-clk", "qcom,sc7280-rpmh-clk", "qcom,sc8180x-rpmh-clk", "qcom,sc8280xp-rpmh-clk", "qcom,sdm670-rpmh-clk", "qcom,sdm845-rpmh-clk", "qcom,sdx55-rpmh-clk", "qcom,sdx65-rpmh-clk", "qcom,sdx75-rpmh-clk", "qcom,sm4450-rpmh-clk", "qcom,sm6350-rpmh-clk", "qcom,sm8150-rpmh-clk", "qcom,sm8250-rpmh-clk", "qcom,sm8350-rpmh-clk", "qcom,sm8450-rpmh-clk", "qcom,sm8550-rpmh-clk", "qcom,sm8650-rpmh-clk", "qcom,sm8750-rpmh-clk", "qcom,x1e80100-rpmh-clk"

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "#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/qcom,rpmh.h>
rpmhcc: clock-controller {
  compatible = "qcom,sdm845-rpmh-clk";
  clocks = <&xo_board>;
  clock-names = "xo";
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 64: Example for GCC for SDM845: The below node should be defined inside

Line 65: &apps_rsc node.

Qualcomm Camera Clock & Reset Controller on SA8775P

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sa8775p-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>", "Imran Shaik <quic_imrashai@quicinc.com>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SA8775p.

See also:
  include/dt-bindings/clock/qcom,qcs8300-camcc.h
  include/dt-bindings/clock/qcom,sa8775p-camcc.h
  include/dt-bindings/clock/qcom,sc8280xp-camcc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,qcs8300-camcc", "qcom,sa8775p-camcc", "qcom,sc8280xp-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Camera AHB clock from GCC

Item 2

Board XO source

Item 3

Board active XO source

Item 4

Sleep clock source

power-domains — required here #

Maximum number of items (maxItems): 1

MMCX power domain

required-opps — not listed as required here #

OPP node describing required MMCX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "power-domains", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sc8280xp-camcc"

When the condition matches (then) #

Required in this object (required): "required-opps"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
clock-controller@ade0000 {
  compatible = "qcom,sa8775p-camcc";
  reg = <0x0ade0000 0x20000>;
  clocks = <&gcc GCC_CAMERA_AHB_CLK>,
           <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  power-domains = <&rpmhpd SA8775P_MMCX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on SA8775P

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sa8775p-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm display clock control module provides the clocks, resets and power domains on SA8775P.

See also: include/dt-bindings/clock/qcom,sa8775p-dispcc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sa8775p-dispcc0", "qcom,sa8775p-dispcc1"

clocks — required here #

Array item rules (items) #

Item 1

GCC AHB clock source

Item 2

Board XO source

Item 3

Board XO_AO source

Item 4

Sleep clock source

Item 5

Link clock from DP0 PHY

Item 6

VCO DIV clock from DP0 PHY

Item 7

Link clock from DP1 PHY

Item 8

VCO DIV clock from DP1 PHY

Item 9

Byte clock from DSI0 PHY

Item 10

Pixel clock from DSI0 PHY

Item 11

Byte clock from DSI1 PHY

Item 12

Pixel clock from DSI1 PHY

power-domains — required here #

Maximum number of items (maxItems): 1

MMCX power domain

Required in this object (required): "compatible", "clocks", "power-domains", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
clock-controller@af00000 {
  compatible = "qcom,sa8775p-dispcc0";
  reg = <0x0af00000 0x20000>;
  clocks = <&gcc GCC_DISP_AHB_CLK>,
           <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>,
           <&dp_phy0 0>,
           <&dp_phy0 1>,
           <&dp_phy1 2>,
           <&dp_phy1 3>,
           <&dsi_phy0 0>,
           <&dsi_phy0 1>,
           <&dsi_phy1 2>,
           <&dsi_phy1 3>;
  power-domains = <&rpmhpd SA8775P_MMCX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on sa8775p

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sa8775p-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bartosz Golaszewski <bartosz.golaszewski@linaro.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on sa8775p.

See also: include/dt-bindings/clock/qcom,sa8775p-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sa8775p-gcc"

clocks — required here #

Array item rules (items) #

Item 1

XO reference clock

Item 2

Sleep clock

Item 3

UFS memory first RX symbol clock

Item 4

UFS memory second RX symbol clock

Item 5

UFS memory first TX symbol clock

Item 6

UFS card first RX symbol clock

Item 7

UFS card second RX symbol clock

Item 8

UFS card first TX symbol clock

Item 9

Primary USB3 PHY wrapper pipe clock

Item 10

Secondary USB3 PHY wrapper pipe clock

Item 11

PCIe 0 pipe clock

Item 12

PCIe 1 pipe clock

Item 13

PCIe PHY clock

Item 14

First EMAC controller reference clock

Item 15

Second EMAC controller reference clock

protected-clocks — not listed as required here #

Maximum number of items (maxItems): 240

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>

gcc: clock-controller@100000 {
    compatible = "qcom,sa8775p-gcc";
    reg = <0x100000 0xc7018>;
    clocks = <&rpmhcc RPMH_CXO_CLK>,
             <&sleep_clk>,
             <&ufs_phy_rx_symbol_0_clk>,
             <&ufs_phy_rx_symbol_1_clk>,
             <&ufs_phy_tx_symbol_0_clk>,
             <&ufs_card_rx_symbol_0_clk>,
             <&ufs_card_rx_symbol_1_clk>,
             <&ufs_card_tx_symbol_0_clk>,
             <&usb_0_ssphy>,
             <&usb_1_ssphy>,
             <&pcie_0_pipe_clk>,
             <&pcie_1_pipe_clk>,
             <&pcie_phy_pipe_clk>,
             <&rxc0_ref_clk>,
             <&rxc1_ref_clk>;
    power-domains = <&rpmhpd SA8775P_CX>;

    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Video Clock & Reset Controller on SA8775P

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sa8775p-videocc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm video clock control module provides the clocks, resets and power domains on SA8775P.

See also: include/dt-bindings/clock/qcom,sa8775p-videocc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,qcs8300-videocc", "qcom,sa8775p-videocc"

clocks — required here #

Array item rules (items) #

Item 1

Video AHB clock from GCC

Item 2

Board XO source

Item 3

Board active XO source

Item 4

Sleep Clock source

power-domains — required here #

Maximum number of items (maxItems): 1

MMCX power domain

Required in this object (required): "compatible", "clocks", "power-domains", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
videocc: clock-controller@abf0000 {
  compatible = "qcom,sa8775p-videocc";
  reg = <0x0abf0000 0x10000>;
  clocks = <&gcc GCC_VIDEO_AHB_CLK>,
           <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  power-domains = <&rpmhpd SA8775P_MMCX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on sar2130p

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sar2130p-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on sar2130p.

See also: include/dt-bindings/clock/qcom,sar2130p-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sar2130p-gcc"

clocks — required here #

Array item rules (items) #

Item 1

XO reference clock

Item 2

Sleep clock

Item 3

PCIe 0 pipe clock

Item 4

PCIe 1 pipe clock

Item 5

Primary USB3 PHY wrapper pipe clock

protected-clocks — not listed as required here #

Maximum number of items (maxItems): 240

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

gcc: clock-controller@100000 {
    compatible = "qcom,sar2130p-gcc";
    reg = <0x100000 0x1f4200>;
    clocks = <&rpmhcc RPMH_CXO_CLK>,
             <&sleep_clk>,
             <&pcie_0_pipe_clk>,
             <&pcie_1_pipe_clk>,
             <&usb_0_ssphy>;
    power-domains = <&rpmhpd RPMHPD_CX>;

    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on SC7180

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sc7180-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SC7180.

See also: include/dt-bindings/clock/qcom,camcc-sc7180.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sc7180-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Camera_ahb clock from GCC

Item 3

Camera XO clock from GCC

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "xo"

reg — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@ad00000 {
  compatible = "qcom,sc7180-camcc";
  reg = <0x0ad00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_CAMERA_AHB_CLK>,
           <&gcc GCC_CAMERA_XO_CLK>;
  clock-names = "bi_tcxo", "iface", "xo";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on SC7180

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sc7180-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm display clock control module provides the clocks, resets and power domains on SC7180.

See also: include/dt-bindings/clock/qcom,dispcc-sc7180.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sc7180-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 source from GCC

Item 3

Byte clock from DSI PHY

Item 4

Pixel clock from DSI PHY

Item 5

Link clock from DP PHY

Item 6

VCO DIV clock from DP PHY

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "gcc_disp_gpll0_clk_src"

Item 3

Exact value (const): "dsi0_phy_pll_out_byteclk"

Item 4

Exact value (const): "dsi0_phy_pll_out_dsiclk"

Item 5

Exact value (const): "dp_phy_pll_link_clk"

Item 6

Exact value (const): "dp_phy_pll_vco_div_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@af00000 {
  compatible = "qcom,sc7180-dispcc";
  reg = <0x0af00000 0x200000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_DISP_GPLL0_CLK_SRC>,
           <&dsi_phy 0>,
           <&dsi_phy 1>,
           <&dp_phy 0>,
           <&dp_phy 1>;
  clock-names = "bi_tcxo",
                "gcc_disp_gpll0_clk_src",
                "dsi0_phy_pll_out_byteclk",
                "dsi0_phy_pll_out_dsiclk",
                "dp_phy_pll_link_clk",
                "dp_phy_pll_vco_div_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Qualcomm LPASS Core Clock Controller on SC7180

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sc7180-lpasscorecc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm LPASS core clock control module provides the clocks and power domains on SC7180.

See also: include/dt-bindings/clock/qcom,lpasscorecc-sc7180.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sc7180-lpasshm", "qcom,sc7180-lpasscorecc"

clocks — required here #

Array item rules (items) #

Item 1

gcc_lpass_sway clock from GCC

Item 2

Board XO source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bi_tcxo"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#power-domain-cells — required here #

Exact value (const): 1

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

lpass core cc register

Item 2

lpass audio cc register

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "lpass_core_cc"

Item 2

Exact value (const): "lpass_audio_cc"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "qcom,sc7180-lpasshm"

When the condition matches (then) #

Properties and child nodes (properties) #

reg — not listed as required here #

Maximum number of items (maxItems): 1

When the condition does not match (else) #

Properties and child nodes (properties) #

reg — not listed as required here #

Minimum number of items (minItems): 2

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#power-domain-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h>
clock-controller@63000000 {
  compatible = "qcom,sc7180-lpasshm";
  reg = <0x63000000 0x28>;
  clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>, <&rpmhcc RPMH_CXO_CLK>;
  clock-names = "iface", "bi_tcxo";
  #clock-cells = <1>;
  #power-domain-cells = <1>;
};
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h>
clock-controller@62d00000 {
  compatible = "qcom,sc7180-lpasscorecc";
  reg = <0x62d00000 0x50000>, <0x62780000 0x30000>;
  reg-names = "lpass_core_cc", "lpass_audio_cc";
  clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>, <&rpmhcc RPMH_CXO_CLK>;
  clock-names = "iface", "bi_tcxo";
  power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;
  #clock-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on SC7280

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sc7280-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SC7280.

See also: include/dt-bindings/clock/qcom,camcc-sc7280.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sc7280-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board XO active source

Item 3

Sleep clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "sleep_clk"

reg — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@ad00000 {
  compatible = "qcom,sc7280-camcc";
  reg = <0x0ad00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on SC7280

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sc7280-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm display clock control module provides the clocks, resets and power domains on SC7280.

See also: include/dt-bindings/clock/qcom,dispcc-sc7280.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sc7280-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 source from GCC

Item 3

Byte clock from DSI PHY

Item 4

Pixel clock from DSI PHY

Item 5

Link clock from DP PHY

Item 6

VCO DIV clock from DP PHY

Item 7

Link clock from EDP PHY

Item 8

VCO DIV clock from EDP PHY

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "gcc_disp_gpll0_clk"

Item 3

Exact value (const): "dsi0_phy_pll_out_byteclk"

Item 4

Exact value (const): "dsi0_phy_pll_out_dsiclk"

Item 5

Exact value (const): "dp_phy_pll_link_clk"

Item 6

Exact value (const): "dp_phy_pll_vco_div_clk"

Item 7

Exact value (const): "edp_phy_pll_link_clk"

Item 8

Exact value (const): "edp_phy_pll_vco_div_clk"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@af00000 {
  compatible = "qcom,sc7280-dispcc";
  reg = <0x0af00000 0x200000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_DISP_GPLL0_CLK_SRC>,
           <&dsi_phy 0>,
           <&dsi_phy 1>,
           <&dp_phy 0>,
           <&dp_phy 1>,
           <&edp_phy 0>,
           <&edp_phy 1>;
  clock-names = "bi_tcxo",
                "gcc_disp_gpll0_clk",
                "dsi0_phy_pll_out_byteclk",
                "dsi0_phy_pll_out_dsiclk",
                "dp_phy_pll_link_clk",
                "dp_phy_pll_vco_div_clk",
                "edp_phy_pll_link_clk",
                "edp_phy_pll_vco_div_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm LPASS Core Clock Controller on SC7280

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sc7280-lpasscc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm LPASS core clock control module provides the clocks and power domains on SC7280.

See also: include/dt-bindings/clock/qcom,lpass-sc7280.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sc7280-lpasscc"

clocks — required here #

Array item rules (items) #

Item 1

gcc_cfg_noc_lpass_clk from GCC

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Array item rules (items) #

Item 1

LPASS qdsp6ss register

Item 2

LPASS top-cc register

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "qdsp6ss"

Item 2

Exact value (const): "top_cc"

qcom,adsp-pil-mode — not listed as required here #

Indicates if the LPASS would be brought out of reset using remoteproc peripheral loader.

Value type (type): "boolean"

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/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,lpass-sc7280.h>
clock-controller@3000000 {
  compatible = "qcom,sc7280-lpasscc";
  reg = <0x03000000 0x40>, <0x03c04000 0x4>;
  reg-names = "qdsp6ss", "top_cc";
  clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>;
  clock-names = "iface";
  qcom,adsp-pil-mode;
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm LPASS Core & Audio Clock Controller on SC7280

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sc7280-lpasscorecc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm LPASS core and audio clock control module provides the clocks and power domains on SC7280.

See also::
  include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
  include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,qcm6490-lpassaudiocc", "qcom,sc7280-lpassaoncc", "qcom,sc7280-lpassaudiocc", "qcom,sc7280-lpasscorecc", "qcom,sc7280-lpasshm"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

#clock-cells — required here #

Exact value (const): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

#power-domain-cells — required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

qcom,adsp-pil-mode — not listed as required here #

Indicates if the LPASS would be brought out of reset using peripheral loader.

Value type (type): "boolean"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,qcm6490-lpassaudiocc", "qcom,sc7280-lpassaudiocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

LPASS_AON_CC_MAIN_RCG_CLK_SRC

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "lpass_aon_cc_main_rcg_clk_src"

reg — not listed as required here

Array item rules (items)

Item 1

lpass core cc register

Item 2

lpass audio csr register

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc7280-lpassaoncc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

Board XO active only source

Item 3

LPASS_AON_CC_MAIN_RCG_CLK_SRC

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Item 3

Exact value (const): "iface"

reg — not listed as required here

Maximum number of items (maxItems): 1

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc7280-lpasshm", "qcom,sc7280-lpasscorecc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bi_tcxo"

reg — not listed as required here

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
lpass_audiocc: clock-controller@3300000 {
  compatible = "qcom,sc7280-lpassaudiocc";
  reg = <0x3300000 0x30000>,
        <0x32a9000 0x1000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&lpass_aon LPASS_AON_CC_MAIN_RCG_CLK_SRC>;
  clock-names = "bi_tcxo", "lpass_aon_cc_main_rcg_clk_src";
  power-domains = <&lpass_aon LPASS_AON_CC_LPASS_AUDIO_HM_GDSC>;
  #clock-cells = <1>;
  #power-domain-cells = <1>;
  #reset-cells = <1>;
};
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
lpass_hm: clock-controller@3c00000 {
  compatible = "qcom,sc7280-lpasshm";
  reg = <0x3c00000 0x28>;
  clocks = <&rpmhcc RPMH_CXO_CLK>;
  clock-names = "bi_tcxo";
  #clock-cells = <1>;
  #power-domain-cells = <1>;
};
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
lpasscore: clock-controller@3900000 {
  compatible = "qcom,sc7280-lpasscorecc";
  reg = <0x3900000 0x50000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>;
  clock-names = "bi_tcxo";
  power-domains = <&lpass_hm LPASS_CORE_CC_LPASS_CORE_HM_GDSC>;
  #clock-cells = <1>;
  #power-domain-cells = <1>;
};
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
lpass_aon: clock-controller@3380000 {
  compatible = "qcom,sc7280-lpassaoncc";
  reg = <0x3380000 0x30000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>,
           <&lpasscore LPASS_CORE_CC_CORE_CLK>;
  clock-names = "bi_tcxo", "bi_tcxo_ao","iface";
  qcom,adsp-pil-mode;
  #clock-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on SC8180X

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sc8180x-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Satya Priya Kakitapalli <quic_skakitap@quicinc.com>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SC8180X.

See also: include/dt-bindings/clock/qcom,sc8180x-camcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sc8180x-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Camera AHB clock from GCC

Item 2

Board XO source

Item 3

Sleep clock source

power-domains — required here #

Maximum number of items (maxItems): 1

A phandle and PM domain specifier for the MMCX power domain.

required-opps — required here #

Maximum number of items (maxItems): 1

A phandle to an OPP node describing required MMCX performance point.

Required in this object (required): "compatible", "clocks", "power-domains", "required-opps"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sc8180x.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
clock-controller@ad00000 {
  compatible = "qcom,sc8180x-camcc";
  reg = <0x0ad00000 0x20000>;
  clocks = <&gcc GCC_CAMERA_AHB_CLK>,
           <&rpmhcc RPMH_CXO_CLK>,
           <&sleep_clk>;
  power-domains = <&rpmhpd SC8180X_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>;

  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm LPASS Core & Audio Clock Controller on SC8280XP

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sc8280xp-lpasscc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"

Qualcomm LPASS core and audio clock control module provides the clocks, and reset on SC8280XP.

See also::
  include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,sc8280xp-lpassaudiocc", "qcom,sc8280xp-lpasscc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "qcom,x1e80100-lpassaudiocc"

Item 2

Exact value (const): "qcom,sc8280xp-lpassaudiocc"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "qcom,x1e80100-lpasscc"

Item 2

Exact value (const): "qcom,sc8280xp-lpasscc"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h>
lpass_audiocc: clock-controller@32a9000 {
    compatible = "qcom,sc8280xp-lpassaudiocc";
    reg = <0x032a9000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};
#include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h>
lpasscc: clock-controller@33e0000 {
    compatible = "qcom,sc8280xp-lpasscc";
    reg = <0x033e0000 0x12000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on SDM845

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sdm845-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SDM845.

See also: include/dt-bindings/clock/qcom,camcc-sm845.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "qcom,sdm670-camcc"

Item 2

Exact value (const): "qcom,sdm845-camcc"

Rule 2

Exact value (const): "qcom,sdm845-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

reg — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@ad00000 {
  compatible = "qcom,sdm845-camcc";
  reg = <0x0ad00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>;
  clock-names = "bi_tcxo";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on SDM845

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sdm845-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm display clock control module provides the clocks, resets and power domains on SDM845.

See also: include/dt-bindings/clock/qcom,dispcc-sdm845.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sdm845-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 source from GCC

Item 3

GPLL0 div source from GCC

Item 4

Byte clock from DSI PHY0

Item 5

Pixel clock from DSI PHY0

Item 6

Byte clock from DSI PHY1

Item 7

Pixel clock from DSI PHY1

Item 8

Link clock from DP PHY

Item 9

VCO DIV clock from DP PHY

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "gcc_disp_gpll0_clk_src"

Item 3

Exact value (const): "gcc_disp_gpll0_div_clk_src"

Item 4

Exact value (const): "dsi0_phy_pll_out_byteclk"

Item 5

Exact value (const): "dsi0_phy_pll_out_dsiclk"

Item 6

Exact value (const): "dsi1_phy_pll_out_byteclk"

Item 7

Exact value (const): "dsi1_phy_pll_out_dsiclk"

Item 8

Exact value (const): "dp_link_clk_divsel_ten"

Item 9

Exact value (const): "dp_vco_divided_clk_src_mux"

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@af00000 {
  compatible = "qcom,sdm845-dispcc";
  reg = <0x0af00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_DISP_GPLL0_CLK_SRC>,
           <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
           <&dsi0_phy 0>,
           <&dsi0_phy 1>,
           <&dsi1_phy 0>,
           <&dsi1_phy 1>,
           <&dp_phy 0>,
           <&dp_phy 1>;
  clock-names = "bi_tcxo",
                "gcc_disp_gpll0_clk_src",
                "gcc_disp_gpll0_div_clk_src",
                "dsi0_phy_pll_out_byteclk",
                "dsi0_phy_pll_out_dsiclk",
                "dsi1_phy_pll_out_byteclk",
                "dsi1_phy_pll_out_dsiclk",
                "dp_link_clk_divsel_ten",
                "dp_vco_divided_clk_src_mux";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 22: NOTE: sdm845.dtsi existed for quite some time and specified no clocks.

Line 23: The code had to use hardcoded mechanisms to find the input clocks.

Line 24: New dts files should have these clocks.

Qualcomm SDM845 LPASS Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sdm845-lpasscc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Qualcomm SDM845 LPASS (Low Power Audio SubSystem) Clock Controller.

See also: include/dt-bindings/clock/qcom,lpass-sdm845.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sdm845-lpasscc"

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cc"

Item 2

Exact value (const): "qdsp6ss"

Required in this object (required): "compatible", "#clock-cells", "reg", "reg-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@17014000 {
    compatible = "qcom,sdm845-lpasscc";
    reg = <0x17014000 0x1f004>, <0x17300000 0x200>;
    reg-names = "cc", "qdsp6ss";
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm Global Clock & Reset Controller on SDX75

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sdx75-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Imran Shaik <quic_imrashai@quicinc.com>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SDX75

See also: include/dt-bindings/clock/qcom,sdx75-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sdx75-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

EMAC0 sgmiiphy mac rclk source

Item 4

EMAC0 sgmiiphy mac tclk source

Item 5

EMAC0 sgmiiphy rclk source

Item 6

EMAC0 sgmiiphy tclk source

Item 7

EMAC1 sgmiiphy mac rclk source

Item 8

EMAC1 sgmiiphy mac tclk source

Item 9

EMAC1 sgmiiphy rclk source

Item 10

EMAC1 sgmiiphy tclk source

Item 11

PCIE20 phy aux clock source

Item 12

PCIE_1 Pipe clock source

Item 13

PCIE_2 Pipe clock source

Item 14

PCIE Pipe clock source

Item 15

USB3 phy wrapper pipe clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@80000 {
  compatible = "qcom,sdx75-gcc";
  reg = <0x80000 0x1f7400>;
  clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>, <&emac0_sgmiiphy_mac_rclk>,
           <&emac0_sgmiiphy_mac_tclk>, <&emac0_sgmiiphy_rclk>, <&emac0_sgmiiphy_tclk>,
           <&emac1_sgmiiphy_mac_rclk>, <&emac1_sgmiiphy_mac_tclk>, <&emac1_sgmiiphy_rclk>,
           <&emac1_sgmiiphy_tclk>, <&pcie20_phy_aux_clk>, <&pcie_1_pipe_clk>,
           <&pcie_2_pipe_clk>, <&pcie_pipe_clk>, <&usb3_phy_wrapper_gcc_usb30_pipe_clk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on SM4450

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm4450-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ajit Pandey <quic_ajipan@quicinc.com>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SM4450

See also: include/dt-bindings/clock/qcom,sm4450-camcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm4450-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Camera AHB clock source from GCC

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,sm4450-gcc.h>
clock-controller@ade0000 {
  compatible = "qcom,sm4450-camcc";
  reg = <0x0ade0000 0x20000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_CAMERA_AHB_CLK>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on SM4450

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm4450-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ajit Pandey <quic_ajipan@quicinc.com>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm display clock control module provides the clocks, resets and power domains on SM4450

See also: include/dt-bindings/clock/qcom,sm4450-dispcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm4450-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Display AHB clock source from GCC

Item 4

sleep clock source

Item 5

Byte clock from DSI PHY0

Item 6

Pixel clock from DSI PHY0

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,sm4450-gcc.h>
clock-controller@af00000 {
  compatible = "qcom,sm4450-dispcc";
  reg = <0x0af00000 0x20000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&gcc GCC_DISP_AHB_CLK>,
           <&sleep_clk>,
           <&dsi0_phy_pll_out_byteclk>,
           <&dsi0_phy_pll_out_dsiclk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM4450

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm4450-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ajit Pandey <quic_ajipan@quicinc.com>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM4450

See also: include/dt-bindings/clock/qcom,sm4450-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm4450-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

UFS Phy Rx symbol 0 clock source

Item 4

UFS Phy Rx symbol 1 clock source

Item 5

UFS Phy Tx symbol 0 clock source

Item 6

USB3 Phy wrapper pipe clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,sm4450-gcc";
  reg = <0x00100000 0x001f4200>;
  clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>,
           <&ufs_mem_phy 0>, <&ufs_mem_phy 1>,
           <&ufs_mem_phy 2>, <&usb_1_qmpphy>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock Controller for SM6115

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm6115-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Qualcomm display clock control module provides the clocks and power domains on SM6115.

See also: include/dt-bindings/clock/qcom,sm6115-dispcc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm6115-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board sleep clock

Item 3

Byte clock from DSI PHY0

Item 4

Pixel clock from DSI PHY0

Item 5

GPLL0 DISP DIV clock from GCC

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/clock/qcom,gcc-sm6115.h>
clock-controller@5f00000 {
  compatible = "qcom,sm6115-dispcc";
  reg = <0x5f00000 0x20000>;
  clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
           <&sleep_clk>,
           <&dsi0_phy 0>,
           <&dsi0_phy 1>,
           <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Graphics Clock & Reset Controller on SM6115

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm6115-gpucc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm graphics clock control module provides clocks, resets and power domains on Qualcomm SoCs.

See also: include/dt-bindings/clock/qcom,sm6115-gpucc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm6115-gpucc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 main branch source

Item 3

GPLL0 main div source

Required in this object (required): "compatible", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm6115.h>
#include <dt-bindings/clock/qcom,rpmcc.h>

soc {
    #address-cells = <1>;
    #size-cells = <1>;

    clock-controller@5990000 {
        compatible = "qcom,sm6115-gpucc";
        reg = <0x05990000 0x9000>;
        clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
                 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
                 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
        #clock-cells = <1>;
        #reset-cells = <1>;
        #power-domain-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm LPASS Core & Audio Clock Controller on SM6115

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm6115-lpasscc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>", "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"

Qualcomm LPASS core and audio clock controllers provide audio-related resets on SM6115 and its derivatives.

See also::
  include/dt-bindings/clock/qcom,sm6115-lpasscc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm6115-lpassaudiocc", "qcom,sm6115-lpasscc"

reg — required here #

Maximum number of items (maxItems): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

lpass_audiocc: clock-controller@a6a9000 {
    compatible = "qcom,sm6115-lpassaudiocc";
    reg = <0x0a6a9000 0x1000>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Graphics Clock & Reset Controller on SM6125

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm6125-gpucc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm graphics clock control module provides clocks and power domains on Qualcomm SoCs.

See also: include/dt-bindings/clock/qcom,sm6125-gpucc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm6125-gpucc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 main branch source

#clock-cells — required here #

Exact value (const): 1

#power-domain-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells", "#power-domain-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm6125.h>
#include <dt-bindings/clock/qcom,rpmcc.h>

soc {
    #address-cells = <1>;
    #size-cells = <1>;

    clock-controller@5990000 {
        compatible = "qcom,sm6125-gpucc";
        reg = <0x05990000 0x9000>;
        clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
                 <&gcc GCC_GPU_GPLL0_CLK_SRC>;
        #clock-cells = <1>;
        #power-domain-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on SM6350

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm6350-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SM6350 and QCS615 SoC.

See also:
  include/dt-bindings/clock/qcom,qcs615-camcc.h
  include/dt-bindings/clock/qcom,sm6350-camcc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,qcs615-camcc", "qcom,sm6350-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

reg — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@ad00000 {
  compatible = "qcom,sm6350-camcc";
  reg = <0x0ad00000 0x16000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller on SM6375

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm6375-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm display clock control module provides the clocks, resets and power domains on SM6375.

See also: include/dt-bindings/clock/qcom,dispcc-sm6375.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm6375-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 source from GCC

Item 3

Byte clock from DSI PHY

Item 4

Pixel clock from DSI PHY

Required in this object (required): "compatible", "clocks"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm6375-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>

clock-controller@5f00000 {
  compatible = "qcom,sm6375-dispcc";
  reg = <0x05f00000 0x20000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_DISP_GPLL0_CLK_SRC>,
           <&dsi_phy 0>,
           <&dsi_phy 1>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM6375

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm6375-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM6375

See also: include/dt-bindings/clock/qcom,sm6375-gcc.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm6375-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board XO Active-Only source

Item 3

Sleep clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@1400000 {
  compatible = "qcom,sm6375-gcc";
  reg = <0x01400000 0x1f0000>;
  clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
           <&rpmcc RPM_SMD_XO_A_CLK_SRC>,
           <&sleep_clk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Graphics Clock & Reset Controller on SM6375

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm6375-gpucc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm graphics clock control module provides clocks, resets and power domains on Qualcomm SoCs.

See also: include/dt-bindings/clock/qcom,sm6375-gpucc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm6375-gpucc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 main branch source

Item 3

GPLL0 div branch source

Item 4

SNoC DVM GFX source

power-domains — required here #

A phandle and PM domain specifier for the VDD_GX power rail

Maximum number of items (maxItems): 1

required-opps — required here #

A phandle to an OPP node describing required VDD_GX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "power-domains", "required-opps"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm6375-gcc.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/power/qcom-rpmpd.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@5990000 {
        compatible = "qcom,sm6375-gpucc";
        reg = <0 0x05990000 0 0x9000>;
        clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
                 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
                 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>,
                 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>;
        power-domains = <&rpmpd SM6375_VDDGX>;
        required-opps = <&rpmpd_opp_low_svs>;
        #clock-cells = <1>;
        #reset-cells = <1>;
        #power-domain-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on SM7150

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm7150-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Danila Tikhonov <danila@jiaxyga.com>", "David Wronek <david@mainlining.org>", "Jens Reidel <adrian@travitia.xyz>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SM7150.

See also: include/dt-bindings/clock/qcom,sm7150-camcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm7150-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board XO Active-Only source

Item 3

Sleep clock source

power-domains — required here #

Maximum number of items (maxItems): 1

CX power domain.

Required in this object (required): "compatible", "clocks", "power-domains"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@ad00000 {
  compatible = "qcom,sm7150-camcc";
  reg = <0xad00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  power-domains = <&rpmhpd RPMHPD_CX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller for SM7150

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm7150-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Danila Tikhonov <danila@jiaxyga.com>", "David Wronek <david@mainlining.org>", "Jens Reidel <adrian@travitia.xyz>"

Qualcomm display clock control module provides the clocks, resets and power domains on SM7150.

See also: include/dt-bindings/clock/qcom,sm7150-dispcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm7150-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board Always On XO source

Item 3

GPLL0 source from GCC

Item 4

Sleep clock source

Item 5

Byte clock from MDSS DSI PHY0

Item 6

Pixel clock from MDSS DSI PHY0

Item 7

Byte clock from MDSS DSI PHY1

Item 8

Pixel clock from MDSS DSI PHY1

Item 9

Link clock from DP PHY

Item 10

VCO DIV clock from DP PHY

power-domains — required here #

Maximum number of items (maxItems): 1

CX power domain.

Required in this object (required): "compatible", "clocks", "power-domains"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm7150-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@af00000 {
  compatible = "qcom,sm7150-dispcc";
  reg = <0x0af00000 0x200000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&gcc GCC_DISP_GPLL0_CLK_SRC>,
           <&sleep_clk>,
           <&mdss_dsi0_phy 0>,
           <&mdss_dsi0_phy 1>,
           <&mdss_dsi1_phy 0>,
           <&mdss_dsi1_phy 1>,
           <&dp_phy 0>,
           <&dp_phy 1>;
  power-domains = <&rpmhpd RPMHPD_CX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM7150

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm7150-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Danila Tikhonov <danila@jiaxyga.com>", "David Wronek <davidwronek@gmail.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM7150

See also: include/dt-bindings/clock/qcom,sm7150-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm7150-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board XO Active-Only source

Item 3

Sleep clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,sm7150-gcc";
  reg = <0x00100000 0x001f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Video Clock & Reset Controller on SM7150

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm7150-videocc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Danila Tikhonov <danila@jiaxyga.com>", "David Wronek <david@mainlining.org>", "Jens Reidel <adrian@travitia.xyz>"

Qualcomm video clock control module provides the clocks, resets and power domains on SM7150.

See also: include/dt-bindings/clock/qcom,videocc-sm7150.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm7150-videocc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board Always On XO source

power-domains — required here #

Maximum number of items (maxItems): 1

CX power domain.

Required in this object (required): "compatible", "clocks", "power-domains"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
videocc: clock-controller@ab00000 {
  compatible = "qcom,sm7150-videocc";
  reg = <0x0ab00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>;
  power-domains = <&rpmhpd RPMHPD_CX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on SM8150

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8150-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Satya Priya Kakitapalli <quic_skakitap@quicinc.com>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SM8150.

See also: include/dt-bindings/clock/qcom,sm8150-camcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8150-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Camera AHB clock from GCC

power-domains — required here #

Maximum number of items (maxItems): 1

A phandle and PM domain specifier for the MMCX power domain.

required-opps — required here #

Maximum number of items (maxItems): 1

A phandle to an OPP node describing required MMCX performance point.

Required in this object (required): "compatible", "clocks", "power-domains", "required-opps", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
clock-controller@ad00000 {
  compatible = "qcom,sm8150-camcc";
  reg = <0x0ad00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_CAMERA_AHB_CLK>;
  power-domains = <&rpmhpd SM8150_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm SM8350 Video Clock & Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8350-videocc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm video clock control module provides the clocks, resets and power domains on Qualcomm SoCs.

See also::
  include/dt-bindings/clock/qcom,videocc-sm8350.h
  include/dt-bindings/reset/qcom,videocc-sm8350.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sc8280xp-videocc", "qcom,sm8350-videocc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board active XO source

Item 3

Board sleep clock

power-domains — required here #

A phandle and PM domain specifier for the MMCX power domain.

Maximum number of items (maxItems): 1

required-opps — required here #

A phandle to an OPP node describing required MMCX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "power-domains", "required-opps"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

clock-controller@abf0000 {
  compatible = "qcom,sm8350-videocc";
  reg = <0x0abf0000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  power-domains = <&rpmhpd RPMHPD_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on SM8450

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8450-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>", "Jagadeesh Kona <quic_jkona@quicinc.com>", "Taniya Das <taniya.das@oss.qualcomm.com>"

Qualcomm camera clock control module provides the clocks, resets and power domains on SM8450.

See also:
  include/dt-bindings/clock/qcom,kaanapali-camcc.h
  include/dt-bindings/clock/qcom,kaanapali-cambistmclkcc.h
  include/dt-bindings/clock/qcom,sm8450-camcc.h
  include/dt-bindings/clock/qcom,sm8550-camcc.h
  include/dt-bindings/clock/qcom,sm8650-camcc.h
  include/dt-bindings/clock/qcom,sm8750-cambistmclkcc.h
  include/dt-bindings/clock/qcom,sm8750-camcc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,kaanapali-cambistmclkcc", "qcom,kaanapali-camcc", "qcom,sm8450-camcc", "qcom,sm8475-camcc", "qcom,sm8550-camcc", "qcom,sm8650-camcc", "qcom,sm8750-cambistmclkcc", "qcom,sm8750-camcc"

clocks — required here #

Array item rules (items) #

Item 1

Camera AHB clock from GCC

Item 2

Board XO source

Item 3

Board active XO source

Item 4

Sleep clock source

power-domains — required here #

Power domains required for the clock controller to operate

Array item rules (items) #

Item 1

MMCX power domain

Item 2

MXC power domain

required-opps — not listed as required here #

OPP nodes that describe required performance points on power domains

Array item rules (items) #

Item 1

MMCX performance point

Item 2

MXC performance point

reg — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "power-domains"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,kaanapali-cambistmclkcc", "qcom,kaanapali-camcc", "qcom,sc8280xp-camcc", "qcom,sm8450-camcc", "qcom,sm8550-camcc"

When the condition matches (then) #

Required in this object (required): "required-opps"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm8450.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@ade0000 {
  compatible = "qcom,sm8450-camcc";
  reg = <0xade0000 0x20000>;
  clocks = <&gcc GCC_CAMERA_AHB_CLK>,
           <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  power-domains = <&rpmhpd RPMHPD_MMCX>,
                  <&rpmhpd RPMHPD_MXC>;
  required-opps = <&rpmhpd_opp_low_svs>,
                  <&rpmhpd_opp_low_svs>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller for SM8450

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8450-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"

Qualcomm display clock control module provides the clocks, resets and power domains on SM8450.

See also: include/dt-bindings/clock/qcom,sm8450-dispcc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm8450-dispcc", "qcom,sm8475-dispcc"

clocks — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Board XO source

Item 2

Board Always On XO source

Item 3

Display's AHB clock

Item 4

sleep clock

Item 5

Byte clock from DSI PHY0

Item 6

Pixel clock from DSI PHY0

Item 7

Byte clock from DSI PHY1

Item 8

Pixel clock from DSI PHY1

Item 9

Link clock from DP PHY0

Item 10

VCO DIV clock from DP PHY0

Item 11

Link clock from DP PHY1

Item 12

VCO DIV clock from DP PHY1

Item 13

Link clock from DP PHY2

Item 14

VCO DIV clock from DP PHY2

Item 15

Link clock from DP PHY3

Item 16

VCO DIV clock from DP PHY3

power-domains — not listed as required here #

A phandle and PM domain specifier for the MMCX power domain.

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

A phandle to an OPP node describing required MMCX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm8450.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@af00000 {
  compatible = "qcom,sm8450-dispcc";
  reg = <0x0af00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&gcc GCC_DISP_AHB_CLK>,
           <&sleep_clk>,
           <&dsi0_phy 0>,
           <&dsi0_phy 1>,
           <&dsi1_phy 0>,
           <&dsi1_phy 1>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  power-domains = <&rpmhpd RPMHPD_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Graphics Clock & Reset Controller on SM8450

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8450-gpucc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm graphics clock control module provides the clocks, resets and power domains on Qualcomm SoCs.

See also::
  include/dt-bindings/clock/qcom,kaanapali-gpucc.h
  include/dt-bindings/clock/qcom,milos-gpucc.h
  include/dt-bindings/clock/qcom,sar2130p-gpucc.h
  include/dt-bindings/clock/qcom,sm4450-gpucc.h
  include/dt-bindings/clock/qcom,sm8450-gpucc.h
  include/dt-bindings/clock/qcom,sm8550-gpucc.h
  include/dt-bindings/reset/qcom,sm8450-gpucc.h
  include/dt-bindings/reset/qcom,sm8650-gpucc.h
  include/dt-bindings/reset/qcom,x1e80100-gpucc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,kaanapali-gpucc", "qcom,milos-gpucc", "qcom,sar2130p-gpucc", "qcom,sm4450-gpucc", "qcom,sm8450-gpucc", "qcom,sm8475-gpucc", "qcom,sm8550-gpucc", "qcom,sm8650-gpucc", "qcom,x1e80100-gpucc", "qcom,x1p42100-gpucc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

GPLL0 main branch source

Item 3

GPLL0 div branch source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm8450.h>
#include <dt-bindings/clock/qcom,rpmh.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    clock-controller@3d90000 {
        compatible = "qcom,sm8450-gpucc";
        reg = <0 0x03d90000 0 0xa000>;
        clocks = <&rpmhcc RPMH_CXO_CLK>,
                 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
                 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
        #clock-cells = <1>;
        #reset-cells = <1>;
        #power-domain-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Video Clock & Reset Controller on SM8450

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8450-videocc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <taniya.das@oss.qualcomm.com>", "Jagadeesh Kona <quic_jkona@quicinc.com>"

Qualcomm video clock control module provides the clocks, resets and power domains on SM8450.

See also:
  include/dt-bindings/clock/qcom,kaanapali-videocc.h
  include/dt-bindings/clock/qcom,sm8450-videocc.h
  include/dt-bindings/clock/qcom,sm8650-videocc.h
  include/dt-bindings/clock/qcom,sm8750-videocc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,kaanapali-videocc", "qcom,sm8450-videocc", "qcom,sm8475-videocc", "qcom,sm8550-videocc", "qcom,sm8650-videocc", "qcom,sm8750-videocc", "qcom,x1e80100-videocc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Video AHB clock from GCC

power-domains — required here #

Power domains required for the clock controller to operate

Array item rules (items) #

Item 1

MMCX power domain

Item 2

MXC power domain

required-opps — not listed as required here #

OPP nodes that describe required performance points on power domains

Array item rules (items) #

Item 1

MMCX performance point

Item 2

MXC performance point

Required in this object (required): "compatible", "clocks", "power-domains", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,kaanapali-videocc", "qcom,sm8450-videocc", "qcom,sm8550-videocc", "qcom,sm8750-videocc"

When the condition matches (then) #

Required in this object (required): "required-opps"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm8450.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
videocc: clock-controller@aaf0000 {
  compatible = "qcom,sm8450-videocc";
  reg = <0x0aaf0000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&gcc GCC_VIDEO_AHB_CLK>;
  power-domains = <&rpmhpd RPMHPD_MMCX>,
                  <&rpmhpd RPMHPD_MXC>;
  required-opps = <&rpmhpd_opp_low_svs>,
                  <&rpmhpd_opp_low_svs>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Display Clock & Reset Controller for SM8550

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8550-dispcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Neil Armstrong <neil.armstrong@linaro.org>"

Qualcomm display clock control module provides the clocks, resets and power domains on SM8550, SM8650, SM8750 and few other platforms.

See also: - include/dt-bindings/clock/qcom,kaanapali-dispcc.h - include/dt-bindings/clock/qcom,sm8550-dispcc.h - include/dt-bindings/clock/qcom,sm8650-dispcc.h - include/dt-bindings/clock/qcom,sm8750-dispcc.h - include/dt-bindings/clock/qcom,x1e80100-dispcc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,kaanapali-dispcc", "qcom,sar2130p-dispcc", "qcom,sm8550-dispcc", "qcom,sm8650-dispcc", "qcom,sm8750-dispcc", "qcom,x1e80100-dispcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board Always On XO source

Item 3

Display's AHB clock

Item 4

sleep clock

Item 5

Byte clock from DSI PHY0

Item 6

Pixel clock from DSI PHY0

Item 7

Byte clock from DSI PHY1

Item 8

Pixel clock from DSI PHY1

Item 9

Link clock from DP PHY0

Item 10

VCO DIV clock from DP PHY0

Item 11

Link clock from DP PHY1

Item 12

VCO DIV clock from DP PHY1

Item 13

Link clock from DP PHY2

Item 14

VCO DIV clock from DP PHY2

Item 15

Link clock from DP PHY3

Item 16

VCO DIV clock from DP PHY3

power-domains — not listed as required here #

A phandle and PM domain specifier for the MMCX power domain.

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

A phandle to an OPP node describing required MMCX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm8550-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@af00000 {
  compatible = "qcom,sm8550-dispcc";
  reg = <0x0af00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&gcc GCC_DISP_AHB_CLK>,
           <&sleep_clk>,
           <&dsi0_phy 0>,
           <&dsi0_phy 1>,
           <&dsi1_phy 0>,
           <&dsi1_phy 1>,
           <&dp0_phy 0>,
           <&dp0_phy 1>,
           <&dp1_phy 0>,
           <&dp1_phy 1>,
           <&dp2_phy 0>,
           <&dp2_phy 1>,
           <&dp3_phy 0>,
           <&dp3_phy 1>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  power-domains = <&rpmhpd RPMHPD_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM8550

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8550-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM8550

See also: include/dt-bindings/clock/qcom,sm8550-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8550-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

PCIE 0 Pipe clock source

Item 4

PCIE 1 Pipe clock source

Item 5

PCIE 1 Phy Auxiliary clock source

Item 6

UFS Phy Rx symbol 0 clock source

Item 7

UFS Phy Rx symbol 1 clock source

Item 8

UFS Phy Tx symbol 0 clock source

Item 9

USB3 Phy wrapper pipe clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,sm8550-gcc";
  reg = <0x00100000 0x001f4200>;
  clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>,
           <&pcie0_phy>,
           <&pcie1_phy>,
           <&pcie_1_phy_aux_clk>,
           <&ufs_mem_phy 0>,
           <&ufs_mem_phy 1>,
           <&ufs_mem_phy 2>,
           <&usb_1_qmpphy>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm TCSR Clock Controller on SM8550

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8550-tcsr.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Taniya Das <taniya.das@oss.qualcomm.com>"

Qualcomm TCSR clock control module provides the clocks, resets and power domains on SM8550

See also: - include/dt-bindings/clock/qcom,glymur-tcsr.h - include/dt-bindings/clock/qcom,sm8550-tcsr.h - include/dt-bindings/clock/qcom,sm8650-tcsr.h - include/dt-bindings/clock/qcom,sm8750-tcsr.h

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,glymur-tcsr", "qcom,kaanapali-tcsr", "qcom,milos-tcsr", "qcom,sar2130p-tcsr", "qcom,sm8550-tcsr", "qcom,sm8650-tcsr", "qcom,sm8750-tcsr", "qcom,x1e80100-tcsr"

Item 2

Exact value (const): "syscon"

clocks — required here #

Array item rules (items) #

Item 1

TCXO pad clock

reg — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>

clock-controller@1fc0000 {
  compatible = "qcom,sm8550-tcsr", "syscon";
  reg = <0x1fc0000 0x30000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM8650

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8650-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM8650

See also: include/dt-bindings/clock/qcom,sm8650-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8650-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board Always On XO source

Item 3

Sleep clock source

Item 4

PCIE 0 Pipe clock source

Item 5

PCIE 1 Pipe clock source

Item 6

PCIE 1 Phy Auxiliary clock source

Item 7

UFS Phy Rx symbol 0 clock source

Item 8

UFS Phy Rx symbol 1 clock source

Item 9

UFS Phy Tx symbol 0 clock source

Item 10

USB3 Phy wrapper pipe clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,sm8650-gcc";
  reg = <0x00100000 0x001f4200>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>,
           <&pcie0_phy>,
           <&pcie1_phy>,
           <&pcie_1_phy_aux_clk>,
           <&ufs_mem_phy 0>,
           <&ufs_mem_phy 1>,
           <&ufs_mem_phy 2>,
           <&usb_1_qmpphy>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on SM8750

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm8750-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM8750

See also:
  include/dt-bindings/clock/qcom,kaanapali-gcc.h
  include/dt-bindings/clock/qcom,sm8750-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,kaanapali-gcc", "qcom,sm8750-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board Always On XO source

Item 3

Sleep clock source

Item 4

PCIE 0 Pipe clock source

Item 5

UFS Phy Rx symbol 0 clock source

Item 6

UFS Phy Rx symbol 1 clock source

Item 7

UFS Phy Tx symbol 0 clock source

Item 8

USB3 Phy wrapper pipe clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,sm8750-gcc";
  reg = <0x00100000 0x001f4200>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>,
           <&pcie0_phy>,
           <&ufs_mem_phy 0>,
           <&ufs_mem_phy 1>,
           <&ufs_mem_phy 2>,
           <&usb_1_qmpphy>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm SPMI PMIC clock divider

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,spmi-clkdiv.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Stephen Boyd <sboyd@kernel.org>"

Qualcomm SPMI PMIC clock divider configures the clock frequency of a set of outputs on the PMIC. These clocks are typically wired through alternate functions on GPIO pins.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,spmi-clkdiv"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

#clock-cells — required here #

Exact value (const): 1

qcom,num-clkdivs — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Number of CLKDIV peripherals.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "qcom,num-clkdivs"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pmic {
    #address-cells = <1>;
    #size-cells = <0>;

    clock-controller@5b00 {
        compatible = "qcom,spmi-clkdiv";
        reg = <0x5b00>;
        clocks = <&xo_board>;
        clock-names = "xo";
        #clock-cells = <1>;
        qcom,num-clkdivs = <3>;

        assigned-clocks = <&pm8998_clk_divs 1>,
                          <&pm8998_clk_divs 2>,
                          <&pm8998_clk_divs 3>;
        assigned-clock-rates = <9600000>,
                               <9600000>,
                               <9600000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Video Clock & Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,videocc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm video clock control module provides the clocks, resets and power domains on Qualcomm SoCs.

See also::
  include/dt-bindings/clock/qcom,sm6350-videocc.h
  include/dt-bindings/clock/qcom,videocc-sc7180.h
  include/dt-bindings/clock/qcom,videocc-sc7280.h
  include/dt-bindings/clock/qcom,videocc-sdm845.h
  include/dt-bindings/clock/qcom,videocc-sm8150.h
  include/dt-bindings/clock/qcom,videocc-sm8250.h

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,sc7180-videocc", "qcom,sc7280-videocc", "qcom,sdm845-videocc", "qcom,sm6350-videocc", "qcom,sm8150-videocc", "qcom,sm8250-videocc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "qcom,sc8180x-videocc"

Item 2

Exact value (const): "qcom,sm8150-videocc"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

power-domains — not listed as required here #

A phandle and PM domain specifier for the MMCX power domain.

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

A phandle to an OPP node describing required MMCX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sc7180-videocc", "qcom,sdm845-videocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bi_tcxo"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sc7280-videocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

Board active XO source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sm6350-videocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Video AHB clock from GCC

Item 2

Board XO source

Item 3

Sleep Clock source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bi_tcxo"

Item 3

Exact value (const): "sleep_clk"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8150-videocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

AHB

Item 2

Board XO source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bi_tcxo"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sm8250-videocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

AHB

Item 2

Board XO source

Item 3

Board active XO source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bi_tcxo"

Item 3

Exact value (const): "bi_tcxo_ao"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@ab00000 {
  compatible = "qcom,sdm845-videocc";
  reg = <0x0ab00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>;
  clock-names = "bi_tcxo";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  power-domains = <&rpmhpd RPMHPD_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Camera Clock & Reset Controller on x1e80100

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,x1e80100-camcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bryan O'Donoghue <bryan.odonoghue@linaro.org>"

Qualcomm camera clock control module provides the clocks, resets and power domains on x1e80100.

See also:
  include/dt-bindings/clock/qcom,x1e80100-camcc.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,x1e80100-camcc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Camera AHB clock from GCC

Item 2

Board XO source

Item 3

Board active XO source

Item 4

Sleep clock source

power-domains — required here #

Array item rules (items) #

Item 1

A phandle to the MXC power-domain

Item 2

A phandle to the MMCX power-domain

required-opps — required here #

Array item rules (items) #

Item 1

A phandle to an OPP node describing MXC performance points

Item 2

A phandle to an OPP node describing MMCX performance points

Required in this object (required): "compatible", "clocks", "power-domains", "required-opps"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,x1e80100-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@ade0000 {
  compatible = "qcom,x1e80100-camcc";
  reg = <0xade0000 0x20000>;
  clocks = <&gcc GCC_CAMERA_AHB_CLK>,
           <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>;
  power-domains = <&rpmhpd RPMHPD_MXC>,
                  <&rpmhpd RPMHPD_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>,
                  <&rpmhpd_opp_low_svs>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm Global Clock & Reset Controller on X1E80100

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,x1e80100-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Rajendra Nayak <quic_rjendra@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on X1E80100

See also: include/dt-bindings/clock/qcom,x1e80100-gcc.h

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "qcom,x1p42100-gcc"

Item 2

Exact value (const): "qcom,x1e80100-gcc"

Rule 2

Exact value (const): "qcom,x1e80100-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

PCIe 3 pipe clock

Item 4

PCIe 4 pipe clock

Item 5

PCIe 5 pipe clock

Item 6

PCIe 6a pipe clock

Item 7

PCIe 6b pipe clock

Item 8

USB4_0 QMPPHY clock source

Item 9

USB4_1 QMPPHY clock source

Item 10

USB4_2 QMPPHY clock source

Item 11

USB4_0 PHY DP0 GMUX clock source

Item 12

USB4_0 PHY DP1 GMUX clock source

Item 13

USB4_0 PHY PCIE PIPEGMUX clock source

Item 14

USB4_0 PHY PIPEGMUX clock source

Item 15

USB4_0 PHY SYS PCIE PIPEGMUX clock source

Item 16

USB4_1 PHY DP0 GMUX 2 clock source

Item 17

USB4_1 PHY DP1 GMUX 2 clock source

Item 18

USB4_1 PHY PCIE PIPEGMUX clock source

Item 19

USB4_1 PHY PIPEGMUX clock source

Item 20

USB4_1 PHY SYS PCIE PIPEGMUX clock source

Item 21

USB4_2 PHY DP0 GMUX 2 clock source

Item 22

USB4_2 PHY DP1 GMUX 2 clock source

Item 23

USB4_2 PHY PCIE PIPEGMUX clock source

Item 24

USB4_2 PHY PIPEGMUX clock source

Item 25

USB4_2 PHY SYS PCIE PIPEGMUX clock source

Item 26

USB4_0 PHY RX 0 clock source

Item 27

USB4_0 PHY RX 1 clock source

Item 28

USB4_1 PHY RX 0 clock source

Item 29

USB4_1 PHY RX 1 clock source

Item 30

USB4_2 PHY RX 0 clock source

Item 31

USB4_2 PHY RX 1 clock source

Item 32

USB4_0 PHY PCIE PIPE clock source

Item 33

USB4_0 PHY max PIPE clock source

Item 34

USB4_1 PHY PCIE PIPE clock source

Item 35

USB4_1 PHY max PIPE clock source

Item 36

USB4_2 PHY PCIE PIPE clock source

Item 37

USB4_2 PHY max PIPE clock source

Item 38

UFS PHY RX Symbol 0 clock source

Item 39

UFS PHY RX Symbol 1 clock source

Item 40

UFS PHY TX Symbol 0 clock source

power-domains — required here #

A phandle and PM domain specifier for the CX power domain.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "power-domains", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
  compatible = "qcom,x1e80100-gcc";
  reg = <0x00100000 0x200000>;
  clocks = <&bi_tcxo_div2>,
           <&sleep_clk>,
           <&pcie3_phy>,
           <&pcie4_phy>,
           <&pcie5_phy>,
           <&pcie6a_phy>,
           <&pcie6b_phy>,
           <&usb_1_ss0_qmpphy 0>,
           <&usb_1_ss1_qmpphy 1>,
           <&usb_1_ss2_qmpphy 2>,
           <&usb4_0_phy_dp0_gmux_clk>,
           <&usb4_0_phy_dp1_gmux_clk>,
           <&usb4_0_phy_pcie_pipegmux_clk>,
           <&usb4_0_phy_pipegmux_clk>,
           <&usb4_0_phy_sys_pcie_pipegmux_clk>,
           <&usb4_1_phy_dp0_gmux_2_clk>,
           <&usb4_1_phy_dp1_gmux_2_clk>,
           <&usb4_1_phy_pcie_pipegmux_clk>,
           <&usb4_1_phy_pipegmux_clk>,
           <&usb4_1_phy_sys_pcie_pipegmux_clk>,
           <&usb4_2_phy_dp0_gmux_2_clk>,
           <&usb4_2_phy_dp1_gmux_2_clk>,
           <&usb4_2_phy_pcie_pipegmux_clk>,
           <&usb4_2_phy_pipegmux_clk>,
           <&usb4_2_phy_sys_pcie_pipegmux_clk>,
           <&usb4_0_phy_rx_0_clk>,
           <&usb4_0_phy_rx_1_clk>,
           <&usb4_1_phy_rx_0_clk>,
           <&usb4_1_phy_rx_1_clk>,
           <&usb4_2_phy_rx_0_clk>,
           <&usb4_2_phy_rx_1_clk>,
           <&usb4_0_phy_pcie_pipe_clk>,
           <&usb4_0_phy_max_pipe_clk>,
           <&usb4_1_phy_pcie_pipe_clk>,
           <&usb4_1_phy_max_pipe_clk>,
           <&usb4_2_phy_pcie_pipe_clk>,
           <&usb4_2_phy_max_pipe_clk>,
           <&ufs_phy_rx_symbol_0>,
           <&ufs_phy_rx_symbol_1>,
           <&ufs_phy_tx_symbol_0>;
  power-domains = <&rpmhpd RPMHPD_CX>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

RaspberryPi RP1 clock generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/raspberrypi,rp1-clocks.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "A. della Porta <andrea.porta@suse.com>"

The RP1 contains a clock generator designed as three PLLs (CORE, AUDIO, VIDEO), and each PLL output can be programmed through dividers to generate the clocks to drive the sub-peripherals embedded inside the chipset.

Link to datasheet: https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "raspberrypi,rp1-clocks"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

The available clocks are defined in include/dt-bindings/clock/raspberrypi,rp1-clocks.h.

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/raspberrypi,rp1-clocks.h>

rp1 {
    #address-cells = <2>;
    #size-cells = <2>;

    clocks@c040018000 {
        compatible = "raspberrypi,rp1-clocks";
        reg = <0xc0 0x40018000 0x0 0x10038>;
        #clock-cells = <1>;
        clocks = <&clk_rp1_xosc>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Renesas 5p35023 VersaClock 3 programmable I2C clock generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,5p35023.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>"

The 5P35023 is a VersaClock programmable clock generator and is designed for low-power, consumer, and high-performance PCI express applications. The 5P35023 device is a three PLL architecture design, and each PLL is individually programmable and allowing for up to 6 unique frequency outputs.

An internal OTP memory allows the user to store the configuration in the device. After power up, the user can change the device register settings through the I2C interface when I2C mode is selected.

The driver can read a full register map from the DT, and will use that register map to initialize the attached part (via I2C) when the system boots. Any configuration not supported by the common clock framework must be done via the full register map, including optimized settings.

Link to datasheet: https://www.renesas.com/us/en/products/clocks-timing/clock-generation/programmable-clocks/5p35023-versaclock-3s-programmable-clock-generator

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,5l35023", "renesas,5p35023"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

The index in the assigned-clocks is mapped to the output clock as below 0 - REF, 1 - SE1, 2 - SE2, 3 - SE3, 4 - DIFF1, 5 - DIFF2.

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

renesas,settings — not listed as required here #

Optional, complete register map of the device. Optimized settings for the device must be provided in full and are written during initialization.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array

Maximum number of items (maxItems): 37

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    versa3: clock-generator@68 {
        compatible = "renesas,5p35023";
        reg = <0x68>;
        #clock-cells = <1>;

        clocks = <&x1>;

        renesas,settings = [
            80 00 11 19 4c 02 23 7f 83 19 08 a9 5f 25 24 bf
            00 14 7a e1 00 00 00 00 01 55 59 bb 3f 30 90 b6
            80 b0 45 c4 95
        ];

        assigned-clocks = <&versa3 0>, <&versa3 1>,
                          <&versa3 2>, <&versa3 3>,
                          <&versa3 4>, <&versa3 5>;
        assigned-clock-rates = <24000000>, <11289600>,
                               <11289600>, <12000000>,
                               <25000000>, <12288000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Renesas 9-series I2C PCIe clock generators

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,9series.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The Renesas 9-series are I2C PCIe clock generators providing from 1 to 20 output clocks.

When referencing the provided clock in the DT using phandle and clock specifier, the following mapping applies:

- 9FGV0241:
  0 -- DIF0
  1 -- DIF1
- 9FGV0441:
  0 -- DIF0
  1 -- DIF1
  2 -- DIF2
  3 -- DIF3
- 9FGV0841:
  0 -- DIF0
  1 -- DIF1
  2 -- DIF2
  3 -- DIF3
  4 -- DIF4
  5 -- DIF5
  6 -- DIF6
  7 -- DIF7

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,9fgv0241", "renesas,9fgv0441", "renesas,9fgv0841"

reg — required here #

I2C device address

Allowed values (enum): 104, 106

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

XTal input clock

renesas,out-amplitude-microvolt — not listed as required here #

Allowed values (enum): 600000, 700000, 800000, 900000

Output clock signal amplitude

renesas,out-spread-spectrum — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 100000, 99750, 99500

Output clock down spread in pcm (1/1000 of percent)

Properties matching a name pattern (patternProperties) #

^DIF1?[0-9]$ — name matches this regular expression #

Value type (type): "object"

Description of one of the outputs (DIF0..DIF19).

Properties and child nodes (properties) #

renesas,slew-rate — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 2000000, 3000000

Output clock slew rate select in V/ns

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

/* 25MHz reference crystal */
ref25: ref25m {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <25000000>;
};

i2c@0 {
    reg = <0x0 0x100>;
    #address-cells = <1>;
    #size-cells = <0>;

    rs9: clock-generator@6a {
        compatible = "renesas,9fgv0241";
        reg = <0x6a>;
        #clock-cells = <1>;

        clocks = <&ref25m>;

        DIF0 {
            renesas,slew-rate = <3000000>;
        };

        /* Not present on 9FGV0241, used for DT validation only */
        DIF2 {
            renesas,slew-rate = <2000000>;
        };

        DIF19 {
            renesas,slew-rate = <3000000>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Renesas Clock Pulse Generator (CPG)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,cpg-clocks.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

The Clock Pulse Generator (CPG) generates core clocks for the SoC. It includes PLLs, and fixed and variable ratio dividers. The CPG may also provide a Clock Domain for SoC devices, in combination with the CPG Module Stop (MSTP) Clocks.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "renesas,r8a73a4-cpg-clocks"

Rule 2

Exact value (const): "renesas,r8a7740-cpg-clocks"

Rule 3

Exact value (const): "renesas,r8a7778-cpg-clocks"

Rule 4

Exact value (const): "renesas,r8a7779-cpg-clocks"

Rule 5

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r7s72100-cpg-clocks"

Item 2

Exact value (const): "renesas,rz-cpg-clocks"

Rule 6

Exact value (const): "renesas,sh73a0-cpg-clocks"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

#clock-cells — required here #

Exact value (const): 1

clock-output-names — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 17

renesas,mode — not listed as required here #

Board-specific settings of the MD_CK* bits on R-Mobile A1

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 7

#power-domain-cells — not listed as required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells", "clock-output-names"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r8a73a4-cpg-clocks"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

extal1

Item 2

extal2

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "main"

Item 2

Exact value (const): "pll0"

Item 3

Exact value (const): "pll1"

Item 4

Exact value (const): "pll2"

Item 5

Exact value (const): "pll2s"

Item 6

Exact value (const): "pll2h"

Item 7

Exact value (const): "z"

Item 8

Exact value (const): "z2"

Item 9

Exact value (const): "i"

Item 10

Exact value (const): "m3"

Item 11

Exact value (const): "b"

Item 12

Exact value (const): "m1"

Item 13

Exact value (const): "m2"

Item 14

Exact value (const): "zx"

Item 15

Exact value (const): "zs"

Item 16

Exact value (const): "hp"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r8a7740-cpg-clocks"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

extal1

Item 2

extal2

Item 3

extalr

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "system"

Item 2

Exact value (const): "pllc0"

Item 3

Exact value (const): "pllc1"

Item 4

Exact value (const): "pllc2"

Item 5

Exact value (const): "r"

Item 6

Exact value (const): "usb24s"

Item 7

Exact value (const): "i"

Item 8

Exact value (const): "zg"

Item 9

Exact value (const): "b"

Item 10

Exact value (const): "m1"

Item 11

Exact value (const): "hp"

Item 12

Exact value (const): "hpp"

Item 13

Exact value (const): "usbp"

Item 14

Exact value (const): "s"

Item 15

Exact value (const): "zb"

Item 16

Exact value (const): "m3"

Item 17

Exact value (const): "cp"

Required in this object (required): "renesas,mode"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r8a7778-cpg-clocks"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "plla"

Item 2

Exact value (const): "pllb"

Item 3

Exact value (const): "b"

Item 4

Exact value (const): "out"

Item 5

Exact value (const): "p"

Item 6

Exact value (const): "s"

Item 7

Exact value (const): "s1"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r8a7779-cpg-clocks"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "plla"

Item 2

Exact value (const): "z"

Item 3

Exact value (const): "zs"

Item 4

Exact value (const): "s"

Item 5

Exact value (const): "s1"

Item 6

Exact value (const): "p"

Item 7

Exact value (const): "b"

Item 8

Exact value (const): "out"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r7s72100-cpg-clocks"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

extal1

Item 2

usb_x1

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "pll"

Item 2

Exact value (const): "i"

Item 3

Exact value (const): "g"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,sh73a0-cpg-clocks"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

extal1

Item 2

extal2

clock-output-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "main"

Item 2

Exact value (const): "pll0"

Item 3

Exact value (const): "pll1"

Item 4

Exact value (const): "pll2"

Item 5

Exact value (const): "pll3"

Item 6

Exact value (const): "dsi0phy"

Item 7

Exact value (const): "dsi1phy"

Item 8

Exact value (const): "zg"

Item 9

Exact value (const): "m3"

Item 10

Exact value (const): "b"

Item 11

Exact value (const): "m1"

Item 12

Exact value (const): "m2"

Item 13

Exact value (const): "z"

Item 14

Exact value (const): "zx"

Item 15

Exact value (const): "hp"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,r8a7778-cpg-clocks", "renesas,r8a7779-cpg-clocks", "renesas,rz-cpg-clocks"

When the condition matches (then) #

Required in this object (required): "#power-domain-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a7740-clock.h>
cpg_clocks: cpg_clocks@e6150000 {
        compatible = "renesas,r8a7740-cpg-clocks";
        reg = <0xe6150000 0x10000>;
        clocks = <&extal1_clk>, <&extal2_clk>, <&extalr_clk>;
        #clock-cells = <1>;
        clock-output-names = "system", "pllc0", "pllc1", "pllc2", "r",
                             "usb24s", "i", "zg", "b", "m1", "hp", "hpp",
                             "usbp", "s", "zb", "m3", "cp";
        renesas,mode = <0x05>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 22: R-Mobile APE6

Line 23: R-Mobile A1

Line 24: R-Car M1

Line 25: R-Car H1

Line 28: RZ/A1H

Line 29: RZ/A1

Line 30: SH-Mobile AG5

Renesas CPG DIV6 Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,cpg-div6-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

The CPG DIV6 clocks are variable factor clocks provided by the Clock Pulse Generator (CPG). Their clock input is divided by a configurable factor from 1 to 64.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r8a73a4-div6-clock", "renesas,r8a7740-div6-clock", "renesas,sh73a0-div6-clock"

Item 2

Exact value (const): "renesas,cpg-div6-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Maximum number of items (maxItems): 1

Rule 2

Maximum number of items (maxItems): 4

Rule 3

Maximum number of items (maxItems): 8

For clocks with multiple parents, invalid settings must be specified as "<0>".

#clock-cells — required here #

Exact value (const): 0

clock-output-names — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "clocks", "#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/r8a73a4-clock.h>

cpg_clocks: cpg_clocks@e6150000 {
        compatible = "renesas,r8a73a4-cpg-clocks";
        reg = <0xe6150000 0x10000>;
        clocks = <&extal1_clk>, <&extal2_clk>;
        #clock-cells = <1>;
        clock-output-names = "main", "pll0", "pll1", "pll2",
                              "pll2s", "pll2h", "z", "z2",
                              "i", "m3", "b", "m1", "m2",
                              "zx", "zs", "hp";
};

sdhi2_clk: sdhi2_clk@e615007c {
        compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
        reg = <0xe615007c 4>;
        clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, <0>,
                 <&extal2_clk>;
        #clock-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 21: R-Mobile APE6

Line 22: R-Mobile A1

Line 23: SH-Mobile AG5

Renesas Clock Pulse Generator / Module Standby and Software Reset

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,cpg-mssr.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

On Renesas ARM SoCs (SH/R-Mobile, R-Car, RZ), the CPG (Clock Pulse Generator) and MSSR (Module Standby and Software Reset) blocks are intimately connected, and share the same register block.

They provide the following functionalities:
  - The CPG block generates various core clocks,
  - The MSSR block provides two functions:
      1. Module Standby, providing a Clock Domain to control the clock supply
         to individual SoC devices,
      2. Reset Control, to perform a software reset of individual SoC devices.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,r7s9210-cpg-mssr", "renesas,r8a7742-cpg-mssr", "renesas,r8a7743-cpg-mssr", "renesas,r8a7744-cpg-mssr", "renesas,r8a7745-cpg-mssr", "renesas,r8a77470-cpg-mssr", "renesas,r8a774a1-cpg-mssr", "renesas,r8a774a3-cpg-mssr", "renesas,r8a774b1-cpg-mssr", "renesas,r8a774c0-cpg-mssr", "renesas,r8a774e1-cpg-mssr", "renesas,r8a7790-cpg-mssr", "renesas,r8a7791-cpg-mssr", "renesas,r8a7792-cpg-mssr", "renesas,r8a7793-cpg-mssr", "renesas,r8a7794-cpg-mssr", "renesas,r8a7795-cpg-mssr", "renesas,r8a7796-cpg-mssr", "renesas,r8a77961-cpg-mssr", "renesas,r8a77965-cpg-mssr", "renesas,r8a77970-cpg-mssr", "renesas,r8a77980-cpg-mssr", "renesas,r8a77990-cpg-mssr", "renesas,r8a77995-cpg-mssr", "renesas,r8a779a0-cpg-mssr", "renesas,r8a779f0-cpg-mssr", "renesas,r8a779g0-cpg-mssr", "renesas,r8a779h0-cpg-mssr", "renesas,r9a09g077-cpg-mssr", "renesas,r9a09g087-cpg-mssr"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

base address of register block 0

Item 2

base address of register block 1

base addresses of clock controller. Some controllers (like r9a09g077) use two blocks instead of a single one.

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Array item rules (items) #

Allowed values (enum): "extal", "extalr", "usb_extal"

#clock-cells — required here #

- For CPG core clocks, the two clock specifier cells must be "CPG_CORE"
  and a core clock reference, as defined in
  <dt-bindings/clock/*-cpg-mssr.h>
- For module clocks, the two clock specifier cells must be "CPG_MOD" and
  a module number, as defined in the datasheet.

Exact value (const): 2

#power-domain-cells — required here #

SoC devices that are part of the CPG/MSSR Clock Domain and can be power-managed through Module Standby should refer to the CPG device node in their "power-domains" property, as documented by the generic PM Domain bindings in Documentation/devicetree/bindings/power/power-domain.yaml.

Exact value (const): 0

#reset-cells — not listed as required here #

The single reset specifier cell must be the module number, as defined in the datasheet.

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,r9a09g077-cpg-mssr", "renesas,r9a09g087-cpg-mssr"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "extal"

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Array item rules (items)

Allowed values (enum): "renesas,r7s9210-cpg-mssr"

When the condition matches (then) #

Required in this object (required): "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cpg: clock-controller@e6150000 {
        compatible = "renesas,r8a7795-cpg-mssr";
        reg = <0xe6150000 0x1000>;
        clocks = <&extal_clk>, <&extalr_clk>;
        clock-names = "extal", "extalr";
        #clock-cells = <2>;
        #power-domain-cells = <0>;
        #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 27: RZ/A2

Line 28: RZ/G1H

Line 29: RZ/G1M

Line 30: RZ/G1N

Line 31: RZ/G1E

Line 32: RZ/G1C

Line 33: RZ/G2M

Line 34: RZ/G2M v3.0

Line 35: RZ/G2N

Line 36: RZ/G2E

Line 37: RZ/G2H

Line 38: R-Car H2

Line 39: R-Car M2-W

Line 40: R-Car V2H

Line 41: R-Car M2-N

Line 42: R-Car E2

Line 43: R-Car H3

Line 44: R-Car M3-W

Line 45: R-Car M3-W+

Line 46: R-Car M3-N

Line 47: R-Car V3M

Line 48: R-Car V3H

Line 49: R-Car E3

Line 50: R-Car D3

Line 51: R-Car V3U

Line 52: R-Car S4-8

Line 53: R-Car V4H

Line 54: R-Car V4M

Line 55: RZ/T2H

Line 56: RZ/N2H

Line 75: All

Line 76: Most R-Car Gen3 and RZ/G2

Line 77: Most R-Car Gen2 and RZ/G1

Renesas Clock Pulse Generator (CPG) Module Stop (MSTP) Clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,cpg-mstp-clocks.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

The Clock Pulse Generator (CPG) can gate SoC device clocks. The gates are organized in groups of up to 32 gates. This device tree binding describes a single 32 gate clocks group per node. Clocks are referenced by user nodes by the Module Stop (MSTP) node phandle and the clock index in the group, from 0 to 31.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r7s72100-mstp-clocks", "renesas,r8a73a4-mstp-clocks", "renesas,r8a7740-mstp-clocks", "renesas,r8a7778-mstp-clocks", "renesas,r8a7779-mstp-clocks", "renesas,sh73a0-mstp-clocks"

Item 2

Exact value (const): "renesas,cpg-mstp-clocks"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Module Stop Control Register (MSTPCR)

Item 2

Module Stop Status Register (MSTPSR)

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

#clock-cells — required here #

Exact value (const): 1

clock-indices — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

clock-output-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells", "clock-indices", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a73a4-clock.h>
mstp2_clks: mstp2_clks@e6150138 {
        compatible = "renesas,r8a73a4-mstp-clocks",
                     "renesas,cpg-mstp-clocks";
        reg = <0xe6150138 4>, <0xe6150040 4>;
        clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
                 <&mp_clk>, <&cpg_clocks R8A73A4_CLK_HP>;
        #clock-cells = <1>;
        clock-indices = <
                R8A73A4_CLK_SCIFA0 R8A73A4_CLK_SCIFA1
                R8A73A4_CLK_SCIFB0 R8A73A4_CLK_SCIFB1
                R8A73A4_CLK_SCIFB2 R8A73A4_CLK_SCIFB3
                R8A73A4_CLK_DMAC
        >;
        clock-output-names =
                "scifa0", "scifa1", "scifb0", "scifb1", "scifb2", "scifb3",
                "dmac";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 24: RZ/A1

Line 25: R-Mobile APE6

Line 26: R-Mobile A1

Line 27: R-Car M1

Line 28: R-Car H1

Line 29: SH-Mobile AG5

Renesas EMMA Mobile EV2 System Management Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,emev2-smu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>", "Magnus Damm <magnus.damm@gmail.com>"

The System Management Unit is described in user's manual R19UH0037EJ1000_SMU. This is not a clock provider, but clocks under SMU depend on it.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "renesas,emev2-smu"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 2

#size-cells — required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells"

Properties matching a name pattern (patternProperties) #

.*sclkdiv@.* — name matches this regular expression #

Value type (type): "object"

Function block with an input mux and a divider, which corresponds to "Serial clock generator" in fig. "Clock System Overview" of the manual, and "xxx frequency division setting register" (XXXCLKDIV) registers. This makes internal (neither input nor output) clock that is provided to input of xxxGCLK block.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "renesas,emev2-smu-clkdiv"

reg — required here

Maximum number of items (maxItems): 1

Byte offset from SMU base and Bit position in the register.

clocks — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

#clock-cells — required here

Exact value (const): 0

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

.*sclk@.* — name matches this regular expression #

Value type (type): "object"

Clock gating node shown as "Clock stop processing block" in the fig. "Clock System Overview" of the manual. Registers are "xxx clock gate control register" (XXXGCLKCTRL).

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "renesas,emev2-smu-gclk"

reg — required here

Maximum number of items (maxItems): 1

Byte offset from SMU base and Bit position in the register.

clocks — required here

Maximum number of items (maxItems): 1

#clock-cells — required here

Exact value (const): 0

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Examples (examples) #

// Example of clock-tree description:
//
//  This describes a clock path in the clock tree
//   c32ki -> pll3_fo -> usia_u0_sclkdiv -> usia_u0_sclk
clocks@e0110000 {
        compatible = "renesas,emev2-smu";
        reg = <0xe0110000 0x10000>;
        #address-cells = <2>;
        #size-cells = <0>;

        c32ki: c32ki {
                compatible = "fixed-clock";
                clock-frequency = <32768>;
                #clock-cells = <0>;
        };
        pll3_fo: pll3_fo {
                compatible = "fixed-factor-clock";
                clocks = <&c32ki>;
                clock-div = <1>;
                clock-mult = <7000>;
                #clock-cells = <0>;
        };
        usia_u0_sclkdiv: usia_u0_sclkdiv@610,0 {
                compatible = "renesas,emev2-smu-clkdiv";
                reg = <0x610 0>;
                clocks = <&pll3_fo>;
                #clock-cells = <0>;
        };
        usia_u0_sclk: usia_u0_sclk@4a0,1 {
                compatible = "renesas,emev2-smu-gclk";
                reg = <0x4a0 1>;
                clocks = <&usia_u0_sclkdiv>;
                #clock-cells = <0>;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Renesas RZ/N1D (R9A06G032) System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,r9a06g032-sysctrl.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Fabrizio Castro <fabrizio.castro.jz@renesas.com>", "Geert Uytterhoeven <geert+renesas@glider.be>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "renesas,r9a06g032-sysctrl"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

External 40 MHz crystal

Item 2

Optional external 32.768 kHz crystal

Item 3

Optional external JTAG input

Item 4

Optional external RGMII_REFCLK

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "mclk"

Item 2

Exact value (const): "rtc"

Item 3

Exact value (const): "jtag"

Item 4

Exact value (const): "rgmii_ref_ext"

#clock-cells — required here #

Exact value (const): 1

#power-domain-cells — required here #

Exact value (const): 0

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^dma-router@[a-f0-9]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/dma/renesas,rzn1-dmamux.yaml#

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#power-domain-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

sysctrl: system-controller@4000c000 {
        compatible = "renesas,r9a06g032-sysctrl";
        reg = <0x4000c000 0x1000>;
        clocks = <&ext_mclk>, <&ext_rtc_clk>, <&ext_jtag_clk>,
                 <&ext_rgmii_ref>;
        clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext";
        #clock-cells = <1>;
        #power-domain-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Renesas Battery Backup Function (VBATTB)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,r9a08g045-vbattb.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Renesas VBATTB is an always on powered module (backed by battery) which controls the RTC clock (VBATTCLK), tamper detection logic and a small general usage memory (128B).

Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "renesas,r9a08g045-vbattb"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

tamper detector interrupt

clocks — required here #

Array item rules (items) #

Item 1

VBATTB module clock

Item 2

RTC input clock (crystal or external clock device)

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bclk"

Item 2

Exact value (const): "rtx"

#clock-cells — required here #

Exact value (const): 1

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Array item rules (items) #

Item 1

VBATTB module reset

quartz-load-femtofarads — not listed as required here #

load capacitance of the on board crystal

Allowed values (enum): 4000, 7000, 9000, 12500

Default value (default): 4000

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "#clock-cells", "power-domains", "resets"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r9a08g045-cpg.h>
#include <dt-bindings/clock/renesas,r9a08g045-vbattb.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

clock-controller@1005c000 {
    compatible = "renesas,r9a08g045-vbattb";
    reg = <0x1005c000 0x1000>;
    interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cpg CPG_MOD R9A08G045_VBAT_BCLK>, <&vbattb_xtal>;
    clock-names = "bclk", "rtx";
    assigned-clocks = <&vbattb VBATTB_MUX>;
    assigned-clock-parents = <&vbattb VBATTB_XC>;
    #clock-cells = <1>;
    power-domains = <&cpg>;
    resets = <&cpg R9A08G045_VBAT_BRESETN>;
    quartz-load-femtofarads = <12500>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Renesas R-Car USB 2.0 clock selector

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,rcar-usb2-clock-sel.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"

If you connect an external clock to the USB_EXTAL pin only, you should set the clock rate to "usb_extal" node only. If you connect an oscillator to both the USB_XTAL and USB_EXTAL, this module is not needed because this is default setting. (Of course, you can set the clock rates to both "usb_extal" and "usb_xtal" nodes.

Case 1: An external clock connects to R-Car SoC
  +----------+   +--- R-Car ---------------------+
  |External  |---|USB_EXTAL ---> all usb channels|
  |clock     |   |USB_XTAL                       |
  +----------+   +-------------------------------+

In this case, we need this driver with "usb_extal" clock.

Case 2: An oscillator connects to R-Car SoC
  +----------+   +--- R-Car ---------------------+
  |Oscillator|---|USB_EXTAL -+-> all usb channels|
  |          |---|USB_XTAL --+                   |
  +----------+   +-------------------------------+
In this case, we don't need this selector.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r8a774a1-rcar-usb2-clock-sel", "renesas,r8a774b1-rcar-usb2-clock-sel", "renesas,r8a774e1-rcar-usb2-clock-sel", "renesas,r8a7795-rcar-usb2-clock-sel", "renesas,r8a7796-rcar-usb2-clock-sel", "renesas,r8a77961-rcar-usb2-clock-sel"

Item 2

Exact value (const): "renesas,rcar-gen3-usb2-clock-sel"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 4

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ehci_ohci"

Item 2

Exact value (const): "hs-usb-if"

Item 3

Exact value (const): "usb_extal"

Item 4

Exact value (const): "usb_xtal"

#clock-cells — required here #

Exact value (const): 0

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 2

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ehci_ohci"

Item 2

Exact value (const): "hs-usb-if"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "power-domains", "resets", "reset-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/power/r8a7795-sysc.h>

usb2_clksel: clock-controller@e6590630 {
    compatible = "renesas,r8a7795-rcar-usb2-clock-sel",
                 "renesas,rcar-gen3-usb2-clock-sel";
    reg = <0xe6590630 0x02>;
    clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>,
             <&usb_extal>, <&usb_xtal>;
    clock-names = "ehci_ohci", "hs-usb-if", "usb_extal", "usb_xtal";
    #clock-cells = <0>;
    power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
    resets = <&cpg 703>, <&cpg 704>;
    reset-names = "ehci_ohci", "hs-usb-if";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 38: RZ/G2M

Line 39: RZ/G2N

Line 40: RZ/G2H

Line 41: R-Car H3

Line 42: R-Car M3-W

Line 43: R-Car M3-W+

Renesas RZ/{G2L,V2L,V2M} Clock Pulse Generator / Module Standby Mode

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,rzg2l-cpg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

On Renesas RZ/{G2L,V2L}-alike SoC's, the CPG (Clock Pulse Generator) and Module Standby Mode share the same register block. On RZ/V2M, the functionality is similar, but does not have Clock Monitor Registers.

They provide the following functionalities:
  - The CPG block generates various core clocks,
  - The Module Standby Mode block provides two functions:
      1. Module Standby, providing a Clock Domain to control the clock supply
         to individual SoC devices,
      2. Reset Control, to perform a software reset of individual SoC devices.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,r9a07g043-cpg", "renesas,r9a07g044-cpg", "renesas,r9a07g054-cpg", "renesas,r9a08g045-cpg", "renesas,r9a09g011-cpg"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Clock source to CPG can be either from external clock input (EXCLK) or crystal oscillator (XIN/XOUT).

Exact value (const): "extal"

#clock-cells — required here #

- For CPG core clocks, the two clock specifier cells must be "CPG_CORE"
  and a core clock reference, as defined in
  <dt-bindings/clock/r9a0*-cpg.h>,
- For module clocks, the two clock specifier cells must be "CPG_MOD" and
  a module number, as defined in <dt-bindings/clock/r9a0*-cpg.h>.

Exact value (const): 2

#power-domain-cells — required here #

SoC devices that are part of the CPG/Module Standby Mode Clock Domain and can be power-managed through Module Standby should refer to the CPG device node in their "power-domains" property, as documented by the generic PM Domain bindings in Documentation/devicetree/bindings/power/power-domain.yaml.

Exact value (const): 0

#reset-cells — required here #

The single reset specifier cell must be the reset number, as defined in <dt-bindings/clock/r9a0*-cpg.h>.

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#power-domain-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cpg: clock-controller@11010000 {
        compatible = "renesas,r9a07g044-cpg";
        reg = <0x11010000 0x10000>;
        clocks = <&extal_clk>;
        clock-names = "extal";
        #clock-cells = <2>;
        #power-domain-cells = <0>;
        #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 27: RZ/G2UL{Type-1,Type-2} and RZ/Five

Line 28: RZ/G2{L,LC}

Line 29: RZ/V2L

Line 30: RZ/G3S

Line 31: RZ/V2M

Renesas RZ/{G3E,V2H(P),V2N} Clock Pulse Generator (CPG)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,rzv2h-cpg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"

On Renesas RZ/{G3E,V2H(P),V2N} SoCs, the CPG (Clock Pulse Generator) handles generation and control of clock signals for the IP modules, generation and control of resets, and control over booting, low power consumption and power supply domains.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,r9a09g047-cpg", "renesas,r9a09g056-cpg", "renesas,r9a09g057-cpg"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

AUDIO_EXTAL clock input

Item 2

RTXIN clock input

Item 3

QEXTAL clock input

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "audio_extal"

Item 2

Exact value (const): "rtxin"

Item 3

Exact value (const): "qextal"

#clock-cells — required here #

- For CPG core clocks, the two clock specifier cells must be "CPG_CORE"
  and a core clock reference, as defined in
  <dt-bindings/clock/renesas,r9a09g0*-cpg.h>,
- For module clocks, the two clock specifier cells must be "CPG_MOD" and
  a module number.  The module number is calculated as the CLKON register
  offset index multiplied by 16, plus the actual bit in the register
  used to turn the CLK ON. For example, for CGC_GIC_0_GICCLK, the
  calculation is (1 * 16 + 3) = 0x13.

Exact value (const): 2

#power-domain-cells — required here #

Exact value (const): 0

#reset-cells — required here #

The single reset specifier cell must be the reset number. The reset number is calculated as the reset register offset index multiplied by 16, plus the actual bit in the register used to reset the specific IP block. For example, for SYS_0_PRESETN, the calculation is (3 * 16 + 0) = 0x30.

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#power-domain-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@10420000 {
    compatible = "renesas,r9a09g057-cpg";
    reg = <0x10420000 0x10000>;
    clocks = <&audio_extal_clk>, <&rtxin_clk>, <&qextal_clk>;
    clock-names = "audio_extal", "rtxin", "qextal";
    #clock-cells = <2>;
    #power-domain-cells = <0>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 21: RZ/G3E

Line 22: RZ/V2N

Line 23: RZ/V2H

Renesas Versaclock7 Programmable Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,versaclock7.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alex Helms <alexander.helms.jy@renesas.com>"

Renesas Versaclock7 is a family of configurable clock generator and jitter attenuator ICs with fractional and integer dividers.

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "renesas,rc21008a"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

External crystal or oscillator

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xin"

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

vc7_xin: clock {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <49152000>;
};

i2c@0 {
    reg = <0x0 0x100>;
    #address-cells = <1>;
    #size-cells = <0>;

    vc7: clock-controller@9 {
        compatible = "renesas,rc21008a";
        reg = <0x9>;
        #clock-cells = <1>;
        clocks = <&vc7_xin>;
        clock-names = "xin";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

RISC-V RPMI clock service group based clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/riscv,rpmi-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Anup Patel <anup@brainfault.org>"

The RISC-V Platform Management Interface (RPMI) [1] defines a messaging protocol which is modular and extensible. The supervisor software can send/receive RPMI messages via SBI MPXY extension [2] or some dedicated supervisor-mode RPMI transport.

The RPMI specification [1] defines clock service group for accessing system clocks managed by a platform microcontroller. The supervisor software can access RPMI clock service group via SBI MPXY channel or some dedicated supervisor-mode RPMI transport.

=========================================== References ===========================================

[1] RISC-V Platform Management Interface (RPMI) v1.0 (or higher)
    https://github.com/riscv-non-isa/riscv-rpmi/releases
[2] RISC-V Supervisor Binary Interface (SBI) v3.0 (or higher)
    https://github.com/riscv-non-isa/riscv-sbi-doc/releases

Properties and child nodes (properties) #

compatible — required here #

Intended for use by the supervisor software.

Exact value (const): "riscv,rpmi-clock"

mboxes — required here #

Maximum number of items (maxItems): 1

Mailbox channel of the underlying RPMI transport or SBI message proxy channel.

#clock-cells — required here #

Exact value (const): 1

Platform specific CLOCK_ID as defined by the RISC-V Platform Management Interface (RPMI) specification.

Required in this object (required): "compatible", "mboxes", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller {
    compatible = "riscv,rpmi-clock";
    mboxes = <&mpxy_mbox 0x1000 0x0>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

RISC-V RPMI clock service group based message proxy

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/riscv,rpmi-mpxy-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Anup Patel <anup@brainfault.org>"

The RISC-V Platform Management Interface (RPMI) [1] defines a messaging protocol which is modular and extensible. The supervisor software can send/receive RPMI messages via SBI MPXY extension [2] or some dedicated supervisor-mode RPMI transport.

The RPMI specification [1] defines clock service group for accessing system clocks managed by a platform microcontroller. The SBI implementation (machine mode firmware or hypervisor) can implement an SBI MPXY channel to allow RPMI clock service group access to the supervisor software.

=========================================== References ===========================================

[1] RISC-V Platform Management Interface (RPMI) v1.0 (or higher)
    https://github.com/riscv-non-isa/riscv-rpmi/releases
[2] RISC-V Supervisor Binary Interface (SBI) v3.0 (or higher)
    https://github.com/riscv-non-isa/riscv-sbi-doc/releases

Properties and child nodes (properties) #

compatible — required here #

Intended for use by the SBI implementation.

Exact value (const): "riscv,rpmi-mpxy-clock"

mboxes — required here #

Maximum number of items (maxItems): 1

Mailbox channel of the underlying RPMI transport.

riscv,sbi-mpxy-channel-id — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

The SBI MPXY channel id to be used for providing RPMI access to the supervisor software.

Required in this object (required): "compatible", "mboxes", "riscv,sbi-mpxy-channel-id"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-service {
    compatible = "riscv,rpmi-mpxy-clock";
    mboxes = <&rpmi_shmem_mbox 0x8>;
    riscv,sbi-mpxy-channel-id = <0x1000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Rockchip PX30 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,px30-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The PX30 clock controller generates and supplies clocks to various
controllers within the SoC and also implements a reset controller for SoC
peripherals.
Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/px30-cru.h headers and can be
used in device tree sources. Similar macros exist for the reset sources in
these files.
There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
  - "xin24m"     - crystal input       - required
  - "xin32k"     - rtc clock           - optional
  - "i2sx_clkin" - external I2S clock  - optional
  - "gmac_clkin" - external GMAC clock - optional

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,px30-cru", "rockchip,px30-pmucru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Clock for both PMUCRU and CRU

Item 2

Clock for CRU (sourced from PMUCRU)

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "xin24m"

Item 2

Exact value (const): "gpll"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#reset-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,px30-cru"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — not listed as required here

Minimum number of items (minItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/px30-cru.h>

pmucru: clock-controller@ff2bc000 {
  compatible = "rockchip,px30-pmucru";
  reg = <0xff2bc000 0x1000>;
  clocks = <&xin24m>;
  clock-names = "xin24m";
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

cru: clock-controller@ff2b0000 {
  compatible = "rockchip,px30-cru";
  reg = <0xff2b0000 0x1000>;
  clocks = <&xin24m>, <&pmucru PLL_GPLL>;
  clock-names = "xin24m", "gpll";
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)

Rockchip RK3036 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3036-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3036 clock controller generates and supplies clocks to various
controllers within the SoC and also implements a reset controller for SoC
peripherals.
Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/rk3036-cru.h headers and can be
used in device tree sources. Similar macros exist for the reset sources in
these files.
There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
  - "xin24m"     - crystal input       - required
  - "ext_i2s"    - external I2S clock  - optional
  - "rmii_clkin" - external EMAC clock - optional

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3036-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@20000000 {
  compatible = "rockchip,rk3036-cru";
  reg = <0x20000000 0x1000>;
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)

Rockchip RK3126/RK3128 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3128-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3126/RK3128 clock controller generates and supplies clock to various controllers within the SoC and also implements a reset controller for SoC peripherals. Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All available clocks are defined as preprocessor macros in the dt-bindings/clock/rk3128-cru.h headers and can be used in device tree sources. Similar macros exist for the reset sources in these files.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3126-cru", "rockchip,rk3128-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "xin24m"

Item 2

Allowed values (enum): "ext_i2s", "gmac_clkin"

Item 3

Allowed values (enum): "ext_i2s", "gmac_clkin"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@20000000 {
  compatible = "rockchip,rk3128-cru";
  reg = <0x20000000 0x1000>;
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)

Rockchip RK3188/RK3066 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3188-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3188/RK3066 clock controller generates and supplies clocks to various
controllers within the SoC and also implements a reset controller for SoC
peripherals.
Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/rk3188-cru.h and
dt-bindings/clock/rk3066-cru.h headers and can be used in device tree sources.
Similar macros exist for the reset sources in these files.
There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
  - "xin24m"    - crystal input                 - required
  - "xin32k"    - RTC clock                     - optional
  - "xin27m"    - 27mhz crystal input on RK3066 - optional
  - "ext_hsadc" - external HSADC clock          - optional
  - "ext_cif0"  - external camera clock         - optional
  - "ext_rmii"  - external RMII clock           - optional
  - "ext_jtag"  - external JTAG clock           - optional

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3066a-cru", "rockchip,rk3188-cru", "rockchip,rk3188a-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@20000000 {
  compatible = "rockchip,rk3188-cru";
  reg = <0x20000000 0x1000>;
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Rockchip RK3228 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3228-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3228 clock controller generates and supplies clocks to various
controllers within the SoC and also implements a reset controller for SoC
peripherals.
Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/rk3228-cru.h headers and can be
used in device tree sources. Similar macros exist for the reset sources in
these files.
There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
  - "xin24m"      - crystal input                          - required
  - "ext_i2s"     - external I2S clock                     - optional
  - "ext_gmac"    - external GMAC clock                    - optional
  - "ext_hsadc"   - external HSADC clock                   - optional
  - "phy_50m_out" - output clock of the pll in the mac phy

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3228-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@20000000 {
  compatible = "rockchip,rk3228-cru";
  reg = <0x20000000 0x1000>;
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)

Rockchip RK3288 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3288-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3288 clock controller generates and supplies clocks to various controllers within the SoC and also implements a reset controller for SoC peripherals.

A revision of this SoC is available: rk3288w. The clock tree is a bit different so another dt-compatible is available. Noticed that it is only setting the difference but there is no automatic revision detection. This should be performed by boot loaders.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All available clocks are defined as preprocessor macros in the dt-bindings/clock/rk3288-cru.h headers and can be used in device tree sources. Similar macros exist for the reset sources in these files.

There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
  - "xin24m"      - crystal input               - required,
  - "xin32k"      - rtc clock                   - optional,
  - "ext_i2s"     - external I2S clock          - optional,
  - "ext_hsadc"   - external HSADC clock        - optional,
  - "ext_edp_24m" - external display port clock - optional,
  - "ext_vip"     - external VIP clock          - optional,
  - "ext_isp"     - external ISP clock          - optional,
  - "ext_jtag"    - external JTAG clock         - optional

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3288-cru", "rockchip,rk3288w-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@ff760000 {
  compatible = "rockchip,rk3288-cru";
  reg = <0xff760000 0x1000>;
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)

Rockchip RK3308 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3308-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3308 clock controller generates and supplies clocks to various
controllers within the SoC and also implements a reset controller for SoC
peripherals.
Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/rk3308-cru.h headers and can be
used in device tree sources. Similar macros exist for the reset sources in
these files.
There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
  - "xin24m"                               - crystal input      - required
  - "xin32k"                               - rtc clock          - optional
  - "mclk_i2s0_8ch_in", "mclk_i2s1_8ch_in",
    "mclk_i2s2_8ch_in", "mclk_i2s3_8ch_in",
    "mclk_i2s0_2ch_in", "mclk_i2s1_2ch_in" - external I2S or
                                             SPDIF clock        - optional
  - "mac_clkin"                            - external MAC clock - optional

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3308-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@ff500000 {
  compatible = "rockchip,rk3308-cru";
  reg = <0xff500000 0x1000>;
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)

Rockchip RK3328 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3328-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3328 clock controller generates and supplies clocks to various
controllers within the SoC and also implements a reset controller for SoC
peripherals.
Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/rk3328-cru.h headers and can be
used in device tree sources. Similar macros exist for the reset sources in
these files.
There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
  - "xin24m"      - crystal input                          - required,
  - "clkin_i2s"   - external I2S clock                     - optional,
  - "gmac_clkin"  - external GMAC clock                    - optional
  - "phy_50m_out" - output clock of the pll in the mac phy
  - "hdmi_phy"    - output clock of the hdmi phy pll       - optional

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3328-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@ff440000 {
  compatible = "rockchip,rk3328-cru";
  reg = <0xff440000 0x1000>;
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Rockchip RK3368 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3368-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3368 clock controller generates and supplies clocks to various
controllers within the SoC and also implements a reset controller for SoC
peripherals.
Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/rk3368-cru.h headers and can be
used in device tree sources. Similar macros exist for the reset sources in
these files.
There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
  - "xin24m"     - crystal input                          - required
  - "xin32k"     - rtc clock                              - optional
  - "ext_i2s"    - external I2S clock                     - optional
  - "ext_gmac"   - external GMAC clock                    - optional
  - "ext_hsadc"  - external HSADC clock                   - optional
  - "ext_isp"    - external ISP clock                     - optional
  - "ext_jtag"   - external JTAG clock                    - optional
  - "ext_vip"    - external VIP clock                     - optional
  - "usbotg_out" - output clock of the pll in the otg phy

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3368-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@ff760000 {
  compatible = "rockchip,rk3368-cru";
  reg = <0xff760000 0x1000>;
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)

Rockchip RK3399 Clock and Reset Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3399-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3399 clock controller generates and supplies clock to various
controllers within the SoC and also implements a reset controller for SoC
peripherals.
Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/rk3399-cru.h headers and can be
used in device tree sources. Similar macros exist for the reset sources in
these files.
There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
  - "xin24m"           - crystal input                          - required,
  - "xin32k"           - rtc clock                              - optional,
  - "clkin_gmac"       - external GMAC clock                    - optional,
  - "clkin_i2s"        - external I2S clock                     - optional,
  - "pclkin_cif"       - external ISP clock                     - optional,
  - "clk_usbphy0_480m" - output clock of the pll in the usbphy0
  - "clk_usbphy1_480m" - output clock of the pll in the usbphy1

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3399-pmucru", "rockchip,rk3399-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files". It is used for GRF muxes, if missing any muxes present in the GRF will not be available.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pmucru: clock-controller@ff750000 {
  compatible = "rockchip,rk3399-pmucru";
  reg = <0xff750000 0x1000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};
cru: clock-controller@ff760000 {
  compatible = "rockchip,rk3399-cru";
  reg = <0xff760000 0x1000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)

Rockchip RK3506 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3506-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Finley Xiao <finley.xiao@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3506 CRU generates the clock and also implements reset for SoC peripherals.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rockchip,rk3506-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "xin"

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@ff9a0000 {
  compatible = "rockchip,rk3506-cru";
  reg = <0xff9a0000 0x20000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
  clocks = <&xin24m>;
  clock-names = "xin";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Rockchip RK3528 Clock and Reset Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3528-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Yao Zi <ziyao@disroot.org>"

The RK3528 clock controller generates the clock and also implements a reset controller for SoC peripherals. For example, it provides SCLK_UART0 and PCLK_UART0 as well as SRST_P_UART0 and SRST_S_UART0 for the first UART module. Each clock is assigned an identifier, consumer nodes can use it to specify the clock. All available clock and reset IDs are defined in dt-binding headers.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rockchip,rk3528-cru"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

External 24MHz oscillator clock

Item 2

50MHz clock generated by PHY module, for generating GMAC0 clocks only.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xin24m"

Item 2

Exact value (const): "gmac0"

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@ff4a0000 {
    compatible = "rockchip,rk3528-cru";
    reg = <0xff4a0000 0x30000>;
    clocks = <&xin24m>, <&gmac0_clk>;
    clock-names = "xin24m", "gmac0";
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Rockchip rk3562 Clock and Reset Control Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3562-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3562 clock controller generates the clock and also implements a reset controller for SoC peripherals. For example it provides SCLK_UART2 and PCLK_UART2, as well as SRST_P_UART2 and SRST_S_UART2 for the second UART module.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rockchip,rk3562-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xin24m"

Item 2

Exact value (const): "xin32k"

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@ff100000 {
  compatible = "rockchip,rk3562-cru";
  reg = <0xff100000 0x40000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

ROCKCHIP rk3568 Family Clock Control Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3568-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3568 clock controller generates the clock and also implements a reset controller for SoC peripherals. (examples: provide SCLK_UART1\PCLK_UART1 and SRST_P_UART1\SRST_S_UART1 for UART module) Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All available clocks are defined as preprocessor macros in the dt-bindings/clock/rk3568-cru.h headers and can be used in device tree sources.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3568-cru", "rockchip,rk3568-pmucru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pmucru: clock-controller@fdd00000 {
  compatible = "rockchip,rk3568-pmucru";
  reg = <0xfdd00000 0x1000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};
cru: clock-controller@fdd20000 {
  compatible = "rockchip,rk3568-cru";
  reg = <0xfdd20000 0x1000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 59: Clock Control Module node:

Rockchip rk3576 Family Clock and Reset Control Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3576-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>", "Detlev Casanova <detlev.casanova@collabora.com>"

The RK3576 clock controller generates the clock and also implements a reset controller for SoC peripherals. For example it provides SCLK_UART2 and PCLK_UART2, as well as SRST_P_UART2 and SRST_S_UART2 for the second UART module.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rockchip,rk3576-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xin24m"

Item 2

Exact value (const): "xin32k"

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@27200000 {
  compatible = "rockchip,rk3576-cru";
  reg = <0xfd7c0000 0x5c000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Rockchip rk3588 Family Clock and Reset Control Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rk3588-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RK3588 clock controller generates the clock and also implements a reset controller for SoC peripherals. For example it provides SCLK_UART2 and PCLK_UART2, as well as SRST_P_UART2 and SRST_S_UART2 for the second UART module. Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All available clock and reset IDs are defined as preprocessor macros in dt-binding headers.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3588-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xin24m"

Item 2

Exact value (const): "xin32k"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to the syscon managing the "general register files". It is used for GRF muxes, if missing any muxes present in the GRF will not be available.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@fd7c0000 {
  compatible = "rockchip,rk3588-cru";
  reg = <0xfd7c0000 0x5c000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Rockchip RV1108 Clock and Reset Unit (CRU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rv1108-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RV1108 clock controller generates and supplies clocks to various
controllers within the SoC and also implements a reset controller for SoC
peripherals.
Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/rv1108-cru.h headers and can be
used in device tree sources. Similar macros exist for the reset sources in
these files.
There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
  - "xin24m"   - crystal input                              - required
  - "ext_vip"  - external VIP clock                         - optional
  - "ext_i2s"  - external I2S clock                         - optional
  - "ext_gmac" - external GMAC clock                        - optional
  - "hdmiphy"  - external clock input derived from HDMI PHY - optional
  - "usbphy"   - external clock input derived from USB PHY  - optional

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rv1108-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@20200000 {
  compatible = "rockchip,rv1108-cru";
  reg = <0x20200000 0x1000>;
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)

Rockchip RV1126 Clock and Reset Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rv1126-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jagan Teki <jagan@edgeble.ai>", "Finley Xiao <finley.xiao@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The RV1126 clock controller generates the clock and also implements a reset controller for SoC peripherals.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rv1126-cru", "rockchip,rv1126-pmucru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

rockchip,grf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the syscon managing the "general register files" (GRF), if missing pll rates are not changeable, due to the missing pll lock status.

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

cru: clock-controller@ff490000 {
  compatible = "rockchip,rv1126-cru";
  reg = <0xff490000 0x1000>;
  rockchip,grf = <&grf>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Rockchip RV1126B Clock and Reset Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/rockchip,rv1126b-cru.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Elaine Zhang <zhangqing@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"

The rv1126b clock controller generates the clock and also implements a reset controller for SoC peripherals.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rv1126b-cru"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "xin24m"

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@20000000 {
  compatible = "rockchip,rv1126b-cru";
  reg = <0x20000000 0xc0000>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Samsung Exynos SoC Audio SubSystem clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos-audss-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/exynos-audss-clk.h header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos4210-audss-clock", "samsung,exynos5250-audss-clock", "samsung,exynos5410-audss-clock", "samsung,exynos5420-audss-clock"

clocks — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Fixed rate PLL reference clock, parent of mout_audss. "fin_pll" is used if not specified.

Item 2

Input PLL to the AudioSS block, parent of mout_audss. "fout_epll" is used if not specified.

Item 3

Audio bus clock, parent of mout_i2s. "sclk_audio0" is used if not specified.

Item 4

PCM clock, parent of sclk_pcm. "sclk_pcm0" is used if not specified.

Item 5

External i2s clock, parent of mout_i2s. "cdclk0" is used if not specified.

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "pll_ref"

Item 2

Exact value (const): "pll_in"

Item 3

Exact value (const): "sclk_audio"

Item 4

Exact value (const): "sclk_pcm_in"

Item 5

Exact value (const): "cdclk"

#clock-cells — required here #

Exact value (const): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#clock-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@3810000 {
    compatible = "samsung,exynos5250-audss-clock";
    reg = <0x03810000 0x0c>;
    #clock-cells = <1>;
    clocks = <&clock 1>, <&clock 7>, <&clock 138>, <&clock 160>, <&ext_i2s_clk>;
    clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in", "cdclk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

All available clocks are defined as preprocessor macros in dt-bindings/clock/ headers.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "samsung,exynos3250-cmu", "samsung,exynos3250-cmu-dmc", "samsung,exynos3250-cmu-isp", "samsung,exynos4210-clock", "samsung,exynos4212-clock", "samsung,exynos4412-clock", "samsung,exynos5250-clock"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "samsung,exynos5420-clock", "samsung,exynos5800-clock"

Item 2

Exact value (const): "syscon"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5250.h>
clock: clock-controller@10010000 {
    compatible = "samsung,exynos5250-clock";
    reg = <0x10010000 0x30000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung SoC external/osc/XXTI/XusbXTI clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos-ext-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

Samsung SoCs require an external clock supplied through XXTI or XusbXTI pins.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,clock-xxti", "samsung,clock-xusbxti", "samsung,exynos5420-oscclk"

#clock-cells — not listed as required here #

Exact value (const): 0

clock-frequency — required here #

true — No constraints added by this property rule.

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clock-frequency"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

fixed-rate-clocks {
    clock {
        compatible = "samsung,clock-xxti";
        clock-frequency = <24000000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos2200 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos2200-cmu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>", "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

Exynos2200 clock controller is comprised of several CMU units, generating clocks for different domains. Those CMU units are modeled as separate device tree nodes, and might depend on each other. The root clocks in that root tree are two external clocks: XTCXO (76.8 MHz) and RTCCLK (32768 Hz). XTCXO must be defined as a fixed-rate clock in dts, whereas RTCCLK originates from PMIC.

CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and dividers; all other clocks of function blocks (other CMUs) are usually derived from CMU_TOP.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All clocks available for usage in clock consumer nodes are defined as preprocessor macros in 'include/dt-bindings/clock/samsung,exynos2200-cmu.h' header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos2200-cmu-alive", "samsung,exynos2200-cmu-cmgp", "samsung,exynos2200-cmu-hsi0", "samsung,exynos2200-cmu-peric0", "samsung,exynos2200-cmu-peric1", "samsung,exynos2200-cmu-peric2", "samsung,exynos2200-cmu-peris", "samsung,exynos2200-cmu-top", "samsung,exynos2200-cmu-ufs", "samsung,exynos2200-cmu-vts"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 6

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 6

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "reg", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos2200-cmu-alive"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (76.8 MHz)

Item 2

CMU_ALIVE NOC clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "noc"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos2200-cmu-cmgp"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (76.8 MHz)

Item 2

CMU_CMGP NOC clock (from CMU_TOP)

Item 3

CMU_CMGP PERI clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "noc"

Item 3

Exact value (const): "peri"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos2200-cmu-hsi0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (76.8 MHz)

Item 2

External RTC clock (32768 Hz)

Item 3

CMU_HSI0 NOC clock (from CMU_TOP)

Item 4

CMU_HSI0 DPGTC clock (from CMU_TOP)

Item 5

CMU_HSI0 DPOSC clock (from CMU_TOP)

Item 6

CMU_HSI0 USB32DRD clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "rtcclk"

Item 3

Exact value (const): "noc"

Item 4

Exact value (const): "dpgtc"

Item 5

Exact value (const): "dposc"

Item 6

Exact value (const): "usb"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos2200-cmu-peric0", "samsung,exynos2200-cmu-peric1", "samsung,exynos2200-cmu-peric2"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (76.8 MHz)

Item 2

CMU_PERICn NOC clock (from CMU_TOP)

Item 3

CMU_PERICn IP0 clock (from CMU_TOP)

Item 4

CMU_PERICn IP1 clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "noc"

Item 3

Exact value (const): "ip0"

Item 4

Exact value (const): "ip1"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos2200-cmu-peris"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (25.6 MHz)

Item 2

CMU_PERIS NOC clock (from CMU_TOP)

Item 3

CMU_PERIS GIC clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "tcxo_div3"

Item 2

Exact value (const): "noc"

Item 3

Exact value (const): "gic"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos2200-cmu-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (76.8 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos2200-cmu-ufs"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (76.8 MHz)

Item 2

CMU_UFS NOC clock (from CMU_TOP)

Item 3

CMU_UFS MMC clock (from CMU_TOP)

Item 4

CMU_UFS UFS clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "noc"

Item 3

Exact value (const): "mmc"

Item 4

Exact value (const): "ufs"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos2200-cmu-vts"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (76.8 MHz)

Item 2

CMU_VTS DMIC clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dmic"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/samsung,exynos2200-cmu.h>

cmu_vts: clock-controller@15300000 {
    compatible = "samsung,exynos2200-cmu-vts";
    reg = <0x15300000 0x8000>;
    #clock-cells = <1>;

    clocks = <&oscclk>,
             <&cmu_top CLK_DOUT_CMU_VTS_DMIC>;
    clock-names = "oscclk", "dmic";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos4412 SoC ISP clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos4412-isp-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

Clock controller for Samsung Exynos4412 SoC FIMC-ISP (Camera ISP) All available clocks are defined as preprocessor macros in dt-bindings/clock/ headers.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,exynos4412-isp-clock"

clocks — required here #

Array item rules (items) #

Item 1

CLK_ACLK200 from the main clock controller

Item 2

CLK_ACLK400_MCUISP from the main clock controller

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "aclk200"

Item 2

Exact value (const): "aclk400_mcuisp"

#clock-cells — required here #

Exact value (const): 1

power-domains — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names", "power-domains", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos4.h>
clock-controller@10048000 {
    compatible = "samsung,exynos4412-isp-clock";
    reg = <0x10048000 0x1000>;
    #clock-cells = <1>;
    power-domains = <&pd_isp>;
    clocks = <&clock CLK_ACLK200>, <&clock CLK_ACLK400_MCUISP>;
    clock-names = "aclk200", "aclk400_mcuisp";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos5260 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos5260-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

Expected external clocks, defined in DTS as fixed-rate clocks with a matching
name::
  - "fin_pll" - PLL input clock from XXTI
  - "xrtcxti" - input clock from XRTCXTI
  - "ioclk_pcm_extclk" - pcm external operation clock
  - "ioclk_spdif_extclk" - spdif external operation clock
  - "ioclk_i2s_cdclk" - i2s0 codec clock
Phy clocks::
There are several clocks which are generated by specific PHYs.  These clocks
are fed into the clock controller and then routed to the hardware blocks.
These clocks are defined as fixed clocks in the driver with following names::
  - "phyclk_dptx_phy_ch3_txd_clk" - dp phy clock for channel 3
  - "phyclk_dptx_phy_ch2_txd_clk" - dp phy clock for channel 2
  - "phyclk_dptx_phy_ch1_txd_clk" - dp phy clock for channel 1
  - "phyclk_dptx_phy_ch0_txd_clk" - dp phy clock for channel 0
  - "phyclk_hdmi_phy_tmds_clko" - hdmi phy tmds clock
  - "phyclk_hdmi_phy_pixel_clko" - hdmi phy pixel clock
  - "phyclk_hdmi_link_o_tmds_clkhi" - hdmi phy for hdmi link
  - "phyclk_dptx_phy_o_ref_clk_24m" - dp phy reference clock
  - "phyclk_dptx_phy_clk_div2"
  - "phyclk_mipi_dphy_4l_m_rxclkesc0"
  - "phyclk_usbhost20_phy_phyclock" - usb 2.0 phy clock
  - "phyclk_usbhost20_phy_freeclk"
  - "phyclk_usbhost20_phy_clk48mohci"
  - "phyclk_usbdrd30_udrd30_pipe_pclk"
  - "phyclk_usbdrd30_udrd30_phyclock" - usb 3.0 phy clock

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/exynos5260-clk.h header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos5260-clock-top", "samsung,exynos5260-clock-peri", "samsung,exynos5260-clock-egl", "samsung,exynos5260-clock-kfc", "samsung,exynos5260-clock-g2d", "samsung,exynos5260-clock-mif", "samsung,exynos5260-clock-mfc", "samsung,exynos5260-clock-g3d", "samsung,exynos5260-clock-fsys", "samsung,exynos5260-clock-aud", "samsung,exynos5260-clock-isp", "samsung,exynos5260-clock-gscl", "samsung,exynos5260-clock-disp"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 19

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 19

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_mem_pll"

Item 3

Exact value (const): "dout_bus_pll"

Item 4

Exact value (const): "dout_media_pll"

Required in this object (required): "clock-names", "clocks"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-peri"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 13

Maximum number of items (maxItems): 13

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "ioclk_pcm_extclk"

Item 3

Exact value (const): "ioclk_i2s_cdclk"

Item 4

Exact value (const): "ioclk_spdif_extclk"

Item 5

Exact value (const): "phyclk_hdmi_phy_ref_cko"

Item 6

Exact value (const): "dout_aclk_peri_66"

Item 7

Exact value (const): "dout_sclk_peri_uart0"

Item 8

Exact value (const): "dout_sclk_peri_uart1"

Item 9

Exact value (const): "dout_sclk_peri_uart2"

Item 10

Exact value (const): "dout_sclk_peri_spi0_b"

Item 11

Exact value (const): "dout_sclk_peri_spi1_b"

Item 12

Exact value (const): "dout_sclk_peri_spi2_b"

Item 13

Exact value (const): "dout_aclk_peri_aud"

Required in this object (required): "clock-names", "clocks"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-egl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_bus_pll"

Required in this object (required): "clock-names", "clocks"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-kfc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_media_pll"

Required in this object (required): "clock-names", "clocks"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-g2d"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_aclk_g2d_333"

Required in this object (required): "clock-names", "clocks"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-mif"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Required in this object (required): "clock-names", "clocks"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-mfc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_aclk_mfc_333"

Required in this object (required): "clock-names", "clocks"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-g3d"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Required in this object (required): "clock-names", "clocks"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-fsys"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 7

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "phyclk_usbhost20_phy_phyclock"

Item 3

Exact value (const): "phyclk_usbhost20_phy_freeclk"

Item 4

Exact value (const): "phyclk_usbhost20_phy_clk48mohci"

Item 5

Exact value (const): "phyclk_usbdrd30_udrd30_pipe_pclk"

Item 6

Exact value (const): "phyclk_usbdrd30_udrd30_phyclock"

Item 7

Exact value (const): "dout_aclk_fsys_200"

Required in this object (required): "clock-names", "clocks"

Rule 10 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-aud"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "fout_aud_pll"

Item 3

Exact value (const): "ioclk_i2s_cdclk"

Item 4

Exact value (const): "ioclk_pcm_extclk"

Required in this object (required): "clock-names", "clocks"

Rule 11 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-isp"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_aclk_isp1_266"

Item 3

Exact value (const): "dout_aclk_isp1_400"

Item 4

Exact value (const): "mout_aclk_isp1_266"

Required in this object (required): "clock-names", "clocks"

Rule 12 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-gscl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_aclk_gscl_400"

Item 3

Exact value (const): "dout_aclk_gscl_333"

Required in this object (required): "clock-names", "clocks"

Rule 13 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5260-clock-disp"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 19

Maximum number of items (maxItems): 19

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "phyclk_dptx_phy_ch3_txd_clk"

Item 3

Exact value (const): "phyclk_dptx_phy_ch2_txd_clk"

Item 4

Exact value (const): "phyclk_dptx_phy_ch1_txd_clk"

Item 5

Exact value (const): "phyclk_dptx_phy_ch0_txd_clk"

Item 6

Exact value (const): "phyclk_hdmi_phy_tmds_clko"

Item 7

Exact value (const): "phyclk_hdmi_phy_ref_clko"

Item 8

Exact value (const): "phyclk_hdmi_phy_pixel_clko"

Item 9

Exact value (const): "phyclk_hdmi_link_o_tmds_clkhi"

Item 10

Exact value (const): "phyclk_mipi_dphy_4l_m_txbyte_clkhs"

Item 11

Exact value (const): "phyclk_dptx_phy_o_ref_clk_24m"

Item 12

Exact value (const): "phyclk_dptx_phy_clk_div2"

Item 13

Exact value (const): "phyclk_mipi_dphy_4l_m_rxclkesc0"

Item 14

Exact value (const): "phyclk_hdmi_phy_ref_cko"

Item 15

Exact value (const): "ioclk_spdif_extclk"

Item 16

Exact value (const): "dout_aclk_peri_aud"

Item 17

Exact value (const): "dout_aclk_disp_222"

Item 18

Exact value (const): "dout_sclk_disp_pixel"

Item 19

Exact value (const): "dout_aclk_disp_333"

Required in this object (required): "clock-names", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5260-clk.h>

fin_pll: clock {
    compatible = "fixed-clock";
    clock-output-names = "fin_pll";
    #clock-cells = <0>;
    clock-frequency = <24000000>;
};

clock-controller@10010000 {
    compatible = "samsung,exynos5260-clock-top";
    reg = <0x10010000 0x10000>;
    #clock-cells = <1>;
    clocks = <&fin_pll>,
             <&clock_mif MIF_DOUT_MEM_PLL>,
             <&clock_mif MIF_DOUT_BUS_PLL>,
             <&clock_mif MIF_DOUT_MEDIA_PLL>;
    clock-names = "fin_pll",
                  "dout_mem_pll",
                  "dout_bus_pll",
                  "dout_media_pll";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos5410 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos5410-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

Expected external clocks, defined in DTS as fixed-rate clocks with a matching
name::
  - "fin_pll" - PLL input clock from XXTI

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/exynos5410.h header.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "samsung,exynos5410-clock"

clocks — not listed as required here #

Should contain an entry specifying the root clock from external oscillator supplied through XXTI or XusbXTI pin. This clock should be defined using standard clock bindings with "fin_pll" clock-output-name. That clock is being passed internally to the 9 PLLs.

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5410.h>

fin_pll: osc-clock {
    compatible = "fixed-clock";
    clock-frequency = <24000000>;
    clock-output-names = "fin_pll";
    #clock-cells = <0>;
};

clock-controller@10010000 {
    compatible = "samsung,exynos5410-clock";
    reg = <0x10010000 0x30000>;
    #clock-cells = <1>;
    clocks = <&fin_pll>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos5433 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos5433-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

Expected external clocks, defined in DTS as fixed-rate clocks with a matching
name::
  - "oscclk" - PLL input clock from XXTI

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/exynos5433.h header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos5433-cmu-top", "samsung,exynos5433-cmu-cpif", "samsung,exynos5433-cmu-mif", "samsung,exynos5433-cmu-peric", "samsung,exynos5433-cmu-peris", "samsung,exynos5433-cmu-fsys", "samsung,exynos5433-cmu-g2d", "samsung,exynos5433-cmu-disp", "samsung,exynos5433-cmu-aud", "samsung,exynos5433-cmu-bus0", "samsung,exynos5433-cmu-bus1", "samsung,exynos5433-cmu-bus2", "samsung,exynos5433-cmu-g3d", "samsung,exynos5433-cmu-gscl", "samsung,exynos5433-cmu-apollo", "samsung,exynos5433-cmu-atlas", "samsung,exynos5433-cmu-mscl", "samsung,exynos5433-cmu-mfc", "samsung,exynos5433-cmu-hevc", "samsung,exynos5433-cmu-isp", "samsung,exynos5433-cmu-cam0", "samsung,exynos5433-cmu-cam1", "samsung,exynos5433-cmu-imem"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

#clock-cells — required here #

Exact value (const): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "sclk_mphy_pll"

Item 3

Exact value (const): "sclk_mfc_pll"

Item 4

Exact value (const): "sclk_bus_pll"

Required in this object (required): "clock-names", "clocks"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-cpif"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Required in this object (required): "clock-names", "clocks"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-mif"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "sclk_mphy_pll"

Required in this object (required): "clock-names", "clocks"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-fsys"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 10

Maximum number of items (maxItems): 10

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "sclk_ufs_mphy"

Item 3

Exact value (const): "aclk_fsys_200"

Item 4

Exact value (const): "sclk_pcie_100_fsys"

Item 5

Exact value (const): "sclk_ufsunipro_fsys"

Item 6

Exact value (const): "sclk_mmc2_fsys"

Item 7

Exact value (const): "sclk_mmc1_fsys"

Item 8

Exact value (const): "sclk_mmc0_fsys"

Item 9

Exact value (const): "sclk_usbhost30_fsys"

Item 10

Exact value (const): "sclk_usbdrd30_fsys"

Required in this object (required): "clock-names", "clocks"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-g2d"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "aclk_g2d_266"

Item 3

Exact value (const): "aclk_g2d_400"

Required in this object (required): "clock-names", "clocks"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-disp"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 9

Maximum number of items (maxItems): 9

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "sclk_dsim1_disp"

Item 3

Exact value (const): "sclk_dsim0_disp"

Item 4

Exact value (const): "sclk_dsd_disp"

Item 5

Exact value (const): "sclk_decon_tv_eclk_disp"

Item 6

Exact value (const): "sclk_decon_vclk_disp"

Item 7

Exact value (const): "sclk_decon_eclk_disp"

Item 8

Exact value (const): "sclk_decon_tv_vclk_disp"

Item 9

Exact value (const): "aclk_disp_333"

Required in this object (required): "clock-names", "clocks"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-aud"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "fout_aud_pll"

Required in this object (required): "clock-names", "clocks"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-bus0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "aclk_bus0_400"

Required in this object (required): "clock-names", "clocks"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-bus1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "aclk_bus1_400"

Required in this object (required): "clock-names", "clocks"

Rule 10 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-bus2"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "aclk_bus2_400"

Required in this object (required): "clock-names", "clocks"

Rule 11 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-g3d"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "aclk_g3d_400"

Required in this object (required): "clock-names", "clocks"

Rule 12 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-gscl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "aclk_gscl_111"

Item 3

Exact value (const): "aclk_gscl_333"

Required in this object (required): "clock-names", "clocks"

Rule 13 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-apollo"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "sclk_bus_pll_apollo"

Required in this object (required): "clock-names", "clocks"

Rule 14 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-atlas"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "sclk_bus_pll_atlas"

Required in this object (required): "clock-names", "clocks"

Rule 15 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-mscl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "sclk_jpeg_mscl"

Item 3

Exact value (const): "aclk_mscl_400"

Required in this object (required): "clock-names", "clocks"

Rule 16 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-mfc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "aclk_mfc_400"

Required in this object (required): "clock-names", "clocks"

Rule 17 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-hevc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "aclk_hevc_400"

Required in this object (required): "clock-names", "clocks"

Rule 18 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-isp"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "aclk_isp_dis_400"

Item 3

Exact value (const): "aclk_isp_400"

Required in this object (required): "clock-names", "clocks"

Rule 19 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-cam0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "aclk_cam0_333"

Item 3

Exact value (const): "aclk_cam0_400"

Item 4

Exact value (const): "aclk_cam0_552"

Required in this object (required): "clock-names", "clocks"

Rule 20 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-cam1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 7

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "sclk_isp_uart_cam1"

Item 3

Exact value (const): "sclk_isp_spi1_cam1"

Item 4

Exact value (const): "sclk_isp_spi0_cam1"

Item 5

Exact value (const): "aclk_cam1_333"

Item 6

Exact value (const): "aclk_cam1_400"

Item 7

Exact value (const): "aclk_cam1_552"

Required in this object (required): "clock-names", "clocks"

Rule 21 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-cmu-imem"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "aclk_imem_sssx_266"

Item 3

Exact value (const): "aclk_imem_266"

Item 4

Exact value (const): "aclk_imem_200"

Required in this object (required): "clock-names", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5433.h>
xxti: clock {
    compatible = "fixed-clock";
    clock-output-names = "oscclk";
    #clock-cells = <0>;
    clock-frequency = <24000000>;
};

clock-controller@10030000 {
    compatible = "samsung,exynos5433-cmu-top";
    reg = <0x10030000 0x1000>;
    #clock-cells = <1>;

    clock-names = "oscclk",
                  "sclk_mphy_pll",
                  "sclk_mfc_pll",
                  "sclk_bus_pll";
    clocks = <&xxti>,
             <&cmu_cpif CLK_SCLK_MPHY_PLL>,
             <&cmu_mif CLK_SCLK_MFC_PLL>,
             <&cmu_mif CLK_SCLK_BUS_PLL>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 26: CMU_TOP which generates clocks for

Line 27: IMEM/FSYS/G3D/GSCL/HEVC/MSCL/G2D/MFC/PERIC/PERIS domains and bus

Line 28: clocks

Line 30: CMU_CPIF which generates clocks for LLI (Low Latency Interface) IP

Line 32: CMU_MIF which generates clocks for DRAM Memory Controller domain

Line 34: CMU_PERIC which generates clocks for

Line 35: UART/I2C/SPI/I2S/PCM/SPDIF/PWM/SLIMBUS IPs

Line 37: CMU_PERIS which generates clocks for PMU/TMU/MCT/WDT/RTC/SECKEY/TZPC IPs

Line 39: CMU_FSYS which generates clocks for USB/UFS/SDMMC/TSI/PDMA IPs

Line 42: CMU_DISP which generates clocks for Display (DECON/HDMI/DSIM/MIXER) IPs

Line 51: CMU_ATLAS which generates clocks for Cortex-A57 Quad-core processor,

Line 52: CoreSight and L2 cache controller

Line 54: CMU_MSCL which generates clocks for M2M (Memory to Memory) scaler and

Line 55: JPEG IPs

Line 59: CMU_ISP which generates clocks for FIMC-ISP/DRC/SCLC/DIS/3DNR IPs

Line 61: CMU_CAM0 which generates clocks for

Line 62: MIPI_CSIS{0|1}/FIMC_LITE_{A|B|D}/FIMC_3AA{0|1} IPs

Line 64: CMU_CAM1 which generates clocks for

Line 65: Cortex-A5/MIPI_CSIS2/FIMC-LITE_C/FIMC-FD IPs

Line 67: CMU_IMEM which generates clocks for SSS (Security SubSystem) and

Line 68: SlimSSS IPs

Samsung Exynos7 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos7-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

Expected external clocks, defined in DTS as fixed-rate clocks with a matching
name::
  - "fin_pll" - PLL input clock from XXTI

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/exynos7-clk.h header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos7-clock-topc", "samsung,exynos7-clock-top0", "samsung,exynos7-clock-top1", "samsung,exynos7-clock-ccore", "samsung,exynos7-clock-peric0", "samsung,exynos7-clock-peric1", "samsung,exynos7-clock-peris", "samsung,exynos7-clock-fsys0", "samsung,exynos7-clock-fsys1", "samsung,exynos7-clock-mscl", "samsung,exynos7-clock-aud"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 13

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 13

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7-clock-top0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_sclk_bus0_pll"

Item 3

Exact value (const): "dout_sclk_bus1_pll"

Item 4

Exact value (const): "dout_sclk_cc_pll"

Item 5

Exact value (const): "dout_sclk_mfc_pll"

Item 6

Exact value (const): "dout_sclk_aud_pll"

Required in this object (required): "clock-names", "clocks"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7-clock-top1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_sclk_bus0_pll"

Item 3

Exact value (const): "dout_sclk_bus1_pll"

Item 4

Exact value (const): "dout_sclk_cc_pll"

Item 5

Exact value (const): "dout_sclk_mfc_pll"

Required in this object (required): "clock-names", "clocks"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7-clock-ccore"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_aclk_ccore_133"

Required in this object (required): "clock-names", "clocks"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7-clock-peric0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_aclk_peric0_66"

Item 3

Exact value (const): "sclk_uart0"

Required in this object (required): "clock-names", "clocks"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7-clock-peric1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 13

Maximum number of items (maxItems): 13

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_aclk_peric1_66"

Item 3

Exact value (const): "sclk_uart1"

Item 4

Exact value (const): "sclk_uart2"

Item 5

Exact value (const): "sclk_uart3"

Item 6

Exact value (const): "sclk_spi0"

Item 7

Exact value (const): "sclk_spi1"

Item 8

Exact value (const): "sclk_spi2"

Item 9

Exact value (const): "sclk_spi3"

Item 10

Exact value (const): "sclk_spi4"

Item 11

Exact value (const): "sclk_i2s1"

Item 12

Exact value (const): "sclk_pcm1"

Item 13

Exact value (const): "sclk_spdif"

Required in this object (required): "clock-names", "clocks"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7-clock-peris"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_aclk_peris_66"

Required in this object (required): "clock-names", "clocks"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7-clock-fsys0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_aclk_fsys0_200"

Item 3

Exact value (const): "dout_sclk_mmc2"

Required in this object (required): "clock-names", "clocks"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7-clock-fsys1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 7

Maximum number of items (maxItems): 7

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_aclk_fsys1_200"

Item 3

Exact value (const): "dout_sclk_mmc0"

Item 4

Exact value (const): "dout_sclk_mmc1"

Item 5

Exact value (const): "dout_sclk_ufsunipro20"

Item 6

Exact value (const): "dout_sclk_phy_fsys1"

Item 7

Exact value (const): "dout_sclk_phy_fsys1_26m"

Required in this object (required): "clock-names", "clocks"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7-clock-aud"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "fout_aud_pll"

Required in this object (required): "clock-names", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos7-clk.h>

fin_pll: clock {
    compatible = "fixed-clock";
    clock-output-names = "fin_pll";
    #clock-cells = <0>;
    clock-frequency = <24000000>;
};

clock-controller@105e0000 {
    compatible = "samsung,exynos7-clock-top1";
    reg = <0x105e0000 0xb000>;
    #clock-cells = <1>;
    clocks = <&fin_pll>,
             <&clock_topc DOUT_SCLK_BUS0_PLL>,
             <&clock_topc DOUT_SCLK_BUS1_PLL>,
             <&clock_topc DOUT_SCLK_CC_PLL>,
             <&clock_topc DOUT_SCLK_MFC_PLL>;
    clock-names = "fin_pll",
                  "dout_sclk_bus0_pll",
                  "dout_sclk_bus1_pll",
                  "dout_sclk_cc_pll",
                  "dout_sclk_mfc_pll";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos7870 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos7870-cmu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kaustabh Chakraborty <kauschluss@disroot.org>"

Exynos7870 clock controller is comprised of several CMU units, generating clocks for different domains. Those CMU units are modeled as separate device tree nodes, and might depend on each other. The root clock in that root tree is an external clock: OSCCLK (26 MHz). This external clock must be defined as a fixed-rate clock in dts.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All clocks available for usage in clock consumer nodes are defined as preprocessor macros in include/dt-bindings/clock/samsung,exynos7870-cmu.h header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos7870-cmu-mif", "samsung,exynos7870-cmu-dispaud", "samsung,exynos7870-cmu-fsys", "samsung,exynos7870-cmu-g3d", "samsung,exynos7870-cmu-isp", "samsung,exynos7870-cmu-mfcmscl", "samsung,exynos7870-cmu-peri"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#clock-cells", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7870-cmu-mif"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7870-cmu-dispaud"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_DISPAUD bus clock (from CMU_MIF)

Item 3

DECON external clock (from CMU_MIF)

Item 4

DECON vertical clock (from CMU_MIF)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "decon_eclk"

Item 4

Exact value (const): "decon_vclk"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7870-cmu-fsys"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_FSYS bus clock (from CMU_MIF)

Item 3

USB20DRD clock (from CMU_MIF)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "usb20drd"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7870-cmu-g3d"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

G3D switch clock (from CMU_MIF)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "switch"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7870-cmu-isp"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

ISP camera clock (from CMU_MIF)

Item 3

ISP clock (from CMU_MIF)

Item 4

ISP VRA clock (from CMU_MIF)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "cam"

Item 3

Exact value (const): "isp"

Item 4

Exact value (const): "vra"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7870-cmu-mfcmscl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

MSCL clock (from CMU_MIF)

Item 3

MFC clock (from CMU_MIF)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "mfc"

Item 3

Exact value (const): "mscl"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7870-cmu-peri"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_PERI bus clock (from CMU_MIF)

Item 3

SPI0 clock (from CMU_MIF)

Item 4

SPI1 clock (from CMU_MIF)

Item 5

SPI2 clock (from CMU_MIF)

Item 6

SPI3 clock (from CMU_MIF)

Item 7

SPI4 clock (from CMU_MIF)

Item 8

UART0 clock (from CMU_MIF)

Item 9

UART1 clock (from CMU_MIF)

Item 10

UART2 clock (from CMU_MIF)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "spi0"

Item 4

Exact value (const): "spi1"

Item 5

Exact value (const): "spi2"

Item 6

Exact value (const): "spi3"

Item 7

Exact value (const): "spi4"

Item 8

Exact value (const): "uart0"

Item 9

Exact value (const): "uart1"

Item 10

Exact value (const): "uart2"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/samsung,exynos7870-cmu.h>

cmu_peri: clock-controller@101f0000 {
  compatible = "samsung,exynos7870-cmu-peri";
  reg = <0x101f0000 0x1000>;
  #clock-cells = <1>;

  clock-names = "oscclk", "bus", "spi0", "spi1", "spi2",
                "spi3", "spi4", "uart0", "uart1", "uart2";
  clocks = <&oscclk>,
           <&cmu_mif CLK_GOUT_MIF_CMU_PERI_BUS>,
           <&cmu_mif CLK_GOUT_MIF_CMU_PERI_SPI0>,
           <&cmu_mif CLK_GOUT_MIF_CMU_PERI_SPI1>,
           <&cmu_mif CLK_GOUT_MIF_CMU_PERI_SPI2>,
           <&cmu_mif CLK_GOUT_MIF_CMU_PERI_SPI3>,
           <&cmu_mif CLK_GOUT_MIF_CMU_PERI_SPI4>,
           <&cmu_mif CLK_GOUT_MIF_CMU_PERI_UART0>,
           <&cmu_mif CLK_GOUT_MIF_CMU_PERI_UART1>,
           <&cmu_mif CLK_GOUT_MIF_CMU_PERI_UART2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos7885 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos7885-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dávid Virág <virag.david003@gmail.com>", "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

Exynos7885 clock controller is comprised of several CMU units, generating clocks for different domains. Those CMU units are modeled as separate device tree nodes, and might depend on each other. The root clock in that root tree is an external clock: OSCCLK (26 MHz). This external clock must be defined as a fixed-rate clock in dts.

CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and dividers; all other leaf clocks (other CMUs) are usually derived from CMU_TOP.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All clocks available for usage in clock consumer nodes are defined as preprocessor macros in 'dt-bindings/clock/exynos7885.h' header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos7885-cmu-top", "samsung,exynos7885-cmu-core", "samsung,exynos7885-cmu-fsys", "samsung,exynos7885-cmu-peri"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 10

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7885-cmu-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7885-cmu-core"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_CORE bus clock (from CMU_TOP)

Item 3

CCI clock (from CMU_TOP)

Item 4

G3D clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_core_bus"

Item 3

Exact value (const): "dout_core_cci"

Item 4

Exact value (const): "dout_core_g3d"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7885-cmu-fsys"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_FSYS bus clock (from CMU_TOP)

Item 3

MMC_CARD clock (from CMU_TOP)

Item 4

MMC_EMBD clock (from CMU_TOP)

Item 5

MMC_SDIO clock (from CMU_TOP)

Item 6

USB30DRD clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_fsys_bus"

Item 3

Exact value (const): "dout_fsys_mmc_card"

Item 4

Exact value (const): "dout_fsys_mmc_embd"

Item 5

Exact value (const): "dout_fsys_mmc_sdio"

Item 6

Exact value (const): "dout_fsys_usb30drd"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7885-cmu-peri"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_PERI bus clock (from CMU_TOP)

Item 3

SPI0 clock (from CMU_TOP)

Item 4

SPI1 clock (from CMU_TOP)

Item 5

UART0 clock (from CMU_TOP)

Item 6

UART1 clock (from CMU_TOP)

Item 7

UART2 clock (from CMU_TOP)

Item 8

USI0 clock (from CMU_TOP)

Item 9

USI1 clock (from CMU_TOP)

Item 10

USI2 clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_peri_bus"

Item 3

Exact value (const): "dout_peri_spi0"

Item 4

Exact value (const): "dout_peri_spi1"

Item 5

Exact value (const): "dout_peri_uart0"

Item 6

Exact value (const): "dout_peri_uart1"

Item 7

Exact value (const): "dout_peri_uart2"

Item 8

Exact value (const): "dout_peri_usi0"

Item 9

Exact value (const): "dout_peri_usi1"

Item 10

Exact value (const): "dout_peri_usi2"

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos7885.h>

cmu_peri: clock-controller@10010000 {
    compatible = "samsung,exynos7885-cmu-peri";
    reg = <0x10010000 0x8000>;
    #clock-cells = <1>;

    clocks = <&oscclk>,
             <&cmu_top CLK_DOUT_PERI_BUS>,
             <&cmu_top CLK_DOUT_PERI_SPI0>,
             <&cmu_top CLK_DOUT_PERI_SPI1>,
             <&cmu_top CLK_DOUT_PERI_UART0>,
             <&cmu_top CLK_DOUT_PERI_UART1>,
             <&cmu_top CLK_DOUT_PERI_UART2>,
             <&cmu_top CLK_DOUT_PERI_USI0>,
             <&cmu_top CLK_DOUT_PERI_USI1>,
             <&cmu_top CLK_DOUT_PERI_USI2>;
    clock-names = "oscclk",
                  "dout_peri_bus",
                  "dout_peri_spi0",
                  "dout_peri_spi1",
                  "dout_peri_uart0",
                  "dout_peri_uart1",
                  "dout_peri_uart2",
                  "dout_peri_usi0",
                  "dout_peri_usi1",
                  "dout_peri_usi2";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 162: Clock controller node for CMU_PERI

Samsung Exynos850 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos850-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sam Protsenko <semen.protsenko@linaro.org>", "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

Exynos850 clock controller is comprised of several CMU units, generating clocks for different domains. Those CMU units are modeled as separate device tree nodes, and might depend on each other. Root clocks in that clock tree are two external clocks:: OSCCLK (26 MHz) and RTCCLK (32768 Hz). Those external clocks must be defined as fixed-rate clocks in dts.

CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and dividers; all other leaf clocks (other CMUs) are usually derived from CMU_TOP.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All clocks available for usage in clock consumer nodes are defined as preprocessor macros in 'dt-bindings/clock/exynos850.h' header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos850-cmu-top", "samsung,exynos850-cmu-apm", "samsung,exynos850-cmu-aud", "samsung,exynos850-cmu-cmgp", "samsung,exynos850-cmu-core", "samsung,exynos850-cmu-cpucl0", "samsung,exynos850-cmu-cpucl1", "samsung,exynos850-cmu-dpu", "samsung,exynos850-cmu-g3d", "samsung,exynos850-cmu-hsi", "samsung,exynos850-cmu-is", "samsung,exynos850-cmu-mfcmscl", "samsung,exynos850-cmu-peri"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-apm"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_APM bus clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_clkcmu_apm_bus"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-aud"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

AUD clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_aud"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-cmgp"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_CMGP bus clock (from CMU_APM)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "gout_clkcmu_cmgp_bus"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-core"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_CORE bus clock (from CMU_TOP)

Item 3

CCI clock (from CMU_TOP)

Item 4

eMMC clock (from CMU_TOP)

Item 5

SSS clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_core_bus"

Item 3

Exact value (const): "dout_core_cci"

Item 4

Exact value (const): "dout_core_mmc_embd"

Item 5

Exact value (const): "dout_core_sss"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-cpucl0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CPUCL0 switch clock (from CMU_TOP)

Item 3

CPUCL0 debug clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_cpucl0_switch"

Item 3

Exact value (const): "dout_cpucl0_dbg"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-cpucl1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CPUCL1 switch clock (from CMU_TOP)

Item 3

CPUCL1 debug clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_cpucl1_switch"

Item 3

Exact value (const): "dout_cpucl1_dbg"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-dpu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

DPU clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_dpu"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-g3d"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

G3D clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_g3d_switch"

Rule 10 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-hsi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

External RTC clock (32768 Hz)

Item 3

CMU_HSI bus clock (from CMU_TOP)

Item 4

SD card clock (from CMU_TOP)

Item 5

USB 2.0 DRD clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "rtcclk"

Item 3

Exact value (const): "dout_hsi_bus"

Item 4

Exact value (const): "dout_hsi_mmc_card"

Item 5

Exact value (const): "dout_hsi_usb20drd"

Rule 11 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-is"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_IS bus clock (from CMU_TOP)

Item 3

Image Texture Processing core clock (from CMU_TOP)

Item 4

Visual Recognition Accelerator clock (from CMU_TOP)

Item 5

Geometric Distortion Correction clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_is_bus"

Item 3

Exact value (const): "dout_is_itp"

Item 4

Exact value (const): "dout_is_vra"

Item 5

Exact value (const): "dout_is_gdc"

Rule 12 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-mfcmscl"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

Multi-Format Codec clock (from CMU_TOP)

Item 3

Memory to Memory Scaler clock (from CMU_TOP)

Item 4

Multi-Channel Scaler clock (from CMU_TOP)

Item 5

JPEG codec clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_mfcmscl_mfc"

Item 3

Exact value (const): "dout_mfcmscl_m2m"

Item 4

Exact value (const): "dout_mfcmscl_mcsc"

Item 5

Exact value (const): "dout_mfcmscl_jpeg"

Rule 13 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-cmu-peri"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_PERI bus clock (from CMU_TOP)

Item 3

UART clock (from CMU_TOP)

Item 4

Parent clock for HSI2C and SPI (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_peri_bus"

Item 3

Exact value (const): "dout_peri_uart"

Item 4

Exact value (const): "dout_peri_ip"

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos850.h>

cmu_peri: clock-controller@10030000 {
    compatible = "samsung,exynos850-cmu-peri";
    reg = <0x10030000 0x8000>;
    #clock-cells = <1>;

    clocks = <&oscclk>, <&cmu_top CLK_DOUT_PERI_BUS>,
             <&cmu_top CLK_DOUT_PERI_UART>,
             <&cmu_top CLK_DOUT_PERI_IP>;
    clock-names = "oscclk", "dout_peri_bus",
                  "dout_peri_uart", "dout_peri_ip";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 337: Clock controller node for CMU_PERI

Samsung Exynos8895 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos8895-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>", "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

Exynos8895 clock controller is comprised of several CMU units, generating clocks for different domains. Those CMU units are modeled as separate device tree nodes, and might depend on each other. The root clock in that root tree is an external clock: OSCCLK (26 MHz). This external clock must be defined as a fixed-rate clock in dts.

CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and dividers; all other clocks of function blocks (other CMUs) are usually derived from CMU_TOP.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All clocks available for usage in clock consumer nodes are defined as preprocessor macros in 'include/dt-bindings/clock/samsung,exynos8895.h' header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos8895-cmu-fsys0", "samsung,exynos8895-cmu-fsys1", "samsung,exynos8895-cmu-peric0", "samsung,exynos8895-cmu-peric1", "samsung,exynos8895-cmu-peris", "samsung,exynos8895-cmu-top"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 16

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 16

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "reg", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos8895-cmu-fsys0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_FSYS0 BUS clock (from CMU_TOP)

Item 3

CMU_FSYS0 DPGTC clock (from CMU_TOP)

Item 4

CMU_FSYS0 MMC_EMBD clock (from CMU_TOP)

Item 5

CMU_FSYS0 UFS_EMBD clock (from CMU_TOP)

Item 6

CMU_FSYS0 USBDRD30 clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "dpgtc"

Item 4

Exact value (const): "mmc"

Item 5

Exact value (const): "ufs"

Item 6

Exact value (const): "usbdrd30"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos8895-cmu-fsys1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_FSYS1 BUS clock (from CMU_TOP)

Item 3

CMU_FSYS1 PCIE clock (from CMU_TOP)

Item 4

CMU_FSYS1 UFS_CARD clock (from CMU_TOP)

Item 5

CMU_FSYS1 MMC_CARD clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "pcie"

Item 4

Exact value (const): "ufs"

Item 5

Exact value (const): "mmc"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos8895-cmu-peric0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_PERIC0 BUS clock (from CMU_TOP)

Item 3

CMU_PERIC0 UART_DBG clock (from CMU_TOP)

Item 4

CMU_PERIC0 USI00 clock (from CMU_TOP)

Item 5

CMU_PERIC0 USI01 clock (from CMU_TOP)

Item 6

CMU_PERIC0 USI02 clock (from CMU_TOP)

Item 7

CMU_PERIC0 USI03 clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "uart"

Item 4

Exact value (const): "usi0"

Item 5

Exact value (const): "usi1"

Item 6

Exact value (const): "usi2"

Item 7

Exact value (const): "usi3"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos8895-cmu-peric1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_PERIC1 BUS clock (from CMU_TOP)

Item 3

CMU_PERIC1 SPEEDY2 clock (from CMU_TOP)

Item 4

CMU_PERIC1 SPI_CAM0 clock (from CMU_TOP)

Item 5

CMU_PERIC1 SPI_CAM1 clock (from CMU_TOP)

Item 6

CMU_PERIC1 UART_BT clock (from CMU_TOP)

Item 7

CMU_PERIC1 USI04 clock (from CMU_TOP)

Item 8

CMU_PERIC1 USI05 clock (from CMU_TOP)

Item 9

CMU_PERIC1 USI06 clock (from CMU_TOP)

Item 10

CMU_PERIC1 USI07 clock (from CMU_TOP)

Item 11

CMU_PERIC1 USI08 clock (from CMU_TOP)

Item 12

CMU_PERIC1 USI09 clock (from CMU_TOP)

Item 13

CMU_PERIC1 USI10 clock (from CMU_TOP)

Item 14

CMU_PERIC1 USI11 clock (from CMU_TOP)

Item 15

CMU_PERIC1 USI12 clock (from CMU_TOP)

Item 16

CMU_PERIC1 USI13 clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "speedy"

Item 4

Exact value (const): "cam0"

Item 5

Exact value (const): "cam1"

Item 6

Exact value (const): "uart"

Item 7

Exact value (const): "usi4"

Item 8

Exact value (const): "usi5"

Item 9

Exact value (const): "usi6"

Item 10

Exact value (const): "usi7"

Item 11

Exact value (const): "usi8"

Item 12

Exact value (const): "usi9"

Item 13

Exact value (const): "usi10"

Item 14

Exact value (const): "usi11"

Item 15

Exact value (const): "usi12"

Item 16

Exact value (const): "usi13"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos8895-cmu-peris"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_PERIS BUS clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos8895-cmu-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/samsung,exynos8895.h>

cmu_fsys1: clock-controller@11400000 {
    compatible = "samsung,exynos8895-cmu-fsys1";
    reg = <0x11400000 0x8000>;
    #clock-cells = <1>;

    clocks = <&oscclk>,
             <&cmu_top CLK_DOUT_CMU_FSYS1_BUS>,
             <&cmu_top CLK_DOUT_CMU_FSYS1_PCIE>,
             <&cmu_top CLK_DOUT_CMU_FSYS1_UFS_CARD>,
             <&cmu_top CLK_DOUT_CMU_FSYS1_MMC_CARD>;
    clock-names = "oscclk", "bus", "pcie", "ufs", "mmc";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos990 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos990-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Igor Belwon <igor.belwon@mentallysanemainliners.org>", "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

Exynos990 clock controller is comprised of several CMU units, generating clocks for different domains. Those CMU units are modeled as separate device tree nodes, and might depend on each other. The root clock in that root tree is an external clock: OSCCLK (26 MHz). This external clock must be defined as a fixed-rate clock in dts.

CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and dividers; all other clocks of function blocks (other CMUs) are usually derived from CMU_TOP.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All clocks available for usage in clock consumer nodes are defined as preprocessor macros in 'include/dt-bindings/clock/samsung,exynos990.h' header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos990-cmu-peric1", "samsung,exynos990-cmu-peric0", "samsung,exynos990-cmu-hsi0", "samsung,exynos990-cmu-peris", "samsung,exynos990-cmu-top"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#clock-cells", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos990-cmu-peric1", "samsung,exynos990-cmu-peric0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

Connectivity Peripheral 0/1 bus clock (from CMU_TOP)

Item 3

Connectivity Peripheral 0/1 IP clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "ip"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos990-cmu-hsi0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_HSI0 BUS clock (from CMU_TOP)

Item 3

CMU_HSI0 USB31DRD clock (from CMU_TOP)

Item 4

CMU_HSI0 USBDP_DEBUG clock (from CMU_TOP)

Item 5

CMU_HSI0 DPGTC clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "usb31drd"

Item 4

Exact value (const): "usbdp_debug"

Item 5

Exact value (const): "dpgtc"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos990-cmu-peris"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_PERIS BUS clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos990-cmu-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/samsung,exynos990.h>

cmu_hsi0: clock-controller@10a00000 {
    compatible = "samsung,exynos990-cmu-hsi0";
    reg = <0x10a00000 0x8000>;
    #clock-cells = <1>;

    clocks = <&oscclk>,
             <&cmu_top CLK_DOUT_CMU_HSI0_BUS>,
             <&cmu_top CLK_DOUT_CMU_HSI0_USB31DRD>,
             <&cmu_top CLK_DOUT_CMU_HSI0_USBDP_DEBUG>,
             <&cmu_top CLK_DOUT_CMU_HSI0_DPGTC>;
    clock-names = "oscclk",
                  "bus",
                  "usb31drd",
                  "usbdp_debug",
                  "dpgtc";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung Exynos Auto v9 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynosautov9-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanho Park <chanho61.park@samsung.com>", "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

Exynos Auto v9 clock controller is comprised of several CMU units, generating clocks for different domains. Those CMU units are modeled as separate device tree nodes, and might depend on each other. Root clocks in that clock tree are two external clocks:: OSCCLK/XTCXO (26 MHz) and RTCCLK/XrtcXTI (32768 Hz). The external OSCCLK must be defined as fixed-rate clock in dts.

CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and dividers; all other clocks of function blocks (other CMUs) are usually derived from CMU_TOP.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All clocks available for usage in clock consumer nodes are defined as preprocessor macros in 'include/dt-bindings/clock/samsung,exynosautov9.h' header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynosautov9-cmu-top", "samsung,exynosautov9-cmu-busmc", "samsung,exynosautov9-cmu-core", "samsung,exynosautov9-cmu-dpum", "samsung,exynosautov9-cmu-fsys0", "samsung,exynosautov9-cmu-fsys1", "samsung,exynosautov9-cmu-fsys2", "samsung,exynosautov9-cmu-peric0", "samsung,exynosautov9-cmu-peric1", "samsung,exynosautov9-cmu-peris"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov9-cmu-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov9-cmu-busmc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_BUSMC bus clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_clkcmu_busmc_bus"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov9-cmu-core"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_CORE bus clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_clkcmu_core_bus"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov9-cmu-dpum"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

DPU Main bus clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "bus"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov9-cmu-fsys0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_FSYS0 bus clock (from CMU_TOP)

Item 3

CMU_FSYS0 pcie clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_clkcmu_fsys0_bus"

Item 3

Exact value (const): "dout_clkcmu_fsys0_pcie"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov9-cmu-fsys1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_FSYS1 bus clock (from CMU_TOP)

Item 3

CMU_FSYS1 mmc card clock (from CMU_TOP)

Item 4

CMU_FSYS1 usb clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_clkcmu_fsys1_bus"

Item 3

Exact value (const): "gout_clkcmu_fsys1_mmc_card"

Item 4

Exact value (const): "dout_clkcmu_fsys1_usbdrd"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov9-cmu-fsys2"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_FSYS2 bus clock (from CMU_TOP)

Item 3

UFS clock (from CMU_TOP)

Item 4

Ethernet clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_clkcmu_fsys2_bus"

Item 3

Exact value (const): "dout_fsys2_clkcmu_ufs_embd"

Item 4

Exact value (const): "dout_fsys2_clkcmu_ethernet"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov9-cmu-peric0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_PERIC0 bus clock (from CMU_TOP)

Item 3

PERIC0 IP clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_clkcmu_peric0_bus"

Item 3

Exact value (const): "dout_clkcmu_peric0_ip"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov9-cmu-peric1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_PERIC1 bus clock (from CMU_TOP)

Item 3

PERIC1 IP clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_clkcmu_peric1_bus"

Item 3

Exact value (const): "dout_clkcmu_peric1_ip"

Rule 10 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov9-cmu-peris"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (26 MHz)

Item 2

CMU_PERIS bus clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "dout_clkcmu_peris_bus"

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/samsung,exynosautov9.h>

cmu_fsys2: clock-controller@17c00000 {
    compatible = "samsung,exynosautov9-cmu-fsys2";
    reg = <0x17c00000 0x8000>;
    #clock-cells = <1>;

    clocks = <&xtcxo>,
             <&cmu_top DOUT_CLKCMU_FSYS2_BUS>,
             <&cmu_top DOUT_CLKCMU_FSYS2_UFS_EMBD>,
             <&cmu_top DOUT_CLKCMU_FSYS2_ETHERNET>;
    clock-names = "oscclk",
                  "dout_clkcmu_fsys2_bus",
                  "dout_fsys2_clkcmu_ufs_embd",
                  "dout_fsys2_clkcmu_ethernet";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 263: Clock controller node for CMU_FSYS2

Samsung ExynosAuto v920 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynosautov920-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sunyeal Hong <sunyeal.hong@samsung.com>", "Shin Son <shin.son@samsung.com>", "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"

ExynosAuto v920 clock controller is comprised of several CMU units, generating clocks for different domains. Those CMU units are modeled as separate device tree nodes, and might depend on each other. Root clocks in that clock tree are two external clocks:: OSCCLK/XTCXO (38.4 MHz) and RTCCLK/XrtcXTI (32768 Hz). The external OSCCLK must be defined as fixed-rate clock in dts.

CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and dividers; all other clocks of function blocks (other CMUs) are usually derived from CMU_TOP.

Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All clocks available for usage in clock consumer nodes are defined as preprocessor macros in 'include/dt-bindings/clock/samsung,exynosautov920.h' header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynosautov920-cmu-cpucl0", "samsung,exynosautov920-cmu-cpucl1", "samsung,exynosautov920-cmu-cpucl2", "samsung,exynosautov920-cmu-hsi0", "samsung,exynosautov920-cmu-hsi1", "samsung,exynosautov920-cmu-hsi2", "samsung,exynosautov920-cmu-m2m", "samsung,exynosautov920-cmu-mfc", "samsung,exynosautov920-cmu-mfd", "samsung,exynosautov920-cmu-misc", "samsung,exynosautov920-cmu-peric0", "samsung,exynosautov920-cmu-peric1", "samsung,exynosautov920-cmu-top"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov920-cmu-top"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynosautov920-cmu-cpucl0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

Item 2

CMU_CPUCL0 SWITCH clock (from CMU_TOP)

Item 3

CMU_CPUCL0 CLUSTER clock (from CMU_TOP)

Item 4

CMU_CPUCL0 DBG clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "switch"

Item 3

Exact value (const): "cluster"

Item 4

Exact value (const): "dbg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynosautov920-cmu-cpucl1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

Item 2

CMU_CPUCL1 SWITCH clock (from CMU_TOP)

Item 3

CMU_CPUCL1 CLUSTER clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "switch"

Item 3

Exact value (const): "cluster"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynosautov920-cmu-cpucl2"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

Item 2

CMU_CPUCL2 SWITCH clock (from CMU_TOP)

Item 3

CMU_CPUCL2 CLUSTER clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "switch"

Item 3

Exact value (const): "cluster"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynosautov920-cmu-peric0", "samsung,exynosautov920-cmu-peric1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

Item 2

CMU_PERICn NOC clock (from CMU_TOP)

Item 3

CMU_PERICn IP clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "noc"

Item 3

Exact value (const): "ip"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "samsung,exynosautov920-cmu-misc", "samsung,exynosautov920-cmu-hsi0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

Item 2

CMU_MISC/CMU_HSI0 NOC clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "noc"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov920-cmu-hsi1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

Item 2

CMU_HSI1 NOC clock (from CMU_TOP)

Item 3

CMU_HSI1 USBDRD clock (from CMU_TOP)

Item 4

CMU_HSI1 MMC_CARD clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "noc"

Item 3

Exact value (const): "usbdrd"

Item 4

Exact value (const): "mmc_card"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov920-cmu-hsi2"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

Item 2

CMU_HSI2 NOC clock (from CMU_TOP)

Item 3

CMU_HSI2 NOC UFS clock (from CMU_TOP)

Item 4

CMU_HSI2 UFS EMBD clock (from CMU_TOP)

Item 5

CMU_HSI2 ETHERNET clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "noc"

Item 3

Exact value (const): "ufs"

Item 4

Exact value (const): "embd"

Item 5

Exact value (const): "ethernet"

Rule 9 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov920-cmu-m2m"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

Item 2

CMU_M2M NOC clock (from CMU_TOP)

Item 3

CMU_M2M JPEG clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "noc"

Item 3

Exact value (const): "jpeg"

Rule 10 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov920-cmu-mfc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

Item 2

CMU_MFC MFC clock (from CMU_TOP)

Item 3

CMU_MFC WFD clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "mfc"

Item 3

Exact value (const): "wfd"

Rule 11 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov920-cmu-mfd"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (38.4 MHz)

Item 2

CMU_MFD NOC clock (from CMU_TOP)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "oscclk"

Item 2

Exact value (const): "noc"

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/samsung,exynosautov920.h>

cmu_peric0: clock-controller@10800000 {
    compatible = "samsung,exynosautov920-cmu-peric0";
    reg = <0x10800000 0x8000>;
    #clock-cells = <1>;

    clocks = <&xtcxo>,
             <&cmu_top DOUT_CLKCMU_PERIC0_NOC>,
             <&cmu_top DOUT_CLKCMU_PERIC0_IP>;
    clock-names = "oscclk",
                  "noc",
                  "ip";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 300: Clock controller node for CMU_PERIC0

Samsung S2M and S5M family clock generator block

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,s2mps11.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).

The S2MPS11/13/15 and S5M8767 provide three(AP/CP/BT) buffered 32.768 kHz outputs. The S2MPS14 provides two (AP/BT) buffered 32.768 KHz outputs.

All available clocks are defined as preprocessor macros in dt-bindings/clock/samsung,s2mps11.h header.

See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for additional information and example.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,s2mpg10-clk", "samsung,s2mps11-clk", "samsung,s2mps13-clk", "samsung,s2mps14-clk", "samsung,s5m8767-clk"

#clock-cells — required here #

Exact value (const): 1

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 3

Names for AP, CP and BT clocks.

Required in this object (required): "compatible", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 30: S2MPS13 and S2MPS15

Samsung S3C6400 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,s3c6400-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

There are several clocks that are generated outside the SoC. It is expected that they are defined using standard clock bindings with following clock-output-names and/or provided as clock inputs to this clock controller: - "fin_pll" - PLL input clock (xtal/extclk) - required, - "xusbxti" - USB xtal - required, - "iiscdclk0" - I2S0 codec clock - optional, - "iiscdclk1" - I2S1 codec clock - optional, - "iiscdclk2" - I2S2 codec clock - optional, - "pcmcdclk0" - PCM0 codec clock - optional, - "pcmcdclk1" - PCM1 codec clock - optional, only S3C6410.

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/samsung,s3c64xx-clock.h header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,s3c6400-clock", "samsung,s3c6410-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@7e00f000 {
    compatible = "samsung,s3c6410-clock";
    reg = <0x7e00f000 0x1000>;
    #clock-cells = <1>;
    clocks = <&fin_pll>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Samsung S5Pv210 SoC Audio SubSystem clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,s5pv210-audss-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/s5pv210-audss.h header.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s5pv210-audss-clock"

clocks — required here #

Minimum number of items (minItems): 4

Array item rules (items) #

Item 1

AHB bus clock of the Audio Subsystem.

Item 2

Optional fixed rate PLL reference clock, parent of mout_audss. If not specified (i.e. xusbxti is used for PLL reference), it is fixed to a clock named "xxti".

Item 3

Input PLL to the AudioSS block, parent of mout_audss.

Item 4

Audio bus clock, parent of mout_i2s.

Item 5

Optional external i2s clock, parent of mout_i2s. If not specified, it is fixed to a clock named "iiscdclk0".

clock-names — required here #

Minimum number of items (minItems): 4

Array item rules (items) #

Item 1

Exact value (const): "hclk"

Item 2

Exact value (const): "xxti"

Item 3

Exact value (const): "fout_epll"

Item 4

Exact value (const): "sclk_audio0"

Item 5

Exact value (const): "iiscdclk0"

#clock-cells — required here #

Exact value (const): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#clock-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/s5pv210.h>

clock-controller@c0900000 {
    compatible = "samsung,s5pv210-audss-clock";
    reg = <0xc0900000 0x1000>;
    #clock-cells = <1>;
    clock-names = "hclk", "xxti", "fout_epll", "sclk_audio0";
    clocks = <&clocks DOUT_HCLKP>, <&xxti>, <&clocks FOUT_EPLL>,
             <&clocks SCLK_AUDIO0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Samsung S5P6442/S5PC110/S5PV210 SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,s5pv210-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

Expected external clocks, defined in DTS as fixed-rate clocks with a matching
name::
  - "xxti" - external crystal oscillator connected to XXTI and XXTO pins of
    the SoC,
  - "xusbxti" - external crystal oscillator connected to XUSBXTI and XUSBXTO
    pins of the SoC,

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/s5pv210.h header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,s5pv210-clock", "samsung,s5p6442-clock"

clocks — not listed as required here #

Array item rules (items) #

Item 1

xxti clock

Item 2

xusbxti clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xxti"

Item 2

Exact value (const): "xusbxti"

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/s5pv210.h>

xxti: clock-0 {
    compatible = "fixed-clock";
    clock-frequency = <0>;
    clock-output-names = "xxti";
    #clock-cells = <0>;
};

xusbxti: clock-1 {
    compatible = "fixed-clock";
    clock-frequency = <0>;
    clock-output-names = "xusbxti";
    #clock-cells = <0>;
};

clock-controller@e0100000 {
    compatible = "samsung,s5pv210-clock";
    reg = <0xe0100000 0x10000>;
    clock-names = "xxti", "xusbxti";
    clocks = <&xxti>, <&xusbxti>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Silicon Labs Si5340/1/2/4/5 programmable i2c clock generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/silabs,si5341.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Mike Looijmans <mike.looijmans@topic.nl>"

Silicon Labs Si5340, Si5341 Si5342, Si5344 and Si5345 programmable i2c clock generator.
Reference [1] Si5341 Data Sheet
    https://www.silabs.com/documents/public/data-sheets/Si5341-40-D-DataSheet.pdf
[2] Si5341 Reference Manual
    https://www.silabs.com/documents/public/reference-manuals/Si5341-40-D-RM.pdf
[3] Si5345 Reference Manual
    https://www.silabs.com/documents/public/reference-manuals/Si5345-44-42-D-RM.pdf

The Si5341 and Si5340 are programmable i2c clock generators with up to 10 output clocks. The chip contains a PLL that sources 5 (or 4) multisynth clocks, which in turn can be directed to any of the 10 (or 4) outputs through a divider. The internal structure of the clock generators can be found in [2]. The Si5345 is similar to the Si5341 with the addition of fractional input dividers and automatic input selection, as described in [3]. The Si5342 and Si5344 are smaller versions of the Si5345, with 2 or 4 outputs. The driver can be used in "as is" mode, reading the current settings from the chip at boot, in case you have a (pre-)programmed device. If the PLL is not configured when the driver probes, it assumes the driver must fully initialize it. The device type, speed grade and revision are determined runtime by probing.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "silabs,si5340", "silabs,si5341", "silabs,si5342", "silabs,si5344", "silabs,si5345"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 2

The first value is "0" for outputs, "1" for synthesizers. The second value is the output or synthesizer index.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "xtal"

Item 2

Exact value (const): "in0"

Item 3

Exact value (const): "in1"

Item 4

Exact value (const): "in2"

clock-output-names — not listed as required here #

true — No constraints added by this property rule.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Interrupt for INTRb pin

vdd-supply — not listed as required here #

Regulator node for VDD

vdda-supply — not listed as required here #

Regulator node for VDDA

vdds-supply — not listed as required here #

Regulator node for VDDS

silabs,pll-m-num — not listed as required here #

Numerator for PLL feedback divider. Must be such that the PLL output is in the valid range. For example, to create 14GHz from a 48MHz xtal, use m-num=14000 and m-den=48. Only the fraction matters, using 3500 and 12 will deliver the exact same result. If these are not specified, and the PLL is not yet programmed when the driver probes, the PLL will be set to 14GHz.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

silabs,pll-m-den — not listed as required here #

Denominator for PLL feedback divider

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

silabs,reprogram — not listed as required here #

Always perform soft-reset and reinitialize PLL

Value type (type): "boolean"

silabs,xaxb-ext-clk — not listed as required here #

Use XA/XB pins as external reference clock

Value type (type): "boolean"

silabs,iovdd-33 — not listed as required here #

I2C lines use 3.3V thresholds

Value type (type): "boolean"

Properties matching a name pattern (patternProperties) #

^vddo[0-9]-supply$ — name matches this regular expression #

true — No constraints added by this property rule.

^out@[0-9]$ — name matches this regular expression #

Output-specific override nodes Each of the clock outputs can be overwritten individually by using a child node. If a child node for a clock output is not set, the configuration remains unchanged.

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — required here

Number of clock output

Maximum value (maximum): 9

always-on — not listed as required here

Set to keep the clock output always running

Value type (type): "boolean"

silabs,format — not listed as required here

Output format

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 4

silabs,common-mode — not listed as required here

Override output common mode

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

silabs,amplitude — not listed as required here

Override output amplitude

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

silabs,synth-master — not listed as required here

Allow dynamic multisynth rate control

Value type (type): "boolean"

silabs,disable-high — not listed as required here

Drive output HIGH when disabled

Value type (type): "boolean"

Required in this object (required): "reg"

Required in this object (required): "compatible", "reg", "#clock-cells", "#address-cells", "#size-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    clock-generator@74 {
        reg = <0x74>;
        compatible = "silabs,si5341";
        #clock-cells = <2>;
        #address-cells = <1>;
        #size-cells = <0>;
        clocks = <&ref48>;
        clock-names = "xtal";

        silabs,pll-m-num = <14000>; /* PLL at 14.0 GHz */
        silabs,pll-m-den = <48>;
        silabs,reprogram; /* Chips are not programmed, always reset */

        out@0 {
            reg = <0>;
            silabs,format = <1>; /* LVDS 3v3 */
            silabs,common-mode = <3>;
            silabs,amplitude = <3>;
            silabs,synth-master;
        };

        /*
          * Output 6 configuration:
          *  LVDS 1v8
          */
        out@6 {
            reg = <6>;
            silabs,format = <1>; /* LVDS 1v8 */
            silabs,common-mode = <13>;
            silabs,amplitude = <3>;
        };

        /*
          * Output 8 configuration:
          *  HCSL 3v3
          */
        out@8 {
            reg = <8>;
            silabs,format = <2>;
            silabs,common-mode = <11>;
            silabs,amplitude = <3>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Silicon Labs Si5351A/B/C programmable I2C clock generators

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/silabs,si5351.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The Silicon Labs Si5351A/B/C are programmable I2C clock generators with up to 8 outputs. Si5351A also has a reduced pin-count package (10-MSOP) where only 3 output clocks are accessible. The internal structure of the clock generators can be found in [1].

[1] Si5351A/B/C Data Sheet
    https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/data-sheets/Si5351-B.pdf

Maintainers (maintainers): "Alvin Šipraga <alsi@bang-olufsen.dk>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "silabs,si5351a", "silabs,si5351a-msop", "silabs,si5351b", "silabs,si5351c"

reg — required here #

Allowed values (enum): 96, 97

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "xtal"

Item 2

Exact value (const): "clkin"

silabs,pll-source — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix

A list of cell pairs containing a PLL index and its source. Allows to overwrite clock source of the internal PLLs.

Array item rules (items) #

Array item rules (items)

Item 1

PLL A (0) or PLL B (1)

Allowed values (enum): 0, 1

Item 2

PLL source, XTAL (0) or CLKIN (1, Si5351C only).

Allowed values (enum): 0, 1

silabs,pll-reset-mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

A list of cell pairs containing a PLL index and its reset mode.

Array item rules (items) #

Array item rules (items)

Item 1

PLL A (0) or PLL B (1)

Allowed values (enum): 0, 1

Item 2

Reset mode for the PLL. Mode can be one of:

    0 - reset whenever PLL rate is adjusted (default mode)
    1 - do not reset when PLL rate is adjusted

In mode 1, the PLL is only reset if the silabs,pll-reset is specified in one of the clock output child nodes that also sources the PLL. This mode may be preferable if output clocks are expected to be adjusted without glitches.

Allowed values (enum): 0, 1

Properties matching a name pattern (patternProperties) #

^clkout@[0-7]$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — required here

Clock output number.

clock-frequency — not listed as required here

true — No constraints added by this property rule.

silabs,clock-source — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Source clock of the this output's divider stage.

0 - use multisynth N for this output, where N is the output number
1 - use either multisynth 0 (if output number is 0-3) or multisynth 4
    (otherwise) for this output
2 - use XTAL for this output
3 - use CLKIN for this output (Si5351C only)

silabs,drive-strength — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 2, 4, 6, 8

Output drive strength in mA.

silabs,multisynth-source — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Source PLL A (0) or B (1) for the corresponding multisynth divider.

silabs,pll-master — not listed as required here

Value type (type): "boolean"

The frequency of the source PLL is allowed to be changed by the multisynth when setting the rate of this clock output.

silabs,pll-reset — not listed as required here

Value type (type): "boolean"

Reset the source PLL when enabling this clock output.

silabs,disable-state — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

Clock output disable state. The state can be one of:

0 - clock output is driven LOW when disabled 1 - clock output is driven HIGH when disabled 2 - clock output is FLOATING (HIGH-Z) when disabled 3 - clock output is never disabled

All of these rules must match (allOf) #

Rule 1

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "silabs,si5351a-msop"

When the condition matches (then)

Properties and child nodes (properties)

reg — not listed as required here

Maximum value (maximum): 2

When the condition does not match (else)

Properties and child nodes (properties)

reg — not listed as required here

Maximum value (maximum): 7

Rule 2

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "silabs,si5351c"

When the condition matches (then)

Properties and child nodes (properties)

silabs,clock-source — not listed as required here

Allowed values (enum): 0, 1, 2, 3

When the condition does not match (else)

Properties and child nodes (properties)

silabs,clock-source — not listed as required here

Allowed values (enum): 0, 1, 2

Required in this object (required): "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "silabs,si5351a", "silabs,si5351a-msop", "silabs,si5351b"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Maximum number of items (maxItems): 1

Required in this object (required): "reg", "#address-cells", "#size-cells", "#clock-cells", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  clock-generator@60 {
    compatible = "silabs,si5351a-msop";
    reg = <0x60>;
    #address-cells = <1>;
    #size-cells = <0>;
    #clock-cells = <1>;

    /* Connect XTAL input to 25MHz reference */
    clocks = <&ref25>;
    clock-names = "xtal";

    /* Use XTAL input as source of PLL0 and PLL1 */
    silabs,pll-source = <0 0>, <1 0>;

    /* Don't reset PLL1 on rate adjustment */
    silabs,pll-reset-mode = <1 1>;

    /*
     * Overwrite CLK0 configuration with:
     * - 8 mA output drive strength
     * - PLL0 as clock source of multisynth 0
     * - Multisynth 0 as clock source of output divider
     * - Multisynth 0 can change PLL0
     * - Set initial clock frequency of 74.25MHz
     */
    clkout@0 {
      reg = <0>;
      silabs,drive-strength = <8>;
      silabs,multisynth-source = <0>;
      silabs,clock-source = <0>;
      silabs,pll-master;
      clock-frequency = <74250000>;
    };

    /*
     * Overwrite CLK1 configuration with:
     * - 4 mA output drive strength
     * - PLL1 as clock source of multisynth 1
     * - Multisynth 1 as clock source of output divider
     * - Multisynth 1 can change PLL1
     * - Reset PLL1 when enabling this clock output
     */
    clkout@1 {
      reg = <1>;
      silabs,drive-strength = <4>;
      silabs,multisynth-source = <1>;
      silabs,clock-source = <0>;
      silabs,pll-master;
      silabs,pll-reset;
    };

    /*
     * Overwrite CLK2 configuration with:
     * - XTAL as clock source of output divider
     */
    clkout@2 {
      reg = <2>;
      silabs,clock-source = <2>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 24: Si5351A, 20-QFN package

Line 25: Si5351A, 10-MSOP package

Line 26: Si5351B, 20-QFN package

Line 27: Si5351C, 20-QFN package

Silicon Labs SI514/SI544 clock generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/silabs,si544.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Mike Looijmans <mike.looijmans@topic.nl>"

Silicon Labs 514/544 programmable I2C clock generator. Details about the device can be found in the datasheet:

  https://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf
  https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "silabs,si514", "silabs,si544a", "silabs,si544b", "silabs,si544c"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    clock-controller@55 {
        reg = <0x55>;
        #clock-cells = <0>;
        compatible = "silabs,si544b";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Silicon Labs Si570/Si571/Si598/Si599 programmable I2C clock generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/silabs,si570.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Soren Brinkmann <soren.brinkmann@xilinx.com>"

Silicon Labs 570, 571, 598 and 599 programmable I2C clock generators. Details about the devices can be found in the data sheets[1][2].
[1] Si570/571 Data Sheet
    https://www.silabs.com/Support%20Documents/TechnicalDocs/si570.pdf
[2] Si598/599 Data Sheet
    https://www.silabs.com/Support%20Documents/TechnicalDocs/si598-99.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "silabs,si570", "silabs,si571", "silabs,si598", "silabs,si599"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

factory-fout — required here #

Factory-set default frequency in Hz.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

temperature-stability — required here #

Temperature stability of the device in PPM.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 7, 20, 50, 100

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

Output frequency to generate at boot; can be reprogrammed at runtime.

silabs,skip-recall — not listed as required here #

Skip the NVM-to-RAM recall operation during boot.

Value type (type): "boolean"

Required in this object (required): "compatible", "reg", "#clock-cells", "factory-fout", "temperature-stability"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    clock-generator@5d {
        compatible = "silabs,si570";
        reg = <0x5d>;
        #clock-cells = <0>;
        temperature-stability = <50>;
        factory-fout = <156250000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Skyworks Si521xx I2C PCIe clock generators

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/skyworks,si521xx.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The Skyworks Si521xx are I2C PCIe clock generators providing from 4 to 9 output clocks.

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "skyworks,si52144", "skyworks,si52146", "skyworks,si52147"

reg — required here #

Exact value (const): 107

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

XTal input clock

skyworks,out-amplitude-microvolt — not listed as required here #

Allowed values (enum): 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1000000

Output clock signal amplitude

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    clock-generator@6b {
        compatible = "skyworks,si52144";
        reg = <0x6b>;
        #clock-cells = <1>;
        clocks = <&ref25m>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

UniPhier clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/socionext,uniphier-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Masahiro Yamada <yamada.masahiro@socionext.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

System clock

Allowed values (enum): "socionext,uniphier-ld4-clock", "socionext,uniphier-pro4-clock", "socionext,uniphier-sld8-clock", "socionext,uniphier-pro5-clock", "socionext,uniphier-pxs2-clock", "socionext,uniphier-ld6b-clock", "socionext,uniphier-ld11-clock", "socionext,uniphier-ld20-clock", "socionext,uniphier-pxs3-clock", "socionext,uniphier-nx1-clock"

Rule 2

Media I/O (MIO) clock, SD clock

Allowed values (enum): "socionext,uniphier-ld4-mio-clock", "socionext,uniphier-pro4-mio-clock", "socionext,uniphier-sld8-mio-clock", "socionext,uniphier-pro5-sd-clock", "socionext,uniphier-pxs2-sd-clock", "socionext,uniphier-ld11-mio-clock", "socionext,uniphier-ld20-sd-clock", "socionext,uniphier-pxs3-sd-clock", "socionext,uniphier-nx1-sd-clock"

Rule 3

Peripheral clock

Allowed values (enum): "socionext,uniphier-ld4-peri-clock", "socionext,uniphier-pro4-peri-clock", "socionext,uniphier-sld8-peri-clock", "socionext,uniphier-pro5-peri-clock", "socionext,uniphier-pxs2-peri-clock", "socionext,uniphier-ld11-peri-clock", "socionext,uniphier-ld20-peri-clock", "socionext,uniphier-pxs3-peri-clock", "socionext,uniphier-nx1-peri-clock"

Rule 4

SoC-glue clock

Allowed values (enum): "socionext,uniphier-pro4-sg-clock"

#clock-cells — required here #

Exact value (const): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "#clock-cells"

Examples (examples) #

clock-controller {
    compatible = "socionext,uniphier-ld11-clock";
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Sophgo CV1800/SG2000 Series Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/sophgo,cv1800-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inochi Amaoto <inochiama@outlook.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "sophgo,cv1800b-clk", "sophgo,cv1812h-clk", "sophgo,sg2000-clk"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "sophgo,sg2002-clk"

Item 2

Exact value (const): "sophgo,sg2000-clk"

Rule 3

Exact value (const): "sophgo,cv1800-clk"

Deprecated (deprecated): true

Rule 4

Exact value (const): "sophgo,cv1810-clk"

Deprecated (deprecated): true

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/sophgo,cv1800.h> for valid indices.

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@3002000 {
    compatible = "sophgo,cv1800-clk";
    reg = <0x03002000 0x1000>;
    clocks = <&osc>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Sophgo SG2042 Clock Generator for divider/mux/gate

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/sophgo,sg2042-clkgen.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen Wang <unicorn_wang@outlook.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sophgo,sg2042-clkgen"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Main PLL

Item 2

Fixed PLL

Item 3

DDR PLL 0

Item 4

DDR PLL 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mpll"

Item 2

Exact value (const): "fpll"

Item 3

Exact value (const): "dpll0"

Item 4

Exact value (const): "dpll1"

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/sophgo,sg2042-clkgen.h> for valid indices.

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) #

clock-controller@30012000 {
  compatible = "sophgo,sg2042-clkgen";
  reg = <0x30012000 0x1000>;
  clocks = <&pllclk 0>,
           <&pllclk 1>,
           <&pllclk 2>,
           <&pllclk 3>;
  clock-names = "mpll",
                "fpll",
                "dpll0",
                "dpll1";
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Sophgo SG2042 PLL Clock Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/sophgo,sg2042-pll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen Wang <unicorn_wang@outlook.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sophgo,sg2042-pll"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Oscillator(Clock Generation IC) for Main/Fixed PLL (25 MHz)

Item 2

Oscillator(Clock Generation IC) for DDR PLL 0 (25 MHz)

Item 3

Oscillator(Clock Generation IC) for DDR PLL 1 (25 MHz)

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cgi_main"

Item 2

Exact value (const): "cgi_dpll0"

Item 3

Exact value (const): "cgi_dpll1"

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/sophgo,sg2042-pll.h> for valid indices.

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) #

clock-controller@10000000 {
  compatible = "sophgo,sg2042-pll";
  reg = <0x10000000 0x10000>;
  clocks = <&cgi_main>, <&cgi_dpll0>, <&cgi_dpll1>;
  clock-names = "cgi_main", "cgi_dpll0", "cgi_dpll1";
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Sophgo SG2042 Gate Clock Generator for RP(riscv processors) subsystem

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/sophgo,sg2042-rpgate.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen Wang <unicorn_wang@outlook.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sophgo,sg2042-rpgate"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Gate clock for RP subsystem

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rpgate"

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/sophgo,sg2042-rpgate.h> for valid indices.

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) #

clock-controller@20000000 {
  compatible = "sophgo,sg2042-rpgate";
  reg = <0x20000000 0x10000>;
  clocks = <&clkgen 85>;
  clock-names = "rpgate";
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Sophgo SG2044 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/sophgo,sg2044-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inochi Amaoto <inochiama@gmail.com>"

The Sophgo SG2044 clock controller requires an external oscillator as input clock.

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/sophgo,sg2044-clk.h

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sophgo,sg2044-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

fpll0

Item 2

fpll1

Item 3

fpll2

Item 4

dpll0

Item 5

dpll1

Item 6

dpll2

Item 7

dpll3

Item 8

dpll4

Item 9

dpll5

Item 10

dpll6

Item 11

dpll7

Item 12

mpll0

Item 13

mpll1

Item 14

mpll2

Item 15

mpll3

Item 16

mpll4

Item 17

mpll5

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "fpll0"

Item 2

Exact value (const): "fpll1"

Item 3

Exact value (const): "fpll2"

Item 4

Exact value (const): "dpll0"

Item 5

Exact value (const): "dpll1"

Item 6

Exact value (const): "dpll2"

Item 7

Exact value (const): "dpll3"

Item 8

Exact value (const): "dpll4"

Item 9

Exact value (const): "dpll5"

Item 10

Exact value (const): "dpll6"

Item 11

Exact value (const): "dpll7"

Item 12

Exact value (const): "mpll0"

Item 13

Exact value (const): "mpll1"

Item 14

Exact value (const): "mpll2"

Item 15

Exact value (const): "mpll3"

Item 16

Exact value (const): "mpll4"

Item 17

Exact value (const): "mpll5"

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#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/sophgo,sg2044-pll.h>

clock-controller@50002000 {
  compatible = "sophgo,sg2044-clk";
  reg = <0x50002000 0x1000>;
  #clock-cells = <1>;
  clocks = <&syscon CLK_FPLL0>, <&syscon CLK_FPLL1>,
           <&syscon CLK_FPLL2>, <&syscon CLK_DPLL0>,
           <&syscon CLK_DPLL1>, <&syscon CLK_DPLL2>,
           <&syscon CLK_DPLL3>, <&syscon CLK_DPLL4>,
           <&syscon CLK_DPLL5>, <&syscon CLK_DPLL6>,
           <&syscon CLK_DPLL7>, <&syscon CLK_MPLL0>,
           <&syscon CLK_MPLL1>, <&syscon CLK_MPLL2>,
           <&syscon CLK_MPLL3>, <&syscon CLK_MPLL4>,
           <&syscon CLK_MPLL5>;
  clock-names = "fpll0", "fpll1", "fpll2", "dpll0",
                "dpll1", "dpll2", "dpll3", "dpll4",
                "dpll5", "dpll6", "dpll7", "mpll0",
                "mpll1", "mpll2", "mpll3", "mpll4",
                "mpll5";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

SpacemiT K1/K3 PLL

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/spacemit,k1-pll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Haylen Chu <heylenay@4d2.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "spacemit,k1-pll", "spacemit,k3-pll"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

External 24MHz oscillator

spacemit,mpmu — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the "Main PMU (MPMU)" syscon. It is used to check PLL lock status.

#clock-cells — required here #

Exact value (const): 1

For K1 SoC, check <dt-bindings/clock/spacemit,k1-syscon.h> for valid indices. For K3 SoC, check <dt-bindings/clock/spacemit,k3-clocks.h> for valid indices.

Required in this object (required): "compatible", "reg", "clocks", "spacemit,mpmu", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@d4090000 {
    compatible = "spacemit,k1-pll";
    reg = <0xd4090000 0x1000>;
    clocks = <&vctcxo_24m>;
    spacemit,mpmu = <&sysctl_mpmu>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Spreadtrum SC9860 clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/sprd,sc9860-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "sprd,sc9860-agcp-gate", "sprd,sc9860-aonsecure-clk", "sprd,sc9860-aon-gate", "sprd,sc9860-aon-prediv", "sprd,sc9860-apahb-gate", "sprd,sc9860-apapb-gate", "sprd,sc9860-ap-clk", "sprd,sc9860-cam-clk", "sprd,sc9860-cam-gate", "sprd,sc9860-disp-clk", "sprd,sc9860-disp-gate", "sprd,sc9860-gpu-clk", "sprd,sc9860-pll", "sprd,sc9860-pmu-gate", "sprd,sc9860-vsp-clk", "sprd,sc9860-vsp-gate"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

#clock-cells — required here #

Exact value (const): 1

sprd,syscon — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to the syscon which is in the same address area with the clock, and so we can get regmap for the clocks from the syscon device

Required in this object (required): "compatible", "clocks", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "sprd,sc9860-agcp-gate", "sprd,sc9860-aon-gate", "sprd,sc9860-apahb-gate", "sprd,sc9860-apapb-gate", "sprd,sc9860-cam-gate", "sprd,sc9860-disp-gate", "sprd,sc9860-gpu-clk", "sprd,sc9860-pll", "sprd,sc9860-pmu-gate", "sprd,sc9860-vsp-gate"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "sprd,sc9860-aonsecure-clk", "sprd,sc9860-cam-clk", "sprd,sc9860-disp-clk", "sprd,sc9860-vsp-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "sprd,sc9860-aon-prediv", "sprd,sc9860-ap-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "sprd,sc9860-aonsecure-clk", "sprd,sc9860-aon-prediv", "sprd,sc9860-ap-clk", "sprd,sc9860-cam-clk", "sprd,sc9860-disp-clk", "sprd,sc9860-gpu-clk", "sprd,sc9860-vsp-clk"

When the condition matches (then) #

Required in this object (required): "reg"

Properties and child nodes (properties)

sprd,syscon — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

soc {
  #address-cells = <2>;
  #size-cells = <2>;

  clock-controller@20000000 {
    compatible = "sprd,sc9860-ap-clk";
    reg = <0 0x20000000 0 0x400>;
    clocks = <&ext_26m>, <&pll 0>, <&pmu_gate 0>;
    #clock-cells = <1>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

SC9863A Clock Control Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/sprd,sc9863a-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "sprd,sc9863a-ap-clk", "sprd,sc9863a-aon-clk", "sprd,sc9863a-apahb-gate", "sprd,sc9863a-pmu-gate", "sprd,sc9863a-aonapb-gate", "sprd,sc9863a-pll", "sprd,sc9863a-mpll", "sprd,sc9863a-rpll", "sprd,sc9863a-dpll", "sprd,sc9863a-mm-gate", "sprd,sc9863a-mm-clk", "sprd,sc9863a-apapb-gate"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

The input parent clock(s) phandle for this clock, only list fixed clocks which are declared in devicetree.

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "ext-26m"

Item 2

Exact value (const): "ext-32k"

Item 3

Exact value (const): "ext-4m"

Item 4

Exact value (const): "rco-100m"

reg — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "sprd,sc9863a-ap-clk", "sprd,sc9863a-aon-clk"

When the condition matches (then) #

Required in this object (required): "reg"

When the condition does not match (else) #

Other SC9863a clock nodes should be the child of a syscon node in
which compatible string should be:
        "sprd,sc9863a-glbregs", "syscon", "simple-mfd"

The 'reg' property for the clock node is also required if there is a sub range of registers for the clocks.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

ap_clk: clock-controller@21500000 {
  compatible = "sprd,sc9863a-ap-clk";
  reg = <0x21500000 0x1000>;
  clocks = <&ext_26m>, <&ext_32k>;
  clock-names = "ext-26m", "ext-32k";
  #clock-cells = <1>;
};
syscon@20e00000 {
  compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd";
  reg = <0x20e00000 0x4000>;
  #address-cells = <1>;
  #size-cells = <1>;
  ranges = <0 0x20e00000 0x4000>;

  apahb_gate: apahb-gate@0 {
    compatible = "sprd,sc9863a-apahb-gate";
    reg = <0x0 0x1020>;
    #clock-cells = <1>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright 2019 Unisoc Inc.

UMS512 Soc clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/sprd,ums512-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "sprd,ums512-apahb-gate", "sprd,ums512-ap-clk", "sprd,ums512-aonapb-clk", "sprd,ums512-pmu-gate", "sprd,ums512-g0-pll", "sprd,ums512-g2-pll", "sprd,ums512-g3-pll", "sprd,ums512-gc-pll", "sprd,ums512-aon-gate", "sprd,ums512-audcpapb-gate", "sprd,ums512-audcpahb-gate", "sprd,ums512-gpu-clk", "sprd,ums512-mm-clk", "sprd,ums512-mm-gate-clk", "sprd,ums512-apapb-gate"

#clock-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

The input parent clock(s) phandle for the clock, only list fixed clocks which are declared in devicetree.

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "ext-26m"

Item 2

Exact value (const): "ext-32k"

Item 3

Exact value (const): "ext-4m"

Item 4

Exact value (const): "rco-100m"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

ap_clk: clock-controller@20200000 {
  compatible = "sprd,ums512-ap-clk";
  reg = <0x20200000 0x1000>;
  clocks = <&ext_26m>;
  clock-names = "ext-26m";
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright 2022 Unisoc Inc.

STMicroelectronics STM32 Reset Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/st,stm32-rcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dario Binacchi <dario.binacchi@amarulasolutions.com>"

The RCC IP is both a reset and a clock controller. The reset phandle argument is the bit number within the RCC registers bank, starting from RCC base address.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "st,stm32f42xx-rcc", "st,stm32f746-rcc", "st,stm32h743-rcc"

Item 2

Exact value (const): "st,stm32-rcc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "st,stm32f469-rcc"

Item 2

Exact value (const): "st,stm32f42xx-rcc"

Item 3

Exact value (const): "st,stm32-rcc"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "st,stm32f769-rcc"

Item 2

Exact value (const): "st,stm32f746-rcc"

Item 3

Exact value (const): "st,stm32-rcc"

reg — required here #

Maximum number of items (maxItems): 1

#reset-cells — required here #

Exact value (const): 1

#clock-cells — required here #

Allowed values (enum): 1, 2

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

st,syscfg — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to system configuration controller. It can be used to control the power domain circuitry.

st,ssc-modfreq-hz — not listed as required here #

The modulation frequency for main PLL (in Hz)

st,ssc-moddepth-permyriad — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

The modulation rate for main PLL (in permyriad, i.e. 0.01%)

Minimum value (minimum): 25

Maximum value (maximum): 200

st,ssc-modmethod — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

The modulation techniques for main PLL.

Array item rules (items) #

Allowed values (enum): "center-spread", "down-spread"

Required in this object (required): "compatible", "reg", "#reset-cells", "#clock-cells", "clocks", "st,syscfg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "st,stm32h743-rcc"

When the condition matches (then) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 1

The clock index for the specified type.

clocks — not listed as required here

Array item rules (items)

Item 1

high speed external (HSE) clock input

Item 2

low speed external (LSE) clock input

Item 3

Inter-IC sound (I2S) clock input

st,ssc-modfreq-hz — not listed as required here

false — Not permitted by this property rule.

st,ssc-moddepth-permyriad — not listed as required here

false — Not permitted by this property rule.

st,ssc-modmethod — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 2

- The first cell is the clock type, possible values are 0 for
  gated clocks and 1 otherwise.
- The second cell is the clock index for the specified type.

clocks — not listed as required here

Array item rules (items)

Item 1

high speed external (HSE) clock input

Item 2

Inter-IC sound (I2S) clock input

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@40023800 {
    compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
    reg = <0x40023800 0x400>;
    #clock-cells = <2>;
    #reset-cells = <1>;
    clocks = <&clk_hse>, <&clk_i2s_ckin>;
    st,syscfg = <&pwrcfg>;
    st,ssc-modfreq-hz = <10000>;
    st,ssc-moddepth-permyriad = <200>;
    st,ssc-modmethod = "center-spread";
};
clock-controller@58024400 {
    compatible = "st,stm32h743-rcc", "st,stm32-rcc";
    reg = <0x58024400 0x400>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    clocks = <&clk_hse>, <&clk_lse>, <&clk_i2s>;
    st,syscfg = <&pwrcfg>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 121: Reset and Clock Control Module node:

STMicroelectronics STM32MP1 Reset Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/st,stm32mp1-rcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Gabriel Fernandez <gabriel.fernandez@foss.st.com>"

The RCC IP is both a reset and a clock controller. RCC makes also power management (resume/supend and wakeup interrupt). Please also refer to reset.txt for common reset controller binding usage.

This binding uses common clock bindings Documentation/devicetree/bindings/clock/clock-bindings.txt

Specifying clocks =================

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/stm32mp1-clks.h header and can be used in device tree sources.

Specifying softreset control of devices =======================================

Device nodes should specify the reset channel required in their "resets" property, containing a phandle to the reset device node and an index specifying which channel to use. The index is the bit number within the RCC registers bank, starting from RCC base address. It is calculated as: index = register_offset / 4 * 32 + bit_offset. Where bit_offset is the bit offset within the register.

For example on STM32MP1, for LTDC reset:
   ltdc = APB4_RSTSETR_offset / 4 * 32 + LTDC_bit_offset
        = 0x180 / 4 * 32 + 0 = 3072

The list of valid indices for STM32MP1 is available in: include/dt-bindings/reset/stm32mp1-resets.h include/dt-bindings/reset/stm32mp13-resets.h

This file implements defines like: #define LTDC_R 3072

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "st,stm32mp1-rcc-secure", "st,stm32mp1-rcc", "st,stm32mp13-rcc"

Item 2

Exact value (const): "syscon"

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "#reset-cells", "compatible", "reg"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "st,stm32mp1-rcc-secure", "st,stm32mp13-rcc"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — required here #

Specifies oscillators.

Maximum number of items (maxItems): 5

clock-names — required here #

Array item rules (items)

Item 1

Exact value (const): "hse"

Item 2

Exact value (const): "hsi"

Item 3

Exact value (const): "csi"

Item 4

Exact value (const): "lse"

Item 5

Exact value (const): "lsi"

Required in this object (required): "clocks", "clock-names"

When the condition does not match (else) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Specifies the external RX clock for ethernet MAC.

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "ETH_RX_CLK/ETH_REF_CLK"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/stm32mp1-clks.h>
rcc: rcc@50000000 {
    compatible = "st,stm32mp1-rcc-secure", "syscon";
    reg = <0x50000000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    clock-names = "hse", "hsi", "csi", "lse", "lsi";
    clocks = <&scmi_clk CK_SCMI_HSE>,
             <&scmi_clk CK_SCMI_HSI>,
             <&scmi_clk CK_SCMI_CSI>,
             <&scmi_clk CK_SCMI_LSE>,
             <&scmi_clk CK_SCMI_LSI>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

STM32MP21 Reset Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/st,stm32mp21-rcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Gabriel Fernandez <gabriel.fernandez@foss.st.com>"

The RCC hardware block is both a reset and a clock controller. RCC makes also power management (resume/suspend).

See also:
  include/dt-bindings/clock/st,stm32mp21-rcc.h
  include/dt-bindings/reset/st,stm32mp21-rcc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "st,stm32mp21-rcc"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

CK_SCMI_HSE High Speed External oscillator (8 to 48 MHz)

Item 2

CK_SCMI_HSI High Speed Internal oscillator (~ 64 MHz)

Item 3

CK_SCMI_MSI Low Power Internal oscillator (~ 4 MHz or ~ 16 MHz)

Item 4

CK_SCMI_LSE Low Speed External oscillator (32 KHz)

Item 5

CK_SCMI_LSI Low Speed Internal oscillator (~ 32 KHz)

Item 6

CK_SCMI_HSE_DIV2 CK_SCMI_HSE divided by 2 (could be gated)

Item 7

CK_SCMI_ICN_HS_MCU High Speed interconnect bus clock

Item 8

CK_SCMI_ICN_LS_MCU Low Speed interconnect bus clock

Item 9

CK_SCMI_ICN_SDMMC SDMMC interconnect bus clock

Item 10

CK_SCMI_ICN_DDR DDR interconnect bus clock

Item 11

CK_SCMI_ICN_DISPLAY Display interconnect bus clock

Item 12

CK_SCMI_ICN_HSL HSL interconnect bus clock

Item 13

CK_SCMI_ICN_NIC NIC interconnect bus clock

Item 14

CK_SCMI_FLEXGEN_07 flexgen clock 7

Item 15

CK_SCMI_FLEXGEN_08 flexgen clock 8

Item 16

CK_SCMI_FLEXGEN_09 flexgen clock 9

Item 17

CK_SCMI_FLEXGEN_10 flexgen clock 10

Item 18

CK_SCMI_FLEXGEN_11 flexgen clock 11

Item 19

CK_SCMI_FLEXGEN_12 flexgen clock 12

Item 20

CK_SCMI_FLEXGEN_13 flexgen clock 13

Item 21

CK_SCMI_FLEXGEN_14 flexgen clock 14

Item 22

CK_SCMI_FLEXGEN_16 flexgen clock 16

Item 23

CK_SCMI_FLEXGEN_17 flexgen clock 17

Item 24

CK_SCMI_FLEXGEN_18 flexgen clock 18

Item 25

CK_SCMI_FLEXGEN_19 flexgen clock 19

Item 26

CK_SCMI_FLEXGEN_20 flexgen clock 20

Item 27

CK_SCMI_FLEXGEN_21 flexgen clock 21

Item 28

CK_SCMI_FLEXGEN_22 flexgen clock 22

Item 29

CK_SCMI_FLEXGEN_23 flexgen clock 23

Item 30

CK_SCMI_FLEXGEN_24 flexgen clock 24

Item 31

CK_SCMI_FLEXGEN_25 flexgen clock 25

Item 32

CK_SCMI_FLEXGEN_26 flexgen clock 26

Item 33

CK_SCMI_FLEXGEN_27 flexgen clock 27

Item 34

CK_SCMI_FLEXGEN_29 flexgen clock 29

Item 35

CK_SCMI_FLEXGEN_30 flexgen clock 30

Item 36

CK_SCMI_FLEXGEN_31 flexgen clock 31

Item 37

CK_SCMI_FLEXGEN_33 flexgen clock 33

Item 38

CK_SCMI_FLEXGEN_36 flexgen clock 36

Item 39

CK_SCMI_FLEXGEN_37 flexgen clock 37

Item 40

CK_SCMI_FLEXGEN_38 flexgen clock 38

Item 41

CK_SCMI_FLEXGEN_39 flexgen clock 39

Item 42

CK_SCMI_FLEXGEN_40 flexgen clock 40

Item 43

CK_SCMI_FLEXGEN_41 flexgen clock 41

Item 44

CK_SCMI_FLEXGEN_42 flexgen clock 42

Item 45

CK_SCMI_FLEXGEN_43 flexgen clock 43

Item 46

CK_SCMI_FLEXGEN_44 flexgen clock 44

Item 47

CK_SCMI_FLEXGEN_45 flexgen clock 45

Item 48

CK_SCMI_FLEXGEN_46 flexgen clock 46

Item 49

CK_SCMI_FLEXGEN_47 flexgen clock 47

Item 50

CK_SCMI_FLEXGEN_48 flexgen clock 48

Item 51

CK_SCMI_FLEXGEN_50 flexgen clock 50

Item 52

CK_SCMI_FLEXGEN_51 flexgen clock 51

Item 53

CK_SCMI_FLEXGEN_52 flexgen clock 52

Item 54

CK_SCMI_FLEXGEN_53 flexgen clock 53

Item 55

CK_SCMI_FLEXGEN_54 flexgen clock 54

Item 56

CK_SCMI_FLEXGEN_55 flexgen clock 55

Item 57

CK_SCMI_FLEXGEN_56 flexgen clock 56

Item 58

CK_SCMI_FLEXGEN_57 flexgen clock 57

Item 59

CK_SCMI_FLEXGEN_58 flexgen clock 58

Item 60

CK_SCMI_FLEXGEN_61 flexgen clock 61

Item 61

CK_SCMI_FLEXGEN_62 flexgen clock 62

Item 62

CK_SCMI_FLEXGEN_63 flexgen clock 63

Item 63

CK_SCMI_ICN_APB1 Peripheral bridge 1

Item 64

CK_SCMI_ICN_APB2 Peripheral bridge 2

Item 65

CK_SCMI_ICN_APB3 Peripheral bridge 3

Item 66

CK_SCMI_ICN_APB4 Peripheral bridge 4

Item 67

CK_SCMI_ICN_APB5 Peripheral bridge 5

Item 68

CK_SCMI_ICN_APBDBG Peripheral bridge for debug

Item 69

CK_SCMI_TIMG1 Peripheral bridge for timer1

Item 70

CK_SCMI_TIMG2 Peripheral bridge for timer2

access-controllers — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/st,stm32mp21-rcc.h>

clock-controller@44200000 {
    compatible = "st,stm32mp21-rcc";
    reg = <0x44200000 0x10000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    clocks =  <&scmi_clk CK_SCMI_HSE>,
              <&scmi_clk CK_SCMI_HSI>,
              <&scmi_clk CK_SCMI_MSI>,
              <&scmi_clk CK_SCMI_LSE>,
              <&scmi_clk CK_SCMI_LSI>,
              <&scmi_clk CK_SCMI_HSE_DIV2>,
              <&scmi_clk CK_SCMI_ICN_HS_MCU>,
              <&scmi_clk CK_SCMI_ICN_LS_MCU>,
              <&scmi_clk CK_SCMI_ICN_SDMMC>,
              <&scmi_clk CK_SCMI_ICN_DDR>,
              <&scmi_clk CK_SCMI_ICN_DISPLAY>,
              <&scmi_clk CK_SCMI_ICN_HSL>,
              <&scmi_clk CK_SCMI_ICN_NIC>,
              <&scmi_clk CK_SCMI_FLEXGEN_07>,
              <&scmi_clk CK_SCMI_FLEXGEN_08>,
              <&scmi_clk CK_SCMI_FLEXGEN_09>,
              <&scmi_clk CK_SCMI_FLEXGEN_10>,
              <&scmi_clk CK_SCMI_FLEXGEN_11>,
              <&scmi_clk CK_SCMI_FLEXGEN_12>,
              <&scmi_clk CK_SCMI_FLEXGEN_13>,
              <&scmi_clk CK_SCMI_FLEXGEN_14>,
              <&scmi_clk CK_SCMI_FLEXGEN_16>,
              <&scmi_clk CK_SCMI_FLEXGEN_17>,
              <&scmi_clk CK_SCMI_FLEXGEN_18>,
              <&scmi_clk CK_SCMI_FLEXGEN_19>,
              <&scmi_clk CK_SCMI_FLEXGEN_20>,
              <&scmi_clk CK_SCMI_FLEXGEN_21>,
              <&scmi_clk CK_SCMI_FLEXGEN_22>,
              <&scmi_clk CK_SCMI_FLEXGEN_23>,
              <&scmi_clk CK_SCMI_FLEXGEN_24>,
              <&scmi_clk CK_SCMI_FLEXGEN_25>,
              <&scmi_clk CK_SCMI_FLEXGEN_26>,
              <&scmi_clk CK_SCMI_FLEXGEN_27>,
              <&scmi_clk CK_SCMI_FLEXGEN_29>,
              <&scmi_clk CK_SCMI_FLEXGEN_30>,
              <&scmi_clk CK_SCMI_FLEXGEN_31>,
              <&scmi_clk CK_SCMI_FLEXGEN_33>,
              <&scmi_clk CK_SCMI_FLEXGEN_36>,
              <&scmi_clk CK_SCMI_FLEXGEN_37>,
              <&scmi_clk CK_SCMI_FLEXGEN_38>,
              <&scmi_clk CK_SCMI_FLEXGEN_39>,
              <&scmi_clk CK_SCMI_FLEXGEN_40>,
              <&scmi_clk CK_SCMI_FLEXGEN_41>,
              <&scmi_clk CK_SCMI_FLEXGEN_42>,
              <&scmi_clk CK_SCMI_FLEXGEN_43>,
              <&scmi_clk CK_SCMI_FLEXGEN_44>,
              <&scmi_clk CK_SCMI_FLEXGEN_45>,
              <&scmi_clk CK_SCMI_FLEXGEN_46>,
              <&scmi_clk CK_SCMI_FLEXGEN_47>,
              <&scmi_clk CK_SCMI_FLEXGEN_48>,
              <&scmi_clk CK_SCMI_FLEXGEN_50>,
              <&scmi_clk CK_SCMI_FLEXGEN_51>,
              <&scmi_clk CK_SCMI_FLEXGEN_52>,
              <&scmi_clk CK_SCMI_FLEXGEN_53>,
              <&scmi_clk CK_SCMI_FLEXGEN_54>,
              <&scmi_clk CK_SCMI_FLEXGEN_55>,
              <&scmi_clk CK_SCMI_FLEXGEN_56>,
              <&scmi_clk CK_SCMI_FLEXGEN_57>,
              <&scmi_clk CK_SCMI_FLEXGEN_58>,
              <&scmi_clk CK_SCMI_FLEXGEN_61>,
              <&scmi_clk CK_SCMI_FLEXGEN_62>,
              <&scmi_clk CK_SCMI_FLEXGEN_63>,
              <&scmi_clk CK_SCMI_ICN_APB1>,
              <&scmi_clk CK_SCMI_ICN_APB2>,
              <&scmi_clk CK_SCMI_ICN_APB3>,
              <&scmi_clk CK_SCMI_ICN_APB4>,
              <&scmi_clk CK_SCMI_ICN_APB5>,
              <&scmi_clk CK_SCMI_ICN_APBDBG>,
              <&scmi_clk CK_SCMI_TIMG1>,
              <&scmi_clk CK_SCMI_TIMG2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

STM32MP25 Reset Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/st,stm32mp25-rcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Gabriel Fernandez <gabriel.fernandez@foss.st.com>"

The RCC hardware block is both a reset and a clock controller. RCC makes also power management (resume/suspend).

See also:
  include/dt-bindings/clock/st,stm32mp25-rcc.h
  include/dt-bindings/reset/st,stm32mp25-rcc.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "st,stm32mp25-rcc"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

CK_SCMI_HSE High Speed External oscillator (8 to 48 MHz)

Item 2

CK_SCMI_HSI High Speed Internal oscillator (~ 64 MHz)

Item 3

CK_SCMI_MSI Low Power Internal oscillator (~ 4 MHz or ~ 16 MHz)

Item 4

CK_SCMI_LSE Low Speed External oscillator (32 KHz)

Item 5

CK_SCMI_LSI Low Speed Internal oscillator (~ 32 KHz)

Item 6

CK_SCMI_HSE_DIV2 CK_SCMI_HSE divided by 2 (could be gated)

Item 7

CK_SCMI_ICN_HS_MCU High Speed interconnect bus clock

Item 8

CK_SCMI_ICN_LS_MCU Low Speed interconnect bus clock

Item 9

CK_SCMI_ICN_SDMMC SDMMC interconnect bus clock

Item 10

CK_SCMI_ICN_DDR DDR interconnect bus clock

Item 11

CK_SCMI_ICN_DISPLAY Display interconnect bus clock

Item 12

CK_SCMI_ICN_HSL HSL interconnect bus clock

Item 13

CK_SCMI_ICN_NIC NIC interconnect bus clock

Item 14

CK_SCMI_ICN_VID Video interconnect bus clock

Item 15

CK_SCMI_FLEXGEN_07 flexgen clock 7

Item 16

CK_SCMI_FLEXGEN_08 flexgen clock 8

Item 17

CK_SCMI_FLEXGEN_09 flexgen clock 9

Item 18

CK_SCMI_FLEXGEN_10 flexgen clock 10

Item 19

CK_SCMI_FLEXGEN_11 flexgen clock 11

Item 20

CK_SCMI_FLEXGEN_12 flexgen clock 12

Item 21

CK_SCMI_FLEXGEN_13 flexgen clock 13

Item 22

CK_SCMI_FLEXGEN_14 flexgen clock 14

Item 23

CK_SCMI_FLEXGEN_15 flexgen clock 15

Item 24

CK_SCMI_FLEXGEN_16 flexgen clock 16

Item 25

CK_SCMI_FLEXGEN_17 flexgen clock 17

Item 26

CK_SCMI_FLEXGEN_18 flexgen clock 18

Item 27

CK_SCMI_FLEXGEN_19 flexgen clock 19

Item 28

CK_SCMI_FLEXGEN_20 flexgen clock 20

Item 29

CK_SCMI_FLEXGEN_21 flexgen clock 21

Item 30

CK_SCMI_FLEXGEN_22 flexgen clock 22

Item 31

CK_SCMI_FLEXGEN_23 flexgen clock 23

Item 32

CK_SCMI_FLEXGEN_24 flexgen clock 24

Item 33

CK_SCMI_FLEXGEN_25 flexgen clock 25

Item 34

CK_SCMI_FLEXGEN_26 flexgen clock 26

Item 35

CK_SCMI_FLEXGEN_27 flexgen clock 27

Item 36

CK_SCMI_FLEXGEN_28 flexgen clock 28

Item 37

CK_SCMI_FLEXGEN_29 flexgen clock 29

Item 38

CK_SCMI_FLEXGEN_30 flexgen clock 30

Item 39

CK_SCMI_FLEXGEN_31 flexgen clock 31

Item 40

CK_SCMI_FLEXGEN_32 flexgen clock 32

Item 41

CK_SCMI_FLEXGEN_33 flexgen clock 33

Item 42

CK_SCMI_FLEXGEN_34 flexgen clock 34

Item 43

CK_SCMI_FLEXGEN_35 flexgen clock 35

Item 44

CK_SCMI_FLEXGEN_36 flexgen clock 36

Item 45

CK_SCMI_FLEXGEN_37 flexgen clock 37

Item 46

CK_SCMI_FLEXGEN_38 flexgen clock 38

Item 47

CK_SCMI_FLEXGEN_39 flexgen clock 39

Item 48

CK_SCMI_FLEXGEN_40 flexgen clock 40

Item 49

CK_SCMI_FLEXGEN_41 flexgen clock 41

Item 50

CK_SCMI_FLEXGEN_42 flexgen clock 42

Item 51

CK_SCMI_FLEXGEN_43 flexgen clock 43

Item 52

CK_SCMI_FLEXGEN_44 flexgen clock 44

Item 53

CK_SCMI_FLEXGEN_45 flexgen clock 45

Item 54

CK_SCMI_FLEXGEN_46 flexgen clock 46

Item 55

CK_SCMI_FLEXGEN_47 flexgen clock 47

Item 56

CK_SCMI_FLEXGEN_48 flexgen clock 48

Item 57

CK_SCMI_FLEXGEN_49 flexgen clock 49

Item 58

CK_SCMI_FLEXGEN_50 flexgen clock 50

Item 59

CK_SCMI_FLEXGEN_51 flexgen clock 51

Item 60

CK_SCMI_FLEXGEN_52 flexgen clock 52

Item 61

CK_SCMI_FLEXGEN_53 flexgen clock 53

Item 62

CK_SCMI_FLEXGEN_54 flexgen clock 54

Item 63

CK_SCMI_FLEXGEN_55 flexgen clock 55

Item 64

CK_SCMI_FLEXGEN_56 flexgen clock 56

Item 65

CK_SCMI_FLEXGEN_57 flexgen clock 57

Item 66

CK_SCMI_FLEXGEN_58 flexgen clock 58

Item 67

CK_SCMI_FLEXGEN_59 flexgen clock 59

Item 68

CK_SCMI_FLEXGEN_60 flexgen clock 60

Item 69

CK_SCMI_FLEXGEN_61 flexgen clock 61

Item 70

CK_SCMI_FLEXGEN_62 flexgen clock 62

Item 71

CK_SCMI_FLEXGEN_63 flexgen clock 63

Item 72

CK_SCMI_ICN_APB1 Peripheral bridge 1

Item 73

CK_SCMI_ICN_APB2 Peripheral bridge 2

Item 74

CK_SCMI_ICN_APB3 Peripheral bridge 3

Item 75

CK_SCMI_ICN_APB4 Peripheral bridge 4

Item 76

CK_SCMI_ICN_APBDBG Peripheral bridge for debug

Item 77

CK_SCMI_TIMG1 Peripheral bridge for timer1

Item 78

CK_SCMI_TIMG2 Peripheral bridge for timer2

Item 79

CK_SCMI_PLL3 PLL3 clock

Item 80

clk_dsi_txbyte DSI byte clock

access-controllers — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/st,stm32mp25-rcc.h>

clock-controller@44200000 {
    compatible = "st,stm32mp25-rcc";
    reg = <0x44200000 0x10000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    clocks =  <&scmi_clk CK_SCMI_HSE>,
              <&scmi_clk CK_SCMI_HSI>,
              <&scmi_clk CK_SCMI_MSI>,
              <&scmi_clk CK_SCMI_LSE>,
              <&scmi_clk CK_SCMI_LSI>,
              <&scmi_clk CK_SCMI_HSE_DIV2>,
              <&scmi_clk CK_SCMI_ICN_HS_MCU>,
              <&scmi_clk CK_SCMI_ICN_LS_MCU>,
              <&scmi_clk CK_SCMI_ICN_SDMMC>,
              <&scmi_clk CK_SCMI_ICN_DDR>,
              <&scmi_clk CK_SCMI_ICN_DISPLAY>,
              <&scmi_clk CK_SCMI_ICN_HSL>,
              <&scmi_clk CK_SCMI_ICN_NIC>,
              <&scmi_clk CK_SCMI_ICN_VID>,
              <&scmi_clk CK_SCMI_FLEXGEN_07>,
              <&scmi_clk CK_SCMI_FLEXGEN_08>,
              <&scmi_clk CK_SCMI_FLEXGEN_09>,
              <&scmi_clk CK_SCMI_FLEXGEN_10>,
              <&scmi_clk CK_SCMI_FLEXGEN_11>,
              <&scmi_clk CK_SCMI_FLEXGEN_12>,
              <&scmi_clk CK_SCMI_FLEXGEN_13>,
              <&scmi_clk CK_SCMI_FLEXGEN_14>,
              <&scmi_clk CK_SCMI_FLEXGEN_15>,
              <&scmi_clk CK_SCMI_FLEXGEN_16>,
              <&scmi_clk CK_SCMI_FLEXGEN_17>,
              <&scmi_clk CK_SCMI_FLEXGEN_18>,
              <&scmi_clk CK_SCMI_FLEXGEN_19>,
              <&scmi_clk CK_SCMI_FLEXGEN_20>,
              <&scmi_clk CK_SCMI_FLEXGEN_21>,
              <&scmi_clk CK_SCMI_FLEXGEN_22>,
              <&scmi_clk CK_SCMI_FLEXGEN_23>,
              <&scmi_clk CK_SCMI_FLEXGEN_24>,
              <&scmi_clk CK_SCMI_FLEXGEN_25>,
              <&scmi_clk CK_SCMI_FLEXGEN_26>,
              <&scmi_clk CK_SCMI_FLEXGEN_27>,
              <&scmi_clk CK_SCMI_FLEXGEN_28>,
              <&scmi_clk CK_SCMI_FLEXGEN_29>,
              <&scmi_clk CK_SCMI_FLEXGEN_30>,
              <&scmi_clk CK_SCMI_FLEXGEN_31>,
              <&scmi_clk CK_SCMI_FLEXGEN_32>,
              <&scmi_clk CK_SCMI_FLEXGEN_33>,
              <&scmi_clk CK_SCMI_FLEXGEN_34>,
              <&scmi_clk CK_SCMI_FLEXGEN_35>,
              <&scmi_clk CK_SCMI_FLEXGEN_36>,
              <&scmi_clk CK_SCMI_FLEXGEN_37>,
              <&scmi_clk CK_SCMI_FLEXGEN_38>,
              <&scmi_clk CK_SCMI_FLEXGEN_39>,
              <&scmi_clk CK_SCMI_FLEXGEN_40>,
              <&scmi_clk CK_SCMI_FLEXGEN_41>,
              <&scmi_clk CK_SCMI_FLEXGEN_42>,
              <&scmi_clk CK_SCMI_FLEXGEN_43>,
              <&scmi_clk CK_SCMI_FLEXGEN_44>,
              <&scmi_clk CK_SCMI_FLEXGEN_45>,
              <&scmi_clk CK_SCMI_FLEXGEN_46>,
              <&scmi_clk CK_SCMI_FLEXGEN_47>,
              <&scmi_clk CK_SCMI_FLEXGEN_48>,
              <&scmi_clk CK_SCMI_FLEXGEN_49>,
              <&scmi_clk CK_SCMI_FLEXGEN_50>,
              <&scmi_clk CK_SCMI_FLEXGEN_51>,
              <&scmi_clk CK_SCMI_FLEXGEN_52>,
              <&scmi_clk CK_SCMI_FLEXGEN_53>,
              <&scmi_clk CK_SCMI_FLEXGEN_54>,
              <&scmi_clk CK_SCMI_FLEXGEN_55>,
              <&scmi_clk CK_SCMI_FLEXGEN_56>,
              <&scmi_clk CK_SCMI_FLEXGEN_57>,
              <&scmi_clk CK_SCMI_FLEXGEN_58>,
              <&scmi_clk CK_SCMI_FLEXGEN_59>,
              <&scmi_clk CK_SCMI_FLEXGEN_60>,
              <&scmi_clk CK_SCMI_FLEXGEN_61>,
              <&scmi_clk CK_SCMI_FLEXGEN_62>,
              <&scmi_clk CK_SCMI_FLEXGEN_63>,
              <&scmi_clk CK_SCMI_ICN_APB1>,
              <&scmi_clk CK_SCMI_ICN_APB2>,
              <&scmi_clk CK_SCMI_ICN_APB3>,
              <&scmi_clk CK_SCMI_ICN_APB4>,
              <&scmi_clk CK_SCMI_ICN_APBDBG>,
              <&scmi_clk CK_SCMI_TIMG1>,
              <&scmi_clk CK_SCMI_TIMG2>,
              <&scmi_clk CK_SCMI_PLL3>,
              <&clk_dsi_txbyte>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

StarFive JH7100 Audio Clock Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7100-audclk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Emil Renner Berthing <kernel@esmil.dk>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7100-audclk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Audio source clock

Item 2

External 12.288MHz clock

Item 3

Domain 7 AHB bus clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "audio_src"

Item 2

Exact value (const): "audio_12288"

Item 3

Exact value (const): "dom7ahb_bus"

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/starfive-jh7100-audio.h> for valid indices.

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/starfive-jh7100.h>

clock-controller@10480000 {
        compatible = "starfive,jh7100-audclk";
        reg = <0x10480000 0x10000>;
        clocks = <&clkgen JH7100_CLK_AUDIO_SRC>,
                 <&clkgen JH7100_CLK_AUDIO_12288>,
                 <&clkgen JH7100_CLK_DOM7AHB_BUS>;
        clock-names = "audio_src", "audio_12288", "dom7ahb_bus";
        #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

StarFive JH7100 Clock Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7100-clkgen.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Geert Uytterhoeven <geert@linux-m68k.org>", "Emil Renner Berthing <kernel@esmil.dk>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7100-clkgen"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Main clock source (25 MHz)

Item 2

Application-specific clock source (12-27 MHz)

Item 3

RMII reference clock (50 MHz)

Item 4

RGMII RX clock (125 MHz)

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "osc_sys"

Item 2

Exact value (const): "osc_aud"

Item 3

Exact value (const): "gmac_rmii_ref"

Item 4

Exact value (const): "gmac_gr_mii_rxclk"

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/starfive-jh7100.h> for valid indices.

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) #

clock-controller@11800000 {
        compatible = "starfive,jh7100-clkgen";
        reg = <0x11800000 0x10000>;
        clocks = <&osc_sys>, <&osc_aud>, <&gmac_rmii_ref>, <&gmac_gr_mii_rxclk>;
        clock-names = "osc_sys", "osc_aud", "gmac_rmii_ref", "gmac_gr_mii_rxclk";
        #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

StarFive JH7110 Always-On Clock and Reset Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7110-aoncrg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Emil Renner Berthing <kernel@esmil.dk>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7110-aoncrg"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Main Oscillator (24 MHz)

Item 2

GMAC0 RMII reference or GMAC0 RGMII RX

Item 3

STG AXI/AHB

Item 4

APB Bus

Item 5

GMAC0 GTX

Rule 2

Array item rules (items)

Item 1

Main Oscillator (24 MHz)

Item 2

GMAC0 RMII reference or GMAC0 RGMII RX

Item 3

STG AXI/AHB or GMAC0 RGMII RX

Item 4

APB Bus or STG AXI/AHB

Item 5

GMAC0 GTX or APB Bus

Item 6

RTC Oscillator (32.768 kHz) or GMAC0 GTX

Rule 3

Array item rules (items)

Item 1

Main Oscillator (24 MHz)

Item 2

GMAC0 RMII reference

Item 3

GMAC0 RGMII RX

Item 4

STG AXI/AHB

Item 5

APB Bus

Item 6

GMAC0 GTX

Item 7

RTC Oscillator (32.768 kHz)

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Minimum number of items (minItems): 5

Array item rules (items)

Item 1

Exact value (const): "osc"

Item 2

Allowed values (enum): "gmac0_rmii_refin", "gmac0_rgmii_rxin"

Item 3

Exact value (const): "stg_axiahb"

Item 4

Exact value (const): "apb_bus"

Item 5

Exact value (const): "gmac0_gtxclk"

Item 6

Exact value (const): "rtc_osc"

Rule 2

Minimum number of items (minItems): 6

Array item rules (items)

Item 1

Exact value (const): "osc"

Item 2

Exact value (const): "gmac0_rmii_refin"

Item 3

Exact value (const): "gmac0_rgmii_rxin"

Item 4

Exact value (const): "stg_axiahb"

Item 5

Exact value (const): "apb_bus"

Item 6

Exact value (const): "gmac0_gtxclk"

Item 7

Exact value (const): "rtc_osc"

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices.

#reset-cells — required here #

Exact value (const): 1

See <dt-bindings/reset/starfive,jh7110-crg.h> for valid indices.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/starfive,jh7110-crg.h>

clock-controller@17000000 {
    compatible = "starfive,jh7110-aoncrg";
    reg = <0x17000000 0x10000>;
    clocks = <&osc>, <&gmac0_rmii_refin>,
             <&gmac0_rgmii_rxin>,
             <&syscrg JH7110_SYSCLK_STG_AXIAHB>,
             <&syscrg JH7110_SYSCLK_APB_BUS>,
             <&syscrg JH7110_SYSCLK_GMAC0_GTXCLK>,
             <&rtc_osc>;
    clock-names = "osc", "gmac0_rmii_refin",
                  "gmac0_rgmii_rxin", "stg_axiahb",
                  "apb_bus", "gmac0_gtxclk",
                  "rtc_osc";
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

StarFive JH7110 Image-Signal-Process Clock and Reset Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7110-ispcrg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Xingyu Wu <xingyu.wu@starfivetech.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7110-ispcrg"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

ISP Top core

Item 2

ISP Top Axi

Item 3

NOC ISP Bus

Item 4

external DVP

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "isp_top_core"

Item 2

Exact value (const): "isp_top_axi"

Item 3

Exact value (const): "noc_bus_isp_axi"

Item 4

Exact value (const): "dvp_clk"

resets — required here #

Array item rules (items) #

Item 1

ISP Top core

Item 2

ISP Top Axi

Item 3

NOC ISP Bus

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices.

#reset-cells — required here #

Exact value (const): 1

See <dt-bindings/reset/starfive,jh7110-crg.h> for valid indices.

power-domains — required here #

Maximum number of items (maxItems): 1

ISP domain power

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "#clock-cells", "#reset-cells", "power-domains"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/starfive,jh7110-crg.h>
#include <dt-bindings/power/starfive,jh7110-pmu.h>
#include <dt-bindings/reset/starfive,jh7110-crg.h>

ispcrg: clock-controller@19810000 {
    compatible = "starfive,jh7110-ispcrg";
    reg = <0x19810000 0x10000>;
    clocks = <&syscrg JH7110_SYSCLK_ISP_TOP_CORE>,
             <&syscrg JH7110_SYSCLK_ISP_TOP_AXI>,
             <&syscrg JH7110_SYSCLK_NOC_BUS_ISP_AXI>,
             <&dvp_clk>;
    clock-names = "isp_top_core", "isp_top_axi",
                  "noc_bus_isp_axi", "dvp_clk";
    resets = <&syscrg JH7110_SYSRST_ISP_TOP>,
             <&syscrg JH7110_SYSRST_ISP_TOP_AXI>,
             <&syscrg JH7110_SYSRST_NOC_BUS_ISP_AXI>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    power-domains = <&pwrc JH7110_PD_ISP>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

StarFive JH7110 PLL Clock Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7110-pll.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

These PLLs are high speed, low jitter frequency synthesizers in the JH7110. Each PLL works in integer mode or fraction mode, with configuration registers in the sys syscon. So the PLLs node should be a child of SYS-SYSCON node. The formula for calculating frequency is Fvco = Fref * (NI + NF) / M / Q1

Maintainers (maintainers): "Xingyu Wu <xingyu.wu@starfivetech.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7110-pll"

clocks — required here #

Maximum number of items (maxItems): 1

Main Oscillator (24 MHz)

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices.

Required in this object (required): "compatible", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller {
  compatible = "starfive,jh7110-pll";
  clocks = <&osc>;
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

StarFive JH7110 System-Top-Group Clock and Reset Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7110-stgcrg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Xingyu Wu <xingyu.wu@starfivetech.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7110-stgcrg"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Main Oscillator (24 MHz)

Item 2

HIFI4 core

Item 3

STG AXI/AHB

Item 4

USB (125 MHz)

Item 5

CPU Bus

Item 6

HIFI4 Axi

Item 7

NOC STG Bus

Item 8

APB Bus

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "osc"

Item 2

Exact value (const): "hifi4_core"

Item 3

Exact value (const): "stg_axiahb"

Item 4

Exact value (const): "usb_125m"

Item 5

Exact value (const): "cpu_bus"

Item 6

Exact value (const): "hifi4_axi"

Item 7

Exact value (const): "nocstg_bus"

Item 8

Exact value (const): "apb_bus"

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices.

#reset-cells — required here #

Exact value (const): 1

See <dt-bindings/reset/starfive,jh7110-crg.h> for valid indices.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/starfive,jh7110-crg.h>

stgcrg: clock-controller@10230000 {
    compatible = "starfive,jh7110-stgcrg";
    reg = <0x10230000 0x10000>;
    clocks = <&osc>,
             <&syscrg JH7110_SYSCLK_HIFI4_CORE>,
             <&syscrg JH7110_SYSCLK_STG_AXIAHB>,
             <&syscrg JH7110_SYSCLK_USB_125M>,
             <&syscrg JH7110_SYSCLK_CPU_BUS>,
             <&syscrg JH7110_SYSCLK_HIFI4_AXI>,
             <&syscrg JH7110_SYSCLK_NOCSTG_BUS>,
             <&syscrg JH7110_SYSCLK_APB_BUS>;
    clock-names = "osc", "hifi4_core",
                  "stg_axiahb", "usb_125m",
                  "cpu_bus", "hifi4_axi",
                  "nocstg_bus", "apb_bus";
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

StarFive JH7110 System Clock and Reset Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7110-syscrg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Emil Renner Berthing <kernel@esmil.dk>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7110-syscrg"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Main Oscillator (24 MHz)

Item 2

GMAC1 RMII reference or GMAC1 RGMII RX

Item 3

External I2S TX bit clock

Item 4

External I2S TX left/right channel clock

Item 5

External I2S RX bit clock

Item 6

External I2S RX left/right channel clock

Item 7

External TDM clock

Item 8

External audio master clock

Item 9

PLL0

Item 10

PLL1

Item 11

PLL2

Rule 2

Array item rules (items)

Item 1

Main Oscillator (24 MHz)

Item 2

GMAC1 RMII reference

Item 3

GMAC1 RGMII RX

Item 4

External I2S TX bit clock

Item 5

External I2S TX left/right channel clock

Item 6

External I2S RX bit clock

Item 7

External I2S RX left/right channel clock

Item 8

External TDM clock

Item 9

External audio master clock

Item 10

PLL0

Item 11

PLL1

Item 12

PLL2

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "osc"

Item 2

Allowed values (enum): "gmac1_rmii_refin", "gmac1_rgmii_rxin"

Item 3

Exact value (const): "i2stx_bclk_ext"

Item 4

Exact value (const): "i2stx_lrck_ext"

Item 5

Exact value (const): "i2srx_bclk_ext"

Item 6

Exact value (const): "i2srx_lrck_ext"

Item 7

Exact value (const): "tdm_ext"

Item 8

Exact value (const): "mclk_ext"

Item 9

Exact value (const): "pll0_out"

Item 10

Exact value (const): "pll1_out"

Item 11

Exact value (const): "pll2_out"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "osc"

Item 2

Exact value (const): "gmac1_rmii_refin"

Item 3

Exact value (const): "gmac1_rgmii_rxin"

Item 4

Exact value (const): "i2stx_bclk_ext"

Item 5

Exact value (const): "i2stx_lrck_ext"

Item 6

Exact value (const): "i2srx_bclk_ext"

Item 7

Exact value (const): "i2srx_lrck_ext"

Item 8

Exact value (const): "tdm_ext"

Item 9

Exact value (const): "mclk_ext"

Item 10

Exact value (const): "pll0_out"

Item 11

Exact value (const): "pll1_out"

Item 12

Exact value (const): "pll2_out"

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices.

#reset-cells — required here #

Exact value (const): 1

See <dt-bindings/reset/starfive,jh7110-crg.h> for valid indices.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@13020000 {
    compatible = "starfive,jh7110-syscrg";
    reg = <0x13020000 0x10000>;
    clocks = <&osc>, <&gmac1_rmii_refin>,
             <&gmac1_rgmii_rxin>,
             <&i2stx_bclk_ext>, <&i2stx_lrck_ext>,
             <&i2srx_bclk_ext>, <&i2srx_lrck_ext>,
             <&tdm_ext>, <&mclk_ext>,
             <&pllclk 0>, <&pllclk 1>, <&pllclk 2>;
    clock-names = "osc", "gmac1_rmii_refin",
                  "gmac1_rgmii_rxin",
                  "i2stx_bclk_ext", "i2stx_lrck_ext",
                  "i2srx_bclk_ext", "i2srx_lrck_ext",
                  "tdm_ext", "mclk_ext",
                  "pll0_out", "pll1_out", "pll2_out";
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

StarFive JH7110 Video-Output Clock and Reset Generator

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7110-voutcrg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Xingyu Wu <xingyu.wu@starfivetech.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7110-voutcrg"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Vout Top core

Item 2

Vout Top Ahb

Item 3

Vout Top Axi

Item 4

Vout Top HDMI MCLK

Item 5

I2STX0 BCLK

Item 6

external HDMI pixel

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "vout_src"

Item 2

Exact value (const): "vout_top_ahb"

Item 3

Exact value (const): "vout_top_axi"

Item 4

Exact value (const): "vout_top_hdmitx0_mclk"

Item 5

Exact value (const): "i2stx0_bclk"

Item 6

Exact value (const): "hdmitx0_pixelclk"

resets — required here #

Maximum number of items (maxItems): 1

Vout Top core

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices.

#reset-cells — required here #

Exact value (const): 1

See <dt-bindings/reset/starfive,jh7110-crg.h> for valid indices.

power-domains — required here #

Maximum number of items (maxItems): 1

Vout domain power

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "#clock-cells", "#reset-cells", "power-domains"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/starfive,jh7110-crg.h>
#include <dt-bindings/power/starfive,jh7110-pmu.h>
#include <dt-bindings/reset/starfive,jh7110-crg.h>

voutcrg: clock-controller@295C0000 {
    compatible = "starfive,jh7110-voutcrg";
    reg = <0x295C0000 0x10000>;
    clocks = <&syscrg JH7110_SYSCLK_VOUT_SRC>,
             <&syscrg JH7110_SYSCLK_VOUT_TOP_AHB>,
             <&syscrg JH7110_SYSCLK_VOUT_TOP_AXI>,
             <&syscrg JH7110_SYSCLK_VOUT_TOP_HDMITX0_MCLK>,
             <&syscrg JH7110_SYSCLK_I2STX0_BCLK>,
             <&hdmitx0_pixelclk>;
    clock-names = "vout_src", "vout_top_ahb",
                  "vout_top_axi", "vout_top_hdmitx0_mclk",
                  "i2stx0_bclk", "hdmitx0_pixelclk";
    resets = <&syscrg JH7110_SYSRST_VOUT_TOP_SRC>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    power-domains = <&pwrc JH7110_PD_VOUT>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

ST-Ericsson DB8500 (U8500) clocks

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/stericsson,u8500-clks.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ulf Hansson <ulf.hansson@linaro.org>", "Linus Walleij <linusw@kernel.org>"

While named "U8500 clocks" these clocks are inside the DB8500 digital baseband system-on-chip and its siblings such as DB8520. These bindings consider the clocks present in the SoC itself, not off-chip clocks. There are four different on-chip clocks - RTC (32 kHz), CPU clock (SMP TWD), PRCMU (power reset and control management unit) clocks and PRCC (peripheral reset and clock controller) clocks. For some reason PRCC 4 does not exist so the itemization can be a bit unintuitive.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "stericsson,u8500-clks", "stericsson,u8540-clks", "stericsson,u9540-clks"

reg — required here #

Array item rules (items) #

Item 1

PRCC 1 register area

Item 2

PRCC 2 register area

Item 3

PRCC 3 register area

Item 4

PRCC 5 register area

Item 5

PRCC 6 register area

prcmu-clock — required here #

A subnode with one clock cell for PRCMU (power, reset, control management unit) clocks. The cell indicates which PRCMU clock in the prcmu-clock node the consumer wants to use.

Value type (type): "object"

Properties and child nodes (properties) #

#clock-cells — not listed as required here

Exact value (const): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

prcc-periph-clock — required here #

A subnode with two clock cells for PRCC (peripheral reset and clock controller) peripheral clocks. The first cell indicates which PRCC block the consumer wants to use, possible values are 1, 2, 3, 5, 6. The second cell indicates which clock inside the PRCC block it wants, possible values are 0 thru 31.

Value type (type): "object"

Properties and child nodes (properties) #

#clock-cells — not listed as required here

Exact value (const): 2

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

prcc-kernel-clock — required here #

A subnode with two clock cells for PRCC (peripheral reset and clock controller) kernel clocks. The first cell indicates which PRCC block the consumer wants to use, possible values are 1, 2, 3, 5, 6. The second cell indicates which clock inside the PRCC block it wants, possible values are 0 thru 31.

Value type (type): "object"

Properties and child nodes (properties) #

#clock-cells — not listed as required here

Exact value (const): 2

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

prcc-reset-controller — not listed as required here #

A subnode with two reset cells for the reset portions of the PRCC (peripheral reset and clock controller). The first cell indicates which PRCC block the consumer wants to use, possible values are 1, 2, 3 5 and 6. The second cell indicates which reset line inside the PRCC block it wants to control, possible values are 0 thru 31.

Value type (type): "object"

Properties and child nodes (properties) #

#reset-cells — not listed as required here

Exact value (const): 2

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

rtc32k-clock — required here #

A subnode with zero clock cells for the 32kHz RTC clock.

Value type (type): "object"

Properties and child nodes (properties) #

#clock-cells — not listed as required here

Exact value (const): 0

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

smp-twd-clock — required here #

A subnode for the ARM SMP Timer Watchdog cluster with zero clock cells.

Value type (type): "object"

Properties and child nodes (properties) #

#clock-cells — not listed as required here

Exact value (const): 0

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

clkout-clock — not listed as required here #

A subnode with three clock cells for externally routed clocks, output clocks. These are two PRCMU-internal clocks that can be divided and muxed out on the pads of the DB8500 SoC.

Value type (type): "object"

Properties and child nodes (properties) #

#clock-cells — not listed as required here

The first cell indicates which output clock we are using, possible values are 0 (CLKOUT1) and 1 (CLKOUT2). The second cell indicates which clock we want to use as source, possible values are 0 thru 7, see the defines for the different source clocks. The third cell is a divider, legal values are 1 thru 63.

Exact value (const): 3

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "prcmu-clock", "prcc-periph-clock", "prcc-kernel-clock", "rtc32k-clock", "smp-twd-clock"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/ste-db8500-clkout.h>
clocks@8012 {
  compatible = "stericsson,u8500-clks";
  reg = <0x8012f000 0x1000>, <0x8011f000 0x1000>,
        <0x8000f000 0x1000>, <0xa03ff000 0x1000>,
        <0xa03cf000 0x1000>;

  prcmu_clk: prcmu-clock {
    #clock-cells = <1>;
  };

  prcc_pclk: prcc-periph-clock {
    #clock-cells = <2>;
  };

  prcc_kclk: prcc-kernel-clock {
    #clock-cells = <2>;
  };

  prcc_reset: prcc-reset-controller {
    #reset-cells = <2>;
  };

  rtc_clk: rtc32k-clock {
    #clock-cells = <0>;
  };

  smp_twd_clk: smp-twd-clock {
    #clock-cells = <0>;
  };

  clkout_clk: clkout-clock {
    #clock-cells = <3>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Sunplus SP7021 SoC Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/sunplus,sp7021-clkc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Qin Jian <qinjian@cqplus1.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sunplus,sp7021-clkc"

reg — required here #

Maximum number of items (maxItems): 3

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

extclk: osc0 {
  compatible = "fixed-clock";
  #clock-cells = <0>;
  clock-frequency = <27000000>;
  clock-output-names = "extclk";
};

clkc: clock-controller@9c000004 {
  compatible = "sunplus,sp7021-clkc";
  reg = <0x9c000004 0x28>,
        <0x9c000200 0x44>,
        <0x9c000268 0x08>;
  clocks = <&extclk>;
  #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) Sunplus Co., Ltd. 2021

Tesla FSD (Full Self-Driving) SoC clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/tesla,fsd-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alim Akhtar <alim.akhtar@samsung.com>", "linux-fsd@tesla.com"

FSD clock controller consist of several clock management unit (CMU), which generates clocks for various internal SoC blocks. The root clock comes from external OSC clock (24 MHz).

All available clocks are defined as preprocessor macros in 'dt-bindings/clock/fsd-clk.h' header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "tesla,fsd-clock-cmu", "tesla,fsd-clock-imem", "tesla,fsd-clock-peric", "tesla,fsd-clock-fsys0", "tesla,fsd-clock-fsys1", "tesla,fsd-clock-mfc", "tesla,fsd-clock-cam_csi"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 6

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 6

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "tesla,fsd-clock-cmu"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "tesla,fsd-clock-imem"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24 MHz)

Item 2

IMEM TCU clock (from CMU_CMU)

Item 3

IMEM bus clock (from CMU_CMU)

Item 4

IMEM DMA clock (from CMU_CMU)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_cmu_imem_tcuclk"

Item 3

Exact value (const): "dout_cmu_imem_aclk"

Item 4

Exact value (const): "dout_cmu_imem_dmaclk"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "tesla,fsd-clock-peric"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24 MHz)

Item 2

Shared0 PLL div4 clock (from CMU_CMU)

Item 3

PERIC shared1 div36 clock (from CMU_CMU)

Item 4

PERIC shared0 div3 TBU clock (from CMU_CMU)

Item 5

PERIC shared0 div20 clock (from CMU_CMU)

Item 6

PERIC shared1 div4 DMAclock (from CMU_CMU)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_cmu_pll_shared0_div4"

Item 3

Exact value (const): "dout_cmu_peric_shared1div36"

Item 4

Exact value (const): "dout_cmu_peric_shared0div3_tbuclk"

Item 5

Exact value (const): "dout_cmu_peric_shared0div20"

Item 6

Exact value (const): "dout_cmu_peric_shared1div4_dmaclk"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "tesla,fsd-clock-fsys0"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24 MHz)

Item 2

Shared0 PLL div6 clock (from CMU_CMU)

Item 3

FSYS0 shared1 div4 clock (from CMU_CMU)

Item 4

FSYS0 shared0 div4 clock (from CMU_CMU)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_cmu_pll_shared0_div6"

Item 3

Exact value (const): "dout_cmu_fsys0_shared1div4"

Item 4

Exact value (const): "dout_cmu_fsys0_shared0div4"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "tesla,fsd-clock-fsys1"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24 MHz)

Item 2

FSYS1 shared0 div8 clock (from CMU_CMU)

Item 3

FSYS1 shared0 div4 clock (from CMU_CMU)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Item 2

Exact value (const): "dout_cmu_fsys1_shared0div8"

Item 3

Exact value (const): "dout_cmu_fsys1_shared0div4"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "tesla,fsd-clock-mfc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "tesla,fsd-clock-cam_csi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

External reference clock (24 MHz)

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "fin_pll"

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/fsd-clk.h>

clock_fsys1: clock-controller@16810000 {
      compatible = "tesla,fsd-clock-fsys1";
      reg = <0x16810000 0x3000>;
      #clock-cells = <1>;

      clocks = <&fin_pll>,
               <&clock_cmu DOUT_CMU_FSYS1_SHARED0DIV8>,
               <&clock_cmu DOUT_CMU_FSYS1_SHARED0DIV4>;
      clock-names = "fin_pll",
                    "dout_cmu_fsys1_shared0div8",
                    "dout_cmu_fsys1_shared0div4";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 181: Clock controller node for CMU_FSYS1

T-HEAD TH1520 AP sub-system clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/thead,th1520-clk-ap.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The T-HEAD TH1520 AP sub-system clock controller configures the CPU, DPU, GMAC and TEE PLLs. Additionally the VO subsystem configures the clock gates for the HDMI, MIPI and the GPU.

SoC reference manual https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf

Maintainers (maintainers): "Jisheng Zhang <jszhang@kernel.org>", "Wei Fu <wefu@redhat.com>", "Drew Fustini <dfustini@tenstorrent.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "thead,th1520-clk-ap", "thead,th1520-clk-vo"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

One input clock:
- For "thead,th1520-clk-ap": the clock input must be the 24 MHz
  main oscillator.
- For "thead,th1520-clk-vo": the clock input must be the VIDEO_PLL,
  which is configured by the AP clock controller. According to the
  TH1520 manual, VIDEO_PLL is a Silicon Creations Sigma-Delta PLL
  (integer PLL) typically running at 792 MHz (FOUTPOSTDIV), with
  a maximum FOUTVCO of 2376 MHz.

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/thead,th1520-clk-ap.h> for valid indices.

Required in this object (required): "compatible", "reg", "clocks", "#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/thead,th1520-clk-ap.h>
clock-controller@ef010000 {
    compatible = "thead,th1520-clk-ap";
    reg = <0xef010000 0x1000>;
    clocks = <&osc>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

TI Audio Reference Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti,am62-audio-refclk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jai Luthra <j-luthra@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "ti,am62-audio-refclk"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

audio_refclk0: clock@82e0 {
    compatible = "ti,am62-audio-refclk";
    reg = <0x82e0 0x4>;
    clocks = <&k3_clks 157 0>;
    assigned-clocks = <&k3_clks 157 0>;
    assigned-clock-parents = <&k3_clks 157 8>;
    #clock-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

TI EHRPWM Time Base Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti,am654-ehrpwm-tbclk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Vignesh Raghavendra <vigneshr@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "ti,am654-ehrpwm-tbclk", "ti,am64-epwm-tbclk", "ti,am62-epwm-tbclk"

#clock-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#clock-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

ehrpwm_tbclk: clock@4140 {
    compatible = "ti,am654-ehrpwm-tbclk";
    reg = <0x4140 0x18>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

TI CDCE913/925/937/949 programmable I2C clock synthesizers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti,cdce925.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexander Stein <alexander.stein@ew.tq-group.com>"

Flexible Low Power LVCMOS Clock Generator with SSC Support for EMI Reduction

- CDCE(L)913: 1-PLL, 3 Outputs https://www.ti.com/product/cdce913 - CDCE(L)925: 2-PLL, 5 Outputs https://www.ti.com/product/cdce925 - CDCE(L)937: 3-PLL, 7 Outputs https://www.ti.com/product/cdce937 - CDCE(L)949: 4-PLL, 9 Outputs https://www.ti.com/product/cdce949

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,cdce913", "ti,cdce925", "ti,cdce937", "ti,cdce949"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

fixed parent clock

#clock-cells — required here #

Exact value (const): 1

vdd-supply — not listed as required here #

Regulator that provides 1.8V Vdd power supply

vddout-supply — not listed as required here #

Regulator that provides Vddout power supply. non-L variant: 2.5V or 3.3V for L variant: 1.8V for

xtal-load-pf — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Crystal load-capacitor value to fine-tune performance on a board, or to compensate for external influences.

Properties matching a name pattern (patternProperties) #

^PLL[1-4]$ — name matches this regular expression #

Value type (type): "object"

optional child node can be used to specify spread spectrum clocking parameters for a board

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

spread-spectrum — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

SSC mode as defined in the data sheet

spread-spectrum-center — not listed as required here

Value type (type): "boolean"

Use "centered" mode instead of "max" mode. When present, the clock runs at the requested frequency on average. Otherwise the requested frequency is the maximum value of the SCC range.

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    cdce925: clock-controller@64 {
        compatible = "ti,cdce925";
        reg = <0x64>;
        clocks = <&xtal_27Mhz>;
        #clock-cells = <1>;
        xtal-load-pf = <5>;
        vdd-supply = <&reg_1v8>;
        vddout-supply = <&reg_3v3>;
        /* PLL options to get SSC 1% centered */
        PLL2 {
            spread-spectrum = <4>;
            spread-spectrum-center;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Texas Instruments clkctrl clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti,clkctrl.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>", "Andreas Kemnade <andreas@kemnade.info>"

Texas Instruments SoCs can have a clkctrl clock controller for each interconnect target module. The clkctrl clock controller manages functional and interface clocks for each module. Each clkctrl controller can also gate one or more optional functional clocks for a module, and can have one or more clock muxes. There is a clkctrl clock controller typically for each interconnect target module on omap4 and later variants.

The clock consumers can specify the index of the clkctrl clock using the hardware offset from the clkctrl instance register space. The optional clocks can be specified by clkctrl hardware offset and the index of the optional clock.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,clkctrl", "ti,clkctrl-l4-cfg", "ti,clkctrl-l4-per", "ti,clkctrl-l4-secure", "ti,clkctrl-l4-wkup"

#clock-cells — required here #

Exact value (const): 2

clock-output-names — required here #

Maximum number of items (maxItems): 1

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

Required in this object (required): "compatible", "#clock-cells", "clock-output-names", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus {
  #address-cells = <1>;
  #size-cells = <1>;

  clock@20 {
    compatible = "ti,clkctrl";
    clock-output-names = "l4_per";
    reg = <0x20 0x1b0>;
    #clock-cells = <2>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 43: arbitrary, should be enough

Texas Instruments LMK04832 Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti,lmk04832.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Liam Beguin <liambeguin@gmail.com>"

Devicetree binding for the LMK04832, a clock conditioner with JEDEC JESD204B support. The LMK04832 is pin compatible with the LMK0482x family.

Link to datasheet, https://www.ti.com/lit/ds/symlink/lmk04832.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,lmk04832"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

#clock-cells — required here #

Exact value (const): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 5000000

clocks — required here #

Array item rules (items) #

Item 1

PLL2 reference clock.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "oscin"

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

ti,spi-4wire-rdbk — not listed as required here #

Select SPI 4wire readback pin configuration.
Available readback pins are,
  CLKin_SEL0 0
  CLKin_SEL1 1
  RESET 2

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2

Default value (default): 1

ti,vco-hz — not listed as required here #

Optional to set VCO frequency of the PLL in Hertz.

ti,sysref-ddly — not listed as required here #

SYSREF digital delay value.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 8

Maximum value (maximum): 8191

Default value (default): 8

ti,sysref-mux — not listed as required here #

SYSREF Mux configuration.
Available options are,
  Normal SYNC 0
  Re-clocked 1
  SYSREF Pulser 2
  SYSREF Continuous 3

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

Default value (default): 3

ti,sync-mode — not listed as required here #

SYNC pin configuration.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2

Default value (default): 1

ti,sysref-pulse-count — not listed as required here #

Number of SYSREF pulses to send when SYSREF is not in continuous mode.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 4, 8

Default value (default): 4

Properties matching a name pattern (patternProperties) #

@[0-9a-d]+$ — name matches this regular expression #

Value type (type): "object"

Child nodes used to configure output clocks.

Properties and child nodes (properties) #

reg — required here

clock output identifier.

Minimum value (minimum): 0

Maximum value (maximum): 13

ti,clkout-fmt — not listed as required here

Clock output format. Available options are, Powerdown 0x00 LVDS 0x01 HSDS 6 mA 0x02 HSDS 8 mA 0x03 LVPECL 1600 mV 0x04 LVPECL 2000 mV 0x05 LCPECL 0x06 CML 16 mA 0x07 CML 24 mA 0x08 CML 32 mA 0x09 CMOS (Off/Inverted) 0x0a CMOS (Normal/Off) 0x0b CMOS (Inverted/Inverted) 0x0c CMOS (Inverted/Normal) 0x0d CMOS (Normal/Inverted) 0x0e CMOS (Normal/Normal) 0x0f

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 15

ti,clkout-sysref — not listed as required here

Select SYSREF clock path for output clock.

Value type (type): "boolean"

Required in this object (required): "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clocks {
    lmk04832_oscin: oscin {
        compatible = "fixed-clock";

        #clock-cells = <0>;
        clock-frequency = <122880000>;
        clock-output-names = "lmk04832-oscin";
    };
};

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    lmk04832: clock-controller@0 {
        #address-cells = <1>;
        #size-cells = <0>;

        reg = <0>;

        compatible = "ti,lmk04832";
        spi-max-frequency = <781250>;

        reset-gpios = <&gpio_lmk 0 0 0>;

        #clock-cells = <1>;
        clocks = <&lmk04832_oscin>;
        clock-names = "oscin";

        ti,spi-4wire-rdbk = <0>;
        ti,vco-hz = <2457600000>;

        assigned-clocks =
            <&lmk04832 0>, <&lmk04832 1>,
            <&lmk04832 2>, <&lmk04832 3>,
            <&lmk04832 4>,
            <&lmk04832 6>, <&lmk04832 7>,
            <&lmk04832 10>, <&lmk04832 11>;
        assigned-clock-rates =
            <122880000>, <384000>,
            <122880000>, <384000>,
            <122880000>,
            <153600000>, <384000>,
            <614400000>, <384000>;

        clkout0@0 {
            reg = <0>;
            ti,clkout-fmt = <0x01>; // LVDS
        };

        clkout1@1 {
            reg = <1>;
            ti,clkout-fmt = <0x01>; // LVDS
            ti,clkout-sysref;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

TI-SCI clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/ti,sci-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nishanth Menon <nm@ti.com>"

Some TI SoCs contain a system controller (like the Power Management Micro Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling the state of the various hardware modules present on the SoC. Communication between the host processor running an OS and the system controller happens through a protocol called TI System Control Interface (TI-SCI protocol).

This clock controller node uses the TI SCI protocol to perform various clock management of various hardware modules (devices) present on the SoC. This node must be a child node of the associated TI-SCI system controller node.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^clock-controller$"

compatible — not listed as required here #

Exact value (const): "ti,k2g-sci-clk"

#clock-cells — not listed as required here #

Exact value (const): 2

The two cells represent values that the TI-SCI controller defines. The first cell should contain the device ID. The second cell should contain the clock ID. Please see https://software-dl.ti.com/tisci/esd/latest/index.html for protocol documentation for the values to be used for different devices.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

k3_clks: clock-controller {
    compatible = "ti,k2g-sci-clk";
    #clock-cells = <2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Toshiba Visconti5 TMPV770X PLL Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/toshiba,tmpv770x-pipllct.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>"

Toshia Visconti5 PLL controller which supports the PLLs on TMPV770X.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "toshiba,tmpv7708-pipllct"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

External reference clock (OSC2)

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #


osc2_clk: osc2-clk {
  compatible = "fixed-clock";
  clock-frequency = <20000000>;
  #clock-cells = <0>;
};

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    pipllct: clock-controller@24220000 {
        compatible = "toshiba,tmpv7708-pipllct";
        reg = <0 0x24220000 0 0x820>;
        #clock-cells = <1>;
        clocks = <&osc2_clk>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Toshiba Visconti5 TMPV770x SMU controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/toshiba,tmpv770x-pismu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>"

Toshia Visconti5 SMU (System Management Unit) which supports the clock and resets on TMPV770x.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "toshiba,tmpv7708-pismu"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    pismu: syscon@24200000 {
        compatible = "toshiba,tmpv7708-pismu", "syscon";
        reg = <0 0x24200000 0 0x2140>;
        #clock-cells = <1>;
        #reset-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Xilinx clocking wizard

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/xlnx,clocking-wizard.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>"

The clocking wizard is a soft ip clocking block of Xilinx versal. It reads required input clock frequencies from the devicetree and acts as clock clock output.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "xlnx,clocking-wizard", "xlnx,clocking-wizard-v5.2", "xlnx,clocking-wizard-v6.0", "xlnx,versal-clk-wizard"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

clock input

Item 2

axi clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "clk_in1"

Item 2

Exact value (const): "s_axi_aclk"

xlnx,static-config — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicate whether the core has been configured without support for dynamic runtime reconfguration of the clocking primitive MMCM/PLL.

xlnx,speed-grade — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 3

Speed grade of the device. Higher the speed grade faster is the FPGA device.

xlnx,nr-outputs — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 1

Maximum value (maximum): 8

Number of outputs.

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names", "xlnx,speed-grade", "xlnx,nr-outputs"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@b0000000  {
    compatible = "xlnx,clocking-wizard";
    reg = <0xb0000000 0x10000>;
    #clock-cells = <1>;
    xlnx,static-config;
    xlnx,speed-grade = <1>;
    xlnx,nr-outputs = <6>;
    clock-names = "clk_in1", "s_axi_aclk";
    clocks = <&clkc 15>, <&clkc 15>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

LogicoreIP designed compatible with Xilinx ZYNQ family.

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/xlnx,vcu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Rohit Visavalia <rohit.visavalia@amd.com>"

LogicoreIP design to provide the isolation between processing system and programmable logic. Also provides the list of register set to configure the frequency.

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Allowed values (enum): "xlnx,vcu", "xlnx,vcu-logicoreip-1.0"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

pll ref clocksource

Item 2

aclk

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pll_ref"

Item 2

Exact value (const): "aclk"

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "reg", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
fpga {
    #address-cells = <2>;
    #size-cells = <2>;
    xlnx_vcu: vcu@a0040000 {
        compatible = "xlnx,vcu-logicoreip-1.0";
        reg = <0x0 0xa0040000 0x0 0x1000>;
        reset-gpios = <&gpio 78 GPIO_ACTIVE_HIGH>;
        clocks = <&si570_1>, <&clkc 71>;
        clock-names = "pll_ref", "aclk";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Xilinx Versal clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Clock bindings

Schema identifier ($id): "http://devicetree.org/schemas/clock/xlnx,versal-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"

The clock controller is a hardware block of Xilinx versal clock tree. It reads required input clock frequencies from the devicetree and acts as clock provider for all clock consumers of PS clocks.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "xlnx,versal-clk", "xlnx,zynqmp-clk"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "xlnx,versal-net-clk"

Item 2

Exact value (const): "xlnx,versal-clk"

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

List of clock specifiers which are external input clocks to the given clock controller.

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 8

clock-names — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 8

Required in this object (required): "compatible", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "xlnx,versal-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

reference clock

Item 2

alternate reference clock for programmable logic

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ref"

Item 2

Exact value (const): "pl_alt_ref"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "xlnx,versal-net-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

reference clock

Item 2

alternate reference clock for programmable logic

Item 3

alternate reference clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ref"

Item 2

Exact value (const): "pl_alt_ref"

Item 3

Exact value (const): "alt_ref"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "xlnx,zynqmp-clk"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 5

Array item rules (items)

Item 1

PS reference clock

Item 2

reference clock for video system

Item 3

alternative PS reference clock

Item 4

auxiliary reference clock

Item 5

transceiver reference clock

Item 6

(E)MIO clock source (Optional clock)

Item 7

GEM emio clock (Optional clock)

Item 8

Watchdog external clock (Optional clock)

clock-names — not listed as required here

Minimum number of items (minItems): 5

Array item rules (items)

Item 1

Exact value (const): "pss_ref_clk"

Item 2

Exact value (const): "video_clk"

Item 3

Exact value (const): "pss_alt_ref_clk"

Item 4

Exact value (const): "aux_ref_clk"

Item 5

Exact value (const): "gt_crx_ref_clk"

Item 6

String pattern (pattern): "^mio_clk[00-77]+.*$"

Item 7

String pattern (pattern): "gem[0-3]+_emio_clk.*$"

Item 8

String pattern (pattern): "swdt[0-1]+_ext_clk.*$"

Examples (examples) #

firmware {
  zynqmp_firmware: zynqmp-firmware {
    compatible = "xlnx,zynqmp-firmware";
    method = "smc";
    versal_clk: clock-controller {
      #clock-cells = <1>;
      compatible = "xlnx,versal-clk";
      clocks = <&ref>,  <&pl_alt_ref>;
      clock-names = "ref", "pl_alt_ref";
    };
  };
};

clock-controller {
    #clock-cells = <1>;
    compatible = "xlnx,zynqmp-clk";
    clocks = <&pss_ref_clk>, <&video_clk>, <&pss_alt_ref_clk>,
             <&aux_ref_clk>, <&gt_crx_ref_clk>;
    clock-names = "pss_ref_clk", "video_clk", "pss_alt_ref_clk",
                  "aux_ref_clk", "gt_crx_ref_clk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Peios Learn — documentation for Peios software.

Built with Trail.