2015-04-23 15:35:43 +07:00
|
|
|
Mediatek pericfg controller
|
|
|
|
===========================
|
|
|
|
|
|
|
|
The Mediatek pericfg controller provides various clocks and reset
|
|
|
|
outputs to the system.
|
|
|
|
|
|
|
|
Required Properties:
|
|
|
|
|
2016-08-19 12:34:50 +07:00
|
|
|
- compatible: Should be one of:
|
|
|
|
- "mediatek,mt2701-pericfg", "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 11:10:32 +07:00
|
|
|
- "mediatek,mt2712-pericfg", "syscon"
|
2015-04-23 15:35:43 +07:00
|
|
|
- "mediatek,mt8135-pericfg", "syscon"
|
|
|
|
- "mediatek,mt8173-pericfg", "syscon"
|
|
|
|
- #clock-cells: Must be 1
|
|
|
|
- #reset-cells: Must be 1
|
|
|
|
|
|
|
|
The pericfg 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 18:42:44 +07:00
|
|
|
dt-bindings/reset/mt*-resets.h
|
2015-04-23 15:35:43 +07:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
2015-05-07 15:14:58 +07:00
|
|
|
pericfg: power-controller@10003000 {
|
2015-04-23 15:35:43 +07:00
|
|
|
compatible = "mediatek,mt8173-pericfg", "syscon";
|
|
|
|
reg = <0 0x10003000 0 0x1000>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
};
|