1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/thermal/brcm,sr-thermal.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Broadcom Stingray Thermal Sensors 8 9maintainers: 10 - Ray Jui <rjui@broadcom.com> 11 - Scott Branden <sbranden@broadcom.com> 12 13allOf: 14 - $ref: thermal-sensor.yaml# 15 16properties: 17 compatible: 18 const: brcm,sr-thermal 19 20 reg: 21 maxItems: 1 22 23 brcm,tmon-mask: 24 description: 25 A one-cell bit mask of valid TMON sources. Each bit represents a single 26 TMON source. 27 $ref: /schemas/types.yaml#/definitions/uint32 28 29 '#thermal-sensor-cells': 30 const: 1 31 32required: 33 - compatible 34 - reg 35 - brcm,tmon-mask 36 37additionalProperties: false 38 39examples: 40 - | 41 tmon: thermal-sensor@0 { 42 compatible = "brcm,sr-thermal"; 43 reg = <0x0 0x40>; 44 brcm,tmon-mask = <0x3f>; 45 #thermal-sensor-cells = <1>; 46 }; 47 48 thermal-zones { 49 ihost0_thermal: ihost0-thermal { 50 polling-delay-passive = <0>; 51 polling-delay = <1000>; 52 thermal-sensors = <&tmon 0>; 53 trips { 54 cpu-crit { 55 temperature = <105000>; 56 hysteresis = <0>; 57 type = "critical"; 58 }; 59 }; 60 }; 61 ihost1_thermal: ihost1-thermal { 62 polling-delay-passive = <0>; 63 polling-delay = <1000>; 64 thermal-sensors = <&tmon 1>; 65 trips { 66 cpu-crit { 67 temperature = <105000>; 68 hysteresis = <0>; 69 type = "critical"; 70 }; 71 }; 72 }; 73 ihost2_thermal: ihost2-thermal { 74 polling-delay-passive = <0>; 75 polling-delay = <1000>; 76 thermal-sensors = <&tmon 2>; 77 trips { 78 cpu-crit { 79 temperature = <105000>; 80 hysteresis = <0>; 81 type = "critical"; 82 }; 83 }; 84 }; 85 ihost3_thermal: ihost3-thermal { 86 polling-delay-passive = <0>; 87 polling-delay = <1000>; 88 thermal-sensors = <&tmon 3>; 89 trips { 90 cpu-crit { 91 temperature = <105000>; 92 hysteresis = <0>; 93 type = "critical"; 94 }; 95 }; 96 }; 97 crmu_thermal: crmu-thermal { 98 polling-delay-passive = <0>; 99 polling-delay = <1000>; 100 thermal-sensors = <&tmon 4>; 101 trips { 102 cpu-crit { 103 temperature = <105000>; 104 hysteresis = <0>; 105 type = "critical"; 106 }; 107 }; 108 }; 109 nitro_thermal: nitro-thermal { 110 polling-delay-passive = <0>; 111 polling-delay = <1000>; 112 thermal-sensors = <&tmon 5>; 113 trips { 114 cpu-crit { 115 temperature = <105000>; 116 hysteresis = <0>; 117 type = "critical"; 118 }; 119 }; 120 }; 121 }; 122