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