1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/thermal/airoha,en7581-thermal.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Airoha EN7581 Thermal Sensor and Monitor 8 9maintainers: 10 - Christian Marangi <ansuelsmth@gmail.com> 11 12properties: 13 compatible: 14 const: airoha,en7581-thermal 15 16 reg: 17 maxItems: 1 18 19 interrupts: 20 maxItems: 1 21 22 airoha,chip-scu: 23 description: phandle to the chip SCU syscon 24 $ref: /schemas/types.yaml#/definitions/phandle 25 26 '#thermal-sensor-cells': 27 const: 0 28 29required: 30 - compatible 31 - reg 32 - interrupts 33 - airoha,chip-scu 34 35additionalProperties: false 36 37examples: 38 - | 39 #include <dt-bindings/interrupt-controller/arm-gic.h> 40 41 thermal-sensor@1efbd800 { 42 compatible = "airoha,en7581-thermal"; 43 reg = <0x1efbd000 0xd5c>; 44 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 45 airoha,chip-scu = <&chip_scu>; 46 47 #thermal-sensor-cells = <0>; 48 }; 49