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