xref: /freebsd/sys/contrib/device-tree/Bindings/clock/mediatek,mt8365-sys-clock.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1*7ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*7ef62cebSEmmanuel Vadot%YAML 1.2
3*7ef62cebSEmmanuel Vadot---
4*7ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/mediatek,mt8365-sys-clock.yaml#
5*7ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*7ef62cebSEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: MediaTek System Clock Controller for MT8365
8*7ef62cebSEmmanuel Vadot
9*7ef62cebSEmmanuel Vadotmaintainers:
10*7ef62cebSEmmanuel Vadot  - Markus Schneider-Pargmann <msp@baylibre.com>
11*7ef62cebSEmmanuel Vadot
12*7ef62cebSEmmanuel Vadotdescription:
13*7ef62cebSEmmanuel Vadot  The apmixedsys module provides most of PLLs which generated from SoC 26m.
14*7ef62cebSEmmanuel Vadot  The topckgen provides dividers and muxes which provides the clock source to other IP blocks.
15*7ef62cebSEmmanuel Vadot  The infracfg_ao and pericfg_ao provides clock gate in peripheral and infrastructure IP blocks.
16*7ef62cebSEmmanuel Vadot
17*7ef62cebSEmmanuel Vadotproperties:
18*7ef62cebSEmmanuel Vadot  compatible:
19*7ef62cebSEmmanuel Vadot    items:
20*7ef62cebSEmmanuel Vadot      - enum:
21*7ef62cebSEmmanuel Vadot          - mediatek,mt8365-topckgen
22*7ef62cebSEmmanuel Vadot          - mediatek,mt8365-infracfg
23*7ef62cebSEmmanuel Vadot          - mediatek,mt8365-apmixedsys
24*7ef62cebSEmmanuel Vadot          - mediatek,mt8365-pericfg
25*7ef62cebSEmmanuel Vadot          - mediatek,mt8365-mcucfg
26*7ef62cebSEmmanuel Vadot      - const: syscon
27*7ef62cebSEmmanuel Vadot
28*7ef62cebSEmmanuel Vadot  reg:
29*7ef62cebSEmmanuel Vadot    maxItems: 1
30*7ef62cebSEmmanuel Vadot
31*7ef62cebSEmmanuel Vadot  '#clock-cells':
32*7ef62cebSEmmanuel Vadot    const: 1
33*7ef62cebSEmmanuel Vadot
34*7ef62cebSEmmanuel Vadotrequired:
35*7ef62cebSEmmanuel Vadot  - compatible
36*7ef62cebSEmmanuel Vadot  - reg
37*7ef62cebSEmmanuel Vadot  - '#clock-cells'
38*7ef62cebSEmmanuel Vadot
39*7ef62cebSEmmanuel VadotadditionalProperties: false
40*7ef62cebSEmmanuel Vadot
41*7ef62cebSEmmanuel Vadotexamples:
42*7ef62cebSEmmanuel Vadot  - |
43*7ef62cebSEmmanuel Vadot    topckgen: clock-controller@10000000 {
44*7ef62cebSEmmanuel Vadot        compatible = "mediatek,mt8365-topckgen", "syscon";
45*7ef62cebSEmmanuel Vadot        reg = <0x10000000 0x1000>;
46*7ef62cebSEmmanuel Vadot        #clock-cells = <1>;
47*7ef62cebSEmmanuel Vadot    };
48