Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Microchip Sparx5 Temperature Monitor |
| 8 | |
| 9 | maintainers: |
| 10 | - Lars Povlsen <lars.povlsen@microchip.com> |
| 11 | |
| 12 | description: | |
| 13 | Microchip Sparx5 embedded temperature monitor |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - microchip,sparx5-temp |
| 19 | |
| 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | clocks: |
| 24 | items: |
| 25 | - description: System reference clock |
| 26 | |
| 27 | '#thermal-sensor-cells': |
| 28 | const: 0 |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - clocks |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | tmon0: tmon@610508110 { |
| 40 | compatible = "microchip,sparx5-temp"; |
| 41 | reg = <0x10508110 0xc>; |
| 42 | #thermal-sensor-cells = <0>; |
| 43 | clocks = <&sys_clk>; |
| 44 | }; |