xref: /freebsd/sys/contrib/device-tree/Bindings/clock/amlogic,c3-pll-clkc.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
10e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
20e8011faSEmmanuel Vadot# Copyright (C) 2022-2023 Amlogic, Inc. All rights reserved
30e8011faSEmmanuel Vadot%YAML 1.2
40e8011faSEmmanuel Vadot---
50e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/amlogic,c3-pll-clkc.yaml#
60e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
70e8011faSEmmanuel Vadot
80e8011faSEmmanuel Vadottitle: Amlogic C3 series PLL Clock Controller
90e8011faSEmmanuel Vadot
100e8011faSEmmanuel Vadotmaintainers:
110e8011faSEmmanuel Vadot  - Neil Armstrong <neil.armstrong@linaro.org>
120e8011faSEmmanuel Vadot  - Jerome Brunet <jbrunet@baylibre.com>
130e8011faSEmmanuel Vadot  - Chuan Liu <chuan.liu@amlogic.com>
140e8011faSEmmanuel Vadot  - Xianwei Zhao <xianwei.zhao@amlogic.com>
150e8011faSEmmanuel Vadot
160e8011faSEmmanuel Vadotproperties:
170e8011faSEmmanuel Vadot  compatible:
180e8011faSEmmanuel Vadot    const: amlogic,c3-pll-clkc
190e8011faSEmmanuel Vadot
200e8011faSEmmanuel Vadot  reg:
210e8011faSEmmanuel Vadot    maxItems: 1
220e8011faSEmmanuel Vadot
230e8011faSEmmanuel Vadot  clocks:
240e8011faSEmmanuel Vadot    items:
250e8011faSEmmanuel Vadot      - description: input top pll
260e8011faSEmmanuel Vadot      - description: input mclk pll
27*b2d2a78aSEmmanuel Vadot      - description: input fix pll
280e8011faSEmmanuel Vadot
290e8011faSEmmanuel Vadot  clock-names:
300e8011faSEmmanuel Vadot    items:
310e8011faSEmmanuel Vadot      - const: top
320e8011faSEmmanuel Vadot      - const: mclk
33*b2d2a78aSEmmanuel Vadot      - const: fix
340e8011faSEmmanuel Vadot
350e8011faSEmmanuel Vadot  "#clock-cells":
360e8011faSEmmanuel Vadot    const: 1
370e8011faSEmmanuel Vadot
380e8011faSEmmanuel Vadotrequired:
390e8011faSEmmanuel Vadot  - compatible
400e8011faSEmmanuel Vadot  - reg
410e8011faSEmmanuel Vadot  - clocks
420e8011faSEmmanuel Vadot  - clock-names
430e8011faSEmmanuel Vadot  - "#clock-cells"
440e8011faSEmmanuel Vadot
450e8011faSEmmanuel VadotadditionalProperties: false
460e8011faSEmmanuel Vadot
470e8011faSEmmanuel Vadotexamples:
480e8011faSEmmanuel Vadot  - |
490e8011faSEmmanuel Vadot    apb {
500e8011faSEmmanuel Vadot        #address-cells = <2>;
510e8011faSEmmanuel Vadot        #size-cells = <2>;
520e8011faSEmmanuel Vadot
530e8011faSEmmanuel Vadot        clock-controller@8000 {
540e8011faSEmmanuel Vadot            compatible = "amlogic,c3-pll-clkc";
550e8011faSEmmanuel Vadot            reg = <0x0 0x8000 0x0 0x1a4>;
560e8011faSEmmanuel Vadot            clocks = <&scmi_clk 2>,
57*b2d2a78aSEmmanuel Vadot                     <&scmi_clk 5>,
58*b2d2a78aSEmmanuel Vadot                     <&scmi_clk 12>;
59*b2d2a78aSEmmanuel Vadot            clock-names = "top", "mclk", "fix";
600e8011faSEmmanuel Vadot            #clock-cells = <1>;
610e8011faSEmmanuel Vadot        };
620e8011faSEmmanuel Vadot    };
63