xref: /freebsd/sys/contrib/device-tree/Bindings/clock/mstar,msc313-cpupll.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1*c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*c9ccf3a3SEmmanuel Vadot%YAML 1.2
3*c9ccf3a3SEmmanuel Vadot---
4*c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/mstar,msc313-cpupll.yaml#
5*c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c9ccf3a3SEmmanuel Vadot
7*c9ccf3a3SEmmanuel Vadottitle: MStar/Sigmastar MSC313 CPU PLL
8*c9ccf3a3SEmmanuel Vadot
9*c9ccf3a3SEmmanuel Vadotmaintainers:
10*c9ccf3a3SEmmanuel Vadot  - Daniel Palmer <daniel@thingy.jp>
11*c9ccf3a3SEmmanuel Vadot
12*c9ccf3a3SEmmanuel Vadotdescription: |
13*c9ccf3a3SEmmanuel Vadot  The MStar/SigmaStar MSC313 and later ARMv7 chips have a scalable
14*c9ccf3a3SEmmanuel Vadot  PLL that can be used as the clock source for the CPU(s).
15*c9ccf3a3SEmmanuel Vadot
16*c9ccf3a3SEmmanuel Vadotproperties:
17*c9ccf3a3SEmmanuel Vadot  compatible:
18*c9ccf3a3SEmmanuel Vadot    const: mstar,msc313-cpupll
19*c9ccf3a3SEmmanuel Vadot
20*c9ccf3a3SEmmanuel Vadot  "#clock-cells":
21*c9ccf3a3SEmmanuel Vadot    const: 1
22*c9ccf3a3SEmmanuel Vadot
23*c9ccf3a3SEmmanuel Vadot  clocks:
24*c9ccf3a3SEmmanuel Vadot    maxItems: 1
25*c9ccf3a3SEmmanuel Vadot
26*c9ccf3a3SEmmanuel Vadot  reg:
27*c9ccf3a3SEmmanuel Vadot    maxItems: 1
28*c9ccf3a3SEmmanuel Vadot
29*c9ccf3a3SEmmanuel Vadotrequired:
30*c9ccf3a3SEmmanuel Vadot  - compatible
31*c9ccf3a3SEmmanuel Vadot  - "#clock-cells"
32*c9ccf3a3SEmmanuel Vadot  - clocks
33*c9ccf3a3SEmmanuel Vadot  - reg
34*c9ccf3a3SEmmanuel Vadot
35*c9ccf3a3SEmmanuel VadotadditionalProperties: false
36*c9ccf3a3SEmmanuel Vadot
37*c9ccf3a3SEmmanuel Vadotexamples:
38*c9ccf3a3SEmmanuel Vadot  - |
39*c9ccf3a3SEmmanuel Vadot    #include <dt-bindings/clock/mstar-msc313-mpll.h>
40*c9ccf3a3SEmmanuel Vadot    cpupll: cpupll@206400 {
41*c9ccf3a3SEmmanuel Vadot        compatible = "mstar,msc313-cpupll";
42*c9ccf3a3SEmmanuel Vadot        reg = <0x206400 0x200>;
43*c9ccf3a3SEmmanuel Vadot        #clock-cells = <1>;
44*c9ccf3a3SEmmanuel Vadot        clocks = <&mpll MSTAR_MSC313_MPLL_DIV2>;
45*c9ccf3a3SEmmanuel Vadot    };
46