1*4882a593SmuzhiyunMediatek topckgen controller 2*4882a593Smuzhiyun============================ 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunThe Mediatek topckgen controller provides various clocks to the system. 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunRequired Properties: 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun- compatible: Should be one of: 9*4882a593Smuzhiyun - "mediatek,mt2701-topckgen" 10*4882a593Smuzhiyun - "mediatek,mt2712-topckgen", "syscon" 11*4882a593Smuzhiyun - "mediatek,mt6765-topckgen", "syscon" 12*4882a593Smuzhiyun - "mediatek,mt6779-topckgen", "syscon" 13*4882a593Smuzhiyun - "mediatek,mt6797-topckgen" 14*4882a593Smuzhiyun - "mediatek,mt7622-topckgen" 15*4882a593Smuzhiyun - "mediatek,mt7623-topckgen", "mediatek,mt2701-topckgen" 16*4882a593Smuzhiyun - "mediatek,mt7629-topckgen" 17*4882a593Smuzhiyun - "mediatek,mt8135-topckgen" 18*4882a593Smuzhiyun - "mediatek,mt8167-topckgen", "syscon" 19*4882a593Smuzhiyun - "mediatek,mt8173-topckgen" 20*4882a593Smuzhiyun - "mediatek,mt8183-topckgen", "syscon" 21*4882a593Smuzhiyun - "mediatek,mt8516-topckgen" 22*4882a593Smuzhiyun- #clock-cells: Must be 1 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunThe topckgen controller uses the common clk binding from 25*4882a593SmuzhiyunDocumentation/devicetree/bindings/clock/clock-bindings.txt 26*4882a593SmuzhiyunThe available clocks are defined in dt-bindings/clock/mt*-clk.h. 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunExample: 29*4882a593Smuzhiyun 30*4882a593Smuzhiyuntopckgen: power-controller@10000000 { 31*4882a593Smuzhiyun compatible = "mediatek,mt8173-topckgen"; 32*4882a593Smuzhiyun reg = <0 0x10000000 0 0x1000>; 33*4882a593Smuzhiyun #clock-cells = <1>; 34*4882a593Smuzhiyun}; 35