xref: /freebsd/sys/contrib/device-tree/Bindings/clock/sophgo,sg2042-pll.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/sophgo,sg2042-pll.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Sophgo SG2042 PLL Clock Generator
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Chen Wang <unicorn_wang@outlook.com>
11*0e8011faSEmmanuel Vadot
12*0e8011faSEmmanuel Vadotproperties:
13*0e8011faSEmmanuel Vadot  compatible:
14*0e8011faSEmmanuel Vadot    const: sophgo,sg2042-pll
15*0e8011faSEmmanuel Vadot
16*0e8011faSEmmanuel Vadot  reg:
17*0e8011faSEmmanuel Vadot    maxItems: 1
18*0e8011faSEmmanuel Vadot
19*0e8011faSEmmanuel Vadot  clocks:
20*0e8011faSEmmanuel Vadot    items:
21*0e8011faSEmmanuel Vadot      - description: Oscillator(Clock Generation IC) for Main/Fixed PLL (25 MHz)
22*0e8011faSEmmanuel Vadot      - description: Oscillator(Clock Generation IC) for DDR PLL 0 (25 MHz)
23*0e8011faSEmmanuel Vadot      - description: Oscillator(Clock Generation IC) for DDR PLL 1 (25 MHz)
24*0e8011faSEmmanuel Vadot
25*0e8011faSEmmanuel Vadot  clock-names:
26*0e8011faSEmmanuel Vadot    items:
27*0e8011faSEmmanuel Vadot      - const: cgi_main
28*0e8011faSEmmanuel Vadot      - const: cgi_dpll0
29*0e8011faSEmmanuel Vadot      - const: cgi_dpll1
30*0e8011faSEmmanuel Vadot
31*0e8011faSEmmanuel Vadot  '#clock-cells':
32*0e8011faSEmmanuel Vadot    const: 1
33*0e8011faSEmmanuel Vadot    description:
34*0e8011faSEmmanuel Vadot      See <dt-bindings/clock/sophgo,sg2042-pll.h> for valid indices.
35*0e8011faSEmmanuel Vadot
36*0e8011faSEmmanuel Vadotrequired:
37*0e8011faSEmmanuel Vadot  - compatible
38*0e8011faSEmmanuel Vadot  - reg
39*0e8011faSEmmanuel Vadot  - clocks
40*0e8011faSEmmanuel Vadot  - clock-names
41*0e8011faSEmmanuel Vadot  - '#clock-cells'
42*0e8011faSEmmanuel Vadot
43*0e8011faSEmmanuel VadotadditionalProperties: false
44*0e8011faSEmmanuel Vadot
45*0e8011faSEmmanuel Vadotexamples:
46*0e8011faSEmmanuel Vadot  - |
47*0e8011faSEmmanuel Vadot    clock-controller@10000000 {
48*0e8011faSEmmanuel Vadot      compatible = "sophgo,sg2042-pll";
49*0e8011faSEmmanuel Vadot      reg = <0x10000000 0x10000>;
50*0e8011faSEmmanuel Vadot      clocks = <&cgi_main>, <&cgi_dpll0>, <&cgi_dpll1>;
51*0e8011faSEmmanuel Vadot      clock-names = "cgi_main", "cgi_dpll0", "cgi_dpll1";
52*0e8011faSEmmanuel Vadot      #clock-cells = <1>;
53*0e8011faSEmmanuel Vadot    };
54