# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/cirrus,ep7209-clk.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Cirrus Logic CLPS711X Clock Controller

maintainers:
  - Alexander Shiyan <shc_work@mail.ru>

description:
  See include/dt-bindings/clock/clps711x-clock.h for the full list of CLPS711X
  clock IDs.

properties:
  compatible:
    items:
      - const: cirrus,ep7312-clk
      - const: cirrus,ep7209-clk

  reg:
    maxItems: 1

  startup-frequency:
    description: Factory set CPU startup frequency in HZ.
    $ref: /schemas/types.yaml#/definitions/uint32

  "#clock-cells":
    const: 1

required:
  - compatible
  - reg
  - startup-frequency
  - "#clock-cells"

additionalProperties: false

examples:
  - |
    clock-controller@80000000 {
        compatible = "cirrus,ep7312-clk", "cirrus,ep7209-clk";
        reg = <0x80000000 0xc000>;
        #clock-cells = <1>;
        startup-frequency = <73728000>;
    };
