18c2ecf20Sopenharmony_ciMediatek infracfg controller 28c2ecf20Sopenharmony_ci============================ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciThe Mediatek infracfg controller provides various clocks and reset 58c2ecf20Sopenharmony_cioutputs to the system. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciRequired Properties: 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci- compatible: Should be one of: 108c2ecf20Sopenharmony_ci - "mediatek,mt2701-infracfg", "syscon" 118c2ecf20Sopenharmony_ci - "mediatek,mt2712-infracfg", "syscon" 128c2ecf20Sopenharmony_ci - "mediatek,mt6765-infracfg", "syscon" 138c2ecf20Sopenharmony_ci - "mediatek,mt6779-infracfg_ao", "syscon" 148c2ecf20Sopenharmony_ci - "mediatek,mt6797-infracfg", "syscon" 158c2ecf20Sopenharmony_ci - "mediatek,mt7622-infracfg", "syscon" 168c2ecf20Sopenharmony_ci - "mediatek,mt7623-infracfg", "mediatek,mt2701-infracfg", "syscon" 178c2ecf20Sopenharmony_ci - "mediatek,mt7629-infracfg", "syscon" 188c2ecf20Sopenharmony_ci - "mediatek,mt8135-infracfg", "syscon" 198c2ecf20Sopenharmony_ci - "mediatek,mt8167-infracfg", "syscon" 208c2ecf20Sopenharmony_ci - "mediatek,mt8173-infracfg", "syscon" 218c2ecf20Sopenharmony_ci - "mediatek,mt8183-infracfg", "syscon" 228c2ecf20Sopenharmony_ci - "mediatek,mt8516-infracfg", "syscon" 238c2ecf20Sopenharmony_ci- #clock-cells: Must be 1 248c2ecf20Sopenharmony_ci- #reset-cells: Must be 1 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciThe infracfg controller uses the common clk binding from 278c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/clock/clock-bindings.txt 288c2ecf20Sopenharmony_ciThe available clocks are defined in dt-bindings/clock/mt*-clk.h. 298c2ecf20Sopenharmony_ciAlso it uses the common reset controller binding from 308c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/reset/reset.txt. 318c2ecf20Sopenharmony_ciThe available reset outputs are defined in 328c2ecf20Sopenharmony_cidt-bindings/reset/mt*-resets.h 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ciExample: 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ciinfracfg: power-controller@10001000 { 378c2ecf20Sopenharmony_ci compatible = "mediatek,mt8173-infracfg", "syscon"; 388c2ecf20Sopenharmony_ci reg = <0 0x10001000 0 0x1000>; 398c2ecf20Sopenharmony_ci #clock-cells = <1>; 408c2ecf20Sopenharmony_ci #reset-cells = <1>; 418c2ecf20Sopenharmony_ci}; 42