diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2019-02-15 12:25:39 -0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2019-02-17 23:59:05 +0100 |
commit | 02260a619efe574d0f6c2a4420b8b76c6802294e (patch) | |
tree | 9c83ba635c0c5bebcfec17777d27dbee1c3fc05a | |
parent | c72235c288c8cc55d33e257e05d3017c2daf1603 (diff) |
arm64: dts: rockchip: Enable tsadc device on rock960
Enable the thermal sensor. This device also provides
temperature shutdown protection. The shutdown value is
set at 110C, as tested by the vendor.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi index e40e66e33a5e..2927db4dda9d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi @@ -527,6 +527,13 @@ status = "okay"; }; +&tsadc { + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <1>; + rockchip,hw-tshut-temp = <110000>; + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; |