Skip to content

Commit

Permalink
arm64: dts: rockchip: Enable the Thermal on R88 board
Browse files Browse the repository at this point in the history
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 <wxt@rock-chips.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
  • Loading branch information
Caesar Wang authored and Heiko Stuebner committed Nov 21, 2015
1 parent f990238 commit 10a37de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3368-r88.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Expand Down

0 comments on commit 10a37de

Please sign in to comment.