xref: /freebsd/sys/contrib/device-tree/Bindings/arm/mediatek/mediatek,mcucfg.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotMediatek mcucfg controller
2*c66ec88fSEmmanuel Vadot============================
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThe Mediatek mcucfg controller provides various clocks to the system.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired Properties:
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot- compatible: Should be one of:
9*c66ec88fSEmmanuel Vadot	- "mediatek,mt2712-mcucfg", "syscon"
10*c66ec88fSEmmanuel Vadot	- "mediatek,mt8183-mcucfg", "syscon"
11*c66ec88fSEmmanuel Vadot- #clock-cells: Must be 1
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotThe mcucfg controller uses the common clk binding from
14*c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/clock/clock-bindings.txt
15*c66ec88fSEmmanuel VadotThe available clocks are defined in dt-bindings/clock/mt*-clk.h.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExample:
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadotmcucfg: syscon@10220000 {
20*c66ec88fSEmmanuel Vadot	compatible = "mediatek,mt2712-mcucfg", "syscon";
21*c66ec88fSEmmanuel Vadot	reg = <0 0x10220000 0 0x1000>;
22*c66ec88fSEmmanuel Vadot	#clock-cells = <1>;
23*c66ec88fSEmmanuel Vadot};
24