aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-01-20 06:26:42 -0500
committerSimon Horman <horms+renesas@verge.net.au>2017-01-27 03:25:06 -0500
commitb443cd1740a28195e965d78b9478a88117ea73f9 (patch)
tree0705bd141615cd9066b7721804fedcb2b37b4477
parent2cab226c345378b3cff652a9c8232f5070d31216 (diff)
arm64: dts: r8a7795: Add R-Car Gen3 thermal support
Signed-off-by: Hien Dang <hien.dang.eb@renesas.com> Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Khiem Nguyen <khiem.nguyen.xt@renesas.com> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Acked-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm64/boot/dts/renesas/r8a7795.dtsi58
1 files changed, 58 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 026a16ac41b4..d36783e751af 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -1647,5 +1647,63 @@
1647 }; 1647 };
1648 }; 1648 };
1649 }; 1649 };
1650
1651 tsc: thermal@e6198000 {
1652 compatible = "renesas,r8a7795-thermal";
1653 reg = <0 0xe6198000 0 0x68>,
1654 <0 0xe61a0000 0 0x5c>,
1655 <0 0xe61a8000 0 0x5c>;
1656 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
1657 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
1658 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
1659 clocks = <&cpg CPG_MOD 522>;
1660 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1661 #thermal-sensor-cells = <1>;
1662 status = "okay";
1663 };
1664
1665 thermal-zones {
1666 sensor_thermal1: sensor-thermal1 {
1667 polling-delay-passive = <250>;
1668 polling-delay = <1000>;
1669 thermal-sensors = <&tsc 0>;
1670
1671 trips {
1672 sensor1_crit: sensor1-crit {
1673 temperature = <120000>;
1674 hysteresis = <2000>;
1675 type = "critical";
1676 };
1677 };
1678 };
1679
1680 sensor_thermal2: sensor-thermal2 {
1681 polling-delay-passive = <250>;
1682 polling-delay = <1000>;
1683 thermal-sensors = <&tsc 1>;
1684
1685 trips {
1686 sensor2_crit: sensor2-crit {
1687 temperature = <120000>;
1688 hysteresis = <2000>;
1689 type = "critical";
1690 };
1691 };
1692 };
1693
1694 sensor_thermal3: sensor-thermal3 {
1695 polling-delay-passive = <250>;
1696 polling-delay = <1000>;
1697 thermal-sensors = <&tsc 2>;
1698
1699 trips {
1700 sensor3_crit: sensor3-crit {
1701 temperature = <120000>;
1702 hysteresis = <2000>;
1703 type = "critical";
1704 };
1705 };
1706 };
1707 };
1650 }; 1708 };
1651}; 1709};