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

title: Samsung SoC external/osc/XXTI/XusbXTI clock

maintainers:
  - Chanwoo Choi <cw00.choi@samsung.com>
  - Krzysztof Kozlowski <krzk@kernel.org>
  - Sylwester Nawrocki <s.nawrocki@samsung.com>
  - Tomasz Figa <tomasz.figa@gmail.com>

description: |
  Samsung SoCs require an external clock supplied through XXTI or XusbXTI pins.

properties:
  compatible:
    enum:
      - samsung,clock-xxti
      - samsung,clock-xusbxti
      - samsung,exynos5420-oscclk

  "#clock-cells":
    const: 0

  clock-frequency: true

  clock-output-names:
    maxItems: 1

required:
  - compatible
  - clock-frequency

additionalProperties: false

examples:
  - |
    fixed-rate-clocks {
        clock {
            compatible = "samsung,clock-xxti";
            clock-frequency = <24000000>;
        };
    };