xref: /freebsd/sys/contrib/device-tree/Bindings/clock/spacemit,k1-pll.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/spacemit,k1-pll.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: SpacemiT K1 PLL
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Haylen Chu <heylenay@4d2.org>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotproperties:
13*ae5de77eSEmmanuel Vadot  compatible:
14*ae5de77eSEmmanuel Vadot    const: spacemit,k1-pll
15*ae5de77eSEmmanuel Vadot
16*ae5de77eSEmmanuel Vadot  reg:
17*ae5de77eSEmmanuel Vadot    maxItems: 1
18*ae5de77eSEmmanuel Vadot
19*ae5de77eSEmmanuel Vadot  clocks:
20*ae5de77eSEmmanuel Vadot    description: External 24MHz oscillator
21*ae5de77eSEmmanuel Vadot
22*ae5de77eSEmmanuel Vadot  spacemit,mpmu:
23*ae5de77eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
24*ae5de77eSEmmanuel Vadot    description:
25*ae5de77eSEmmanuel Vadot      Phandle to the "Main PMU (MPMU)" syscon. It is used to check PLL
26*ae5de77eSEmmanuel Vadot      lock status.
27*ae5de77eSEmmanuel Vadot
28*ae5de77eSEmmanuel Vadot  "#clock-cells":
29*ae5de77eSEmmanuel Vadot    const: 1
30*ae5de77eSEmmanuel Vadot    description:
31*ae5de77eSEmmanuel Vadot      See <dt-bindings/clock/spacemit,k1-syscon.h> for valid indices.
32*ae5de77eSEmmanuel Vadot
33*ae5de77eSEmmanuel Vadotrequired:
34*ae5de77eSEmmanuel Vadot  - compatible
35*ae5de77eSEmmanuel Vadot  - reg
36*ae5de77eSEmmanuel Vadot  - clocks
37*ae5de77eSEmmanuel Vadot  - spacemit,mpmu
38*ae5de77eSEmmanuel Vadot  - "#clock-cells"
39*ae5de77eSEmmanuel Vadot
40*ae5de77eSEmmanuel VadotadditionalProperties: false
41*ae5de77eSEmmanuel Vadot
42*ae5de77eSEmmanuel Vadotexamples:
43*ae5de77eSEmmanuel Vadot  - |
44*ae5de77eSEmmanuel Vadot    clock-controller@d4090000 {
45*ae5de77eSEmmanuel Vadot        compatible = "spacemit,k1-pll";
46*ae5de77eSEmmanuel Vadot        reg = <0xd4090000 0x1000>;
47*ae5de77eSEmmanuel Vadot        clocks = <&vctcxo_24m>;
48*ae5de77eSEmmanuel Vadot        spacemit,mpmu = <&sysctl_mpmu>;
49*ae5de77eSEmmanuel Vadot        #clock-cells = <1>;
50*ae5de77eSEmmanuel Vadot    };
51