Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | * Temperature Monitor (TEMPMON) on Freescale i.MX SoCs |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : "fsl,imx6q-tempmon" for i.MX6Q, "fsl,imx6sx-tempmon" for i.MX6SX. |
| 5 | i.MX6SX has two more IRQs than i.MX6Q, one is IRQ_LOW and the other is IRQ_PANIC, |
| 6 | when temperature is below than low threshold, IRQ_LOW will be triggered, when temperature |
| 7 | is higher than panic threshold, system will auto reboot by SRC module. |
| 8 | - fsl,tempmon : phandle pointer to system controller that contains TEMPMON |
| 9 | control registers, e.g. ANATOP on imx6q. |
| 10 | - fsl,tempmon-data : phandle pointer to fuse controller that contains TEMPMON |
| 11 | calibration data, e.g. OCOTP on imx6q. The details about calibration data |
| 12 | can be found in SoC Reference Manual. |
| 13 | |
| 14 | Optional properties: |
| 15 | - clocks : thermal sensor's clock source. |
| 16 | |
| 17 | Example: |
| 18 | |
| 19 | tempmon { |
| 20 | compatible = "fsl,imx6q-tempmon"; |
| 21 | fsl,tempmon = <&anatop>; |
| 22 | fsl,tempmon-data = <&ocotp>; |
| 23 | clocks = <&clks 172>; |
| 24 | }; |