zephyr/dts/bindings/clock/litex,clk.yaml
Fin Maaß de82190e13 drivers: clock_control: litex: remove redundant entry
remove litex,sys-clock-frequency from litex,clk,
because we already define that in the clock-frequency of cpu0.
This can be accessed via
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2024-07-12 05:49:01 -04:00

89 lines
2.0 KiB
YAML

# Copyright (c) 2020 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
include: [clock-controller.yaml, base.yaml]
description: |
LiteX Mixed Mode Clock Manager
Common clock driver with MMCM unit for dynamic reconfiguration
of up to 7 clock outputs with ability to change frequency, duty
cycle and phase offset
compatible: "litex,clk"
clock-cells:
- id
properties:
reg:
description: Base address and lengths of the register space
"#clock-cells":
required: true
const: 1
clock-output-names:
required: true
type: string-array
description: |
List of strings of clock output signal names indexed
by the first cell in the clock specifier.
litex,lock-timeout:
required: true
type: int
description: |
Number of ms to wait for MMCM to assert LOCK signal
litex,drdy-timeout:
required: true
type: int
description: |
Number of ms to wait for MMCM to assert DRDY signal
litex,divclk-divide-min:
required: true
type: int
description: |
minimal global divider
litex,divclk-divide-max:
required: true
type: int
description: |
maximal global divider
litex,clkfbout-mult-min:
required: true
type: int
description: |
minimal global multiplier
litex,clkfbout-mult-max:
required: true
type: int
description: |
maximal global multiplier
litex,vco-freq-min:
required: true
type: int
description: |
minimal frequency after global divider and multiplier
litex,vco-freq-max:
required: true
type: int
description: |
maximal frequency after global divider and multiplier
litex,clkout-divide-min:
required: true
type: int
description: |
minimal clock output divider
litex,clkout-divide-max:
required: true
type: int
description: |
maximal clock output divider
litex,vco-margin:
required: true
type: int
description: |
tolerancy for vco frequency
const: 0