summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/hisilicon
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2016-03-29 19:27:14 +0800
committerWei Xu <xuwei5@hisilicon.com>2016-04-15 16:58:55 +0100
commit2158ab084b721da7b0e4963ac91fd96775b80916 (patch)
treec4bfcc0d1ab2ee0408221437235cfa536b8d6183 /arch/arm64/boot/dts/hisilicon
parent841478d4ae2cb7205fc7940e7140ef0efb3fabf7 (diff)
downloadop-kernel-dev-2158ab084b721da7b0e4963ac91fd96775b80916.zip
op-kernel-dev-2158ab084b721da7b0e4963ac91fd96775b80916.tar.gz
arm64: dts: register Hi6220's thermal sensor
Bind thermal sensor driver for Hi6220. Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm64/boot/dts/hisilicon')
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi6220.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 7b7bbf6..fc61a16 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -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>;
+ };
};
};
OpenPOWER on IntegriCloud