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