1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/thermal/amazon,al-thermal.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Amazon Annapurna Labs Thermal Sensor 8 9maintainers: 10 - Talel Shenhar <talel@amazon.com> 11 12description: 13 Simple thermal device that allows temperature reading by a single MMIO 14 transaction. 15 16properties: 17 compatible: 18 items: 19 - const: amazon,al-thermal 20 21 reg: 22 maxItems: 1 23 24 '#thermal-sensor-cells': 25 const: 1 26 27additionalProperties: false 28 29examples: 30 - | 31 thermal: thermal@5002860 { 32 compatible = "amazon,al-thermal"; 33 reg = <0x05002860 0x1>; 34 #thermal-sensor-cells = <0x1>; 35 }; 36 37 thermal-zones { 38 z0-thermal { 39 polling-delay-passive = <250>; 40 polling-delay = <1000>; 41 thermal-sensors = <&thermal 0>; 42 trips { 43 critical { 44 temperature = <105000>; 45 hysteresis = <2000>; 46 type = "critical"; 47 }; 48 }; 49 }; 50 }; 51