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

title: TI Audio Reference Clock

maintainers:
  - Jai Luthra <j-luthra@ti.com>

properties:
  compatible:
    items:
      - const: ti,am62-audio-refclk

  reg:
    maxItems: 1

  "#clock-cells":
    const: 0

  clocks:
    maxItems: 1

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

additionalProperties: false

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>;
    };
