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