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