Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2158ab08 authored by Leo Yan's avatar Leo Yan Committed by Wei Xu
Browse files

arm64: dts: register Hi6220's thermal sensor



Bind thermal sensor driver for Hi6220.

Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 841478d4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -772,5 +772,14 @@
			pinctrl-0 = <&sdio_pmx_func &sdio_clk_cfg_func &sdio_cfg_func>;
			pinctrl-1 = <&sdio_pmx_idle &sdio_clk_cfg_idle &sdio_cfg_idle>;
		};

		tsensor: tsensor@0,f7030700 {
			compatible = "hisilicon,tsensor";
			reg = <0x0 0xf7030700 0x0 0x1000>;
			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&sys_ctrl 22>;
			clock-names = "thermal_clk";
			#thermal-sensor-cells = <1>;
		};
	};
};