ARM: dts: rockchip: enable thermal on rk3288-evb board
authorCaesar Wang <caesar.wang@rock-chips.com>
Mon, 24 Nov 2014 04:59:02 +0000 (12:59 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 24 Nov 2014 23:34:48 +0000 (00:34 +0100)
When a thermal temperature is invoked use the CRU to reset the chip
on rk3288-evb boards. TSHUT is low active on these boards.

Signed-off-by: Caesar Wang <caesar.wang@rock-chips.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-evb.dtsi

index cb83cea52fa141db24a4882469ef7dad904d892a..3e067dd65d0c87d7845809bd121859f86de1a879 100644 (file)
        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";
+};
+
 &pinctrl {
        backlight {
                bl_en: bl-en {