8af4f325ee237d1380aed6b31b1f0eced72faa8d
[linux-block.git] / Documentation / devicetree / bindings / arm / omap / prcm.txt
1 OMAP PRCM bindings
2
3 Power Reset and Clock Manager lists the device clocks and clockdomains under
4 a DT hierarchy. Each TI SoC can have multiple PRCM entities listed for it,
5 each describing one module and the clock hierarchy under it. see [1] for
6 documentation about the individual clock/clockdomain nodes.
7
8 [1] Documentation/devicetree/bindings/clock/ti/*
9
10 Required properties:
11 - compatible:   Must be one of:
12                 "ti,am3-prcm"
13                 "ti,am3-scm"
14                 "ti,am4-prcm"
15                 "ti,am4-scm"
16                 "ti,omap2-prcm"
17                 "ti,omap2-scm"
18                 "ti,omap3-prm"
19                 "ti,omap3-cm"
20                 "ti,omap3-scm"
21                 "ti,omap4-cm1"
22                 "ti,omap4-prm"
23                 "ti,omap4-cm2"
24                 "ti,omap4-scrm"
25                 "ti,omap5-prm"
26                 "ti,omap5-cm-core-aon"
27                 "ti,omap5-scrm"
28                 "ti,omap5-cm-core"
29                 "ti,dra7-prm"
30                 "ti,dra7-cm-core-aon"
31                 "ti,dra7-cm-core"
32                 "ti,dm814-prcm"
33                 "ti,dm814-scrm"
34                 "ti,dm816-prcm"
35                 "ti,dm816-scrm"
36 - reg:          Contains PRCM module register address range
37                 (base address and length)
38 - clocks:       clocks for this module
39 - clockdomains: clockdomains for this module
40
41 Example:
42
43 cm: cm@48004000 {
44         compatible = "ti,omap3-cm";
45         reg = <0x48004000 0x4000>;
46
47         cm_clocks: clocks {
48                 #address-cells = <1>;
49                 #size-cells = <0>;
50         };
51
52         cm_clockdomains: clockdomains {
53         };
54 }
55
56 &cm_clocks {
57         omap2_32k_fck: omap_32k_fck {
58                 #clock-cells = <0>;
59                 compatible = "fixed-clock";
60                 clock-frequency = <32768>;
61         };
62 };
63
64 &cm_clockdomains {
65         core_l3_clkdm: core_l3_clkdm {
66                 compatible = "ti,clockdomain";
67                 clocks = <&sdrc_ick>;
68         };
69 };