xref: /freebsd/sys/contrib/device-tree/Bindings/arm/mediatek/mediatek,topckgen.txt (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
1c66ec88fSEmmanuel VadotMediatek topckgen controller
2c66ec88fSEmmanuel Vadot============================
3c66ec88fSEmmanuel Vadot
4c66ec88fSEmmanuel VadotThe Mediatek topckgen controller provides various clocks to the system.
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel VadotRequired Properties:
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadot- compatible: Should be one of:
9c66ec88fSEmmanuel Vadot	- "mediatek,mt2701-topckgen"
10c66ec88fSEmmanuel Vadot	- "mediatek,mt2712-topckgen", "syscon"
11c66ec88fSEmmanuel Vadot	- "mediatek,mt6765-topckgen", "syscon"
12c66ec88fSEmmanuel Vadot	- "mediatek,mt6779-topckgen", "syscon"
13c66ec88fSEmmanuel Vadot	- "mediatek,mt6797-topckgen"
14c66ec88fSEmmanuel Vadot	- "mediatek,mt7622-topckgen"
15c66ec88fSEmmanuel Vadot	- "mediatek,mt7623-topckgen", "mediatek,mt2701-topckgen"
16c66ec88fSEmmanuel Vadot	- "mediatek,mt7629-topckgen"
17*e67e8565SEmmanuel Vadot	- "mediatek,mt7986-topckgen", "syscon"
18c66ec88fSEmmanuel Vadot	- "mediatek,mt8135-topckgen"
196be33864SEmmanuel Vadot	- "mediatek,mt8167-topckgen", "syscon"
20c66ec88fSEmmanuel Vadot	- "mediatek,mt8173-topckgen"
21c66ec88fSEmmanuel Vadot	- "mediatek,mt8183-topckgen", "syscon"
22c66ec88fSEmmanuel Vadot	- "mediatek,mt8516-topckgen"
23c66ec88fSEmmanuel Vadot- #clock-cells: Must be 1
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel VadotThe topckgen controller uses the common clk binding from
26c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/clock/clock-bindings.txt
27c66ec88fSEmmanuel VadotThe available clocks are defined in dt-bindings/clock/mt*-clk.h.
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel VadotExample:
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadottopckgen: power-controller@10000000 {
32c66ec88fSEmmanuel Vadot	compatible = "mediatek,mt8173-topckgen";
33c66ec88fSEmmanuel Vadot	reg = <0 0x10000000 0 0x1000>;
34c66ec88fSEmmanuel Vadot	#clock-cells = <1>;
35c66ec88fSEmmanuel Vadot};
36