hisilicon-thermal.txt 732 B

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