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