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

title: MOXA ART Clock Controllers

maintainers:
  - Krzysztof Kozlowski <krzk@kernel.org>

description:
  MOXA ART SoCs allow to determine PLL output and APB frequencies by reading
  registers holding multiplier and divisor information.

properties:
  compatible:
    enum:
      - moxa,moxart-apb-clock
      - moxa,moxart-pll-clock

  "#clock-cells":
    const: 0

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-output-names: true

additionalProperties: false

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