ARM: dts: rockchip: enable tsadc on rk3288 boards
From: Heiko Stuebner <heiko@...> Date: Sun, 5 Apr 2015 11:15:01 +0200
Commit-Message
The tsadc is used to read cpu and gpu temperatures. Also enable it on the other rk3288 boards beside the evb using the cru reset settings. Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
arch/arm/boot/dts/rk3288-firefly.dtsi | 6 ++++++ arch/arm/boot/dts/rk3288-popmetal.dts | 6 ++++++ 2 files changed, 12 insertions(+)
Statistics
- 12 lines added
- 0 lines removed
Changes
-------------------- arch/arm/boot/dts/rk3288-firefly.dtsi ---------------------
index a3b1fc4..0b42372 100644
@@ -465,6 +465,12 @@
status = "okay";
};
+&tsadc {
+ rockchip,hw-tshut-mode = <0>;
+ rockchip,hw-tshut-polarity = <0>;
+ status = "okay";
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>;
-------------------- arch/arm/boot/dts/rk3288-popmetal.dts ---------------------
index d081f0e..d582811 100644
@@ -406,6 +406,12 @@
};
};
+&tsadc {
+ rockchip,hw-tshut-mode = <0>;
+ rockchip,hw-tshut-polarity = <0>;
+ status = "okay";
+};
+
&vopb {
status = "okay";
};