xref: /linux/Documentation/devicetree/bindings/clock/mediatek,apmixedsys.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/mediatek,apmixedsys.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MediaTek AP Mixedsys Controller
8
9maintainers:
10  - Michael Turquette <mturquette@baylibre.com>
11  - Stephen Boyd <sboyd@kernel.org>
12
13description:
14  The Mediatek apmixedsys controller provides PLLs to the system.
15  The clock values can be found in <dt-bindings/clock/mt*-clk.h>
16  and <dt-bindings/clock/mediatek,mt*-apmixedsys.h>.
17
18properties:
19  compatible:
20    oneOf:
21      - enum:
22          - mediatek,mt6797-apmixedsys
23          - mediatek,mt7622-apmixedsys
24          - mediatek,mt7981-apmixedsys
25          - mediatek,mt7986-apmixedsys
26          - mediatek,mt7988-apmixedsys
27          - mediatek,mt8135-apmixedsys
28          - mediatek,mt8173-apmixedsys
29          - mediatek,mt8516-apmixedsys
30      - items:
31          - const: mediatek,mt7623-apmixedsys
32          - const: mediatek,mt2701-apmixedsys
33          - const: syscon
34      - items:
35          - enum:
36              - mediatek,mt2701-apmixedsys
37              - mediatek,mt2712-apmixedsys
38              - mediatek,mt6735-apmixedsys
39              - mediatek,mt6765-apmixedsys
40              - mediatek,mt6779-apmixed
41              - mediatek,mt6795-apmixedsys
42              - mediatek,mt7629-apmixedsys
43              - mediatek,mt8167-apmixedsys
44              - mediatek,mt8183-apmixedsys
45          - const: syscon
46
47  reg:
48    maxItems: 1
49
50  '#clock-cells':
51    const: 1
52
53required:
54  - compatible
55  - reg
56  - '#clock-cells'
57
58additionalProperties: false
59
60examples:
61  - |
62    apmixedsys: clock-controller@10209000 {
63        compatible = "mediatek,mt8173-apmixedsys";
64        reg = <0x10209000 0x1000>;
65        #clock-cells = <1>;
66    };
67