| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/thermal/ti,am654-thermal.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Texas Instruments AM654 VTM (DTS) |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Keerthy <[email protected]> |
| 11 |
|
| 12 |
$ref: thermal-sensor.yaml# |
| 13 |
|
| 14 |
properties: |
| 15 |
compatible: |
| 16 |
const: ti,am654-vtm |
| 17 |
|
| 18 |
reg: |
| 19 |
maxItems: 1 |
| 20 |
|
| 21 |
power-domains: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
"#thermal-sensor-cells": |
| 25 |
const: 1 |
| 26 |
|
| 27 |
required: |
| 28 |
- compatible |
| 29 |
- reg |
| 30 |
- power-domains |
| 31 |
|
| 32 |
unevaluatedProperties: false |
| 33 |
|
| 34 |
examples: |
| 35 |
- | |
| 36 |
#include <dt-bindings/soc/ti,sci_pm_domain.h> |
| 37 |
vtm: thermal@42050000 { |
| 38 |
compatible = "ti,am654-vtm"; |
| 39 |
reg = <0x42050000 0x25c>; |
| 40 |
power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>; |
| 41 |
#thermal-sensor-cells = <1>; |
| 42 |
}; |
| 43 |
|
| 44 |
mpu0_thermal: mpu0_thermal { |
| 45 |
polling-delay-passive = <250>; /* milliseconds */ |
| 46 |
polling-delay = <500>; /* milliseconds */ |
| 47 |
thermal-sensors = <&vtm0 0>; |
| 48 |
|
| 49 |
trips { |
| 50 |
mpu0_crit: mpu0_crit { |
| 51 |
temperature = <125000>; /* milliCelsius */ |
| 52 |
hysteresis = <2000>; /* milliCelsius */ |
| 53 |
type = "critical"; |
| 54 |
}; |
| 55 |
}; |
| 56 |
}; |
| 57 |
... |