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

title: Actions Semi Owl Clock Management Unit (CMU)

maintainers:
  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

description: |
  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:
  compatible:
    enum:
      - actions,s500-cmu
      - actions,s700-cmu
      - actions,s900-cmu

  reg:
    maxItems: 1

  clocks:
    items:
      - description: Host oscillator source
      - description: Internal low frequency oscillator source

  "#clock-cells":
    const: 1

  "#reset-cells":
    const: 1

required:
  - compatible
  - reg
  - clocks
  - "#clock-cells"
  - "#reset-cells"

additionalProperties: false

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