xref: /freebsd/sys/contrib/device-tree/Bindings/arm/mediatek/mediatek,mt8192-sys-clock.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2354d7675SEmmanuel Vadot%YAML 1.2
3354d7675SEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt8192-sys-clock.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7354d7675SEmmanuel Vadottitle: MediaTek System Clock Controller for MT8192
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10354d7675SEmmanuel Vadot  - Chun-Jie Chen <chun-jie.chen@mediatek.com>
11354d7675SEmmanuel Vadot
12354d7675SEmmanuel Vadotdescription:
13354d7675SEmmanuel Vadot  The Mediatek system clock controller provides various clocks and system configuration
14354d7675SEmmanuel Vadot  like reset and bus protection on MT8192.
15354d7675SEmmanuel Vadot
16354d7675SEmmanuel Vadotproperties:
17354d7675SEmmanuel Vadot  compatible:
18354d7675SEmmanuel Vadot    items:
19354d7675SEmmanuel Vadot      - enum:
20354d7675SEmmanuel Vadot          - mediatek,mt8192-topckgen
21354d7675SEmmanuel Vadot          - mediatek,mt8192-infracfg
22354d7675SEmmanuel Vadot          - mediatek,mt8192-pericfg
23354d7675SEmmanuel Vadot          - mediatek,mt8192-apmixedsys
24354d7675SEmmanuel Vadot      - const: syscon
25354d7675SEmmanuel Vadot
26354d7675SEmmanuel Vadot  reg:
27354d7675SEmmanuel Vadot    maxItems: 1
28354d7675SEmmanuel Vadot
29354d7675SEmmanuel Vadot  '#clock-cells':
30354d7675SEmmanuel Vadot    const: 1
31354d7675SEmmanuel Vadot
32b97ee269SEmmanuel Vadot  '#reset-cells':
33b97ee269SEmmanuel Vadot    const: 1
34b97ee269SEmmanuel Vadot
35354d7675SEmmanuel Vadotrequired:
36354d7675SEmmanuel Vadot  - compatible
37354d7675SEmmanuel Vadot  - reg
38354d7675SEmmanuel Vadot
39354d7675SEmmanuel VadotadditionalProperties: false
40354d7675SEmmanuel Vadot
41354d7675SEmmanuel Vadotexamples:
42354d7675SEmmanuel Vadot  - |
43354d7675SEmmanuel Vadot    topckgen: syscon@10000000 {
44354d7675SEmmanuel Vadot        compatible = "mediatek,mt8192-topckgen", "syscon";
45354d7675SEmmanuel Vadot        reg = <0x10000000 0x1000>;
46354d7675SEmmanuel Vadot        #clock-cells = <1>;
47354d7675SEmmanuel Vadot    };
48354d7675SEmmanuel Vadot
49354d7675SEmmanuel Vadot  - |
50354d7675SEmmanuel Vadot    infracfg: syscon@10001000 {
51354d7675SEmmanuel Vadot        compatible = "mediatek,mt8192-infracfg", "syscon";
52354d7675SEmmanuel Vadot        reg = <0x10001000 0x1000>;
53354d7675SEmmanuel Vadot        #clock-cells = <1>;
54354d7675SEmmanuel Vadot    };
55354d7675SEmmanuel Vadot
56354d7675SEmmanuel Vadot  - |
57354d7675SEmmanuel Vadot    pericfg: syscon@10003000 {
58354d7675SEmmanuel Vadot        compatible = "mediatek,mt8192-pericfg", "syscon";
59354d7675SEmmanuel Vadot        reg = <0x10003000 0x1000>;
60354d7675SEmmanuel Vadot        #clock-cells = <1>;
61354d7675SEmmanuel Vadot    };
62354d7675SEmmanuel Vadot
63354d7675SEmmanuel Vadot  - |
64354d7675SEmmanuel Vadot    apmixedsys: syscon@1000c000 {
65354d7675SEmmanuel Vadot        compatible = "mediatek,mt8192-apmixedsys", "syscon";
66354d7675SEmmanuel Vadot        reg = <0x1000c000 0x1000>;
67354d7675SEmmanuel Vadot        #clock-cells = <1>;
68354d7675SEmmanuel Vadot    };
69