1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Socionext UniPhier thermal monitor 8 9description: | 10 This describes the devicetree bindings for thermal monitor supported by 11 PVT(Process, Voltage and Temperature) monitoring unit implemented on 12 Socionext UniPhier SoCs. 13 14maintainers: 15 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 16 17$ref: thermal-sensor.yaml# 18 19properties: 20 compatible: 21 enum: 22 - socionext,uniphier-pxs2-thermal 23 - socionext,uniphier-ld20-thermal 24 - socionext,uniphier-pxs3-thermal 25 - socionext,uniphier-nx1-thermal 26 27 interrupts: 28 maxItems: 1 29 30 "#thermal-sensor-cells": 31 const: 0 32 33 socionext,tmod-calibration: 34 $ref: /schemas/types.yaml#/definitions/uint32-array 35 maxItems: 2 36 description: 37 A pair of calibrated values referred from PVT, in case that the values 38 aren't set on SoC, like a reference board. 39 40required: 41 - compatible 42 - interrupts 43 44unevaluatedProperties: false 45 46examples: 47 - | 48 // The UniPhier thermal should be a subnode of a "syscon" compatible node. 49 50 #include <dt-bindings/interrupt-controller/arm-gic.h> 51 pvtctl: thermal-sensor { 52 compatible = "socionext,uniphier-ld20-thermal"; 53 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 54 #thermal-sensor-cells = <0>; 55 }; 56