0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Microchip Sparx5 Temperature Monitor
0008
0009 maintainers:
0010 - Lars Povlsen <lars.povlsen@microchip.com>
0011
0012 description: |
0013 Microchip Sparx5 embedded temperature monitor
0014
0015 properties:
0016 compatible:
0017 enum:
0018 - microchip,sparx5-temp
0019
0020 reg:
0021 maxItems: 1
0022
0023 clocks:
0024 items:
0025 - description: AHB reference clock
0026
0027 '#thermal-sensor-cells':
0028 const: 0
0029
0030 required:
0031 - compatible
0032 - reg
0033 - clocks
0034
0035 additionalProperties: false
0036
0037 examples:
0038 - |
0039 tmon0: tmon@610508110 {
0040 compatible = "microchip,sparx5-temp";
0041 reg = <0x10508110 0xc>;
0042 #thermal-sensor-cells = <0>;
0043 clocks = <&ahb_clk>;
0044 };