xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/nuvoton,ma35d1-clk.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*f126890aSEmmanuel Vadot%YAML 1.2
3*f126890aSEmmanuel Vadot---
4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/nuvoton,ma35d1-clk.yaml#
5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadottitle: Nuvoton MA35D1 Clock Controller Module
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadotmaintainers:
10*f126890aSEmmanuel Vadot  - Chi-Fang Li <cfli0@nuvoton.com>
11*f126890aSEmmanuel Vadot  - Jacky Huang <ychuang3@nuvoton.com>
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadotdescription: |
14*f126890aSEmmanuel Vadot  The MA35D1 clock controller generates clocks for the whole chip,
15*f126890aSEmmanuel Vadot  including system clocks and all peripheral clocks.
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot  See also:
18*f126890aSEmmanuel Vadot    include/dt-bindings/clock/ma35d1-clk.h
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadotproperties:
21*f126890aSEmmanuel Vadot  compatible:
22*f126890aSEmmanuel Vadot    items:
23*f126890aSEmmanuel Vadot      - const: nuvoton,ma35d1-clk
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot  reg:
26*f126890aSEmmanuel Vadot    maxItems: 1
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot  "#clock-cells":
29*f126890aSEmmanuel Vadot    const: 1
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot  clocks:
32*f126890aSEmmanuel Vadot    maxItems: 1
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot  nuvoton,pll-mode:
35*f126890aSEmmanuel Vadot    description:
36*f126890aSEmmanuel Vadot      A list of PLL operation mode corresponding to CAPLL, DDRPLL, APLL,
37*f126890aSEmmanuel Vadot      EPLL, and VPLL in sequential.
38*f126890aSEmmanuel Vadot    maxItems: 5
39*f126890aSEmmanuel Vadot    items:
40*f126890aSEmmanuel Vadot      enum:
41*f126890aSEmmanuel Vadot        - integer
42*f126890aSEmmanuel Vadot        - fractional
43*f126890aSEmmanuel Vadot        - spread-spectrum
44*f126890aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/non-unique-string-array
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadotrequired:
47*f126890aSEmmanuel Vadot  - compatible
48*f126890aSEmmanuel Vadot  - reg
49*f126890aSEmmanuel Vadot  - "#clock-cells"
50*f126890aSEmmanuel Vadot  - clocks
51*f126890aSEmmanuel Vadot
52*f126890aSEmmanuel VadotadditionalProperties: false
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadotexamples:
55*f126890aSEmmanuel Vadot  - |
56*f126890aSEmmanuel Vadot
57*f126890aSEmmanuel Vadot    clock-controller@40460200 {
58*f126890aSEmmanuel Vadot        compatible = "nuvoton,ma35d1-clk";
59*f126890aSEmmanuel Vadot        reg = <0x40460200 0x100>;
60*f126890aSEmmanuel Vadot        #clock-cells = <1>;
61*f126890aSEmmanuel Vadot        clocks = <&clk_hxt>;
62*f126890aSEmmanuel Vadot    };
63*f126890aSEmmanuel Vadot...
64