Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* Marvell Armada 370/375/380/XP thermal management
2
3Required properties:
4
5- compatible: Should be set to one of the following:
6 * marvell,armada370-thermal
7 * marvell,armada375-thermal
8 * marvell,armada380-thermal
9 * marvell,armadaxp-thermal
10 * marvell,armada-ap806-thermal
11 * marvell,armada-cp110-thermal
12
13Note: these bindings are deprecated for AP806/CP110 and should instead
14follow the rules described in:
15Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt
16Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
17
18- reg: Device's register space.
19 Two entries are expected, see the examples below. The first one points
20 to the status register (4B). The second one points to the control
21 registers (8B).
22 Note: The compatibles marvell,armada370-thermal,
23 marvell,armada380-thermal, and marvell,armadaxp-thermal must point to
24 "control MSB/control 1", with size of 4 (deprecated binding), or point
25 to "control LSB/control 0" with size of 8 (current binding). All other
26 compatibles must point to "control LSB/control 0" with size of 8.
27
28Examples:
29
30 /* Legacy bindings */
31 thermal@d0018300 {
32 compatible = "marvell,armada370-thermal";
33 reg = <0xd0018300 0x4
34 0xd0018304 0x4>;
35 };
36
37 ap_thermal: thermal@6f8084 {
38 compatible = "marvell,armada-ap806-thermal";
39 reg = <0x6f808C 0x4>,
40 <0x6f8084 0x8>;
41 };