1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mmsys.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: MediaTek mmsys controller
8
9maintainers:
10  - Matthias Brugger <matthias.bgg@gmail.com>
11
12description:
13  The MediaTek mmsys system controller provides clock control, routing control,
14  and miscellaneous control in mmsys partition.
15
16properties:
17  $nodename:
18    pattern: "^syscon@[0-9a-f]+$"
19
20  compatible:
21    oneOf:
22      - items:
23          - enum:
24              - mediatek,mt2701-mmsys
25              - mediatek,mt2712-mmsys
26              - mediatek,mt6765-mmsys
27              - mediatek,mt6779-mmsys
28              - mediatek,mt6797-mmsys
29              - mediatek,mt8167-mmsys
30              - mediatek,mt8173-mmsys
31              - mediatek,mt8183-mmsys
32              - mediatek,mt8192-mmsys
33              - mediatek,mt8365-mmsys
34          - const: syscon
35      - items:
36          - const: mediatek,mt7623-mmsys
37          - const: mediatek,mt2701-mmsys
38          - const: syscon
39
40  reg:
41    maxItems: 1
42
43  "#clock-cells":
44    const: 1
45
46  '#reset-cells':
47    const: 1
48
49required:
50  - compatible
51  - reg
52  - "#clock-cells"
53
54additionalProperties: false
55
56examples:
57  - |
58    mmsys: syscon@14000000 {
59        compatible = "mediatek,mt8173-mmsys", "syscon";
60        reg = <0x14000000 0x1000>;
61        #clock-cells = <1>;
62        #reset-cells = <1>;
63    };
64