ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree
authorMikko Perttunen <mperttunen@nvidia.com>
Tue, 6 Jan 2015 10:52:57 +0000 (12:52 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 23 Jan 2015 14:32:00 +0000 (15:32 +0100)
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>
arch/arm/boot/dts/tegra124-jetson-tk1.dts

index 4eb540be368f62b7d75d2c9ce0ed179f93b2d0c7..dbfaba09703a62f0b88aa043286d14f9b2a8e883 100644 (file)
                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 */