From: Caesar Wang Date: Mon, 9 Nov 2015 04:49:02 +0000 (+0800) Subject: arm64: dts: rockchip: Enable the Thermal on R88 board X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=10a37de377e8c481f5bd0e89ae1c35fc2acdc4b4;p=openwrt%2Fstaging%2Fblogic.git arm64: dts: rockchip: Enable the Thermal on R88 board This patch enable the TS-ADC. When a thermal temperature is invoked use the CRU to reset the chip on R88 board. TSHUT is low active on this board. Signed-off-by: Caesar Wang Acked-by: Eduardo Valentin Signed-off-by: Heiko Stuebner --- diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts index 401a81231eb9..104cbee762bb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts @@ -336,6 +336,12 @@ status = "okay"; }; +&tsadc { + rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */ + status = "okay"; +}; + &uart2 { status = "okay"; };