1OMAP Control Module bindings
2
3Control Module contains miscellaneous features under it based on SoC type.
4Pincontrol is one common feature, and it has a specialized support
5described in [1]. Typically some clock nodes are also under control module.
6Syscon is used to share register level access to drivers external to
7control module driver itself.
8
9See [2] for documentation about clock/clockdomain nodes.
10
11[1] Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt
12[2] Documentation/devicetree/bindings/clock/ti/*
13
14Required properties:
15- compatible:	Must be one of:
16		"ti,am3-scm"
17		"ti,am4-scm"
18		"ti,dm814-scrm"
19		"ti,dm816-scrm"
20		"ti,omap2-scm"
21		"ti,omap3-scm"
22		"ti,omap4-scm-core"
23		"ti,omap4-scm-padconf-core"
24- reg:		Contains Control Module register address range
25		(base address and length)
26
27Optional properties:
28- clocks:	clocks for this module
29- clockdomains:	clockdomains for this module
30
31Examples:
32
33scm: scm@2000 {
34	compatible = "ti,omap3-scm", "simple-bus";
35	reg = <0x2000 0x2000>;
36	#address-cells = <1>;
37	#size-cells = <1>;
38	ranges = <0 0x2000 0x2000>;
39
40	omap3_pmx_core: pinmux@30 {
41		compatible = "ti,omap3-padconf",
42			     "pinctrl-single";
43		reg = <0x30 0x230>;
44		#address-cells = <1>;
45		#size-cells = <0>;
46		#interrupt-cells = <1>;
47		interrupt-controller;
48		pinctrl-single,register-width = <16>;
49		pinctrl-single,function-mask = <0xff1f>;
50	};
51
52	scm_conf: scm_conf@270 {
53		compatible = "syscon";
54		reg = <0x270 0x330>;
55		#address-cells = <1>;
56		#size-cells = <1>;
57
58		scm_clocks: clocks {
59			#address-cells = <1>;
60			#size-cells = <0>;
61		};
62	};
63
64	scm_clockdomains: clockdomains {
65	};
66}
67
68&scm_clocks {
69	mcbsp5_mux_fck: mcbsp5_mux_fck {
70		#clock-cells = <0>;
71		compatible = "ti,composite-mux-clock";
72		clocks = <&core_96m_fck>, <&mcbsp_clks>;
73		ti,bit-shift = <4>;
74		reg = <0x02d8>;
75	};
76};
77