xref: /openbmc/linux/Documentation/devicetree/bindings/thermal/armada-thermal.txt (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1e6e0a68cSEzequiel Garcia* Marvell Armada 370/375/380/XP thermal management
2fa0d654cSEzequiel Garcia
3fa0d654cSEzequiel GarciaRequired properties:
4fa0d654cSEzequiel Garcia
5fa0d654cSEzequiel Garcia- compatible: Should be set to one of the following:
67ba03c25SBaruch Siach    * marvell,armada370-thermal
77ba03c25SBaruch Siach    * marvell,armada375-thermal
87ba03c25SBaruch Siach    * marvell,armada380-thermal
97ba03c25SBaruch Siach    * marvell,armadaxp-thermal
107ba03c25SBaruch Siach    * marvell,armada-ap806-thermal
11*705fd8f1SAlex Leibovich    * marvell,armada-ap807-thermal
127ba03c25SBaruch Siach    * marvell,armada-cp110-thermal
13fa0d654cSEzequiel Garcia
1459d7f4a7SMiquel RaynalNote: these bindings are deprecated for AP806/CP110 and should instead
1559d7f4a7SMiquel Raynalfollow the rules described in:
16da392fb1SMauro Carvalho ChehabDocumentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt
1759d7f4a7SMiquel RaynalDocumentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
1859d7f4a7SMiquel Raynal
19fa0d654cSEzequiel Garcia- reg: Device's register space.
207ba03c25SBaruch Siach  Two entries are expected, see the examples below. The first one points
217ba03c25SBaruch Siach  to the status register (4B). The second one points to the control
227ba03c25SBaruch Siach  registers (8B).
237ba03c25SBaruch Siach  Note: The compatibles marvell,armada370-thermal,
247ba03c25SBaruch Siach  marvell,armada380-thermal, and marvell,armadaxp-thermal must point to
257ba03c25SBaruch Siach  "control MSB/control 1", with size of 4 (deprecated binding), or point
267ba03c25SBaruch Siach  to "control LSB/control 0" with size of 8 (current binding). All other
277ba03c25SBaruch Siach  compatibles must point to "control LSB/control 0" with size of 8.
28fa0d654cSEzequiel Garcia
297ba03c25SBaruch SiachExamples:
30fa0d654cSEzequiel Garcia
317ba03c25SBaruch Siach	/* Legacy bindings */
32fa0d654cSEzequiel Garcia	thermal@d0018300 {
33fa0d654cSEzequiel Garcia		compatible = "marvell,armada370-thermal";
34fa0d654cSEzequiel Garcia		reg = <0xd0018300 0x4
35fa0d654cSEzequiel Garcia		       0xd0018304 0x4>;
36fa0d654cSEzequiel Garcia	};
377ba03c25SBaruch Siach
387ba03c25SBaruch Siach	ap_thermal: thermal@6f8084 {
397ba03c25SBaruch Siach		compatible = "marvell,armada-ap806-thermal";
407ba03c25SBaruch Siach		reg = <0x6f808C 0x4>,
417ba03c25SBaruch Siach		      <0x6f8084 0x8>;
427ba03c25SBaruch Siach	};
43