1* Temperature Sensor on hisilicon SoCs
2
3** Required properties :
4
5- compatible: "hisilicon,tsensor".
6- reg: physical base address of thermal sensor and length of memory mapped
7  region.
8- interrupt: The interrupt number to the cpu. Defines the interrupt used
9  by /SOCTHERM/tsensor.
10- clock-names: Input clock name, should be 'thermal_clk'.
11- clocks: phandles for clock specified in "clock-names" property.
12- #thermal-sensor-cells: Should be 1. See ./thermal.txt for a description.
13
14Example :
15
16for Hi6220:
17	tsensor: tsensor@0,f7030700 {
18		compatible = "hisilicon,tsensor";
19		reg = <0x0 0xf7030700 0x0 0x1000>;
20		interrupts = <0 7 0x4>;
21		clocks = <&sys_ctrl HI6220_TSENSOR_CLK>;
22		clock-names = "thermal_clk";
23		#thermal-sensor-cells = <1>;
24	}
25
26for Hi3660:
27	tsensor: tsensor@fff30000 {
28		compatible = "hisilicon,hi3660-tsensor";
29		reg = <0x0 0xfff30000 0x0 0x1000>;
30		interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
31		#thermal-sensor-cells = <1>;
32	};
33