1*2eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*2eb4d8dcSEmmanuel Vadot%YAML 1.2 3*2eb4d8dcSEmmanuel Vadot--- 4*2eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/thermal/brcm,ns-thermal.yaml# 5*2eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*2eb4d8dcSEmmanuel Vadot 7*2eb4d8dcSEmmanuel Vadottitle: Broadcom Northstar Thermal 8*2eb4d8dcSEmmanuel Vadot 9*2eb4d8dcSEmmanuel Vadotmaintainers: 10*2eb4d8dcSEmmanuel Vadot - Rafał Miłecki <rafal@milecki.pl> 11*2eb4d8dcSEmmanuel Vadot 12*2eb4d8dcSEmmanuel Vadotdescription: 13*2eb4d8dcSEmmanuel Vadot Thermal sensor that is part of Northstar's DMU (Device Management Unit). 14*2eb4d8dcSEmmanuel Vadot 15*2eb4d8dcSEmmanuel VadotallOf: 16*2eb4d8dcSEmmanuel Vadot - $ref: thermal-sensor.yaml# 17*2eb4d8dcSEmmanuel Vadot 18*2eb4d8dcSEmmanuel Vadotproperties: 19*2eb4d8dcSEmmanuel Vadot compatible: 20*2eb4d8dcSEmmanuel Vadot const: brcm,ns-thermal 21*2eb4d8dcSEmmanuel Vadot 22*2eb4d8dcSEmmanuel Vadot reg: 23*2eb4d8dcSEmmanuel Vadot description: PVTMON registers range 24*2eb4d8dcSEmmanuel Vadot maxItems: 1 25*2eb4d8dcSEmmanuel Vadot 26*2eb4d8dcSEmmanuel Vadot "#thermal-sensor-cells": 27*2eb4d8dcSEmmanuel Vadot const: 0 28*2eb4d8dcSEmmanuel Vadot 29*2eb4d8dcSEmmanuel VadotunevaluatedProperties: false 30*2eb4d8dcSEmmanuel Vadot 31*2eb4d8dcSEmmanuel Vadotrequired: 32*2eb4d8dcSEmmanuel Vadot - reg 33*2eb4d8dcSEmmanuel Vadot 34*2eb4d8dcSEmmanuel Vadotexamples: 35*2eb4d8dcSEmmanuel Vadot - | 36*2eb4d8dcSEmmanuel Vadot thermal: thermal@1800c2c0 { 37*2eb4d8dcSEmmanuel Vadot compatible = "brcm,ns-thermal"; 38*2eb4d8dcSEmmanuel Vadot reg = <0x1800c2c0 0x10>; 39*2eb4d8dcSEmmanuel Vadot #thermal-sensor-cells = <0>; 40*2eb4d8dcSEmmanuel Vadot }; 41*2eb4d8dcSEmmanuel Vadot 42*2eb4d8dcSEmmanuel Vadot thermal-zones { 43*2eb4d8dcSEmmanuel Vadot cpu-thermal { 44*2eb4d8dcSEmmanuel Vadot polling-delay-passive = <0>; 45*2eb4d8dcSEmmanuel Vadot polling-delay = <1000>; 46*2eb4d8dcSEmmanuel Vadot coefficients = <(-556) 418000>; 47*2eb4d8dcSEmmanuel Vadot thermal-sensors = <&thermal>; 48*2eb4d8dcSEmmanuel Vadot 49*2eb4d8dcSEmmanuel Vadot trips { 50*2eb4d8dcSEmmanuel Vadot cpu-crit { 51*2eb4d8dcSEmmanuel Vadot temperature = <125000>; 52*2eb4d8dcSEmmanuel Vadot hysteresis = <0>; 53*2eb4d8dcSEmmanuel Vadot type = "critical"; 54*2eb4d8dcSEmmanuel Vadot }; 55*2eb4d8dcSEmmanuel Vadot }; 56*2eb4d8dcSEmmanuel Vadot 57*2eb4d8dcSEmmanuel Vadot cooling-maps { 58*2eb4d8dcSEmmanuel Vadot }; 59*2eb4d8dcSEmmanuel Vadot }; 60*2eb4d8dcSEmmanuel Vadot }; 61