From: Kevin Wangtao Date: Tue, 10 Oct 2017 18:02:50 +0000 (+0200) Subject: arm64: dts: Register Hi3660's thermal sensor X-Git-Tag: v4.15-rc1~75^2~42^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7ab4cb46902cd481d7def6869cf38a1e157f829;p=thirdparty%2Flinux.git arm64: dts: Register Hi3660's thermal sensor Add binding for tsensor on H3660, this tsensor is used for SoC thermal control, it supports alarm interrupt. Signed-off-by: Kevin Wangtao Signed-off-by: Daniel Lezcano Signed-off-by: Wei Xu --- diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index b7a90d632959d..42e9a6dbd970b 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -978,5 +978,12 @@ clocks = <&crg_ctrl HI3660_OSC32K>; clock-names = "apb_pclk"; }; + + tsensor: tsensor@fff30000 { + compatible = "hisilicon,hi3660-tsensor"; + reg = <0x0 0xfff30000 0x0 0x1000>; + interrupts = ; + #thermal-sensor-cells = <1>; + }; }; };