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