1* Broadcom Stingray Thermal
2
3This binding describes thermal sensors that is part of Stingray SoCs.
4
5Required properties:
6- compatible : Must be "brcm,sr-thermal"
7- reg : Memory where tmon data will be available.
8- brcm,tmon-mask: A one cell bit mask of valid TMON sources.
9                  Each bit represents single TMON source.
10- #thermal-sensor-cells : Thermal sensor phandler
11- polling-delay: Max number of milliseconds to wait between polls.
12- thermal-sensors: A list of thermal sensor phandles and specifier.
13                   specifier value is tmon ID and it should be
14                   in correspond with brcm,tmon-mask.
15- temperature: trip temperature threshold in millicelsius.
16
17Example:
18	tmons {
19		compatible = "simple-bus";
20		#address-cells = <1>;
21		#size-cells = <1>;
22		ranges = <0x0 0x0 0x8f100000 0x100>;
23
24		tmon: tmon@0 {
25			compatible = "brcm,sr-thermal";
26			reg = <0x0 0x40>;
27			brcm,tmon-mask = <0x3f>;
28			#thermal-sensor-cells = <1>;
29		};
30	};
31
32	thermal-zones {
33		ihost0_thermal: ihost0-thermal {
34			polling-delay-passive = <0>;
35			polling-delay = <1000>;
36			thermal-sensors = <&tmon 0>;
37			trips {
38				cpu-crit {
39					temperature = <105000>;
40					hysteresis = <0>;
41					type = "critical";
42				};
43			};
44		};
45		ihost1_thermal: ihost1-thermal {
46			polling-delay-passive = <0>;
47			polling-delay = <1000>;
48			thermal-sensors = <&tmon 1>;
49			trips {
50				cpu-crit {
51					temperature = <105000>;
52					hysteresis = <0>;
53					type = "critical";
54				};
55			};
56		};
57		ihost2_thermal: ihost2-thermal {
58			polling-delay-passive = <0>;
59			polling-delay = <1000>;
60			thermal-sensors = <&tmon 2>;
61			trips {
62				cpu-crit {
63					temperature = <105000>;
64					hysteresis = <0>;
65					type = "critical";
66				};
67			};
68		};
69		ihost3_thermal: ihost3-thermal {
70			polling-delay-passive = <0>;
71			polling-delay = <1000>;
72			thermal-sensors = <&tmon 3>;
73			trips {
74				cpu-crit {
75					temperature = <105000>;
76					hysteresis = <0>;
77					type = "critical";
78				};
79			};
80		};
81		crmu_thermal: crmu-thermal {
82			polling-delay-passive = <0>;
83			polling-delay = <1000>;
84			thermal-sensors = <&tmon 4>;
85			trips {
86				cpu-crit {
87					temperature = <105000>;
88					hysteresis = <0>;
89					type = "critical";
90				};
91			};
92		};
93		nitro_thermal: nitro-thermal {
94			polling-delay-passive = <0>;
95			polling-delay = <1000>;
96			thermal-sensors = <&tmon 5>;
97			trips {
98				cpu-crit {
99					temperature = <105000>;
100					hysteresis = <0>;
101					type = "critical";
102				};
103			};
104		};
105	};
106