2015-04-23 16:35:43 +08:00
|
|
|
Mediatek infracfg controller
|
|
|
|
============================
|
|
|
|
|
|
|
|
The Mediatek infracfg controller provides various clocks and reset
|
|
|
|
outputs to the system.
|
|
|
|
|
|
|
|
Required Properties:
|
|
|
|
|
2016-08-19 13:34:50 +08:00
|
|
|
- compatible: Should be one of:
|
|
|
|
- "mediatek,mt2701-infracfg", "syscon"
|
dt-bindings: ARM: Mediatek: Document bindings for MT2712
This patch adds the binding documentation for apmixedsys, bdpsys,
imgsys, imgsys, infracfg, mcucfg, mfgcfg, mmsys, pericfg, topckgen,
vdecsys and vencsys for Mediatek MT2712.
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2017-10-23 12:10:32 +08:00
|
|
|
- "mediatek,mt2712-infracfg", "syscon"
|
2017-04-08 09:20:28 +08:00
|
|
|
- "mediatek,mt6797-infracfg", "syscon"
|
2017-10-05 11:50:22 +08:00
|
|
|
- "mediatek,mt7622-infracfg", "syscon"
|
2015-04-23 16:35:43 +08:00
|
|
|
- "mediatek,mt8135-infracfg", "syscon"
|
|
|
|
- "mediatek,mt8173-infracfg", "syscon"
|
|
|
|
- #clock-cells: Must be 1
|
|
|
|
- #reset-cells: Must be 1
|
|
|
|
|
|
|
|
The infracfg controller uses the common clk binding from
|
|
|
|
Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
|
|
The available clocks are defined in dt-bindings/clock/mt*-clk.h.
|
|
|
|
Also it uses the common reset controller binding from
|
|
|
|
Documentation/devicetree/bindings/reset/reset.txt.
|
|
|
|
The available reset outputs are defined in
|
2015-11-20 19:42:44 +08:00
|
|
|
dt-bindings/reset/mt*-resets.h
|
2015-04-23 16:35:43 +08:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
2015-05-07 16:14:58 +08:00
|
|
|
infracfg: power-controller@10001000 {
|
2015-04-23 16:35:43 +08:00
|
|
|
compatible = "mediatek,mt8173-infracfg", "syscon";
|
|
|
|
reg = <0 0x10001000 0 0x1000>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
};
|