xref: /linux/Documentation/devicetree/bindings/clock/mediatek,syscon.yaml (revision 55d0969c451159cff86949b38c39171cab962069)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/mediatek,syscon.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MediaTek Clock controller syscon's
8
9maintainers:
10  - Matthias Brugger <matthias.bgg@gmail.com>
11  - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
12
13description:
14  The MediaTek clock controller syscon's provide various clocks to the system.
15
16properties:
17  compatible:
18    oneOf:
19      - items:
20          - enum:
21              - mediatek,mt2701-bdpsys
22              - mediatek,mt2701-imgsys
23              - mediatek,mt2701-vdecsys
24              - mediatek,mt2712-bdpsys
25              - mediatek,mt2712-imgsys
26              - mediatek,mt2712-jpgdecsys
27              - mediatek,mt2712-mcucfg
28              - mediatek,mt2712-mfgcfg
29              - mediatek,mt2712-vdecsys
30              - mediatek,mt2712-vencsys
31              - mediatek,mt6765-camsys
32              - mediatek,mt6765-imgsys
33              - mediatek,mt6765-mipi0a
34              - mediatek,mt6765-vcodecsys
35              - mediatek,mt6779-camsys
36              - mediatek,mt6779-imgsys
37              - mediatek,mt6779-ipesys
38              - mediatek,mt6779-mfgcfg
39              - mediatek,mt6779-vdecsys
40              - mediatek,mt6779-vencsys
41              - mediatek,mt6797-imgsys
42              - mediatek,mt6797-vdecsys
43              - mediatek,mt6797-vencsys
44              - mediatek,mt8167-imgsys
45              - mediatek,mt8167-mfgcfg
46              - mediatek,mt8167-vdecsys
47              - mediatek,mt8173-imgsys
48              - mediatek,mt8173-vdecsys
49              - mediatek,mt8173-vencltsys
50              - mediatek,mt8173-vencsys
51              - mediatek,mt8183-camsys
52              - mediatek,mt8183-imgsys
53              - mediatek,mt8183-ipu_conn
54              - mediatek,mt8183-ipu_adl
55              - mediatek,mt8183-ipu_core0
56              - mediatek,mt8183-ipu_core1
57              - mediatek,mt8183-mcucfg
58              - mediatek,mt8183-mfgcfg
59              - mediatek,mt8183-vdecsys
60              - mediatek,mt8183-vencsys
61          - const: syscon
62      - items:
63          - const: mediatek,mt7623-bdpsys
64          - const: mediatek,mt2701-bdpsys
65          - const: syscon
66      - items:
67          - const: mediatek,mt7623-imgsys
68          - const: mediatek,mt2701-imgsys
69          - const: syscon
70      - items:
71          - const: mediatek,mt7623-vdecsys
72          - const: mediatek,mt2701-vdecsys
73          - const: syscon
74
75  reg:
76    maxItems: 1
77
78  '#clock-cells':
79    const: 1
80
81required:
82  - compatible
83  - '#clock-cells'
84
85additionalProperties: false
86
87examples:
88  - |
89    clock-controller@11220000 {
90        compatible = "mediatek,mt2701-bdpsys", "syscon";
91        reg = <0x11220000 0x2000>;
92        #clock-cells = <1>;
93    };
94