xref: /freebsd/sys/contrib/device-tree/Bindings/arm/mediatek/mediatek,mt8195-clock.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt8195-clock.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78cc087a1SEmmanuel Vadottitle: MediaTek Functional Clock Controller for MT8195
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
108cc087a1SEmmanuel Vadot  - Chun-Jie Chen <chun-jie.chen@mediatek.com>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription:
138cc087a1SEmmanuel Vadot  The clock architecture in Mediatek like below
148cc087a1SEmmanuel Vadot  PLLs -->
158cc087a1SEmmanuel Vadot          dividers -->
168cc087a1SEmmanuel Vadot                      muxes
178cc087a1SEmmanuel Vadot                           -->
188cc087a1SEmmanuel Vadot                              clock gate
198cc087a1SEmmanuel Vadot
208cc087a1SEmmanuel Vadot  The devices except apusys_pll provide clock gate control in different IP blocks.
218cc087a1SEmmanuel Vadot  The apusys_pll provides Plls which generated from SoC 26m for AI Processing Unit.
228cc087a1SEmmanuel Vadot
238cc087a1SEmmanuel Vadotproperties:
248cc087a1SEmmanuel Vadot  compatible:
258cc087a1SEmmanuel Vadot    items:
268cc087a1SEmmanuel Vadot      - enum:
278cc087a1SEmmanuel Vadot          - mediatek,mt8195-scp_adsp
288cc087a1SEmmanuel Vadot          - mediatek,mt8195-imp_iic_wrap_s
298cc087a1SEmmanuel Vadot          - mediatek,mt8195-imp_iic_wrap_w
308cc087a1SEmmanuel Vadot          - mediatek,mt8195-mfgcfg
318cc087a1SEmmanuel Vadot          - mediatek,mt8195-wpesys
328cc087a1SEmmanuel Vadot          - mediatek,mt8195-wpesys_vpp0
338cc087a1SEmmanuel Vadot          - mediatek,mt8195-wpesys_vpp1
348cc087a1SEmmanuel Vadot          - mediatek,mt8195-imgsys
358cc087a1SEmmanuel Vadot          - mediatek,mt8195-imgsys1_dip_top
368cc087a1SEmmanuel Vadot          - mediatek,mt8195-imgsys1_dip_nr
378cc087a1SEmmanuel Vadot          - mediatek,mt8195-imgsys1_wpe
388cc087a1SEmmanuel Vadot          - mediatek,mt8195-ipesys
398cc087a1SEmmanuel Vadot          - mediatek,mt8195-camsys
408cc087a1SEmmanuel Vadot          - mediatek,mt8195-camsys_rawa
418cc087a1SEmmanuel Vadot          - mediatek,mt8195-camsys_yuva
428cc087a1SEmmanuel Vadot          - mediatek,mt8195-camsys_rawb
438cc087a1SEmmanuel Vadot          - mediatek,mt8195-camsys_yuvb
448cc087a1SEmmanuel Vadot          - mediatek,mt8195-camsys_mraw
458cc087a1SEmmanuel Vadot          - mediatek,mt8195-ccusys
468cc087a1SEmmanuel Vadot          - mediatek,mt8195-vdecsys_soc
478cc087a1SEmmanuel Vadot          - mediatek,mt8195-vdecsys
488cc087a1SEmmanuel Vadot          - mediatek,mt8195-vdecsys_core1
498cc087a1SEmmanuel Vadot          - mediatek,mt8195-vencsys
508cc087a1SEmmanuel Vadot          - mediatek,mt8195-vencsys_core1
518cc087a1SEmmanuel Vadot          - mediatek,mt8195-apusys_pll
528cc087a1SEmmanuel Vadot  reg:
538cc087a1SEmmanuel Vadot    maxItems: 1
548cc087a1SEmmanuel Vadot
558cc087a1SEmmanuel Vadot  '#clock-cells':
568cc087a1SEmmanuel Vadot    const: 1
578cc087a1SEmmanuel Vadot
588cc087a1SEmmanuel Vadotrequired:
598cc087a1SEmmanuel Vadot  - compatible
608cc087a1SEmmanuel Vadot  - reg
618cc087a1SEmmanuel Vadot
628cc087a1SEmmanuel VadotadditionalProperties: false
638cc087a1SEmmanuel Vadot
648cc087a1SEmmanuel Vadotexamples:
658cc087a1SEmmanuel Vadot  - |
668cc087a1SEmmanuel Vadot    scp_adsp: clock-controller@10720000 {
678cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-scp_adsp";
688cc087a1SEmmanuel Vadot        reg = <0x10720000 0x1000>;
698cc087a1SEmmanuel Vadot        #clock-cells = <1>;
708cc087a1SEmmanuel Vadot    };
718cc087a1SEmmanuel Vadot
728cc087a1SEmmanuel Vadot  - |
738cc087a1SEmmanuel Vadot    imp_iic_wrap_s: clock-controller@11d03000 {
748cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-imp_iic_wrap_s";
758cc087a1SEmmanuel Vadot        reg = <0x11d03000 0x1000>;
768cc087a1SEmmanuel Vadot        #clock-cells = <1>;
778cc087a1SEmmanuel Vadot    };
788cc087a1SEmmanuel Vadot
798cc087a1SEmmanuel Vadot  - |
808cc087a1SEmmanuel Vadot    imp_iic_wrap_w: clock-controller@11e05000 {
818cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-imp_iic_wrap_w";
828cc087a1SEmmanuel Vadot        reg = <0x11e05000 0x1000>;
838cc087a1SEmmanuel Vadot        #clock-cells = <1>;
848cc087a1SEmmanuel Vadot    };
858cc087a1SEmmanuel Vadot
868cc087a1SEmmanuel Vadot  - |
878cc087a1SEmmanuel Vadot    mfgcfg: clock-controller@13fbf000 {
888cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-mfgcfg";
898cc087a1SEmmanuel Vadot        reg = <0x13fbf000 0x1000>;
908cc087a1SEmmanuel Vadot        #clock-cells = <1>;
918cc087a1SEmmanuel Vadot    };
928cc087a1SEmmanuel Vadot
938cc087a1SEmmanuel Vadot  - |
948cc087a1SEmmanuel Vadot    wpesys: clock-controller@14e00000 {
958cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-wpesys";
968cc087a1SEmmanuel Vadot        reg = <0x14e00000 0x1000>;
978cc087a1SEmmanuel Vadot        #clock-cells = <1>;
988cc087a1SEmmanuel Vadot    };
998cc087a1SEmmanuel Vadot
1008cc087a1SEmmanuel Vadot  - |
1018cc087a1SEmmanuel Vadot    wpesys_vpp0: clock-controller@14e02000 {
1028cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-wpesys_vpp0";
1038cc087a1SEmmanuel Vadot        reg = <0x14e02000 0x1000>;
1048cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1058cc087a1SEmmanuel Vadot    };
1068cc087a1SEmmanuel Vadot
1078cc087a1SEmmanuel Vadot  - |
1088cc087a1SEmmanuel Vadot    wpesys_vpp1: clock-controller@14e03000 {
1098cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-wpesys_vpp1";
1108cc087a1SEmmanuel Vadot        reg = <0x14e03000 0x1000>;
1118cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1128cc087a1SEmmanuel Vadot    };
1138cc087a1SEmmanuel Vadot
1148cc087a1SEmmanuel Vadot  - |
1158cc087a1SEmmanuel Vadot    imgsys: clock-controller@15000000 {
1168cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-imgsys";
1178cc087a1SEmmanuel Vadot        reg = <0x15000000 0x1000>;
1188cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1198cc087a1SEmmanuel Vadot    };
1208cc087a1SEmmanuel Vadot
1218cc087a1SEmmanuel Vadot  - |
1228cc087a1SEmmanuel Vadot    imgsys1_dip_top: clock-controller@15110000 {
1238cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-imgsys1_dip_top";
1248cc087a1SEmmanuel Vadot        reg = <0x15110000 0x1000>;
1258cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1268cc087a1SEmmanuel Vadot    };
1278cc087a1SEmmanuel Vadot
1288cc087a1SEmmanuel Vadot  - |
1298cc087a1SEmmanuel Vadot    imgsys1_dip_nr: clock-controller@15130000 {
1308cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-imgsys1_dip_nr";
1318cc087a1SEmmanuel Vadot        reg = <0x15130000 0x1000>;
1328cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1338cc087a1SEmmanuel Vadot    };
1348cc087a1SEmmanuel Vadot
1358cc087a1SEmmanuel Vadot  - |
1368cc087a1SEmmanuel Vadot    imgsys1_wpe: clock-controller@15220000 {
1378cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-imgsys1_wpe";
1388cc087a1SEmmanuel Vadot        reg = <0x15220000 0x1000>;
1398cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1408cc087a1SEmmanuel Vadot    };
1418cc087a1SEmmanuel Vadot
1428cc087a1SEmmanuel Vadot  - |
1438cc087a1SEmmanuel Vadot    ipesys: clock-controller@15330000 {
1448cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-ipesys";
1458cc087a1SEmmanuel Vadot        reg = <0x15330000 0x1000>;
1468cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1478cc087a1SEmmanuel Vadot    };
1488cc087a1SEmmanuel Vadot
1498cc087a1SEmmanuel Vadot  - |
1508cc087a1SEmmanuel Vadot    camsys: clock-controller@16000000 {
1518cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-camsys";
1528cc087a1SEmmanuel Vadot        reg = <0x16000000 0x1000>;
1538cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1548cc087a1SEmmanuel Vadot    };
1558cc087a1SEmmanuel Vadot
1568cc087a1SEmmanuel Vadot  - |
1578cc087a1SEmmanuel Vadot    camsys_rawa: clock-controller@1604f000 {
1588cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-camsys_rawa";
1598cc087a1SEmmanuel Vadot        reg = <0x1604f000 0x1000>;
1608cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1618cc087a1SEmmanuel Vadot    };
1628cc087a1SEmmanuel Vadot
1638cc087a1SEmmanuel Vadot  - |
1648cc087a1SEmmanuel Vadot    camsys_yuva: clock-controller@1606f000 {
1658cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-camsys_yuva";
1668cc087a1SEmmanuel Vadot        reg = <0x1606f000 0x1000>;
1678cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1688cc087a1SEmmanuel Vadot    };
1698cc087a1SEmmanuel Vadot
1708cc087a1SEmmanuel Vadot  - |
1718cc087a1SEmmanuel Vadot    camsys_rawb: clock-controller@1608f000 {
1728cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-camsys_rawb";
1738cc087a1SEmmanuel Vadot        reg = <0x1608f000 0x1000>;
1748cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1758cc087a1SEmmanuel Vadot    };
1768cc087a1SEmmanuel Vadot
1778cc087a1SEmmanuel Vadot  - |
1788cc087a1SEmmanuel Vadot    camsys_yuvb: clock-controller@160af000 {
1798cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-camsys_yuvb";
1808cc087a1SEmmanuel Vadot        reg = <0x160af000 0x1000>;
1818cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1828cc087a1SEmmanuel Vadot    };
1838cc087a1SEmmanuel Vadot
1848cc087a1SEmmanuel Vadot  - |
1858cc087a1SEmmanuel Vadot    camsys_mraw: clock-controller@16140000 {
1868cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-camsys_mraw";
1878cc087a1SEmmanuel Vadot        reg = <0x16140000 0x1000>;
1888cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1898cc087a1SEmmanuel Vadot    };
1908cc087a1SEmmanuel Vadot
1918cc087a1SEmmanuel Vadot  - |
1928cc087a1SEmmanuel Vadot    ccusys: clock-controller@17200000 {
1938cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-ccusys";
1948cc087a1SEmmanuel Vadot        reg = <0x17200000 0x1000>;
1958cc087a1SEmmanuel Vadot        #clock-cells = <1>;
1968cc087a1SEmmanuel Vadot    };
1978cc087a1SEmmanuel Vadot
1988cc087a1SEmmanuel Vadot  - |
1998cc087a1SEmmanuel Vadot    vdecsys_soc: clock-controller@1800f000 {
2008cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-vdecsys_soc";
2018cc087a1SEmmanuel Vadot        reg = <0x1800f000 0x1000>;
2028cc087a1SEmmanuel Vadot        #clock-cells = <1>;
2038cc087a1SEmmanuel Vadot    };
2048cc087a1SEmmanuel Vadot
2058cc087a1SEmmanuel Vadot  - |
2068cc087a1SEmmanuel Vadot    vdecsys: clock-controller@1802f000 {
2078cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-vdecsys";
2088cc087a1SEmmanuel Vadot        reg = <0x1802f000 0x1000>;
2098cc087a1SEmmanuel Vadot        #clock-cells = <1>;
2108cc087a1SEmmanuel Vadot    };
2118cc087a1SEmmanuel Vadot
2128cc087a1SEmmanuel Vadot  - |
2138cc087a1SEmmanuel Vadot    vdecsys_core1: clock-controller@1803f000 {
2148cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-vdecsys_core1";
2158cc087a1SEmmanuel Vadot        reg = <0x1803f000 0x1000>;
2168cc087a1SEmmanuel Vadot        #clock-cells = <1>;
2178cc087a1SEmmanuel Vadot    };
2188cc087a1SEmmanuel Vadot
2198cc087a1SEmmanuel Vadot  - |
2208cc087a1SEmmanuel Vadot    vencsys: clock-controller@1a000000 {
2218cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-vencsys";
2228cc087a1SEmmanuel Vadot        reg = <0x1a000000 0x1000>;
2238cc087a1SEmmanuel Vadot        #clock-cells = <1>;
2248cc087a1SEmmanuel Vadot    };
2258cc087a1SEmmanuel Vadot
2268cc087a1SEmmanuel Vadot  - |
2278cc087a1SEmmanuel Vadot    vencsys_core1: clock-controller@1b000000 {
2288cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-vencsys_core1";
2298cc087a1SEmmanuel Vadot        reg = <0x1b000000 0x1000>;
2308cc087a1SEmmanuel Vadot        #clock-cells = <1>;
2318cc087a1SEmmanuel Vadot    };
2328cc087a1SEmmanuel Vadot
2338cc087a1SEmmanuel Vadot  - |
2348cc087a1SEmmanuel Vadot    apusys_pll: clock-controller@190f3000 {
2358cc087a1SEmmanuel Vadot        compatible = "mediatek,mt8195-apusys_pll";
2368cc087a1SEmmanuel Vadot        reg = <0x190f3000 0x1000>;
2378cc087a1SEmmanuel Vadot        #clock-cells = <1>;
2388cc087a1SEmmanuel Vadot    };
239