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