# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

description: |
  Nordic Global HSFLL clock.

  The lowest supported clock frequency is the default
  clock frequency.

  Example:

    global_hsfll: global_hsfll {
            compatible = "nordic,nrf-hsfll-global";
            clocks = <&fll16>;
            #clock-cells = <0>;
            clock-frequency = <320000000>;
            supported-clock-frequencies = <64000000
                                           128000000
                                           256000000
                                           320000000>;
    };

compatible: "nordic,nrf-hsfll-global"

include:
  - "base.yaml"
  - "clock-controller.yaml"

properties:
  clocks:
    required: true

  "#clock-cells":
    const: 0

  supported-clock-frequencies:
    type: array
    description: Supported clock frequencies in ascending order

  clock-frequency:
    type: int
    description: |
      Optional fixed frequency specified if used in fixed
      frequency mode.
