2014-05-06 13:59:51 -03:00
* Marvell Armada 370/375/380/XP thermal management
2013-04-02 01:37:41 +00:00
Required properties:
2017-12-22 17:14:03 +01:00
- compatible: Should be set to one of the following:
* marvell,armada370-thermal
* marvell,armada375-thermal
* marvell,armada380-thermal
* marvell,armadaxp-thermal
* marvell,armada-ap806-thermal
* marvell,armada-cp110-thermal
2013-04-02 01:37:41 +00:00
2018-07-16 16:42:02 +02:00
Note: these bindings are deprecated for AP806/CP110 and should instead
follow the rules described in:
2020-03-17 14:10:44 +01:00
Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt
2018-07-16 16:42:02 +02:00
Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
2017-12-22 17:14:03 +01:00
- reg: Device's register space.
Two entries are expected, see the examples below. The first one points
to the status register (4B). The second one points to the control
registers (8B).
Note: The compatibles marvell,armada370-thermal,
marvell,armada380-thermal, and marvell,armadaxp-thermal must point to
"control MSB/control 1", with size of 4 (deprecated binding), or point
to "control LSB/control 0" with size of 8 (current binding). All other
compatibles must point to "control LSB/control 0" with size of 8.
2013-04-02 01:37:41 +00:00
2017-12-22 17:14:03 +01:00
Examples:
2013-04-02 01:37:41 +00:00
2017-12-22 17:14:03 +01:00
/* Legacy bindings */
2013-04-02 01:37:41 +00:00
thermal@d0018300 {
compatible = "marvell,armada370-thermal";
2017-12-22 17:14:03 +01:00
reg = <0xd0018300 0x4
2013-04-02 01:37:41 +00:00
0xd0018304 0x4>;
};
2017-12-22 17:14:03 +01:00
ap_thermal: thermal@6f8084 {
compatible = "marvell,armada-ap806-thermal";
reg = <0x6f808C 0x4>,
<0x6f8084 0x8>;
};