0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Socionext UniPhier thermal monitor
0008
0009 description: |
0010 This describes the devicetree bindings for thermal monitor supported by
0011 PVT(Process, Voltage and Temperature) monitoring unit implemented on
0012 Socionext UniPhier SoCs.
0013
0014 maintainers:
0015 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
0016
0017 properties:
0018 compatible:
0019 enum:
0020 - socionext,uniphier-pxs2-thermal
0021 - socionext,uniphier-ld20-thermal
0022 - socionext,uniphier-pxs3-thermal
0023 - socionext,uniphier-nx1-thermal
0024
0025 interrupts:
0026 maxItems: 1
0027
0028 "#thermal-sensor-cells":
0029 const: 0
0030
0031 socionext,tmod-calibration:
0032 $ref: /schemas/types.yaml#/definitions/uint32-array
0033 maxItems: 2
0034 description:
0035 A pair of calibrated values referred from PVT, in case that the values
0036 aren't set on SoC, like a reference board.
0037
0038 required:
0039 - compatible
0040 - interrupts
0041 - "#thermal-sensor-cells"
0042
0043 additionalProperties: false
0044
0045 examples:
0046 - |
0047 // The UniPhier thermal should be a subnode of a "syscon" compatible node.
0048
0049 sysctrl@61840000 {
0050 compatible = "socionext,uniphier-ld20-sysctrl",
0051 "simple-mfd", "syscon";
0052 reg = <0x61840000 0x10000>;
0053
0054 pvtctl: thermal {
0055 compatible = "socionext,uniphier-ld20-thermal";
0056 interrupts = <0 3 1>;
0057 #thermal-sensor-cells = <0>;
0058 };
0059 };