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"
32ee200119STero Kristo- reg:		Contains PRCM module register address range
33ee200119STero Kristo		(base address and length)
34ee200119STero Kristo- clocks:	clocks for this module
35ee200119STero Kristo- clockdomains:	clockdomains for this module
36ee200119STero Kristo
37ee200119STero KristoExample:
38ee200119STero Kristo
39ee200119STero Kristocm: cm@48004000 {
40ee200119STero Kristo	compatible = "ti,omap3-cm";
41ee200119STero Kristo	reg = <0x48004000 0x4000>;
42ee200119STero Kristo
43ee200119STero Kristo	cm_clocks: clocks {
44ee200119STero Kristo		#address-cells = <1>;
45ee200119STero Kristo		#size-cells = <0>;
46ee200119STero Kristo	};
47ee200119STero Kristo
48ee200119STero Kristo	cm_clockdomains: clockdomains {
49ee200119STero Kristo	};
50ee200119STero Kristo}
51ee200119STero Kristo
52ee200119STero Kristo&cm_clocks {
53ee200119STero Kristo	omap2_32k_fck: omap_32k_fck {
54ee200119STero Kristo		#clock-cells = <0>;
55ee200119STero Kristo		compatible = "fixed-clock";
56ee200119STero Kristo		clock-frequency = <32768>;
57ee200119STero Kristo	};
58ee200119STero Kristo};
59ee200119STero Kristo
60ee200119STero Kristo&cm_clockdomains {
61ee200119STero Kristo	core_l3_clkdm: core_l3_clkdm {
62ee200119STero Kristo		compatible = "ti,clockdomain";
63ee200119STero Kristo		clocks = <&sdrc_ick>;
64ee200119STero Kristo	};
65ee200119STero Kristo};
66