aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/arm/vexpress-sysreg.txt43
-rw-r--r--Documentation/devicetree/bindings/arm/vexpress.txt15
2 files changed, 42 insertions, 16 deletions
diff --git a/Documentation/devicetree/bindings/arm/vexpress-sysreg.txt b/Documentation/devicetree/bindings/arm/vexpress-sysreg.txt
index 5580e9c4bd85..57b423f78995 100644
--- a/Documentation/devicetree/bindings/arm/vexpress-sysreg.txt
+++ b/Documentation/devicetree/bindings/arm/vexpress-sysreg.txt
@@ -27,24 +27,45 @@ Example:
27This block also can also act a bridge to the platform's configuration 27This block also can also act a bridge to the platform's configuration
28bus via "system control" interface, addressing devices with site number, 28bus via "system control" interface, addressing devices with site number,
29position in the board stack, config controller, function and device 29position in the board stack, config controller, function and device
30numbers - see motherboard's TRM for more details. 30numbers - see motherboard's TRM for more details. All configuration
31 31controller accessible via this interface must reference the sysreg
32The node describing a config device must refer to the sysreg node via 32node via "arm,vexpress,config-bridge" phandle and define appropriate
33"arm,vexpress,config-bridge" phandle (can be also defined in the node's 33topology properties - see main vexpress node documentation for more
34parent) and relies on the board topology properties - see main vexpress 34details. Each child of such node describes one function and must
35node documentation for more details. It must also define the following 35define the following properties:
36property: 36- compatible value : must be one of (corresponding to the TRM):
37- arm,vexpress-sysreg,func : must contain two cells: 37 "arm,vexpress-amp"
38 - first cell defines function number (eg. 1 for clock generator, 38 "arm,vexpress-dvimode"
39 2 for voltage regulators etc.) 39 "arm,vexpress-energy"
40 - device number (eg. osc 0, osc 1 etc.) 40 "arm,vexpress-muxfpga"
41 "arm,vexpress-osc"
42 "arm,vexpress-power"
43 "arm,vexpress-reboot"
44 "arm,vexpress-reset"
45 "arm,vexpress-scc"
46 "arm,vexpress-shutdown"
47 "arm,vexpress-temp"
48 "arm,vexpress-volt"
49- arm,vexpress-sysreg,func : must contain a set of two cells long groups:
50 - first cell of each group defines the function number
51 (eg. 1 for clock generator, 2 for voltage regulators etc.)
52 - second cell of each group defines device number (eg. osc 0,
53 osc 1 etc.)
54 - some functions (eg. energy meter, with its 64 bit long counter)
55 are using more than one function/device number pair
41 56
42Example: 57Example:
43 mcc { 58 mcc {
59 compatible = "arm,vexpress,config-bus";
44 arm,vexpress,config-bridge = <&v2m_sysreg>; 60 arm,vexpress,config-bridge = <&v2m_sysreg>;
45 61
46 osc@0 { 62 osc@0 {
47 compatible = "arm,vexpress-osc"; 63 compatible = "arm,vexpress-osc";
48 arm,vexpress-sysreg,func = <1 0>; 64 arm,vexpress-sysreg,func = <1 0>;
49 }; 65 };
66
67 energy@0 {
68 compatible = "arm,vexpress-energy";
69 arm,vexpress-sysreg,func = <13 0>, <13 1>;
70 };
50 }; 71 };
diff --git a/Documentation/devicetree/bindings/arm/vexpress.txt b/Documentation/devicetree/bindings/arm/vexpress.txt
index ae49161e478a..39844cd0bcce 100644
--- a/Documentation/devicetree/bindings/arm/vexpress.txt
+++ b/Documentation/devicetree/bindings/arm/vexpress.txt
@@ -80,12 +80,17 @@ but also control clock generators, voltage regulators, gather
80environmental data like temperature, power consumption etc. Even 80environmental data like temperature, power consumption etc. Even
81the video output switch (FPGA) is controlled that way. 81the video output switch (FPGA) is controlled that way.
82 82
83Nodes describing devices controlled by this infrastructure should 83The controllers are not mapped into normal memory address space
84point at the bridge device node: 84and must be accessed through bridges - other devices capable
85of generating transactions on the configuration bus.
86
87The nodes describing configuration controllers must define
88the following properties:
89- compatible value:
90 compatible = "arm,vexpress,config-bus";
85- bridge phandle: 91- bridge phandle:
86 arm,vexpress,config-bridge = <phandle>; 92 arm,vexpress,config-bridge = <phandle>;
87This property can be also defined in a parent node (eg. for a DCC) 93and children describing available functions.
88and is effective for all children.
89 94
90 95
91Platform topology 96Platform topology
@@ -197,7 +202,7 @@ Example of a VE tile description (simplified)
197 }; 202 };
198 203
199 dcc { 204 dcc {
200 compatible = "simple-bus"; 205 compatible = "arm,vexpress,config-bus";
201 arm,vexpress,config-bridge = <&v2m_sysreg>; 206 arm,vexpress,config-bridge = <&v2m_sysreg>;
202 207
203 osc@0 { 208 osc@0 {