summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Gilmore <dgilmore@redhat.com>2021-07-14 21:56:31 -0500
committerHeiko Stuebner <heiko@sntech.de>2021-09-15 17:50:17 +0200
commite97afba3282bcf46ad42c0cd5c53a87d1c055337 (patch)
tree004bcb5919e2912077b4e727315e384ee24ff3b0
parentfec9fd04da8777e2198e1d37f42b9f3335dd0629 (diff)
arm64: dts: rockchip: enable tsadc on helios64
Enable the tsadc thermal controller on the helios64 Signed-off-by: Dennis Gilmore <dgilmore@redhat.com> Link: https://lore.kernel.org/r/20210715025635.70452-4-dgilmore@redhat.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts
index b275b4790211..63c7681843da 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts
@@ -502,6 +502,14 @@
status = "okay";
};
+&tsadc {
+ /* tshut mode 0:CRU 1:GPIO */
+ rockchip,hw-tshut-mode = <1>;
+ /* tshut polarity 0:LOW 1:HIGH */
+ rockchip,hw-tshut-polarity = <1>;
+ status = "okay";
+};
+
&u2phy1 {
status = "okay";