summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2015-01-06 12:52:57 +0200
committerThierry Reding <treding@nvidia.com>2015-01-23 15:32:00 +0100
commit9c963301538f857495d8a168de510d511a28d759 (patch)
tree6aac7330791537314000f4cea28db6e0d9e4dea6
parentf58d47258131aa2d0243fc1dc78e2adc578d5de4 (diff)
downloadop-kernel-dev-9c963301538f857495d8a168de510d511a28d759.zip
op-kernel-dev-9c963301538f857495d8a168de510d511a28d759.tar.gz
ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree
This adds the required information to reset the board during an overheating situation to the Jetson TK1 device tree. The thermal reset is handled by the PMC by sending an I2C message to the PMIC. The entries specify the I2C message to be sent. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--arch/arm/boot/dts/tegra124-jetson-tk1.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-jetson-tk1.dts b/arch/arm/boot/dts/tegra124-jetson-tk1.dts
index 4eb540b..dbfaba0 100644
--- a/arch/arm/boot/dts/tegra124-jetson-tk1.dts
+++ b/arch/arm/boot/dts/tegra124-jetson-tk1.dts
@@ -1673,6 +1673,13 @@
nvidia,core-pwr-off-time = <61036>;
nvidia,core-power-req-active-high;
nvidia,sys-clock-req-active-high;
+
+ i2c-thermtrip {
+ nvidia,i2c-controller-id = <4>;
+ nvidia,bus-addr = <0x40>;
+ nvidia,reg-addr = <0x36>;
+ nvidia,reg-data = <0x2>;
+ };
};
/* Serial ATA */
OpenPOWER on IntegriCloud