aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2015-02-12 04:32:14 -0500
committerTero Kristo <t-kristo@ti.com>2015-03-31 14:26:56 -0400
commit7415b0b4c645fe9897352f144f056fd557526667 (patch)
treec166ec9d3e421a987b6bdb7e06e7e6cd417fd771 /Documentation/devicetree
parent83a5d6c98af24bb4531dfc05e7c2d3ac2562c6d9 (diff)
ARM: dts: omap4: add minimal l4 bus layout with control module support
This patch creates the l4_cfg and l4_wkup interconnects for OMAP4, and moves some of the generic peripherals under it. System control module support is added to the device tree also, and the existing SCM related functionality is moved under it. Signed-off-by: Tero Kristo <t-kristo@ti.com> Reported-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/arm/omap/ctrl.txt76
-rw-r--r--Documentation/devicetree/bindings/arm/omap/l4.txt2
-rw-r--r--Documentation/devicetree/bindings/arm/omap/prcm.txt6
3 files changed, 78 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/arm/omap/ctrl.txt b/Documentation/devicetree/bindings/arm/omap/ctrl.txt
new file mode 100644
index 000000000000..26758812ae17
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/omap/ctrl.txt
@@ -0,0 +1,76 @@
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};
diff --git a/Documentation/devicetree/bindings/arm/omap/l4.txt b/Documentation/devicetree/bindings/arm/omap/l4.txt
index 941b914eb8cf..de18cfaf9f68 100644
--- a/Documentation/devicetree/bindings/arm/omap/l4.txt
+++ b/Documentation/devicetree/bindings/arm/omap/l4.txt
@@ -6,6 +6,8 @@ Required properties:
6- compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus 6- compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus
7 Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus 7 Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus
8 Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus 8 Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus
9 Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus
10 Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus
9 Should be "ti,am3-l4-wkup" for AM33xx family l4 wkup bus 11 Should be "ti,am3-l4-wkup" for AM33xx family l4 wkup bus
10 Should be "ti,am4-l4-wkup" for AM43xx family l4 wkup bus 12 Should be "ti,am4-l4-wkup" for AM43xx family l4 wkup bus
11- ranges : contains the IO map range for the bus 13- ranges : contains the IO map range for the bus
diff --git a/Documentation/devicetree/bindings/arm/omap/prcm.txt b/Documentation/devicetree/bindings/arm/omap/prcm.txt
index 8af4f325ee23..3eb6d7afff14 100644
--- a/Documentation/devicetree/bindings/arm/omap/prcm.txt
+++ b/Documentation/devicetree/bindings/arm/omap/prcm.txt
@@ -10,14 +10,10 @@ documentation about the individual clock/clockdomain nodes.
10Required properties: 10Required properties:
11- compatible: Must be one of: 11- compatible: Must be one of:
12 "ti,am3-prcm" 12 "ti,am3-prcm"
13 "ti,am3-scm"
14 "ti,am4-prcm" 13 "ti,am4-prcm"
15 "ti,am4-scm"
16 "ti,omap2-prcm" 14 "ti,omap2-prcm"
17 "ti,omap2-scm"
18 "ti,omap3-prm" 15 "ti,omap3-prm"
19 "ti,omap3-cm" 16 "ti,omap3-cm"
20 "ti,omap3-scm"
21 "ti,omap4-cm1" 17 "ti,omap4-cm1"
22 "ti,omap4-prm" 18 "ti,omap4-prm"
23 "ti,omap4-cm2" 19 "ti,omap4-cm2"
@@ -30,9 +26,7 @@ Required properties:
30 "ti,dra7-cm-core-aon" 26 "ti,dra7-cm-core-aon"
31 "ti,dra7-cm-core" 27 "ti,dra7-cm-core"
32 "ti,dm814-prcm" 28 "ti,dm814-prcm"
33 "ti,dm814-scrm"
34 "ti,dm816-prcm" 29 "ti,dm816-prcm"
35 "ti,dm816-scrm"
36- reg: Contains PRCM module register address range 30- reg: Contains PRCM module register address range
37 (base address and length) 31 (base address and length)
38- clocks: clocks for this module 32- clocks: clocks for this module