xref: /freebsd/sys/contrib/device-tree/Bindings/arm/mediatek/mediatek,mt8186-clock.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2d5b0e70fSEmmanuel Vadot%YAML 1.2
3d5b0e70fSEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt8186-clock.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6d5b0e70fSEmmanuel Vadot
7d5b0e70fSEmmanuel Vadottitle: MediaTek Functional Clock Controller for MT8186
8d5b0e70fSEmmanuel Vadot
9d5b0e70fSEmmanuel Vadotmaintainers:
10d5b0e70fSEmmanuel Vadot  - Chun-Jie Chen <chun-jie.chen@mediatek.com>
11d5b0e70fSEmmanuel Vadot
12d5b0e70fSEmmanuel Vadotdescription: |
13d5b0e70fSEmmanuel Vadot  The clock architecture in MediaTek like below
14d5b0e70fSEmmanuel Vadot  PLLs -->
15d5b0e70fSEmmanuel Vadot          dividers -->
16d5b0e70fSEmmanuel Vadot                      muxes
17d5b0e70fSEmmanuel Vadot                           -->
18d5b0e70fSEmmanuel Vadot                              clock gate
19d5b0e70fSEmmanuel Vadot
20d5b0e70fSEmmanuel Vadot  The devices provide clock gate control in different IP blocks.
21d5b0e70fSEmmanuel Vadot
22d5b0e70fSEmmanuel Vadotproperties:
23d5b0e70fSEmmanuel Vadot  compatible:
24d5b0e70fSEmmanuel Vadot    items:
25d5b0e70fSEmmanuel Vadot      - enum:
26d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-imp_iic_wrap
27d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-mfgsys
28d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-wpesys
29d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-imgsys1
30d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-imgsys2
31d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-vdecsys
32d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-vencsys
33d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-camsys
34d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-camsys_rawa
35d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-camsys_rawb
36d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-mdpsys
37d5b0e70fSEmmanuel Vadot          - mediatek,mt8186-ipesys
38d5b0e70fSEmmanuel Vadot  reg:
39d5b0e70fSEmmanuel Vadot    maxItems: 1
40d5b0e70fSEmmanuel Vadot
41d5b0e70fSEmmanuel Vadot  '#clock-cells':
42d5b0e70fSEmmanuel Vadot    const: 1
43d5b0e70fSEmmanuel Vadot
44d5b0e70fSEmmanuel Vadotrequired:
45d5b0e70fSEmmanuel Vadot  - compatible
46d5b0e70fSEmmanuel Vadot  - reg
47d5b0e70fSEmmanuel Vadot
48d5b0e70fSEmmanuel VadotadditionalProperties: false
49d5b0e70fSEmmanuel Vadot
50d5b0e70fSEmmanuel Vadotexamples:
51d5b0e70fSEmmanuel Vadot  - |
52d5b0e70fSEmmanuel Vadot    imp_iic_wrap: clock-controller@11017000 {
53d5b0e70fSEmmanuel Vadot        compatible = "mediatek,mt8186-imp_iic_wrap";
54d5b0e70fSEmmanuel Vadot        reg = <0x11017000 0x1000>;
55d5b0e70fSEmmanuel Vadot        #clock-cells = <1>;
56d5b0e70fSEmmanuel Vadot    };
57